#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 "internal.h"
#include "vaapi_encode.h"
Go to the source code of this file.
#define VP9_MAX_QUANT 255 |
Initial value:= {
.sequence_params_size = sizeof(VAEncSequenceParameterBufferVP9),
.picture_params_size = sizeof(VAEncPictureParameterBufferVP9),
}
static int vaapi_encode_vp9_init_picture_params(AVCodecContext *avctx, VAAPIEncodePicture *pic)
static av_cold int vaapi_encode_vp9_configure(AVCodecContext *avctx)
static int vaapi_encode_vp9_init_sequence_params(AVCodecContext *avctx)
Definition at line 205 of file vaapi_encode_vp9.c.
Referenced by vaapi_encode_vp9_init().
const AVOption vaapi_encode_vp9_options[] |
|
static |
Initial value:= {
{ "loop_filter_level", "Loop filter level",
{ "loop_filter_sharpness", "Loop filter sharpness",
}
Definition at line 272 of file vaapi_encode_vp9.c.
Initial value:= {
{ "profile", "0" },
{ "b", "0" },
{ "bf", "0" },
{ "g", "250" },
{ "global_quality", "100" },
}
Definition at line 280 of file vaapi_encode_vp9.c.
const AVClass vaapi_encode_vp9_class |
|
static |
Initial value:= {
.class_name = "vp9_vaapi",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption vaapi_encode_vp9_options[]
Definition at line 289 of file vaapi_encode_vp9.c.
Initial value:= {
.name = "vp9_vaapi",
},
}
static av_cold int vaapi_encode_vp9_init(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
av_cold int ff_vaapi_encode_close(AVCodecContext *avctx)
#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 AVCodecDefault vaapi_encode_vp9_defaults[]
int ff_vaapi_encode2(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *input_image, int *got_packet)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVClass vaapi_encode_vp9_class
static enum AVPixelFormat pix_fmts[]
static const AVCodecDefault defaults[]
AVPixelFormat
Pixel format.
Definition at line 296 of file vaapi_encode_vp9.c.