FFmpeg
|
#include <va/va.h>
#include <va/va_enc_av1.h>
#include "libavutil/pixdesc.h"
#include "libavutil/opt.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 33 of file vaapi_encode_av1.c.
#define OFFSET | ( | x | ) | offsetof(VAAPIEncodeAV1Context, x) |
Definition at line 861 of file vaapi_encode_av1.c.
#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
Definition at line 862 of file vaapi_encode_av1.c.
|
static |
Definition at line 89 of file vaapi_encode_av1.c.
Referenced by vaapi_encode_av1_configure().
|
static |
Definition at line 110 of file vaapi_encode_av1.c.
|
static |
Arbitrary value
Definition at line 122 of file vaapi_encode_av1.c.
|
static |
Definition at line 161 of file vaapi_encode_av1.c.
Referenced by vaapi_encode_av1_init_picture_params(), vaapi_encode_av1_init_sequence_params(), and vaapi_encode_av1_write_picture_header().
|
static |
Definition at line 179 of file vaapi_encode_av1.c.
Referenced by vaapi_encode_av1_init_picture_params(), vaapi_encode_av1_init_sequence_params(), and vaapi_encode_av1_write_picture_header().
Definition at line 205 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 211 of file vaapi_encode_av1.c.
Referenced by vaapi_encode_av1_init().
|
static |
Definition at line 345 of file vaapi_encode_av1.c.
|
static |
enable order hint and reserve maximum 8 bits for it by default.
Definition at line 356 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 462 of file vaapi_encode_av1.c.
|
static |
Set tile group info.
Definition at line 665 of file vaapi_encode_av1.c.
|
static |
Pack repeat frame header.
Definition at line 687 of file vaapi_encode_av1.c.
|
static |
This attr provides essential indicators, return error if not support.
Definition at line 765 of file vaapi_encode_av1.c.
|
static |
Definition at line 851 of file vaapi_encode_av1.c.
|
static |
Definition at line 736 of file vaapi_encode_av1.c.
|
static |
Definition at line 742 of file vaapi_encode_av1.c.
Referenced by vaapi_encode_av1_init().
|
static |
Definition at line 864 of file vaapi_encode_av1.c.
|
static |
Definition at line 914 of file vaapi_encode_av1.c.
|
static |
Definition at line 923 of file vaapi_encode_av1.c.
const FFCodec ff_av1_vaapi_encoder |
Definition at line 930 of file vaapi_encode_av1.c.