mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-11 17:57:32 +09:00
Update libaom to rev b25610052a1398032320008d69b51d2da94f5928
This commit is contained in:
parent
8493557d20
commit
3d109dd4fc
240 changed files with 16977 additions and 6139 deletions
8
third_party/aom/av1/encoder/av1_quantize.c
vendored
8
third_party/aom/av1/encoder/av1_quantize.c
vendored
|
|
@ -613,9 +613,9 @@ void av1_init_quantizer(AV1_COMP *cpi) {
|
|||
AV1_COMMON *const cm = &cpi->common;
|
||||
QUANTS *const quants = &cpi->quants;
|
||||
Dequants *const dequants = &cpi->dequants;
|
||||
av1_build_quantizer(cm->bit_depth, cm->y_dc_delta_q, cm->u_dc_delta_q,
|
||||
cm->u_ac_delta_q, cm->v_dc_delta_q, cm->v_ac_delta_q,
|
||||
quants, dequants);
|
||||
av1_build_quantizer(cm->seq_params.bit_depth, cm->y_dc_delta_q,
|
||||
cm->u_dc_delta_q, cm->u_ac_delta_q, cm->v_dc_delta_q,
|
||||
cm->v_ac_delta_q, quants, dequants);
|
||||
}
|
||||
|
||||
void av1_init_plane_quantizers(const AV1_COMP *cpi, MACROBLOCK *x,
|
||||
|
|
@ -713,7 +713,7 @@ void av1_set_quantizer(AV1_COMMON *cm, int q) {
|
|||
cm->qm_u = aom_get_qmlevel(cm->base_qindex + cm->u_ac_delta_q,
|
||||
cm->min_qmlevel, cm->max_qmlevel);
|
||||
|
||||
if (!cm->separate_uv_delta_q)
|
||||
if (!cm->seq_params.separate_uv_delta_q)
|
||||
cm->qm_v = cm->qm_u;
|
||||
else
|
||||
cm->qm_v = aom_get_qmlevel(cm->base_qindex + cm->v_ac_delta_q,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue