GstCodecs.Mpeg2Dpb

Fields

None

Methods

add (picture)

bump ()

clear ()

free ()

get_neighbours (picture)

need_bump ()

Details

class GstCodecs.Mpeg2Dpb

New in version 1.20.

add(picture)
Parameters:

picture (GstCodecs.Mpeg2Picture) – a GstCodecs.Mpeg2Picture

Store the picture

New in version 1.20.

bump()
Returns:

a GstCodecs.Mpeg2Picture which is needed to be outputted

Return type:

GstCodecs.Mpeg2Picture or None

New in version 1.20.

clear()

Clear all stored GstCodecs.Mpeg2Picture

New in version 1.20.

free()

Free the self

New in version 1.20.

get_neighbours(picture)
Parameters:

picture (GstCodecs.Mpeg2Picture) – current GstCodecs.Mpeg2Picture

Returns:

prev_picture_ptr:

previuous GstCodecs.Mpeg2Picture in self

next_picture_ptr:

next GstCodecs.Mpeg2Picture in self

Return type:

(prev_picture_ptr: GstCodecs.Mpeg2Picture or None, next_picture_ptr: GstCodecs.Mpeg2Picture or None)

Gets the neighbours GstCodecs.Mpeg2Picture of picture in self.

New in version 1.20.

need_bump()
Returns:

True if self needs to be bumped; otherwise, False

Return type:

bool

Checks if dbp has a new picture.

New in version 1.20.