mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-10 01:07:31 +09:00
Update aom to commit id e87fb2378f01103d5d6e477a4ef6892dc714e614
This commit is contained in:
parent
debbee1e2a
commit
992c6637e3
429 changed files with 76047 additions and 40937 deletions
6
third_party/aom/av1/common/quant_common.h
vendored
6
third_party/aom/av1/common/quant_common.h
vendored
|
|
@ -48,9 +48,7 @@ int av1_get_qindex(const struct segmentation *seg, int segment_id,
|
|||
// Reduce the large number of quantizers to a smaller number of levels for which
|
||||
// different matrices may be defined
|
||||
static INLINE int aom_get_qmlevel(int qindex, int first, int last) {
|
||||
int qmlevel = (qindex * (last + 1 - first) + QINDEX_RANGE / 2) / QINDEX_RANGE;
|
||||
qmlevel = AOMMIN(qmlevel + first, NUM_QM_LEVELS - 1);
|
||||
return qmlevel;
|
||||
return first + (qindex * (last + 1 - first)) / QINDEX_RANGE;
|
||||
}
|
||||
void aom_qm_init(struct AV1Common *cm);
|
||||
qm_val_t *aom_iqmatrix(struct AV1Common *cm, int qindex, int comp,
|
||||
|
|
@ -99,7 +97,7 @@ static INLINE int get_dq_profile_from_ctx(int qindex, int q_ctx, int is_inter,
|
|||
}
|
||||
#endif // CONFIG_NEW_QUANT
|
||||
|
||||
#if CONFIG_PVQ || CONFIG_DAALA_DIST
|
||||
#if CONFIG_PVQ
|
||||
extern const int OD_QM8_Q4_FLAT[];
|
||||
extern const int OD_QM8_Q4_HVS[];
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue