#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.
Initial value:= {
{ 0 , 8, 3, 1, 1, VAProfileVP8Version0_3 },
}
#define FF_PROFILE_UNKNOWN
Definition at line 178 of file vaapi_encode_vp8.c.
Initial value:= {
.sequence_params_size = sizeof(VAEncSequenceParameterBufferVP8),
.picture_params_size = sizeof(VAEncPictureParameterBufferVP8),
}
static const VAAPIEncodeProfile vaapi_encode_vp8_profiles[]
static int vaapi_encode_vp8_write_quant_table(AVCodecContext *avctx, VAAPIEncodePicture *pic, int index, int *type, char *data, size_t *data_len)
static int vaapi_encode_vp8_init_sequence_params(AVCodecContext *avctx)
static av_cold int vaapi_encode_vp8_configure(AVCodecContext *avctx)
static int vaapi_encode_vp8_init_picture_params(AVCodecContext *avctx, VAAPIEncodePicture *pic)
Definition at line 183 of file vaapi_encode_vp8.c.
Referenced by vaapi_encode_vp8_init().
const AVOption vaapi_encode_vp8_options[] |
|
static |
Initial value:= {
{ "loop_filter_level", "Loop filter level",
{ "loop_filter_sharpness", "Loop filter sharpness",
}
#define VAAPI_ENCODE_COMMON_OPTIONS
Definition at line 216 of file vaapi_encode_vp8.c.
Initial value:= {
{ "b", "0" },
{ "bf", "0" },
{ "g", "120" },
{ "global_quality", "40" },
{ "qmin", "-1" },
{ "qmax", "-1" },
}
Definition at line 225 of file vaapi_encode_vp8.c.
const AVClass vaapi_encode_vp8_class |
|
static |
Initial value:= {
.class_name = "vp8_vaapi",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
static const AVOption vaapi_encode_vp8_options[]
Definition at line 235 of file vaapi_encode_vp8.c.
Initial value:= {
.name = "vp8_vaapi",
},
.wrapper_name = "vaapi",
}
static const AVCodecDefault vaapi_encode_vp8_defaults[]
static av_cold int init(AVCodecContext *avctx)
#define AV_CODEC_CAP_HARDWARE
Codec is backed by a hardware implementation.
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVCodecDefault defaults[]
static const AVClass vaapi_encode_vp8_class
static enum AVPixelFormat pix_fmts[]
int ff_vaapi_encode2(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *input_image, int *got_packet)
AVPixelFormat
Pixel format.
av_cold int ff_vaapi_encode_close(AVCodecContext *avctx)
static av_cold int vaapi_encode_vp8_init(AVCodecContext *avctx)
Definition at line 242 of file vaapi_encode_vp8.c.