package ti.xdais.dm.examples.videnc1_copy |
 |
Simple XDM IVIDENC1-compatible video encoder
This example codec provides a reference for two features of XDM. Also,
It implements the IRES interface, using the Framework Components' ECPY
component to utilize DMA. (Note the comments in the examples' package.bld,
which describe that this dependency on ECPY is determined at build-time,
and the DMA-based "copy" is only built if ECPY is found in the system.
More specifically, it is only build if the ti.sdo.fc.ecpy package is found
on the builder's package path.)
[
more ... ]
package ti.xdais.dm.examples.videnc1_copy [2, 0, 0] {
// Video Encoder Algorithm
}
DETAILS
This example codec provides a reference for two features of XDM. Also,
It implements the IRES interface, using the Framework Components' ECPY
component to utilize DMA. (Note the comments in the examples' package.bld,
which describe that this dependency on ECPY is determined at build-time,
and the DMA-based "copy" is only built if ECPY is found in the system.
More specifically, it is only build if the ti.sdo.fc.ecpy package is found
on the builder's package path.)
First, it demonstrates a simple implementation of the IVIDENC1 interface.
The implementation of the process() function is a simple memcpy.
The second feature demonstrated is the ability to extend XDM's base
interfaces. In addition to supporting the base interface, it extends
IVIDENC1_InArgs with a codec-specific IVIDENC1CPY_InArgs. This "InArgs"
struct defines an additional "maxBytes" field, which enables the
application to limit the number of bytes to copy into the output buffer.
generated on Mon, 20 May 2013 19:15:11 GMT