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/time.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "internal.h"
#include "qsv.h"
#include "qsv_internal.h"
#include "qsvenc.h"
Go to the source code of this file.
Functions | |
static int | init_video_param (AVCodecContext *avctx, QSVEncContext *q) |
static int | qsv_retrieve_enc_params (AVCodecContext *avctx, QSVEncContext *q) |
int | ff_qsv_enc_init (AVCodecContext *avctx, QSVEncContext *q) |
static void | clear_unused_frames (QSVEncContext *q) |
static int | get_free_frame (QSVEncContext *q, QSVFrame **f) |
static int | submit_frame (QSVEncContext *q, const AVFrame *frame, mfxFrameSurface1 **surface) |
static void | print_interlace_msg (AVCodecContext *avctx, QSVEncContext *q) |
int | ff_qsv_encode (AVCodecContext *avctx, QSVEncContext *q, AVPacket *pkt, const AVFrame *frame, int *got_packet) |
int | ff_qsv_enc_close (AVCodecContext *avctx, QSVEncContext *q) |
|
static |
Definition at line 40 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
|
static |
Definition at line 188 of file qsvenc.c.
Referenced by ff_qsv_enc_init().
int ff_qsv_enc_init | ( | AVCodecContext * | avctx, |
QSVEncContext * | q | ||
) |
Definition at line 235 of file qsvenc.c.
Referenced by qsv_enc_init().
|
static |
Definition at line 292 of file qsvenc.c.
Referenced by get_free_frame().
|
static |
Definition at line 304 of file qsvenc.c.
Referenced by submit_frame().
|
static |
Definition at line 337 of file qsvenc.c.
Referenced by ff_qsv_encode().
|
static |
Definition at line 405 of file qsvenc.c.
Referenced by ff_qsv_encode().
int ff_qsv_encode | ( | AVCodecContext * | avctx, |
QSVEncContext * | q, | ||
AVPacket * | pkt, | ||
const AVFrame * | frame, | ||
int * | got_packet | ||
) |
Definition at line 417 of file qsvenc.c.
Referenced by qsv_enc_frame().
int ff_qsv_enc_close | ( | AVCodecContext * | avctx, |
QSVEncContext * | q | ||
) |
Definition at line 536 of file qsvenc.c.
Referenced by qsv_enc_close(), and qsv_enc_init().