GstCodecParsers.Vp9Parser

Fields

Name

Type

Access

Description

bit_depth

int

r/w

bit depth of the stream

color_range

int

r/w

color range standard

color_space

int

r/w

color space standard

mb_segment_tree_probs

bytes

r/w

decoding tree probabilities

priv

object

r/w

GstVp9ParserPrivate struct to keep track of state variables

segment_pred_probs

bytes

r/w

segment prediction probabiilties

segmentation

[GstCodecParsers.Vp9Segmentation]

r/w

Segmentation info

subsampling_x

int

r/w

horizontal subsampling

subsampling_y

int

r/w

vertical subsampling

Methods

free ()

parse_frame_header (frame_hdr, data, size)

parse_superframe_info (superframe_info, data, size)

Details

class GstCodecParsers.Vp9Parser

For more details about the structures, you can refer to the specifications:

New in version 1.8.

free()

Frees self.

New in version 1.8.

parse_frame_header(frame_hdr, data, size)
Parameters:
Returns:

a GstCodecParsers.Vp9ParserResult

Return type:

GstCodecParsers.Vp9ParserResult

Parses the VP9 bitstream contained in data, and fills in frame_hdr with the information. The size argument represent the whole frame size.

New in version 1.8.

parse_superframe_info(superframe_info, data, size)
Parameters:
Returns:

a GstCodecParsers.Vp9ParserResult

Return type:

GstCodecParsers.Vp9ParserResult

Parses the VP9 bitstream contained in data, and fills in superframe_info with the information. The size argument represent the whole superframe size. If data is not superframe but normal frame, the parser returns GstCodecParsers.Vp9ParserResult.OK, frame_size[0] is set to size and frames_in_superframe is set to 1. Also this method does not validate vp9frame header and verifying the frame header is caller’s responsibility.

New in version 1.18.