Enums

Details

class GstCodecs.H264DecoderCompliance(value)

Bases: GObject.GEnum

New in version 1.20.

AUTO = 0

The decoder behavior is automatically choosen.

STRICT = 1

The decoder behavior strictly conforms to the SPEC. All the decoder behaviors conform to the SPEC, not including any nonstandard behavior which is not mentioned in the SPEC.

NORMAL = 2

The decoder behavior normally conforms to the SPEC. Most behaviors conform to the SPEC but including some nonstandard features which are widely used or often used in the industry practice. This meets the request of real streams and usages, but may not 100% conform to the SPEC. It has very low risk. E.g., we will output pictures without waiting DPB being full for the lower latency, which may cause B frame disorder when there are reference frames with smaller POC after it in decoder order. And the baseline profile may be mapped to the constrained-baseline profile, but it may have problems when a real baseline stream comes with FMO or ASO.

FLEXIBLE = 3

The decoder behavior flexibly conforms to the SPEC. It uses the nonstandard features more aggressively in order to get better performance(for example, lower latency). It may change the result of the decoder and should be used carefully. Besides including all risks in *normal* mode, it has more risks, such as frames disorder when reference frames POC decrease in decoder order.

class GstCodecs.H264DpbBumpMode(value)

Bases: GLib.Enum

New in version 1.20.

NORMAL_LATENCY = 0

No latency requirement for DBP bumping.

LOW_LATENCY = 1

Low-latency requirement for DBP bumping.

VERY_LOW_LATENCY = 2

Very low-latency requirement for DBP bumping.

class GstCodecs.H264PictureField(value)

Bases: GLib.Enum

FRAME = 0
TOP_FIELD = 1
BOTTOM_FIELD = 2
class GstCodecs.H264PictureReference(value)

Bases: GLib.Enum

New in version 1.20.

NONE = 0

Not used for reference picture

SHORT_TERM = 1

Used for short-term reference picture

LONG_TERM = 2

Used for long-term reference picture

class GstCodecs.Vp9ReferenceMode(value)

Bases: GLib.Enum

Reference modes: Specify the type of inter prediction to be used

New in version 1.20.

SINGLE_REFERENCE = 0

Indicates that all the inter blocks use only a single reference frame

COMPOUND_REFERENCE = 1

Requires all the inter blocks to use compound mode

SELECT = 2

Allows each individual inter block to select between single and compound prediction modes

class GstCodecs.Vp9TxMode(value)

Bases: GLib.Enum

TxMode: Specifies how the transform size is determined

New in version 1.20.

ONLY_4X4 = 0

Only 4x4

ALLOW_8X8 = 1

Allow 8x8

ALLOW_16X16 = 2

Allow 16x16

ALLOW_32X32 = 3

Allow 32x32

SELECT = 4

The choice is specified explicitly for each block

class GstCodecs.Vp9TxSize(value)

Bases: GLib.Enum

TxSize: Specifies the transform size

New in version 1.20.

4X4 = 0
_4X4 = 0

4x4

8X8 = 1
_8X8 = 1

8x8

16X16 = 2
_16X16 = 2

16x16

32X32 = 3
_32X32 = 3

32x32