API Reference
4-11
4.2.1.4 XDM1_SingleBufDesc
║
Description
This structure defines the buffer descriptor for single input and output buffers.
║
Fields
Field Datatype
Input/
Output
Description
*bufs
XDAS_Int8
Input
Pointer to the buffer
bufSize
XDAS_Int32
Input
Size of the buffer in bytes
accessMask
XDAS_Int32
Output
If the buffer was not accessed by the algorithm
processor (for example, it was filled by DMA or other
hardware accelerator that does not write through the
algorithm CPU), then bits in this mask should not be
set.
4.2.1.5 XDM_AlgBufInfo
║
Description
This structure defines the buffer information descriptor for input and output
buffers. This structure is filled when you invoke the
control()
function
with the
XDM_GETBUFINFO
command.
║
Fields
Field Datatype
Input/
Output
Description
minNumInBufs
XDAS_Int32
Output
Number of input buffers
minNumOutBufs
XDAS_Int32
Output
Number of output buffers
minInBufSize[XDM_
MAX_IO_BUFFERS]
XDAS_Int32
Output
Size in bytes required for each input buffer
minOutBufSize[XDM
_MAX_IO_BUFFERS]
XDAS_Int32
Output
Size in bytes required for each output buffer
Note:
For H.264 Encoder, the buffer details are:
Number of input buffers required is 2 for YUV420P
Number of output buffer required is 1
The input buffer sizes (in bytes) for 1080i format are:
For YUV 420:
Y buffer = 1920 * 1088
UV buffer = 1920 * 544
Содержание DM6467
Страница 1: ...H 264 1080p 30 BP Encoder on DM6467 User s Guide Literature Number SPRUGN8 October 2009 ...
Страница 10: ...x This page is intentionally left blank ...
Страница 12: ...xii This page is intentionally left blank ...
Страница 18: ...Introduction 1 6 This page is intentionally left blank ...
Страница 36: ...Sample Usage 3 10 This page is intentionally left blank ...