mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-16 12:17:34 +09:00
aom: update libaom to 0ec86ac7ae1e32a7e70410fa4972a655ec3670a4
This commit is contained in:
parent
bc3f20e378
commit
eb361970c5
438 changed files with 52661 additions and 21905 deletions
10
third_party/aom/av1/common/alloccommon.c
vendored
10
third_party/aom/av1/common/alloccommon.c
vendored
|
|
@ -92,6 +92,9 @@ void av1_free_ref_frame_buffers(BufferPool *pool) {
|
|||
if (pool->frame_bufs[i].ref_count > 0 &&
|
||||
pool->frame_bufs[i].raw_frame_buffer.data != NULL) {
|
||||
pool->release_fb_cb(pool->cb_priv, &pool->frame_bufs[i].raw_frame_buffer);
|
||||
pool->frame_bufs[i].raw_frame_buffer.data = NULL;
|
||||
pool->frame_bufs[i].raw_frame_buffer.size = 0;
|
||||
pool->frame_bufs[i].raw_frame_buffer.priv = NULL;
|
||||
pool->frame_bufs[i].ref_count = 0;
|
||||
}
|
||||
aom_free(pool->frame_bufs[i].mvs);
|
||||
|
|
@ -131,13 +134,12 @@ void av1_alloc_restoration_buffers(AV1_COMMON *cm) {
|
|||
const int ext_h = RESTORATION_UNIT_OFFSET + (mi_h << MI_SIZE_LOG2);
|
||||
const int tile_stripes = (ext_h + 63) / 64;
|
||||
num_stripes += tile_stripes;
|
||||
cm->rst_end_stripe[i] = num_stripes;
|
||||
}
|
||||
|
||||
// Now we need to allocate enough space to store the line buffers for the
|
||||
// stripes
|
||||
const int frame_w = cm->superres_upscaled_width;
|
||||
const int use_highbd = cm->seq_params.use_highbitdepth ? 1 : 0;
|
||||
const int use_highbd = cm->seq_params.use_highbitdepth;
|
||||
|
||||
for (int p = 0; p < num_planes; ++p) {
|
||||
const int is_uv = p > 0;
|
||||
|
|
@ -293,8 +295,8 @@ void av1_remove_common(AV1_COMMON *cm) {
|
|||
|
||||
aom_free(cm->fc);
|
||||
cm->fc = NULL;
|
||||
aom_free(cm->frame_contexts);
|
||||
cm->frame_contexts = NULL;
|
||||
aom_free(cm->default_frame_context);
|
||||
cm->default_frame_context = NULL;
|
||||
}
|
||||
|
||||
void av1_init_context_buffers(AV1_COMMON *cm) { cm->setup_mi(cm); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue