/external/mesa3d/src/gallium/tests/graw/ |
clear.c | 42 struct pipe_resource templat; local 68 memset(&templat, 0, sizeof(templat)); 69 templat.target = PIPE_TEXTURE_2D; 70 templat.format = formats[i]; 71 templat.width0 = WIDTH; 72 templat.height0 = HEIGHT; 73 templat.depth0 = 1; 74 templat.array_size = 1; 75 templat.last_level = 0 [all...] |
gs-test.c | 151 struct pipe_resource templat; local 153 memset(&templat, 0, sizeof(templat)); 154 templat.target = PIPE_BUFFER; 155 templat.format = PIPE_FORMAT_R8_UNORM; 156 templat.width0 = sizeof(constants1); 157 templat.height0 = 1; 158 templat.depth0 = 1; 159 templat.array_size = 1; 160 templat.last_level = 0 341 struct pipe_resource templat; local 471 struct pipe_resource templat; local [all...] |
vs-test.c | 82 struct pipe_resource templat; local 85 memset(&templat, 0, sizeof(templat)); 86 templat.target = PIPE_BUFFER; 87 templat.format = PIPE_FORMAT_R8_UNORM; 88 templat.width0 = sizeof(constants); 89 templat.height0 = 1; 90 templat.depth0 = 1; 91 templat.array_size = 1; 92 templat.last_level = 0 239 struct pipe_resource templat; local 369 struct pipe_resource templat; local [all...] |
quad-sample.c | 166 struct pipe_resource templat; local 212 memset(&templat, 0, sizeof(templat)); 213 templat.target = PIPE_TEXTURE_2D; 214 templat.format = PIPE_FORMAT_B8G8R8A8_UNORM; 215 templat.width0 = SIZE; 216 templat.height0 = SIZE; 217 templat.depth0 = 1; 218 templat.last_level = 0; 219 templat.nr_samples = 1 295 struct pipe_resource templat; local [all...] |
fs-test.c | 250 struct pipe_resource templat; local 296 memset(&templat, 0, sizeof(templat)); 297 templat.target = PIPE_TEXTURE_2D; 298 templat.format = PIPE_FORMAT_B8G8R8A8_UNORM; 299 templat.width0 = SIZE; 300 templat.height0 = SIZE; 301 templat.depth0 = 1; 302 templat.array_size = 1; 303 templat.last_level = 0 380 struct pipe_resource templat; local [all...] |
tri-gs.c | 176 struct pipe_resource templat; local 202 memset(&templat, 0, sizeof(templat)); 203 templat.target = PIPE_TEXTURE_2D; 204 templat.format = formats[i]; 205 templat.width0 = WIDTH; 206 templat.height0 = HEIGHT; 207 templat.depth0 = 1; 208 templat.array_size = 1; 209 templat.last_level = 0 [all...] |
tri-instanced.c | 227 struct pipe_resource templat; local 253 memset(&templat, 0, sizeof(templat)); 254 templat.target = PIPE_TEXTURE_2D; 255 templat.format = formats[i]; 256 templat.width0 = WIDTH; 257 templat.height0 = HEIGHT; 258 templat.depth0 = 1; 259 templat.array_size = 1; 260 templat.last_level = 0 [all...] |
shader-leak.c | 169 struct pipe_resource templat; local 195 memset(&templat, 0, sizeof(templat)); 196 templat.target = PIPE_TEXTURE_2D; 197 templat.format = formats[i]; 198 templat.width0 = WIDTH; 199 templat.height0 = HEIGHT; 200 templat.depth0 = 1; 201 templat.last_level = 0; 202 templat.nr_samples = 1 [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_pstipple.c | 107 struct pipe_resource templat, *tex; local 109 memset(&templat, 0, sizeof(templat)); 110 templat.target = PIPE_TEXTURE_2D; 111 templat.format = PIPE_FORMAT_A8_UNORM; 112 templat.last_level = 0; 113 templat.width0 = 32; 114 templat.height0 = 32; 115 templat.depth0 = 1; 116 templat.array_size = 1 135 struct pipe_sampler_view templat, *sv; local 150 struct pipe_sampler_state templat; local [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_decoder.h | 52 const struct pipe_video_codec *templat);
|
vl_decoder.c | 65 const struct pipe_video_codec *templat) 67 unsigned width = templat->width, height = templat->height; 77 templat->profile, 78 templat->entrypoint, 82 temp = *templat;
|
vl_video_buffer.h | 118 const struct pipe_video_buffer *templat, 128 const struct pipe_video_buffer *templat); 135 const struct pipe_video_buffer *templat, 144 const struct pipe_video_buffer *templat,
|
vl_stubs.c | 32 const struct pipe_video_codec *templat) 137 const struct pipe_video_codec *templat)
|
vl_mpeg12_decoder.h | 112 const struct pipe_video_codec *templat);
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_resource.c | 88 const struct pipe_resource *templat) 91 if (!translate_samples_to_xyscale(templat->nr_samples, NULL, NULL, NULL)) 94 /* templat->bind is not set here, so we must use the minimum sizes */ 98 if (templat->width0 > max_size || templat->height0 > max_size) 140 const struct pipe_resource *templat) 148 templat->target, util_format_name(templat->format), templat->width0, 149 templat->height0, templat->depth0, templat->array_size [all...] |
etnaviv_surface.c | 42 const struct pipe_surface *templat) 51 assert(templat->u.tex.first_layer == templat->u.tex.last_layer); 52 unsigned layer = templat->u.tex.first_layer; 53 unsigned level = templat->u.tex.level; 82 surf->base.writable = templat->writable; /* what is this for anyway */ 83 surf->base.u = templat->u;
|
/external/mesa3d/src/gallium/state_trackers/hgl/ |
hgl.c | 86 struct pipe_resource templat; local 97 memset(&templat, 0, sizeof(templat)); 98 templat.target = buffer->target; 99 templat.width0 = width; 100 templat.height0 = height; 101 templat.depth0 = 1; 102 templat.array_size = 1; 103 templat.last_level = 0; 128 templat.format = format [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
surface.c | 84 memset(&p_surf->templat, 0, sizeof(p_surf->templat)); 85 p_surf->templat.buffer_format = pipe->screen->get_video_param 92 p_surf->templat.chroma_format = ChromaToPipe(chroma_type); 93 p_surf->templat.width = width; 94 p_surf->templat.height = height; 95 p_surf->templat.interlaced = pipe->screen->get_video_param 102 if (p_surf->templat.buffer_format != PIPE_FORMAT_NONE) 103 p_surf->video_buffer = pipe->create_video_buffer(pipe, &p_surf->templat); 173 *width = p_surf->templat.width [all...] |
/external/mesa3d/src/gallium/include/pipe/ |
p_screen.h | 168 const struct pipe_resource *templat); 174 const struct pipe_resource *templat); 177 const struct pipe_resource *templat, 192 const struct pipe_resource *templat,
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_texture.c | 155 const struct pipe_resource *templat, 162 assert(templat->format != PIPE_FORMAT_NONE); 164 spr->base = *templat; 168 spr->pot = (util_is_power_of_two(templat->width0) && 169 util_is_power_of_two(templat->height0) && 170 util_is_power_of_two(templat->depth0)); 192 const struct pipe_resource *templat) 194 return softpipe_resource_create_front(screen, templat, NULL); 220 const struct pipe_resource *templat, 229 spr->base = *templat; [all...] |
/external/mesa3d/src/gallium/targets/graw-xlib/ |
graw_xlib.c | 57 XVisualInfo templat, *visinfo = NULL; local 79 templat.screen = DefaultScreen(graw.display); 80 templat.depth = 32; 81 templat.class = TrueColor; 83 visinfo = XGetVisualInfo(graw.display, mask, &templat, &n);
|
/external/mesa3d/src/gallium/state_trackers/va/ |
context.c | 238 context->templat.profile = config->profile; 239 context->templat.entrypoint = config->entrypoint; 240 context->templat.chroma_format = PIPE_VIDEO_CHROMA_FORMAT_420; 241 context->templat.width = picture_width; 242 context->templat.height = picture_height; 243 context->templat.expect_chunked_decode = true; 245 switch (u_reduce_video_profile(context->templat.profile)) { 249 context->templat.max_references = 2; 253 context->templat.max_references = 0; 270 context->templat.max_references = num_render_targets [all...] |
/external/mesa3d/src/gallium/state_trackers/omx/ |
vid_dec_mpeg12.c | 68 struct pipe_video_codec templat = {}; local 72 templat.profile = priv->profile; 73 templat.entrypoint = PIPE_VIDEO_ENTRYPOINT_BITSTREAM; 74 templat.chroma_format = PIPE_VIDEO_CHROMA_FORMAT_420; 75 templat.max_references = 2; 76 templat.expect_chunked_decode = true; 77 templat.width = port->sPortParam.format.video.nFrameWidth; 78 templat.height = port->sPortParam.format.video.nFrameHeight; 80 priv->codec = priv->pipe->create_video_codec(priv->pipe, &templat);
|
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
context.c | 194 struct pipe_video_codec templat = {0}; local 248 templat.profile = ProfileToPipe(mc_type); 249 templat.entrypoint = (mc_type & XVMC_IDCT) ? PIPE_VIDEO_ENTRYPOINT_IDCT : PIPE_VIDEO_ENTRYPOINT_MC; 250 templat.chroma_format = FormatToPipe(chroma_format); 251 templat.width = width; 252 templat.height = height; 253 templat.max_references = 2; 254 templat.expect_chunked_decode = true; 256 context_priv->decoder = pipe->create_video_codec(pipe, &templat);
|
/external/mesa3d/src/gallium/drivers/r600/ |
r600_uvd.c | 186 const struct pipe_video_codec *templat) 190 if (templat->entrypoint == PIPE_VIDEO_ENTRYPOINT_ENCODE) 191 return rvce_create_encoder(context, templat, ctx->b.ws, r600_vce_get_buffer); 193 return ruvd_create_decoder(context, templat, r600_uvd_set_dtb);
|