acl.himpi.venc_set_h264_vui
C Prototype |
hi_s32 hi_mpi_venc_set_h264_vui(hi_venc_chn chn, const hi_venc_h264_vui *h264_vui) |
|---|---|
Python Function |
ret = acl.himpi.venc_set_h264_vui(chn, h264_vui) |
Function Usage |
Sets the video usability information (VUI) parameters of an H.264 encoding channel. The VUI parameters mainly include the format information of the decoded image, such as the sampling aspect ratio, optical-to-electrical conversion, and color space. The VUI parameters are optional in the protocol and do not affect the video encoding process. However, it is recommended that the decoder/player perform correction. The Atlas 200/300/500 Inference Product does not support this API. The Atlas Training Series Product does not support this API. |
Input Description |
chn: int, encoding channel ID.
h264_vui: dict, VUI parameter dictionary of an H.264 encoding channel. For details, see hi_venc_h264_vui. |
Return Value |
ret: int, error code.
|
Restrictions |
|