FFmpeg
4.4.5
|
#include <stdint.h>
#include <va/va.h>
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_vaapi.h"
#include "avcodec.h"
#include "hwconfig.h"
Go to the source code of this file.
Data Structures | |
struct | VAAPIEncodeSlice |
struct | VAAPIEncodePicture |
struct | VAAPIEncodeProfile |
struct | VAAPIEncodeRCMode |
struct | VAAPIEncodeContext |
struct | VAAPIEncodeType |
Macros | |
#define | VAAPI_ENCODE_COMMON_OPTIONS |
#define | VAAPI_ENCODE_RC_MODE(name, desc) |
#define | VAAPI_ENCODE_RC_OPTIONS |
Enumerations | |
enum | { MAX_CONFIG_ATTRIBUTES = 4 , MAX_GLOBAL_PARAMS = 4 , MAX_DPB_SIZE = 16 , MAX_PICTURE_REFERENCES = 2 , MAX_REORDER_DELAY = 16 , MAX_PARAM_BUFFER_SIZE = 1024 , MAX_TILE_ROWS = 22 , MAX_TILE_COLS = 20 } |
enum | { PICTURE_TYPE_IDR = 0 , PICTURE_TYPE_I = 1 , PICTURE_TYPE_P = 2 , PICTURE_TYPE_B = 3 } |
enum | { RC_MODE_AUTO , RC_MODE_CQP , RC_MODE_CBR , RC_MODE_VBR , RC_MODE_ICQ , RC_MODE_QVBR , RC_MODE_AVBR , RC_MODE_MAX = RC_MODE_AVBR } |
enum | { FLAG_SLICE_CONTROL = 1 << 0 , FLAG_CONSTANT_QUALITY_ONLY = 1 << 1 , FLAG_INTRA_ONLY = 1 << 2 , FLAG_B_PICTURES = 1 << 3 , FLAG_B_PICTURE_REFERENCES = 1 << 4 , FLAG_NON_IDR_KEY_PICTURES = 1 << 5 } |
Functions | |
int | ff_vaapi_encode_receive_packet (AVCodecContext *avctx, AVPacket *pkt) |
int | ff_vaapi_encode_init (AVCodecContext *avctx) |
int | ff_vaapi_encode_close (AVCodecContext *avctx) |
Variables | |
const AVCodecHWConfigInternal *const | ff_vaapi_encode_hw_configs [] |
#define VAAPI_ENCODE_COMMON_OPTIONS |
Definition at line 445 of file vaapi_encode.h.
Definition at line 460 of file vaapi_encode.h.
#define VAAPI_ENCODE_RC_OPTIONS |
Definition at line 463 of file vaapi_encode.h.
anonymous enum |
Enumerator | |
---|---|
MAX_CONFIG_ATTRIBUTES | |
MAX_GLOBAL_PARAMS | |
MAX_DPB_SIZE | |
MAX_PICTURE_REFERENCES | |
MAX_REORDER_DELAY | |
MAX_PARAM_BUFFER_SIZE | |
MAX_TILE_ROWS | |
MAX_TILE_COLS |
Definition at line 39 of file vaapi_encode.h.
anonymous enum |
Enumerator | |
---|---|
PICTURE_TYPE_IDR | |
PICTURE_TYPE_I | |
PICTURE_TYPE_P | |
PICTURE_TYPE_B |
Definition at line 54 of file vaapi_encode.h.
anonymous enum |
Enumerator | |
---|---|
RC_MODE_AUTO | |
RC_MODE_CQP | |
RC_MODE_CBR | |
RC_MODE_VBR | |
RC_MODE_ICQ | |
RC_MODE_QVBR | |
RC_MODE_AVBR | |
RC_MODE_MAX |
Definition at line 145 of file vaapi_encode.h.
anonymous enum |
Enumerator | |
---|---|
FLAG_SLICE_CONTROL | |
FLAG_CONSTANT_QUALITY_ONLY | |
FLAG_INTRA_ONLY | |
FLAG_B_PICTURES | |
FLAG_B_PICTURE_REFERENCES | |
FLAG_NON_IDR_KEY_PICTURES |
Definition at line 350 of file vaapi_encode.h.
int ff_vaapi_encode_receive_packet | ( | AVCodecContext * | avctx, |
AVPacket * | pkt | ||
) |
Definition at line 1155 of file vaapi_encode.c.
int ff_vaapi_encode_init | ( | AVCodecContext * | avctx | ) |
Definition at line 2362 of file vaapi_encode.c.
Referenced by vaapi_encode_h264_init(), vaapi_encode_h265_init(), vaapi_encode_mjpeg_init(), vaapi_encode_mpeg2_init(), vaapi_encode_vp8_init(), and vaapi_encode_vp9_init().
int ff_vaapi_encode_close | ( | AVCodecContext * | avctx | ) |
Definition at line 2531 of file vaapi_encode.c.
Referenced by vaapi_encode_h264_close(), vaapi_encode_h265_close(), vaapi_encode_mjpeg_close(), and vaapi_encode_mpeg2_close().
|
extern |
Definition at line 32 of file vaapi_encode.c.