mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 08:47:31 +09:00
Update aom to slightly newer commit ID
This commit is contained in:
parent
1c8af26369
commit
76f1e6edca
311 changed files with 55292 additions and 33790 deletions
13
third_party/aom/av1/decoder/inspection.c
vendored
13
third_party/aom/av1/decoder/inspection.c
vendored
|
|
@ -14,6 +14,9 @@
|
|||
#if CONFIG_CDEF
|
||||
#include "av1/common/cdef.h"
|
||||
#endif
|
||||
#if CONFIG_CFL
|
||||
#include "av1/common/cfl.h"
|
||||
#endif
|
||||
|
||||
void ifd_init(insp_frame_data *fd, int frame_width, int frame_height) {
|
||||
fd->mi_cols = ALIGN_POWER_OF_TWO(frame_width, 3) >> MI_SIZE_LOG2;
|
||||
|
|
@ -96,6 +99,16 @@ int ifd_inspect(insp_frame_data *fd, void *decoder) {
|
|||
mi->cdef_strength =
|
||||
cm->cdef_strengths[mbmi->cdef_strength] % CLPF_STRENGTHS;
|
||||
mi->cdef_strength += mi->cdef_strength == 3;
|
||||
#endif
|
||||
#if CONFIG_CFL
|
||||
if (mbmi->uv_mode == DC_PRED) {
|
||||
mi->cfl_alpha_idx = mbmi->cfl_alpha_idx;
|
||||
mi->cfl_alpha_sign = (mbmi->cfl_alpha_signs[CFL_PRED_V] << CFL_PRED_V) +
|
||||
mbmi->cfl_alpha_signs[CFL_PRED_U];
|
||||
} else {
|
||||
mi->cfl_alpha_idx = 0;
|
||||
mi->cfl_alpha_sign = 0;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue