acl.himpi.venc_set_h265_vui
C Prototype |
hi_s32 hi_mpi_venc_set_h265_vui(hi_venc_chn chn, const hi_venc_h265_vui *h265_vui) |
|---|---|
Python Function |
ret = acl.himpi.venc_set_h265_vui(chn, h265_vui) |
Function Usage |
Sets the VUI parameters of an H.265 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.
h265_vui: dict, dictionary of VUI attributes of an H.265 encoding channel. For details, see hi_venc_h265_vui. |
Return Value |
ret: int, error code.
|
Restrictions |
|