API Reference
4-56
4.2.3.5
IH264HPVENC_SliceCodingParams
║
Description
This structure contains all the parameters which controls slice encoding. For the default and
supported values, see
║
Fields
Field
Data Type
Input/
Output
Description
sliceCodingPr
eset
XDAS_Int32
Input
This preset controls the user defined versus
default mode. If you are not aware about the
fields, it should be set as
IH264HP_SLICECODING_DEFAULT
sliceMode
XDAS_Int32
Input
This defines the control mechanism to split a
picture in slices. It can be either MB based or
picture based.
See
IH264HPVENC_SliceMode
enumeration in
sliceUnitSize XDAS_Int32
Input
If sliceMode == IH264HP_SLICEMODE_MBUNIT,
then this parameter informs the number of macro
blocks in one slice.
streamFormat
XDAS_Int32
Input
Controls the type of stream: byte stream format or
NALU format
See
IH264HPVENC_StreamFormat
Note:
These parameters can be controlled by user only when
IVIDENC2_Params::encodingPreset
is equal to
IVIDEO_USER_DEFINED
and
sliceCodingPreset
is set to “1”,
otherwise values are set by the codec.
The following parameters are ignored during run-time:
streamFormat