![Texas Instruments DM365 User Manual Download Page 70](http://html.mh-extra.com/html/texas-instruments/dm365/dm365_user-manual_1094517070.webp)
API Reference
4-24
capture width is same as input width. For details on capture width, see
Section 4.2.1.10.
For interlaced sequence, encoder ignores the input field buffers if they
are stored in interleaved or non-interleaved format. But, it expects the
start pointer of top or bottom field be given to it during the process call
of the top or bottom fields, respectively. The pitch to move to the next
line of the field is conveyed using
captureWidth
of
DynamicParams
.
There is no restriction on output buffer size except that it should be
enough to store one frame of encoded data.The output buffer size
returned by the
XDM_GETBUFINFO
command assumes that the worst
case output buffer size is (
frameHeight*frameWidth
)/2.
In case of STP, low resolution needs an extra output buffer to pass
metadata information from codec to application. High resolution
needs an extra input buffer to pass metadata information from
application to codec. The metadata is copied from output buffer of
low resolution encoder to the input buffer of high resolution encoder.
These are the maximum buffer sizes, but you can reconfigure
depending on the format of the bit-stream.
4.2.1.3 XDM1_BufDesc
║
Description
This structure defines the buffer descriptor for input and output buffers in
XDM 1.0 IVIDENC1.
║
Fields
Field Data
type
Input/
Output
Description
numBufs XDAS_Int32
Input
Number of buffers
descs[XDM_MAX_I
O_BUFFERS]
XDM1_Singl
eBufDesc
Input
Array of buffer descriptors.
4.2.1.4 XDM_SingleBufDesc
║
Description
This structure defines the single buffer descriptor for input and output
buffers in XDM 1.0 IVIDENC1.
║
Fields
Field Data
type
Input/
Output
Description
*buf XDAS_Int8
Input
Pointer to a buffer address
bufSize XDAS_Int32
Input
Size of the buffer in bytes
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 ...