Searched defs:img_buf (Results 1 - 2 of 2) sorted by relevance

/external/libvpx/libvpx/test/
H A Dencode_api_test.cc90 uint8_t *img_buf = reinterpret_cast<uint8_t *>( local
91 calloc(width * height * bps / 8, sizeof(*img_buf)));
97 vpx_img_wrap(&img, VPX_IMG_FMT_I420, width, height, 1, img_buf);
103 free(img_buf);
/external/mesa3d/src/gallium/state_trackers/va/
H A Dimage.c186 vlVaBuffer *img_buf; local
255 img_buf = CALLOC(1, sizeof(vlVaBuffer));
256 if (!img_buf) {
264 img_buf->type = VAImageBufferType;
265 img_buf->size = img->data_size;
266 img_buf->num_elements = 1;
268 pipe_resource_reference(&img_buf->derived_surface.resource, surfaces[0]->texture);
270 img->buf = handle_table_add(VL_VA_DRIVER(ctx)->htab, img_buf);
318 vlVaBuffer *img_buf; local
344 img_buf
430 vlVaBuffer *img_buf; local
[all...]

Completed in 207 milliseconds