FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
ffmpeg_qsv.c File Reference
#include <mfx/mfxvideo.h>
#include <stdlib.h>
#include "libavutil/dict.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavcodec/qsv.h"
#include "ffmpeg.h"

Go to the source code of this file.

Data Structures

struct  QSVContext
 

Functions

static void buffer_release (void *opaque, uint8_t *data)
 
static int qsv_get_buffer (AVCodecContext *s, AVFrame *frame, int flags)
 
static int init_opaque_surf (QSVContext *qsv)
 
static void qsv_uninit (AVCodecContext *s)
 
int qsv_init (AVCodecContext *s)
 
static mfxIMPL choose_implementation (const InputStream *ist)
 
int qsv_transcode_init (OutputStream *ost)
 

Function Documentation

static void buffer_release ( void opaque,
uint8_t data 
)
static

Definition at line 44 of file ffmpeg_qsv.c.

Referenced by qsv_get_buffer().

static int qsv_get_buffer ( AVCodecContext s,
AVFrame frame,
int  flags 
)
static

Definition at line 49 of file ffmpeg_qsv.c.

Referenced by qsv_init().

static int init_opaque_surf ( QSVContext qsv)
static

Definition at line 71 of file ffmpeg_qsv.c.

Referenced by qsv_init().

static void qsv_uninit ( AVCodecContext s)
static

Definition at line 100 of file ffmpeg_qsv.c.

Referenced by qsv_init().

int qsv_init ( AVCodecContext s)

Definition at line 115 of file ffmpeg_qsv.c.

static mfxIMPL choose_implementation ( const InputStream ist)
static

Definition at line 151 of file ffmpeg_qsv.c.

Referenced by qsv_transcode_init().

int qsv_transcode_init ( OutputStream ost)

Definition at line 183 of file ffmpeg_qsv.c.

Referenced by transcode_init().