API Reference
4-36
Field
Data Type
Input/
Output
Description
numInputDataUnits
XDAS_Int32
Input
Number of input slices/rows.
Units depend on the
inputDataMode
,
such as number of slices/rows/blocks, and
so on.
Ignored if
inputDataMode
is set to full
frame mode.
numOutputDataUnits
XDAS_Int32
Input
Number of output slices/rows.
Units depend on the
outputDataMode
,
such as number of slices/rows/blocks, and
so on.
Ignored if
outputDataMode
is set to full
frame mode.
metadataType[IVIDEO_M
AX_NUM_METADATA_PLANE
S]
XDAS_Int32
Input
Type of the each meta data plane, refer
IVIDEO_MetadataType
(or extended
enumeration) for possible values
Note:
The following fields of
IVIDENC2_Params
data structure are level
dependent:
maxHeight
maxWidth
maxInterFrameInterval
To check the values supported for
maxHeight
and
maxWidth
use the
following expression:
maxFrameSizeinMbs
>= (
maxHeight*maxWidth) / 256
;
See Table A.1
– Level Limits in
ISO/IEC 14496-10
for the supported
maxFrameSizeinMbs
values.
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.