mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 16:57:30 +09:00
Update aom to commit id f5bdeac22930ff4c6b219be49c843db35970b918
This commit is contained in:
parent
e329bc4331
commit
2ab8fcbfd1
370 changed files with 56185 additions and 32026 deletions
23
third_party/aom/av1/encoder/firstpass.h
vendored
23
third_party/aom/av1/encoder/firstpass.h
vendored
|
|
@ -52,6 +52,13 @@ typedef struct {
|
|||
#define MIN_EXT_ARF_INTERVAL 4
|
||||
#endif // CONFIG_EXT_REFS
|
||||
|
||||
#if CONFIG_FLEX_REFS
|
||||
#define MIN_ZERO_MOTION 0.95
|
||||
#define MAX_SR_CODED_ERROR 40
|
||||
#define MAX_RAW_ERR_VAR 2000
|
||||
#define MIN_MV_IN_OUT 0.4
|
||||
#endif // CONFIG_FLEX_REFS
|
||||
|
||||
#define VLOW_MOTION_THRESHOLD 950
|
||||
|
||||
typedef struct {
|
||||
|
|
@ -77,6 +84,10 @@ typedef struct {
|
|||
double new_mv_count;
|
||||
double duration;
|
||||
double count;
|
||||
#if CONFIG_FLEX_REFS
|
||||
// standard deviation for (0, 0) motion prediction error
|
||||
double raw_error_stdev;
|
||||
#endif // CONFIG_FLEX_REFS
|
||||
} FIRSTPASS_STATS;
|
||||
|
||||
typedef enum {
|
||||
|
|
@ -177,18 +188,6 @@ void av1_twopass_postencode_update(struct AV1_COMP *cpi);
|
|||
// Post encode update of the rate control parameters for 2-pass
|
||||
void av1_twopass_postencode_update(struct AV1_COMP *cpi);
|
||||
|
||||
void av1_calculate_next_scaled_size(const struct AV1_COMP *cpi,
|
||||
int *scaled_frame_width,
|
||||
int *scaled_frame_height);
|
||||
|
||||
#if CONFIG_FRAME_SUPERRES
|
||||
// This is the size after superress scaling, which could be 1:1.
|
||||
// Superres scaling happens after regular downscaling.
|
||||
// TODO(afergs): Limit overall reduction to 1/2 of the original size
|
||||
void av1_calculate_superres_size(const struct AV1_COMP *cpi, int *encoded_width,
|
||||
int *encoded_height);
|
||||
#endif // CONFIG_FRAME_SUPERRES
|
||||
|
||||
#if CONFIG_EXT_REFS
|
||||
static INLINE int get_number_of_extra_arfs(int interval, int arf_pending) {
|
||||
if (arf_pending && MAX_EXT_ARFS > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue