Home
last modified time | relevance | path

Searched refs:img_buf (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/va/
Dimage.c198 vlVaBuffer *img_buf; in vlVaDeriveImage() local
267 img_buf = CALLOC(1, sizeof(vlVaBuffer)); in vlVaDeriveImage()
268 if (!img_buf) { in vlVaDeriveImage()
276 img_buf->type = VAImageBufferType; in vlVaDeriveImage()
277 img_buf->size = img->data_size; in vlVaDeriveImage()
278 img_buf->num_elements = 1; in vlVaDeriveImage()
280 pipe_resource_reference(&img_buf->derived_surface.resource, surfaces[0]->texture); in vlVaDeriveImage()
282 img->buf = handle_table_add(VL_VA_DRIVER(ctx)->htab, img_buf); in vlVaDeriveImage()
330 vlVaBuffer *img_buf; in vlVaGetImage() local
356 img_buf = handle_table_get(drv->htab, vaimage->buf); in vlVaGetImage()
[all …]
/external/libvpx/libvpx/test/
Dencode_api_test.cc90 uint8_t *img_buf = reinterpret_cast<uint8_t *>( in TEST() local
91 calloc(width * height * bps / 8, sizeof(*img_buf))); in TEST()
97 vpx_img_wrap(&img, VPX_IMG_FMT_I420, width, height, 1, img_buf); in TEST()
103 free(img_buf); in TEST()