hi_venc_vui_video_signal
Description
Defines the VideoSignal information in the VUI field of an H.264/H.265 encoding channel.
Prototype
hi_venc_vui_video_signal = {"video_signal_type_present_flag": video_signal_type_present_flag,
"video_format": video_format,
"video_full_range_flag": video_full_range_flag,
"colour_description_present_flag": colour_description_present_flag,
"colour_primaries": colour_primaries,
"transfer_characteristics": transfer_characteristics,
"matrix_coefficients": matrix_coefficients}
Members
Member |
Description |
|---|---|
video_signal_type_present_flag |
Int, flag that indicates whether the video signal information in the VUI field takes effect. The value can be 0 or 1 (default). Other parameters in the table are valid only when this flag is set to 1. |
video_format |
Int. For details, see the H.264/H.265 protocol. The default value is 5. Value range: [0, 7] for H.264; [0, 5] for H.265. |
video_full_range_flag |
Int. For details, see the H.264/H.265 protocol. The value can be 0 (default) or 1. If this parameter is set to 0, the pixel value range is limited. The luminance value range is 16–235, and the chrominance value range is 16–240. |
colour_description_present_flag |
Int. For details, see the H.264/H.265 protocol. The default value is 1. You do not need to set this parameter because the system sets it based on the actual image information. |
colour_primaries |
Int. For details, see the H.264/H.265 protocol. The default value is 1. You do not need to set this parameter because the system sets it based on the actual image information. |
transfer_characteristics |
Int. For details, see the H.264/H.265 protocol. The default value is 1. You do not need to set this parameter because the system sets it based on the actual image information. |
matrix_coefficients |
Int. For details, see the H.264/H.265 protocol. The default value is 1. You do not need to set this parameter because the system sets it based on the actual image information. |