#include <va/va.h>
#include <va/va_enc_vp8.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 "internal.h"
#include "vaapi_encode.h"
#include "vp8.h"
Go to the source code of this file.
◆ vseq_var
◆ vseq_field
◆ vpic_var
◆ vpic_field
◆ OFFSET
◆ FLAGS
◆ vaapi_encode_vp8_init_sequence_params()
◆ vaapi_encode_vp8_init_picture_params()
◆ vaapi_encode_vp8_write_quant_table()
◆ vaapi_encode_vp8_configure()
◆ vaapi_encode_vp8_init()
◆ vaapi_encode_vp8_profiles
Initial value:= {
{ 0 , 8, 3, 1, 1, VAProfileVP8Version0_3 },
}
Definition at line 181 of file vaapi_encode_vp8.c.
◆ vaapi_encode_type_vp8
Initial value:= {
.default_quality = 40,
.sequence_params_size = sizeof(VAEncSequenceParameterBufferVP8),
.picture_params_size = sizeof(VAEncPictureParameterBufferVP8),
}
Definition at line 186 of file vaapi_encode_vp8.c.
Referenced by vaapi_encode_vp8_init().
◆ vaapi_encode_vp8_options
const AVOption vaapi_encode_vp8_options[] |
|
static |
Initial value:= {
{ "loop_filter_level", "Loop filter level",
{ "loop_filter_sharpness", "Loop filter sharpness",
}
Definition at line 221 of file vaapi_encode_vp8.c.
◆ vaapi_encode_vp8_defaults
Initial value:= {
{ "b", "0" },
{ "bf", "0" },
{ "g", "120" },
{ "qmin", "-1" },
{ "qmax", "-1" },
}
Definition at line 232 of file vaapi_encode_vp8.c.
◆ vaapi_encode_vp8_class
const AVClass vaapi_encode_vp8_class |
|
static |
◆ ff_vp8_vaapi_encoder
Initial value:= {
.name = "vp8_vaapi",
},
.wrapper_name = "vaapi",
}
Definition at line 248 of file vaapi_encode_vp8.c.
AVPixelFormat
Pixel format.
static av_cold int init(AVCodecContext *avctx)
static const AVCodecDefault vaapi_encode_vp8_defaults[]
#define AV_CODEC_CAP_HARDWARE
Codec is backed by a hardware implementation.
av_cold int ff_vaapi_encode_close(AVCodecContext *avctx)
const AVCodecHWConfigInternal * ff_vaapi_encode_hw_configs[]
static av_cold int vaapi_encode_vp8_init(AVCodecContext *avctx)
static const AVCodecDefault defaults[]
static const VAAPIEncodeProfile vaapi_encode_vp8_profiles[]
#define FF_PROFILE_UNKNOWN
static enum AVPixelFormat pix_fmts[]
static int vaapi_encode_vp8_init_sequence_params(AVCodecContext *avctx)
int ff_vaapi_encode_receive_packet(AVCodecContext *avctx, AVPacket *pkt)
int ff_vaapi_encode_send_frame(AVCodecContext *avctx, const AVFrame *frame)
#define LIBAVUTIL_VERSION_INT
static int vaapi_encode_vp8_init_picture_params(AVCodecContext *avctx, VAAPIEncodePicture *pic)
const char * av_default_item_name(void *ptr)
Return the context name.
static av_cold int vaapi_encode_vp8_configure(AVCodecContext *avctx)
static const AVOption vaapi_encode_vp8_options[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
#define VAAPI_ENCODE_RC_OPTIONS
#define VAAPI_ENCODE_COMMON_OPTIONS
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
static const AVClass vaapi_encode_vp8_class
static int vaapi_encode_vp8_write_quant_table(AVCodecContext *avctx, VAAPIEncodePicture *pic, int index, int *type, char *data, size_t *data_len)
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...