Searched refs:ext_fb (Results 1 – 2 of 2) sorted by relevance
319 struct ExternalFrameBuffer *ext_fb; member336 if (!ext_fb_list->ext_fb[i].in_use) in get_vp9_frame_buffer()343 if (ext_fb_list->ext_fb[i].size < min_size) { in get_vp9_frame_buffer()344 free(ext_fb_list->ext_fb[i].data); in get_vp9_frame_buffer()345 ext_fb_list->ext_fb[i].data = (uint8_t *)malloc(min_size); in get_vp9_frame_buffer()346 if (!ext_fb_list->ext_fb[i].data) in get_vp9_frame_buffer()349 ext_fb_list->ext_fb[i].size = min_size; in get_vp9_frame_buffer()352 fb->data = ext_fb_list->ext_fb[i].data; in get_vp9_frame_buffer()353 fb->size = ext_fb_list->ext_fb[i].size; in get_vp9_frame_buffer()354 ext_fb_list->ext_fb[i].in_use = 1; in get_vp9_frame_buffer()[all …]
100 ExternalFrameBuffer *const ext_fb = in ReturnFrameBuffer() local102 EXPECT_TRUE(ext_fb != NULL); in ReturnFrameBuffer()103 EXPECT_EQ(1, ext_fb->in_use); in ReturnFrameBuffer()104 ext_fb->in_use = 0; in ReturnFrameBuffer()112 const struct ExternalFrameBuffer *const ext_fb = in CheckXImageFrameBuffer() local115 ASSERT_TRUE(img->planes[0] >= ext_fb->data && in CheckXImageFrameBuffer()116 img->planes[0] < (ext_fb->data + ext_fb->size)); in CheckXImageFrameBuffer()