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 "qsv_internal.h"
#include "qsvdec.h"
#include "qsv.h"

Go to the source code of this file.

Data Structures

struct  QSVH2645Context
 

Macros

#define LOAD_PLUGIN_DEFAULT   LOAD_PLUGIN_HEVC_HW
 
#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_HEVC_HW, LOAD_PLUGIN_NONE,
  LOAD_PLUGIN_HEVC_SW, LOAD_PLUGIN_HEVC_HW
}
 

Functions

static void qsv_clear_buffers (QSVH2645Context *s)
 
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 LOAD_PLUGIN_DEFAULT   LOAD_PLUGIN_HEVC_HW

Definition at line 181 of file qsvdec_h2645.c.

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

Definition at line 184 of file qsvdec_h2645.c.

Definition at line 185 of file qsvdec_h2645.c.

Enumeration Type Documentation

enum LoadPlugin
Enumerator
LOAD_PLUGIN_NONE 
LOAD_PLUGIN_HEVC_SW 
LOAD_PLUGIN_HEVC_HW 
LOAD_PLUGIN_NONE 
LOAD_PLUGIN_HEVC_SW 
LOAD_PLUGIN_HEVC_HW 

Definition at line 40 of file qsvdec_h2645.c.

Function Documentation

static void qsv_clear_buffers ( QSVH2645Context s)
static

Definition at line 57 of file qsvdec_h2645.c.

Referenced by qsv_decode_close(), and qsv_decode_flush().

static av_cold int qsv_decode_close ( AVCodecContext avctx)
static

Definition at line 68 of file qsvdec_h2645.c.

Referenced by qsv_decode_init().

static av_cold int qsv_decode_init ( AVCodecContext avctx)
static

Definition at line 81 of file qsvdec_h2645.c.

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

Definition at line 118 of file qsvdec_h2645.c.

static void qsv_decode_flush ( AVCodecContext avctx)
static

Definition at line 170 of file qsvdec_h2645.c.