GstVaapiDecoderMpeg2

GstVaapiDecoderMpeg2 — MPEG-2 decoder

Synopsis

struct              GstVaapiDecoderMpeg2;
struct              GstVaapiDecoderMpeg2Class;
GstVaapiDecoder *   gst_vaapi_decoder_mpeg2_new         (GstVaapiDisplay *display,
                                                         GstCaps *caps);

Description

Details

struct GstVaapiDecoderMpeg2

struct GstVaapiDecoderMpeg2 {
};

A decoder based on Mpeg2.


struct GstVaapiDecoderMpeg2Class

struct GstVaapiDecoderMpeg2Class {
};

A decoder class based on Mpeg2.


gst_vaapi_decoder_mpeg2_new ()

GstVaapiDecoder *   gst_vaapi_decoder_mpeg2_new         (GstVaapiDisplay *display,
                                                         GstCaps *caps);

Creates a new GstVaapiDecoder for MPEG-2 decoding. The caps can hold extra information like codec-data and pictured coded size.

display :

a GstVaapiDisplay

caps :

a GstCaps holding codec information

Returns :

the newly allocated GstVaapiDecoder object