Searched refs:int_fb_list (Results 1 – 2 of 2) sorted by relevance
43 InternalFrameBufferList *const int_fb_list = in vp9_get_frame_buffer() local45 if (int_fb_list == NULL) return -1; in vp9_get_frame_buffer()48 for (i = 0; i < int_fb_list->num_internal_frame_buffers; ++i) { in vp9_get_frame_buffer()49 if (!int_fb_list->int_fb[i].in_use) break; in vp9_get_frame_buffer()52 if (i == int_fb_list->num_internal_frame_buffers) return -1; in vp9_get_frame_buffer()54 if (int_fb_list->int_fb[i].size < min_size) { in vp9_get_frame_buffer()55 vpx_free(int_fb_list->int_fb[i].data); in vp9_get_frame_buffer()59 int_fb_list->int_fb[i].data = (uint8_t *)vpx_calloc(1, min_size); in vp9_get_frame_buffer()60 if (!int_fb_list->int_fb[i].data) return -1; in vp9_get_frame_buffer()61 int_fb_list->int_fb[i].size = min_size; in vp9_get_frame_buffer()[all …]
60 InternalFrameBufferList *const int_fb_list = in av1_get_frame_buffer() local62 if (int_fb_list == NULL) return -1; in av1_get_frame_buffer()65 for (i = 0; i < int_fb_list->num_internal_frame_buffers; ++i) { in av1_get_frame_buffer()66 if (!int_fb_list->int_fb[i].in_use) break; in av1_get_frame_buffer()69 if (i == int_fb_list->num_internal_frame_buffers) return -1; in av1_get_frame_buffer()71 if (int_fb_list->int_fb[i].size < min_size) { in av1_get_frame_buffer()72 aom_free(int_fb_list->int_fb[i].data); in av1_get_frame_buffer()76 int_fb_list->int_fb[i].data = (uint8_t *)aom_calloc(1, min_size); in av1_get_frame_buffer()77 if (!int_fb_list->int_fb[i].data) { in av1_get_frame_buffer()78 int_fb_list->int_fb[i].size = 0; in av1_get_frame_buffer()[all …]