Mpeg2
Decoder
Class
constructor
parent_
class
name
decode_
slice
end_
picture
get_
preferred_
output_
delay
new_
field_
picture
new_
picture
output_
picture
start_
picture
GJS API Reference
GstCodecs-1.0
GstCodecs
Mpeg2DecoderClass
Class Mpeg2DecoderClass
Hierarchy
Mpeg2DecoderClass
Index
Constructors
constructor
Properties
parent_
class
name
Methods
decode_
slice
end_
picture
get_
preferred_
output_
delay
new_
field_
picture
new_
picture
output_
picture
start_
picture
Constructors
constructor
new
Mpeg2
Decoder
Class
(
)
:
Mpeg2DecoderClass
Returns
Mpeg2DecoderClass
Properties
parent_
class
parent_
class
:
VideoDecoderClass
Static
name
name
:
string
Methods
decode_
slice
decode_
slice
(
decoder
:
Mpeg2Decoder
, picture
:
Mpeg2Picture
, slice
:
Mpeg2Slice
)
:
Gst
.
FlowReturn
Parameters
decoder:
Mpeg2Decoder
picture:
Mpeg2Picture
slice:
Mpeg2Slice
Returns
Gst
.
FlowReturn
end_
picture
end_
picture
(
decoder
:
Mpeg2Decoder
, picture
:
Mpeg2Picture
)
:
Gst
.
FlowReturn
Parameters
decoder:
Mpeg2Decoder
picture:
Mpeg2Picture
Returns
Gst
.
FlowReturn
get_
preferred_
output_
delay
get_
preferred_
output_
delay
(
decoder
:
Mpeg2Decoder
, is_live
:
boolean
)
:
number
Parameters
decoder:
Mpeg2Decoder
is_live:
boolean
Returns
number
new_
field_
picture
new_
field_
picture
(
decoder
:
Mpeg2Decoder
, first_field
:
Mpeg2Picture
, second_field
:
Mpeg2Picture
)
:
Gst
.
FlowReturn
Parameters
decoder:
Mpeg2Decoder
first_field:
Mpeg2Picture
second_field:
Mpeg2Picture
Returns
Gst
.
FlowReturn
new_
picture
new_
picture
(
decoder
:
Mpeg2Decoder
, frame
:
VideoCodecFrame
, picture
:
Mpeg2Picture
)
:
Gst
.
FlowReturn
Parameters
decoder:
Mpeg2Decoder
frame:
VideoCodecFrame
picture:
Mpeg2Picture
Returns
Gst
.
FlowReturn
output_
picture
output_
picture
(
decoder
:
Mpeg2Decoder
, frame
:
VideoCodecFrame
, picture
:
Mpeg2Picture
)
:
Gst
.
FlowReturn
Parameters
decoder:
Mpeg2Decoder
frame:
VideoCodecFrame
picture:
Mpeg2Picture
Returns
Gst
.
FlowReturn
start_
picture
start_
picture
(
decoder
:
Mpeg2Decoder
, picture
:
Mpeg2Picture
, slice
:
Mpeg2Slice
, prev_picture
:
Mpeg2Picture
, next_picture
:
Mpeg2Picture
)
:
Gst
.
FlowReturn
Parameters
decoder:
Mpeg2Decoder
picture:
Mpeg2Picture
slice:
Mpeg2Slice
prev_picture:
Mpeg2Picture
next_picture:
Mpeg2Picture
Returns
Gst
.
FlowReturn
Mpeg2
Decoder
Class
constructor
parent_
class
name
decode_
slice
end_
picture
get_
preferred_
output_
delay
new_
field_
picture
new_
picture
output_
picture
start_
picture
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RDb2RlY3NfMV8wLkdzdENvZGVjcy5NcGVnMkRlY29kZXJDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR3N0Q29kZWNzXzFfMC5Hc3RDb2RlY3MuTXBlZzJEZWNvZGVyQ2xhc3MuaHRtbCNwYXJlbnRfY2xhc3MiLCJuYW1lIjoicGFyZW50X2NsYXNzIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpb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