FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
qsvdec_h2645.c File Reference
#include <stdint.h>
#include <string.h>
#include <mfx/mfxvideo.h>
#include "libavutil/common.h"
#include "libavutil/fifo.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "internal.h"
#include "qsvdec.h"

Go to the source code of this file.

Data Structures

struct  QSVH2645Context
 

Macros

#define OFFSET(x)   offsetof(QSVH2645Context, x)
 
#define VD   AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM
 

Enumerations

enum  LoadPlugin {
  LOAD_PLUGIN_NONE, LOAD_PLUGIN_HEVC_SW, LOAD_PLUGIN_NONE, LOAD_PLUGIN_HEVC_SW,
  LOAD_PLUGIN_HEVC_HW
}
 

Functions

static av_cold int qsv_decode_close (AVCodecContext *avctx)
 
static av_cold int qsv_decode_init (AVCodecContext *avctx)
 
static int qsv_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 
static void qsv_decode_flush (AVCodecContext *avctx)
 

Macro Definition Documentation

#define OFFSET (   x)    offsetof(QSVH2645Context, x)

Definition at line 146 of file qsvdec_h2645.c.

Definition at line 147 of file qsvdec_h2645.c.

Enumeration Type Documentation

enum LoadPlugin
Enumerator
LOAD_PLUGIN_NONE 
LOAD_PLUGIN_HEVC_SW 
LOAD_PLUGIN_NONE 
LOAD_PLUGIN_HEVC_SW 
LOAD_PLUGIN_HEVC_HW 

Definition at line 38 of file qsvdec_h2645.c.

Function Documentation

static av_cold int qsv_decode_close ( AVCodecContext avctx)
static

Definition at line 54 of file qsvdec_h2645.c.

Referenced by qsv_decode_init().

static av_cold int qsv_decode_init ( AVCodecContext avctx)
static

Definition at line 65 of file qsvdec_h2645.c.

static int qsv_decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame,
AVPacket avpkt 
)
static

Definition at line 102 of file qsvdec_h2645.c.

static void qsv_decode_flush ( AVCodecContext avctx)
static

Definition at line 140 of file qsvdec_h2645.c.