#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.
Initial value:= {
.name = "h264_qsv",
}
HW acceleration through QSV, data[3] contains a pointer to the mfxFrameSurface1 structure.
Definition at line 281 of file qsvdec_h264.c.
Initial value:= {
}
#define ASYNC_DEPTH_DEFAULT
Definition at line 290 of file qsvdec_h264.c.
Initial value:= {
.name = "h264_qsv",
.long_name =
NULL_IF_CONFIG_SMALL(
"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (Intel Quick Sync Video acceleration)"),
.priv_class = &class,
}
static av_cold int init(AVCodecContext *avctx)
#define CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static void flush(AVCodecContext *avctx)
static int qsv_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
static av_cold int qsv_decode_close(AVCodecContext *avctx)
static void qsv_decode_flush(AVCodecContext *avctx)
static int decode(AVCodecContext *avctx, void *data, int *got_sub, AVPacket *avpkt)
static av_cold int qsv_decode_init(AVCodecContext *avctx)
Definition at line 302 of file qsvdec_h264.c.