Searched refs:ext_fb (Results 1 – 2 of 2) sorted by relevance
101 ExternalFrameBuffer *const ext_fb = in ReturnFrameBuffer() local103 if (ext_fb == NULL) { in ReturnFrameBuffer()104 EXPECT_TRUE(ext_fb != NULL); in ReturnFrameBuffer()107 EXPECT_EQ(1, ext_fb->in_use); in ReturnFrameBuffer()108 ext_fb->in_use = 0; in ReturnFrameBuffer()116 const struct ExternalFrameBuffer *const ext_fb = in CheckXImageFrameBuffer() local119 ASSERT_TRUE(img->planes[0] >= ext_fb->data && in CheckXImageFrameBuffer()120 img->planes[0] < (ext_fb->data + ext_fb->size)); in CheckXImageFrameBuffer()
343 struct ExternalFrameBuffer *ext_fb; member359 if (!ext_fb_list->ext_fb[i].in_use) break; in get_vp9_frame_buffer()364 if (ext_fb_list->ext_fb[i].size < min_size) { in get_vp9_frame_buffer()365 free(ext_fb_list->ext_fb[i].data); in get_vp9_frame_buffer()366 ext_fb_list->ext_fb[i].data = (uint8_t *)calloc(min_size, sizeof(uint8_t)); in get_vp9_frame_buffer()367 if (!ext_fb_list->ext_fb[i].data) return -1; in get_vp9_frame_buffer()369 ext_fb_list->ext_fb[i].size = min_size; in get_vp9_frame_buffer()372 fb->data = ext_fb_list->ext_fb[i].data; in get_vp9_frame_buffer()373 fb->size = ext_fb_list->ext_fb[i].size; in get_vp9_frame_buffer()374 ext_fb_list->ext_fb[i].in_use = 1; in get_vp9_frame_buffer()[all …]