![Texas Instruments DM365 User Manual Download Page 75](http://html.mh-extra.com/html/texas-instruments/dm365/dm365_user-manual_1094517075.webp)
API Reference
4-29
For example, consider you have to check if the following values are
supported for level 2.0:
maxHeight
= 480
maxWidth
= 720
The supported
maxFrameSizeinMbs
value for level 2.0 as per Table A.1
– Level Limits is 396.
Compute the expression as:
maxFrameSizeinMbs >= (480*720) / 256
The value of
maxFrameSizeinMbs
is 1350 and hence the condition is
not true. Therefore, the above values of
maxHeight
and
maxWidth
are
not supported for level 2.0.
The maximum value for
maxFrameRate
and
maxBitRate
is 120
(120000) and 50000000 respectively.
Use the following expression to check the supported
maxFrameRate
values for each level:
maxFrameRate
<=
maxMbsPerSecond
/
FrameSizeinMbs
;
See Table A.1 – Level Limits in
ISO/IEC 14496-10
for the supported
values of
maxMbsPerSecond
.
Use the following expression to calculate
FrameSizeinMbs
:
FrameSizeinMbs
=
(inputWidth * inputHeight) / 256
;
See Table A.1 – Level Limits in
ISO/IEC 14496-10
for the supported
values of Max Video bit-rate.
During creation time, these values are checked against the maximum
values defined for the encoder. If the specified values exceed or do not
match the limit supported by encoder, the encoder continues to encode
with the next higher supported level. Since the actual height and width
are specified later using control operation with dynamic parameters, the
level based checking is done during the control operation.
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 ...