mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-10 01:07:31 +09:00
Update aom to v1.0.0
Update aom to commit id d14c5bb4f336ef1842046089849dee4a301fbbf0.
This commit is contained in:
parent
bb61121b44
commit
48f6d2e034
1087 changed files with 154333 additions and 265310 deletions
25
third_party/aom/av1/encoder/ratectrl.h
vendored
25
third_party/aom/av1/encoder/ratectrl.h
vendored
|
|
@ -28,7 +28,6 @@ extern "C" {
|
|||
#define MAX_GF_INTERVAL 16
|
||||
#define FIXED_GF_INTERVAL 8 // Used in some testing modes only
|
||||
|
||||
#if CONFIG_EXT_REFS
|
||||
typedef enum {
|
||||
INTER_NORMAL = 0,
|
||||
INTER_LOW = 1,
|
||||
|
|
@ -38,23 +37,20 @@ typedef enum {
|
|||
KF_STD = 5,
|
||||
RATE_FACTOR_LEVELS = 6
|
||||
} RATE_FACTOR_LEVEL;
|
||||
#else
|
||||
typedef enum {
|
||||
INTER_NORMAL = 0,
|
||||
INTER_HIGH = 1,
|
||||
GF_ARF_LOW = 2,
|
||||
GF_ARF_STD = 3,
|
||||
KF_STD = 4,
|
||||
RATE_FACTOR_LEVELS = 5
|
||||
} RATE_FACTOR_LEVEL;
|
||||
#endif // CONFIG_EXT_REFS
|
||||
|
||||
static const double rate_factor_deltas[RATE_FACTOR_LEVELS] = {
|
||||
1.00, // INTER_NORMAL
|
||||
0.80, // INTER_LOW
|
||||
1.50, // INTER_HIGH
|
||||
1.25, // GF_ARF_LOW
|
||||
2.00, // GF_ARF_STD
|
||||
2.00, // KF_STD
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
int resize_width;
|
||||
int resize_height;
|
||||
#if CONFIG_FRAME_SUPERRES
|
||||
uint8_t superres_denom;
|
||||
#endif // CONFIG_FRAME_SUPERRES
|
||||
} size_params_type;
|
||||
|
||||
typedef struct {
|
||||
|
|
@ -88,8 +84,8 @@ typedef struct {
|
|||
int source_alt_ref_pending;
|
||||
int source_alt_ref_active;
|
||||
int is_src_frame_alt_ref;
|
||||
int sframe_due;
|
||||
|
||||
#if CONFIG_EXT_REFS
|
||||
// Length of the bi-predictive frame group interval
|
||||
int bipred_group_interval;
|
||||
|
||||
|
|
@ -99,7 +95,6 @@ typedef struct {
|
|||
int is_last_bipred_frame;
|
||||
int is_bipred_frame;
|
||||
int is_src_frame_ext_arf;
|
||||
#endif // CONFIG_EXT_REFS
|
||||
|
||||
int avg_frame_bandwidth; // Average frame size target for clip
|
||||
int min_frame_bandwidth; // Minimum allocation used for any frame
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue