FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
qsv.c File Reference
#include <mfx/mfxvideo.h>
#include "libavutil/error.h"
#include "avcodec.h"
#include "qsv_internal.h"

Go to the source code of this file.

Functions

int ff_qsv_codec_id_to_mfx (enum AVCodecID codec_id)
 
int ff_qsv_error (int mfx_err)
 Convert a libmfx error code into a ffmpeg error code. More...
 
int ff_qsv_init_internal_session (AVCodecContext *avctx, mfxSession *session)
 

Function Documentation

int ff_qsv_codec_id_to_mfx ( enum AVCodecID  codec_id)

Definition at line 28 of file qsv.c.

Referenced by ff_qsv_decode_init(), and init_video_param().

int ff_qsv_error ( int  mfx_err)

Convert a libmfx error code into a ffmpeg error code.

Definition at line 45 of file qsv.c.

Referenced by ff_qsv_decode(), ff_qsv_decode_init(), ff_qsv_enc_init(), ff_qsv_encode(), ff_qsv_init_internal_session(), and qsv_retrieve_enc_params().

int ff_qsv_init_internal_session ( AVCodecContext avctx,
mfxSession *  session 
)

Definition at line 80 of file qsv.c.

Referenced by ff_qsv_enc_init(), and qsv_init_session().