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.

For H.264 and H.265 streams on the Atlas inference products, the default value of video_full_range_flag is 0 (indicating limited_range) during VENC encoding.

On the Atlas 200I/500 A2 inference products, the default value of the video_full_range_flag is 0 (indicating limited_range) for H.265 streams and 1 (indicating full_range) for H.264 streams.

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.