hi_venc_vui_video_signal
Description
Defines the video signal information in the VUI of an H.264/H.265 encoding channel.
Prototype
typedef struct {
hi_u8 video_signal_type_present_flag;
hi_u8 video_format;
hi_u8 video_full_range_flag;
hi_u8 colour_description_present_flag;
hi_u8 colour_primaries;
hi_u8 transfer_characteristics;
hi_u8 matrix_coefficients;
} hi_venc_vui_video_signal;
Members
Member |
Description |
|---|---|
video_signal_type_present_flag |
Flag that indicates whether the video signal information in the VUI field takes effect. The default value is 1. The options are 0 and 1. Other parameters in the table are valid only when this flag is set to 1. |
video_format |
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 |
For details about the meaning, see the H.264/H.265 protocol. The value can be 0 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. On the For H.264 and H.265 streams on the |
colour_description_present_flag |
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 |
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 |
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 |
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. |