mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-28 10:07:30 +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
11
third_party/aom/av1/common/frame_buffers.c
vendored
11
third_party/aom/av1/common/frame_buffers.c
vendored
|
|
@ -38,6 +38,17 @@ void av1_free_internal_frame_buffers(InternalFrameBufferList *list) {
|
|||
list->int_fb = NULL;
|
||||
}
|
||||
|
||||
void av1_zero_unused_internal_frame_buffers(InternalFrameBufferList *list) {
|
||||
int i;
|
||||
|
||||
assert(list != NULL);
|
||||
|
||||
for (i = 0; i < list->num_internal_frame_buffers; ++i) {
|
||||
if (list->int_fb[i].data && !list->int_fb[i].in_use)
|
||||
memset(list->int_fb[i].data, 0, list->int_fb[i].size);
|
||||
}
|
||||
}
|
||||
|
||||
int av1_get_frame_buffer(void *cb_priv, size_t min_size,
|
||||
aom_codec_frame_buffer_t *fb) {
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue