mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-11 17:57:32 +09:00
Update libaom to commit ID 1e227d41f0616de9548a673a83a21ef990b62591
This commit is contained in:
parent
77c9089b7d
commit
368651059a
526 changed files with 34535 additions and 15900 deletions
21
third_party/aom/av1/decoder/decoder.c
vendored
21
third_party/aom/av1/decoder/decoder.c
vendored
|
|
@ -37,16 +37,11 @@
|
|||
#include "av1/decoder/obu.h"
|
||||
|
||||
static void initialize_dec(void) {
|
||||
static volatile int init_done = 0;
|
||||
|
||||
if (!init_done) {
|
||||
av1_rtcd();
|
||||
aom_dsp_rtcd();
|
||||
aom_scale_rtcd();
|
||||
av1_init_intra_predictors();
|
||||
av1_init_wedge_masks();
|
||||
init_done = 1;
|
||||
}
|
||||
av1_rtcd();
|
||||
aom_dsp_rtcd();
|
||||
aom_scale_rtcd();
|
||||
av1_init_intra_predictors();
|
||||
av1_init_wedge_masks();
|
||||
}
|
||||
|
||||
static void dec_setup_mi(AV1_COMMON *cm) {
|
||||
|
|
@ -171,8 +166,7 @@ void av1_decoder_remove(AV1Decoder *pbi) {
|
|||
if (pbi->thread_data) {
|
||||
for (int worker_idx = 0; worker_idx < pbi->max_threads - 1; worker_idx++) {
|
||||
DecWorkerData *const thread_data = pbi->thread_data + worker_idx;
|
||||
const int use_highbd = pbi->common.seq_params.use_highbitdepth ? 1 : 0;
|
||||
av1_free_mc_tmp_buf(thread_data->td, use_highbd);
|
||||
av1_free_mc_tmp_buf(thread_data->td);
|
||||
aom_free(thread_data->td);
|
||||
}
|
||||
aom_free(pbi->thread_data);
|
||||
|
|
@ -209,8 +203,7 @@ void av1_decoder_remove(AV1Decoder *pbi) {
|
|||
#if CONFIG_ACCOUNTING
|
||||
aom_accounting_clear(&pbi->accounting);
|
||||
#endif
|
||||
const int use_highbd = pbi->common.seq_params.use_highbitdepth ? 1 : 0;
|
||||
av1_free_mc_tmp_buf(&pbi->td, use_highbd);
|
||||
av1_free_mc_tmp_buf(&pbi->td);
|
||||
|
||||
aom_free(pbi);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue