FFmpeg
4.0
|
#include <stdint.h>
#include <sys/types.h>
#include <mfx/mfxvideo.h>
#include "libavutil/avutil.h"
#include "libavutil/fifo.h"
#include "avcodec.h"
#include "qsv_internal.h"
Go to the source code of this file.
Data Structures | |
struct | QSVEncContext |
Macros | |
#define | QSV_HAVE_CO2 QSV_VERSION_ATLEAST(1, 6) |
#define | QSV_HAVE_CO3 QSV_VERSION_ATLEAST(1, 11) |
#define | QSV_HAVE_TRELLIS QSV_VERSION_ATLEAST(1, 8) |
#define | QSV_HAVE_MAX_SLICE_SIZE QSV_VERSION_ATLEAST(1, 9) |
#define | QSV_HAVE_BREF_TYPE QSV_VERSION_ATLEAST(1, 8) |
#define | QSV_HAVE_LA QSV_VERSION_ATLEAST(1, 7) |
#define | QSV_HAVE_LA_DS QSV_VERSION_ATLEAST(1, 8) |
#define | QSV_HAVE_LA_HRD QSV_VERSION_ATLEAST(1, 11) |
#define | QSV_HAVE_AVBR 0 |
#define | QSV_HAVE_ICQ 0 |
#define | QSV_HAVE_VCM 0 |
#define | QSV_HAVE_QVBR 0 |
#define | QSV_HAVE_MF QSV_VERSION_ATLEAST(1, 25) |
#define | MFX_LOOKAHEAD_DS_UNKNOWN 0 |
#define | MFX_LOOKAHEAD_DS_OFF 0 |
#define | MFX_LOOKAHEAD_DS_2x 0 |
#define | MFX_LOOKAHEAD_DS_4x 0 |
#define | QSV_COMMON_OPTS |
Typedefs | |
typedef int | SetEncodeCtrlCB(AVCodecContext *avctx, const AVFrame *frame, mfxEncodeCtrl *enc_ctrl) |
Functions | |
int | ff_qsv_enc_init (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) |
#define QSV_HAVE_CO2 QSV_VERSION_ATLEAST(1, 6) |
Definition at line 37 of file qsvenc.h.
Referenced by init_video_param().
#define QSV_HAVE_CO3 QSV_VERSION_ATLEAST(1, 11) |
#define QSV_HAVE_TRELLIS QSV_VERSION_ATLEAST(1, 8) |
#define QSV_HAVE_MAX_SLICE_SIZE QSV_VERSION_ATLEAST(1, 9) |
#define QSV_HAVE_BREF_TYPE QSV_VERSION_ATLEAST(1, 8) |
#define QSV_HAVE_LA QSV_VERSION_ATLEAST(1, 7) |
Definition at line 44 of file qsvenc.h.
Referenced by select_rc_mode().
#define QSV_HAVE_LA_DS QSV_VERSION_ATLEAST(1, 8) |
#define QSV_HAVE_LA_HRD QSV_VERSION_ATLEAST(1, 11) |
Definition at line 46 of file qsvenc.h.
Referenced by dump_video_param().
#define QSV_HAVE_ICQ 0 |
Definition at line 56 of file qsvenc.h.
Referenced by select_rc_mode().
#define QSV_HAVE_VCM 0 |
Definition at line 57 of file qsvenc.h.
Referenced by dump_video_param(), and select_rc_mode().
#define QSV_HAVE_MF QSV_VERSION_ATLEAST(1, 25) |
#define MFX_LOOKAHEAD_DS_OFF 0 |
Definition at line 64 of file qsvenc.h.
Referenced by dump_video_param().
#define MFX_LOOKAHEAD_DS_2x 0 |
Definition at line 65 of file qsvenc.h.
Referenced by dump_video_param().
#define MFX_LOOKAHEAD_DS_4x 0 |
Definition at line 66 of file qsvenc.h.
Referenced by dump_video_param().
#define QSV_COMMON_OPTS |
typedef int SetEncodeCtrlCB(AVCodecContext *avctx, const AVFrame *frame, mfxEncodeCtrl *enc_ctrl) |
int ff_qsv_enc_init | ( | AVCodecContext * | avctx, |
QSVEncContext * | q | ||
) |
Definition at line 851 of file qsvenc.c.
Referenced by qsv_enc_init().
int ff_qsv_encode | ( | AVCodecContext * | avctx, |
QSVEncContext * | q, | ||
AVPacket * | pkt, | ||
const AVFrame * | frame, | ||
int * | got_packet | ||
) |
Definition at line 1208 of file qsvenc.c.
Referenced by qsv_enc_frame().
int ff_qsv_enc_close | ( | AVCodecContext * | avctx, |
QSVEncContext * | q | ||
) |
Definition at line 1277 of file qsvenc.c.
Referenced by qsv_enc_close(), and qsv_enc_init().