FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
qsvdec_other.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  QSVOtherContext
 

Macros

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

Functions

static void qsv_clear_buffers (QSVOtherContext *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)
 

Variables

static const AVOption options []
 

Macro Definition Documentation

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

Definition at line 168 of file qsvdec_other.c.

Definition at line 169 of file qsvdec_other.c.

Function Documentation

static void qsv_clear_buffers ( QSVOtherContext s)
static

Definition at line 48 of file qsvdec_other.c.

Referenced by qsv_decode_close(), and qsv_decode_flush().

static av_cold int qsv_decode_close ( AVCodecContext avctx)
static

Definition at line 59 of file qsvdec_other.c.

Referenced by qsv_decode_init().

static av_cold int qsv_decode_init ( AVCodecContext avctx)
static

Definition at line 77 of file qsvdec_other.c.

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

Definition at line 105 of file qsvdec_other.c.

static void qsv_decode_flush ( AVCodecContext avctx)
static

Definition at line 160 of file qsvdec_other.c.

Variable Documentation

const AVOption options[]
static
Initial value:
= {
{ "async_depth", "Internal parallelization depth, the higher the value the higher the latency.", OFFSET(qsv.async_depth), AV_OPT_TYPE_INT, { .i64 = ASYNC_DEPTH_DEFAULT }, 1, INT_MAX, VD },
{ NULL },
}
#define OFFSET(x)
Definition: qsvdec_other.c:168
#define NULL
Definition: coverity.c:32
#define ASYNC_DEPTH_DEFAULT
Definition: qsv_internal.h:33
#define VD
Definition: qsvdec_other.c:169

Definition at line 170 of file qsvdec_other.c.