FFmpeg
|
#include <stdint.h>
#include <va/va.h>
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_vaapi.h"
#include "avcodec.h"
#include "hwconfig.h"
#include "hw_base_encode.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 | FLAG_TIMESTAMP_NO_DELAY 1 << 6 |
#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_PARAM_BUFFER_SIZE = 1024, MAX_TILE_ROWS = 22, MAX_TILE_COLS = 20 } |
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 } |
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 FLAG_TIMESTAMP_NO_DELAY 1 << 6 |
Definition at line 42 of file vaapi_encode.h.
#define VAAPI_ENCODE_COMMON_OPTIONS |
Definition at line 350 of file vaapi_encode.h.
Definition at line 361 of file vaapi_encode.h.
#define VAAPI_ENCODE_RC_OPTIONS |
Definition at line 364 of file vaapi_encode.h.
anonymous enum |
Enumerator | |
---|---|
MAX_CONFIG_ATTRIBUTES | |
MAX_GLOBAL_PARAMS | |
MAX_PARAM_BUFFER_SIZE | |
MAX_TILE_ROWS | |
MAX_TILE_COLS |
Definition at line 44 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 115 of file vaapi_encode.h.
int ff_vaapi_encode_receive_packet | ( | AVCodecContext * | avctx, |
AVPacket * | pkt | ||
) |
Definition at line 2086 of file vaapi_encode.c.
int ff_vaapi_encode_init | ( | AVCodecContext * | avctx | ) |
Definition at line 2091 of file vaapi_encode.c.
Referenced by vaapi_encode_av1_init(), 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 2275 of file vaapi_encode.c.
Referenced by vaapi_encode_av1_close(), vaapi_encode_h264_close(), vaapi_encode_h265_close(), vaapi_encode_mjpeg_close(), and vaapi_encode_mpeg2_close().
const AVCodecHWConfigInternal* const ff_vaapi_encode_hw_configs[] |
Definition at line 36 of file vaapi_encode.c.