FFmpeg
|
#include <va/va.h>
#include <va/va_enc_av1.h>
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "libavutil/mastering_display_metadata.h"
#include "cbs_av1.h"
#include "put_bits.h"
#include "codec_internal.h"
#include "av1_levels.h"
#include "vaapi_encode.h"
Go to the source code of this file.
Data Structures | |
struct | VAAPIEncodeAV1Picture |
struct | VAAPIEncodeAV1Context |
Macros | |
#define | AV1_MAX_QUANT 255 |
#define | OFFSET(x) offsetof(VAAPIEncodeAV1Context, x) |
#define | FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
#define | PROFILE(name, value) |
#define | LEVEL(name, value) |
Variables | |
static const VAAPIEncodeProfile | vaapi_encode_av1_profiles [] |
static const VAAPIEncodeType | vaapi_encode_type_av1 |
static const AVOption | vaapi_encode_av1_options [] |
static const FFCodecDefault | vaapi_encode_av1_defaults [] |
static const AVClass | vaapi_encode_av1_class |
const FFCodec | ff_av1_vaapi_encoder |
#define AV1_MAX_QUANT 255 |
Definition at line 34 of file vaapi_encode_av1.c.
#define OFFSET | ( | x | ) | offsetof(VAAPIEncodeAV1Context, x) |
Definition at line 967 of file vaapi_encode_av1.c.
#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
Definition at line 968 of file vaapi_encode_av1.c.
|
static |
Definition at line 92 of file vaapi_encode_av1.c.
Referenced by vaapi_encode_av1_configure().
|
static |
Definition at line 113 of file vaapi_encode_av1.c.
|
static |
Arbitrary value
Definition at line 125 of file vaapi_encode_av1.c.
|
static |
Definition at line 166 of file vaapi_encode_av1.c.
Referenced by vaapi_encode_av1_init_picture_params(), vaapi_encode_av1_init_sequence_params(), vaapi_encode_av1_write_extra_header(), and vaapi_encode_av1_write_picture_header().
|
static |
Definition at line 184 of file vaapi_encode_av1.c.
Referenced by vaapi_encode_av1_init_picture_params(), vaapi_encode_av1_init_sequence_params(), vaapi_encode_av1_write_extra_header(), and vaapi_encode_av1_write_picture_header().
|
static |
Definition at line 210 of file vaapi_encode_av1.c.
Referenced by vaapi_encode_av1_set_tile().
|
static |
Try user setting tile rows number first.
try uniformed tile.
try non-uniformed tile.
Return invalid parameter if explicit tile rows is set.
check if tile cols/rows is supported by driver.
check if tile group numbers is valid.
Definition at line 216 of file vaapi_encode_av1.c.
Referenced by vaapi_encode_av1_init().
|
static |
Definition at line 350 of file vaapi_encode_av1.c.
|
static |
enable order hint and reserve maximum 8 bits for it by default.
Definition at line 361 of file vaapi_encode_av1.c.
|
static |
set the nearest frame in L0 as all reference frame.
set the 2nd nearest frame in L0 as Golden frame.
B frame will not be referenced, disable its recon frame.
Use LAST_FRAME and BWDREF_FRAME for reference.
ignore ONLY_4x4 mode for codedlossless is not fully implemented.
let driver decide to use single or compound reference prediction mode.
set reference.
Definition at line 468 of file vaapi_encode_av1.c.
|
static |
Set tile group info.
Definition at line 734 of file vaapi_encode_av1.c.
|
static |
Pack repeat frame header.
Definition at line 756 of file vaapi_encode_av1.c.
|
static |
Definition at line 806 of file vaapi_encode_av1.c.
|
static |
This attr provides essential indicators, return error if not support.
Definition at line 870 of file vaapi_encode_av1.c.
|
static |
Definition at line 957 of file vaapi_encode_av1.c.
|
static |
Definition at line 839 of file vaapi_encode_av1.c.
|
static |
Definition at line 845 of file vaapi_encode_av1.c.
Referenced by vaapi_encode_av1_init().
|
static |
Definition at line 970 of file vaapi_encode_av1.c.
|
static |
Definition at line 1021 of file vaapi_encode_av1.c.
|
static |
Definition at line 1030 of file vaapi_encode_av1.c.
const FFCodec ff_av1_vaapi_encoder |
Definition at line 1037 of file vaapi_encode_av1.c.