#include <stdint.h>
#include <string.h>
#include "libavutil/common.h"
#include "libavutil/fifo.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "qsvdec.h"
Go to the source code of this file.
Initial value:= {
.name = "vc1_qsv",
}
HW acceleration through QSV, data[3] contains a pointer to the mfxFrameSurface1 structure.
Definition at line 61 of file qsvdec_vc1.c.
Initial value:= {
}
#define ASYNC_DEPTH_DEFAULT
Definition at line 70 of file qsvdec_vc1.c.
Initial value:= {
.name = "vc1_qsv",
.priv_class = &class,
}
static void flush(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
static int qsv_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
static av_cold int qsv_decode_close(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
planar YUV 4:2:0, 12bpp, 1 plane for Y and 1 plane for the UV components, which are interleaved (firs...
HW acceleration through QSV, data[3] contains a pointer to the mfxFrameSurface1 structure.
static enum AVPixelFormat pix_fmts[]
static int decode(AVCodecContext *avctx, void *data, int *got_sub, AVPacket *avpkt)
static void qsv_decode_flush(AVCodecContext *avctx)
AVPixelFormat
Pixel format.
Definition at line 82 of file qsvdec_vc1.c.