/external/mesa3d/src/gallium/state_trackers/vdpau/ |
bitmap.c | 46 struct pipe_resource res_tmpl, *res; local 72 memset(&res_tmpl, 0, sizeof(res_tmpl)); 73 res_tmpl.target = PIPE_TEXTURE_2D; 74 res_tmpl.format = VdpFormatRGBAToPipe(rgba_format); 75 res_tmpl.width0 = width; 76 res_tmpl.height0 = height; 77 res_tmpl.depth0 = 1; 78 res_tmpl.array_size = 1; 79 res_tmpl.bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET [all...] |
device.c | 45 struct pipe_resource *res, res_tmpl; local 86 memset(&res_tmpl, 0, sizeof(res_tmpl)); 88 res_tmpl.target = PIPE_TEXTURE_2D; 89 res_tmpl.format = PIPE_FORMAT_R8G8B8A8_UNORM; 90 res_tmpl.width0 = 1; 91 res_tmpl.height0 = 1; 92 res_tmpl.depth0 = 1; 93 res_tmpl.array_size = 1; 94 res_tmpl.bind = PIPE_BIND_SAMPLER_VIEW [all...] |
output.c | 53 struct pipe_resource res_tmpl, *res; local 76 memset(&res_tmpl, 0, sizeof(res_tmpl)); 85 res_tmpl.target = PIPE_TEXTURE_2D; 86 res_tmpl.format = VdpFormatRGBAToPipe(rgba_format); 87 res_tmpl.width0 = width; 88 res_tmpl.height0 = height; 89 res_tmpl.depth0 = 1; 90 res_tmpl.array_size = 1; 91 res_tmpl.bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET 302 struct pipe_resource *res, res_tmpl; local [all...] |
mixer.c | 253 struct pipe_resource res_tmpl, *res; local 348 memset(&res_tmpl, 0, sizeof(res_tmpl)); 350 res_tmpl.target = PIPE_TEXTURE_2D; 351 res_tmpl.format = dst->sampler_view->format; 352 res_tmpl.depth0 = 1; 353 res_tmpl.array_size = 1; 354 res_tmpl.bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET; 355 res_tmpl.usage = PIPE_USAGE_DEFAULT; 358 res_tmpl.width0 = dst->surface->width [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_zscan.c | 377 struct pipe_resource res_tmpl, *res; local 396 memset(&res_tmpl, 0, sizeof(res_tmpl)); 397 res_tmpl.target = PIPE_TEXTURE_2D; 398 res_tmpl.format = PIPE_FORMAT_R32_FLOAT; 399 res_tmpl.width0 = VL_BLOCK_WIDTH * blocks_per_line; 400 res_tmpl.height0 = VL_BLOCK_HEIGHT; 401 res_tmpl.depth0 = 1; 402 res_tmpl.array_size = 1; 403 res_tmpl.usage = PIPE_USAGE_IMMUTABLE 486 struct pipe_resource res_tmpl, *res; local [all...] |
vl_video_buffer.c | 470 struct pipe_resource res_tmpl; local 478 vl_video_buffer_template(&res_tmpl, tmpl, resource_formats[0], depth, array_size, usage, 0); 479 resources[0] = pipe->screen->resource_create(pipe->screen, &res_tmpl); 488 vl_video_buffer_template(&res_tmpl, tmpl, resource_formats[1], depth, array_size, usage, 1); 489 resources[1] = pipe->screen->resource_create(pipe->screen, &res_tmpl); 496 vl_video_buffer_template(&res_tmpl, tmpl, resource_formats[2], depth, array_size, usage, 2); 497 resources[2] = pipe->screen->resource_create(pipe->screen, &res_tmpl);
|
vl_mpeg12_decoder.c | 167 struct pipe_resource *res, res_tmpl; local 175 memset(&res_tmpl, 0, sizeof(res_tmpl)); 176 res_tmpl.target = PIPE_TEXTURE_2D; 177 res_tmpl.format = dec->zscan_source_format; 178 res_tmpl.width0 = dec->blocks_per_line * VL_BLOCK_WIDTH * VL_BLOCK_HEIGHT; 179 res_tmpl.height0 = align(dec->num_blocks, dec->blocks_per_line) / dec->blocks_per_line; 180 res_tmpl.depth0 = 1; 181 res_tmpl.array_size = 1; 182 res_tmpl.usage = PIPE_USAGE_STREAM [all...] |