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

Go to the source code of this file.

Data Structures

struct  QSVFrame
 

Macros

#define QSV_VERSION_MAJOR   1
 
#define QSV_VERSION_MINOR   1
 
#define ASYNC_DEPTH_DEFAULT   4
 

Functions

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

Macro Definition Documentation

#define QSV_VERSION_MAJOR   1

Definition at line 28 of file qsv_internal.h.

Referenced by ff_qsv_init_internal_session().

#define QSV_VERSION_MINOR   1

Definition at line 29 of file qsv_internal.h.

Referenced by ff_qsv_init_internal_session().

#define ASYNC_DEPTH_DEFAULT   4

Definition at line 31 of file qsv_internal.h.

Function Documentation

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_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_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().