4-37
See
MaxDPB
size value by referring to Table A.1
– Level Limits and
make sure
currDPBsize <= MaxDPB
size
currDPBsize (for 4:2:0 format) = (maxWidth * maxHeight)*
1.5*(1 + (maxInterFrameInterval > 1));
4.2.1.8
IVIDENC2_DynamicParams
║
Description
This structure defines the run-time parameters for an algorithm instance object. Set this data
structure to
NULL
, if you are not sure of the values to be specified for these parameters. For the
default and supported values, see
║
Fields
Field
Data Type
Input/
Output
Description
size
XDAS_Int32
Input
Size of the basic or extended (if being used) data
structure in bytes
inputHeight
XDAS_Int32
Input
Height of input frame in pixels. For interlaced
case, it is height of one field.
inputWidth
XDAS_Int32
Input
Width of input frame in pixels
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.
targetFrameRate XDAS_Int32
Input
Target frame rate in fps * 1000. For example, if
the frame rate is 30, set this field to 30000.
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.
intraFrameInter
val
XDAS_Int32
Input
Interval between two consecutive intra frames.
For example:
0 - Only first frame to be intra coded
1 - No inter frames (all intra frames)
N - One intra frame and N-1 inter frames, where
N > 1.
generateHeader
XDAS_Int32
Input
Encode entire access unit or only header. See
XDM_EncMode
enumeration for details.
captureWidth
XDAS_Int32
Input
If the field is set to:
0 - Encoded image width is used as pitch.
Any non-zero value, capture width is used as
pitch (if capture width is greater than image
width).