![Texas Instruments DM365 User Manual Download Page 69](http://html.mh-extra.com/html/texas-instruments/dm365/dm365_user-manual_1094517069.webp)
API Reference
4-23
4.2.1.1 XDM_BufDesc
║
Description
This structure defines the buffer descriptor for input and output buffers.
║
Fields
Field Data
type
Input/
Output
Description
**bufs XDAS_Int8
Input
Pointer to the vector containing buffer addresses
numBufs XDAS_Int32
Input
Number of buffers
*bufSizes XDAS_Int32
Input
Size of each buffer in bytes
4.2.1.2 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 Data
type
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_MA
X_IO_BUFFERS]
XDAS_Int32
Output
Size in bytes required for each output buffer
Note:
For H.264 Base/Main/High Profile Encoder, the buffer details are:
Number of input buffer required is 2 for YUV 420P with chroma
interleaved.
Number of output buffer required is 1.
The input buffer sizes (in bytes) for worst case 2048x2048 format
are:
For YUV 420P:
Y buffer = 2048 * 2048
UV buffer = 2048 * 1024
The above input buffer size calculation is done assuming that the
Summary of Contents for DM365
Page 10: ...x This page is intentionally left blank ...
Page 12: ...xii This page is intentionally left blank ...
Page 24: ...Introduction 1 12 This page is intentionally left blank ...
Page 34: ...Installation Overview 2 10 This page is intentionally left blank ...
Page 116: ...API Reference 4 70 This page is intentionally left blank ...
Page 120: ...Error Description B 2 This page is intentionally left blank ...
Page 124: ...ARM926 TCM Buffer Usage By Codec D 2 This page is intentionally left blank ...
Page 126: ...Simple Two pass Encoding Sample Usage E 2 Case 1 Case 2 Case 3 Case 4 Frame Skip ...
Page 130: ...Simple Two pass Encoding Sample Usage E 6 This page is intentionally left blank ...