FFmpeg
|
#include <string.h>
#include <sys/types.h>
#include <mfx/mfxvideo.h>
#include "libavutil/common.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_qsv.h"
#include "libavutil/mem.h"
#include "libavutil/log.h"
#include "libavutil/pixdesc.h"
#include "libavutil/pixfmt.h"
#include "libavutil/time.h"
#include "avcodec.h"
#include "internal.h"
#include "qsv.h"
#include "qsv_internal.h"
#include "qsvdec.h"
Go to the source code of this file.
Functions | |
static int | qsv_init_session (AVCodecContext *avctx, QSVContext *q, mfxSession session, AVBufferRef *hw_frames_ref, AVBufferRef *hw_device_ref) |
static unsigned int | qsv_fifo_item_size (void) |
static unsigned int | qsv_fifo_size (const AVFifoBuffer *fifo) |
static int | qsv_decode_init (AVCodecContext *avctx, QSVContext *q) |
static int | alloc_frame (AVCodecContext *avctx, QSVContext *q, QSVFrame *frame) |
static void | qsv_clear_unused_frames (QSVContext *q) |
static int | get_surface (AVCodecContext *avctx, QSVContext *q, mfxFrameSurface1 **surf) |
static QSVFrame * | find_frame (QSVContext *q, mfxFrameSurface1 *surf) |
static int | qsv_decode (AVCodecContext *avctx, QSVContext *q, AVFrame *frame, int *got_frame, AVPacket *avpkt) |
int | ff_qsv_decode_close (QSVContext *q) |
int | ff_qsv_process_data (AVCodecContext *avctx, QSVContext *q, AVFrame *frame, int *got_frame, AVPacket *pkt) |
void | ff_qsv_decode_flush (AVCodecContext *avctx, QSVContext *q) |
Variables | |
const AVCodecHWConfigInternal * | ff_qsv_hw_configs [] |
|
static |
Definition at line 57 of file qsvdec.c.
Referenced by qsv_decode_init().
Definition at line 113 of file qsvdec.c.
Referenced by qsv_decode_init(), and qsv_fifo_size().
|
inlinestatic |
Definition at line 118 of file qsvdec.c.
Referenced by qsv_decode().
|
static |
Definition at line 123 of file qsvdec.c.
Referenced by ff_qsv_process_data().
|
static |
Definition at line 219 of file qsvdec.c.
Referenced by get_surface().
|
static |
Definition at line 255 of file qsvdec.c.
Referenced by get_surface().
|
static |
Definition at line 267 of file qsvdec.c.
Referenced by qsv_decode().
|
static |
Definition at line 308 of file qsvdec.c.
Referenced by qsv_decode().
|
static |
Definition at line 319 of file qsvdec.c.
Referenced by ff_qsv_process_data().
int ff_qsv_decode_close | ( | QSVContext * | q | ) |
Definition at line 450 of file qsvdec.c.
Referenced by qsv_decode_close().
int ff_qsv_process_data | ( | AVCodecContext * | avctx, |
QSVContext * | q, | ||
AVFrame * | frame, | ||
int * | got_frame, | ||
AVPacket * | pkt | ||
) |
Definition at line 489 of file qsvdec.c.
Referenced by qsv_decode_frame().
void ff_qsv_decode_flush | ( | AVCodecContext * | avctx, |
QSVContext * | q | ||
) |
Definition at line 575 of file qsvdec.c.
Referenced by qsv_decode_flush().
const AVCodecHWConfigInternal* ff_qsv_hw_configs[] |