FFmpeg
Functions | Variables
ffmpeg_qsv.c File Reference
#include <mfx/mfxvideo.h>
#include <stdlib.h>
#include "libavutil/dict.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_qsv.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavcodec/qsv.h"
#include "ffmpeg.h"

Go to the source code of this file.

Functions

static int qsv_get_buffer (AVCodecContext *s, AVFrame *frame, int flags)
 
static void qsv_uninit (AVCodecContext *s)
 
static int qsv_device_init (InputStream *ist)
 
int qsv_init (AVCodecContext *s)
 

Variables

static AVBufferRefhw_device_ctx
 
char * qsv_device = NULL
 

Function Documentation

◆ qsv_get_buffer()

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

Definition at line 34 of file ffmpeg_qsv.c.

Referenced by qsv_init().

◆ qsv_uninit()

static void qsv_uninit ( AVCodecContext s)
static

Definition at line 41 of file ffmpeg_qsv.c.

Referenced by qsv_init().

◆ qsv_device_init()

static int qsv_device_init ( InputStream ist)
static

Definition at line 47 of file ffmpeg_qsv.c.

Referenced by qsv_init().

◆ qsv_init()

int qsv_init ( AVCodecContext s)

Definition at line 72 of file ffmpeg_qsv.c.

Variable Documentation

◆ hw_device_ctx

AVBufferRef* hw_device_ctx
static

Definition at line 31 of file ffmpeg_qsv.c.

Referenced by qsv_device_init(), and qsv_init().

◆ qsv_device

char* qsv_device = NULL

Definition at line 32 of file ffmpeg_qsv.c.

Referenced by qsv_device_init().