![Texas Instruments DM365 Скачать руководство пользователя страница 77](http://html.mh-extra.com/html/texas-instruments/dm365/dm365_user-manual_1094517077.webp)
API Reference
4-31
Field Data
type
Input/
Output
Description
inputWidth XDAS_Int32
Input
Width of input frame in pixels. Input width can be
changed before the start of encoding within the
limits of maximum width set in creation phase.
inputWidth
must be multiples of two.
Minimum width supported by encoder is 320.
For any width lesser than 320 and greater than
128, you can use version 1.1, backward
compatible mode. See section 1.5 for details.
Note
: When the input width is a non-multiple of
16, the encoder expects the application to pad
the input frame to the nearest multiple of 16 to
the right of the frame. In this case, application
should set
inputWidth
to actual width but
should provide the padded input YUV data buffer
to encoder. The encoder then sets the difference
of the actual width and padded width as crop
information in the bit-stream.
Default value = 720
refFrameRate XDAS_Int32
Input
Reference or input frame rate in fps * 1000. For
example, if the frame rate is 30, set this field to
30000.
This parameter is not supported, should be set
equal to
targetFrameRate
.
Default value = 25000
targetFrameRate XDAS_Int32
Input
Target frame rate in fps * 1000. For example, if
the frame rate is 30, set this field to 30000.
Default value = 25000. Frame rate should be in
multiple of 0.5 fps.
Default value = 25000
targetBitRate XDAS_Int32
Input
Target bit-rate in bits per second. For example, if
the bit-rate is 2 Mbps, set this field to 2000000.
Default value = 10000000.
intraFrameInter
val
XDAS_Int32
Input
Interval between two consecutive intra frames.
0: First frame will be intra coded
1: No inter frames, all intra frames
2: Consecutive IPIPIP
3: 1PPIPPIPP or IPBIPBIPB, and so on
Default value = 30
generateHeader XDAS_Int32
Input
Encode entire access unit or only header. See
XDM_EncMode
enumeration for details.
Default value =
XDM_ENCODE_AU
.
Содержание DM365
Страница 10: ...x This page is intentionally left blank ...
Страница 12: ...xii This page is intentionally left blank ...
Страница 24: ...Introduction 1 12 This page is intentionally left blank ...
Страница 34: ...Installation Overview 2 10 This page is intentionally left blank ...
Страница 116: ...API Reference 4 70 This page is intentionally left blank ...
Страница 120: ...Error Description B 2 This page is intentionally left blank ...
Страница 124: ...ARM926 TCM Buffer Usage By Codec D 2 This page is intentionally left blank ...
Страница 126: ...Simple Two pass Encoding Sample Usage E 2 Case 1 Case 2 Case 3 Case 4 Frame Skip ...
Страница 130: ...Simple Two pass Encoding Sample Usage E 6 This page is intentionally left blank ...