FFmpeg
|
#include <string.h>
#include <sys/types.h>
#include <mfx/mfxvideo.h>
#include "libavutil/common.h"
#include "libavutil/mem.h"
#include "libavutil/log.h"
#include "libavutil/pixfmt.h"
#include "libavutil/time.h"
#include "avcodec.h"
#include "internal.h"
#include "qsv_internal.h"
#include "qsvdec.h"
Go to the source code of this file.
Functions | |
int | ff_qsv_map_pixfmt (enum AVPixelFormat format) |
static int | qsv_init_session (AVCodecContext *avctx, QSVContext *q, mfxSession session) |
int | ff_qsv_decode_init (AVCodecContext *avctx, QSVContext *q, mfxSession session) |
static int | alloc_frame (AVCodecContext *avctx, QSVFrame *frame) |
static void | qsv_clear_unused_frames (QSVContext *q) |
static int | get_surface (AVCodecContext *avctx, QSVContext *q, mfxFrameSurface1 **surf) |
static AVFrame * | find_frame (QSVContext *q, mfxFrameSurface1 *surf) |
int | ff_qsv_decode (AVCodecContext *avctx, QSVContext *q, AVFrame *frame, int *got_frame, AVPacket *avpkt) |
int | ff_qsv_decode_close (QSVContext *q) |
int ff_qsv_map_pixfmt | ( | enum AVPixelFormat | format | ) |
Definition at line 40 of file qsvdec.c.
Referenced by qsv_process_data().
|
static |
Definition at line 51 of file qsvdec.c.
Referenced by ff_qsv_decode_init().
int ff_qsv_decode_init | ( | AVCodecContext * | avctx, |
QSVContext * | q, | ||
mfxSession | session | ||
) |
Definition at line 71 of file qsvdec.c.
Referenced by qsv_process_data().
|
static |
Definition at line 113 of file qsvdec.c.
Referenced by get_surface().
|
static |
Definition at line 141 of file qsvdec.c.
Referenced by get_surface().
|
static |
Definition at line 153 of file qsvdec.c.
Referenced by ff_qsv_decode().
|
static |
Definition at line 194 of file qsvdec.c.
Referenced by ff_qsv_decode().
int ff_qsv_decode | ( | AVCodecContext * | avctx, |
QSVContext * | q, | ||
AVFrame * | frame, | ||
int * | got_frame, | ||
AVPacket * | avpkt | ||
) |
Definition at line 205 of file qsvdec.c.
Referenced by qsv_decode_frame(), and qsv_process_data().
int ff_qsv_decode_close | ( | QSVContext * | q | ) |
Definition at line 275 of file qsvdec.c.
Referenced by qsv_decode_close().