Top | ![]() |
![]() |
![]() |
![]() |
void
gst_vaapi_decoder_unit_init (GstVaapiDecoderUnit *unit
);
Initializes internal resources bound to the supplied decoder unit
.
note
This is an internal function used to implement lightweight
sub-classes.
void
gst_vaapi_decoder_unit_clear (GstVaapiDecoderUnit *unit
);
Deallocates any internal resources bound to the supplied decoder
unit
.
note
This is an internal function used to implement lightweight
sub-classes.
void gst_vaapi_decoder_unit_set_parsed_info (GstVaapiDecoderUnit *unit
,gpointer parsed_info
,GDestroyNotify destroy_notify
);
Sets parsed_info
on the object and the GDestroyNotify that will be
called when the data is freed.
If some parsed_info
was previously set, then the former destroy_notify
function will be called before the parsed_info
is replaced.
Flags for GstVaapiDecoderUnit.
struct GstVaapiDecoderUnit { guint flags; guint size; guint offset; gpointer parsed_info; GDestroyNotify parsed_info_destroy_notify; };
A chunk of bitstream data that was parsed.