Libav
|
Go to the source code of this file.
Data Structures | |
struct | QSVFrame |
struct | QSVFramesContext |
Macros | |
#define | QSV_VERSION_MAJOR 1 |
#define | QSV_VERSION_MINOR 1 |
#define | ASYNC_DEPTH_DEFAULT 4 |
#define | QSV_VERSION_ATLEAST(MAJOR, MINOR) |
Functions | |
int | ff_qsv_map_error (mfxStatus mfx_err, const char **desc) |
Convert a libmfx error code into a libav error code. More... | |
int | ff_qsv_print_error (void *log_ctx, mfxStatus err, const char *error_string) |
int | ff_qsv_print_warning (void *log_ctx, mfxStatus err, const char *warning_string) |
int | ff_qsv_codec_id_to_mfx (enum AVCodecID codec_id) |
int | ff_qsv_map_pixfmt (enum AVPixelFormat format, uint32_t *fourcc) |
int | ff_qsv_init_internal_session (AVCodecContext *avctx, mfxSession *session, const char *load_plugins) |
int | ff_qsv_init_session_hwcontext (AVCodecContext *avctx, mfxSession *session, QSVFramesContext *qsv_frames_ctx, const char *load_plugins, int opaque) |
#define QSV_VERSION_MAJOR 1 |
Definition at line 30 of file qsv_internal.h.
Referenced by ff_qsv_init_internal_session().
#define QSV_VERSION_MINOR 1 |
Definition at line 31 of file qsv_internal.h.
Referenced by ff_qsv_init_internal_session().
#define ASYNC_DEPTH_DEFAULT 4 |
Definition at line 33 of file qsv_internal.h.
#define QSV_VERSION_ATLEAST | ( | MAJOR, | |
MINOR | |||
) |
Definition at line 35 of file qsv_internal.h.
int ff_qsv_map_error | ( | mfxStatus | mfx_err, |
const char ** | desc | ||
) |
Convert a libmfx error code into a libav error code.
Definition at line 97 of file qsv.c.
Referenced by ff_qsv_print_error(), and ff_qsv_print_warning().
int ff_qsv_print_error | ( | void * | log_ctx, |
mfxStatus | err, | ||
const char * | error_string | ||
) |
Definition at line 112 of file qsv.c.
Referenced by encode_frame(), ff_qsv_enc_init(), ff_qsv_init_internal_session(), ff_qsv_init_session_hwcontext(), qsv_decode(), qsv_decode_init(), qsv_load_plugins(), and qsv_retrieve_enc_params().
int ff_qsv_print_warning | ( | void * | log_ctx, |
mfxStatus | err, | ||
const char * | warning_string | ||
) |
Definition at line 122 of file qsv.c.
Referenced by encode_frame(), and ff_qsv_enc_init().
int ff_qsv_codec_id_to_mfx | ( | enum AVCodecID | codec_id | ) |
Definition at line 36 of file qsv.c.
Referenced by init_video_param(), and qsv_decode_init().
int ff_qsv_map_pixfmt | ( | enum AVPixelFormat | format, |
uint32_t * | fourcc | ||
) |
Definition at line 132 of file qsv.c.
Referenced by ff_qsv_process_data(), and init_video_param().
int ff_qsv_init_internal_session | ( | AVCodecContext * | avctx, |
mfxSession * | session, | ||
const char * | load_plugins | ||
) |
Definition at line 200 of file qsv.c.
Referenced by qsv_init_session(), and qsvenc_init_session().
int ff_qsv_init_session_hwcontext | ( | AVCodecContext * | avctx, |
mfxSession * | session, | ||
QSVFramesContext * | qsv_frames_ctx, | ||
const char * | load_plugins, | ||
int | opaque | ||
) |
Definition at line 290 of file qsv.c.
Referenced by qsv_init_session(), and qsvenc_init_session().