#include <va/va.h>
#include <va/va_enc_vp9.h>
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/pixfmt.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "vaapi_encode.h"
Go to the source code of this file.
◆ VP9_MAX_QUANT
#define VP9_MAX_QUANT 255 |
◆ VP9_MAX_TILE_WIDTH
#define VP9_MAX_TILE_WIDTH 4096 |
◆ OFFSET
◆ FLAGS
◆ vaapi_encode_vp9_init_sequence_params()
static int vaapi_encode_vp9_init_sequence_params |
( |
AVCodecContext * |
avctx | ) |
|
|
static |
◆ vaapi_encode_vp9_init_picture_params()
◆ vaapi_encode_vp9_get_encoder_caps()
◆ vaapi_encode_vp9_configure()
◆ vaapi_encode_vp9_init()
◆ vaapi_encode_vp9_profiles
◆ vaapi_encode_type_vp9
Initial value:= {
.default_quality = 100,
.sequence_params_size = sizeof(VAEncSequenceParameterBufferVP9),
.picture_params_size = sizeof(VAEncPictureParameterBufferVP9),
}
Definition at line 241 of file vaapi_encode_vp9.c.
Referenced by vaapi_encode_vp9_init().
◆ vaapi_encode_vp9_options
const AVOption vaapi_encode_vp9_options[] |
|
static |
Initial value:= {
{ "loop_filter_level", "Loop filter level",
{ "loop_filter_sharpness", "Loop filter sharpness",
}
Definition at line 277 of file vaapi_encode_vp9.c.
◆ vaapi_encode_vp9_defaults
Initial value:= {
{ "b", "0" },
{ "bf", "0" },
{ "g", "250" },
{ "qmin", "-1" },
{ "qmax", "-1" },
}
Definition at line 289 of file vaapi_encode_vp9.c.
◆ vaapi_encode_vp9_class
const AVClass vaapi_encode_vp9_class |
|
static |
◆ ff_vp9_vaapi_encoder
Initial value:= {
.p.name = "vp9_vaapi",
},
.p.wrapper_name = "vaapi",
}
Definition at line 305 of file vaapi_encode_vp9.c.
AVPixelFormat
Pixel format.
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
@ FF_HW_FLAG_B_PICTURE_REFERENCES
static int vaapi_encode_vp9_init_picture_params(AVCodecContext *avctx, FFHWBaseEncodePicture *pic)
#define AV_CODEC_CAP_HARDWARE
Codec is backed by a hardware implementation.
static av_cold int vaapi_encode_vp9_configure(AVCodecContext *avctx)
#define FF_CODEC_CAP_NOT_INIT_THREADSAFE
The codec is not known to be init-threadsafe (i.e.
av_cold int ff_vaapi_encode_close(AVCodecContext *avctx)
static av_cold int vaapi_encode_vp9_init(AVCodecContext *avctx)
#define AV_PROFILE_UNKNOWN
#define AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE
This encoder can reorder user opaque values from input AVFrames and return them with corresponding ou...
int ff_vaapi_encode_receive_packet(AVCodecContext *avctx, AVPacket *pkt)
#define CODEC_LONG_NAME(str)
#define LIBAVUTIL_VERSION_INT
static const VAAPIEncodeProfile vaapi_encode_vp9_profiles[]
#define FF_CODEC_RECEIVE_PACKET_CB(func)
const char * av_default_item_name(void *ptr)
Return the context name.
static int vaapi_encode_vp9_init_sequence_params(AVCodecContext *avctx)
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define VAAPI_ENCODE_RC_OPTIONS
#define VAAPI_ENCODE_COMMON_OPTIONS
@ AV_PIX_FMT_VAAPI
Hardware acceleration through VA-API, data[3] contains a VASurfaceID.
static av_cold int vaapi_encode_vp9_get_encoder_caps(AVCodecContext *avctx)
@ AVCOL_RANGE_MPEG
Narrow or limited range content.
const AVCodecHWConfigInternal *const ff_vaapi_encode_hw_configs[]
@ AV_OPT_TYPE_INT
Underlying C type is int.
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
static const AVClass vaapi_encode_vp9_class
#define HW_BASE_ENCODE_COMMON_OPTIONS
static const FFCodecDefault vaapi_encode_vp9_defaults[]
static const AVOption vaapi_encode_vp9_options[]