1 /* 2 * Copyright 2010 by Texas Instruments Incorporated. 3 * 4 */ 5 6 /* 7 * Copyright (c) 2010, Texas Instruments Incorporated 8 * All rights reserved. 9 * 10 * Redistribution and use in source and binary forms, with or without 11 * modification, are permitted provided that the following conditions 12 * are met: 13 * 14 * * Redistributions of source code must retain the above copyright 15 * notice, this list of conditions and the following disclaimer. 16 * 17 * * Redistributions in binary form must reproduce the above copyright 18 * notice, this list of conditions and the following disclaimer in the 19 * documentation and/or other materials provided with the distribution. 20 * 21 * * Neither the name of Texas Instruments Incorporated nor the names of 22 * its contributors may be used to endorse or promote products derived 23 * from this software without specific prior written permission. 24 * 25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 26 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 27 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 28 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 29 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 30 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 31 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 32 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 33 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 34 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 35 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 */ 38 /*! 39 * ======== package.xdc ======== 40 * Simple XDM IVIDENC1-compatible video encoder. 41 * 42 * This example codec provides a reference for two features of XDM. Also, 43 * It implements the IDMA3 interface, using the Framework Components' ACPY3 44 * component to utilize DMA. (Note the comments in the examples' package.bld, 45 * which describe that this dependency on ACPY3 is determined at build-time, 46 * and the DMA-based "copy" is only built if ACPY3 is found in the system. 47 * More specifically, it is only build if the ti.sdo.fc.acpy3 package is found 48 * on the builder's package path.) 49 * 50 * First, it demonstrates a simple implementation of the IVIDENC1 interface. 51 * The implementation of the process() function is a simple memcpy. 52 * 53 * The second feature demonstrated is the ability to extend XDM's base 54 * interfaces. In addition to supporting the base interface, it extends 55 * IVIDENC1_InArgs with a codec-specific IVIDENC1CPY_InArgs. This "InArgs" 56 * struct defines an additional "maxBytes" field, which enables the 57 * application to limit the number of bytes to copy into the output buffer. 58 */ 59 package ti.xdais.dm.examples.videnc1_copy [2, 0, 0] { 60 module VIDENC1_COPY; 61 } 62 /* 63 * @(#) ti.xdais.dm.examples.videnc1_copy; 2, 0, 0,209; 9-18-2010 14:46:29; /db/wtree/library/trees/dais/dais-t03x/src/ xlibrary 64 65 */ 66 67 /* 68 * @(#) ti.xdais.dm.examples.videnc1_copy; 2, 0, 0,1; 9-20-2010 14:59:42; /db/atree/library/trees/ce/ce-r09x/imports/ xlibrary 69 70 */ 71