GstVaapiDecoderFfmpeg

GstVaapiDecoderFfmpeg — FFmpeg-based decoder

Synopsis

                    GstVaapiDecoderFfmpeg;
                    GstVaapiDecoderFfmpegClass;
GstVaapiDecoder *   gst_vaapi_decoder_ffmpeg_new        (GstVaapiDisplay *display,
                                                         GstCaps *caps);

Object Hierarchy

  GObject
   +----GstVaapiDecoder
         +----GstVaapiDecoderFfmpeg

Description

Details

GstVaapiDecoderFfmpeg

typedef struct _GstVaapiDecoderFfmpeg GstVaapiDecoderFfmpeg;

A decoder based on FFmpeg.


GstVaapiDecoderFfmpegClass

typedef struct {
} GstVaapiDecoderFfmpegClass;

A decoder class based on FFmpeg.


gst_vaapi_decoder_ffmpeg_new ()

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

Creates a new GstVaapiDecoder based on FFmpeg where the codec is determined from caps. 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