API Reference
4-12
There is no restriction on output buffer size except that it should
contain atleast one frame of encoded data.The output buffer size
can be set using the dynamic parameter at the run-time.
These are the maximum buffer sizes but you can reconfigure depending
on the input format.
For H.241 support, two output buffers are required. One buffer is used to
output the bit-stream and in the other buffer, the encoder will output the
meta data related to the slices encoded. See
IH264VENC_OutArgs
data
structure.
4.2.1.6 IVIDEO_BufDesc
║
Description
This structure defines the buffer descriptor for input and output buffers.
║
Fields
Field Datatype
Input/
Output
Description
numBufs
XDAS_Int32
Input
Number of buffers
width
XDAS_Int32
Input Padded
width
of the video data
*bufs[XDM_MAX_IO_BUFFERS]
XDAS_Int8
Input
Pointer to the vector containing
buffer addresses
bufSizes[XDM_MAX_IO_BUFFERS]
XDAS_Int32
Input
Size of each buffer in bytes
4.2.1.7 IVIDEO1_BufDesc
║
Description
This structure defines the buffer descriptor for input and output buffers.
║
Fields
Field Datatype
Input/
Output
Description
numBufs
XDAS_Int32
Input
Number of buffers
frameWidth
XDAS_Int32
Input
Width of the video frame
frameHeight
XDAS_Int32
Input
Height of the video frame
framePitch
XDAS_Int32
Input
Frame pitch used to store the frame
bufDesc[IVIDEO_MAX_YUV_BUF
FERS]
XDM1_Singl
eBufDesc
Input
Pointer to the vector containing
buffer addresses
extendedError
XDAS_Int32
Input
Extended error field
Содержание 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 ...