Home
last modified time | relevance | path

Searched refs:surf_templ (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video.c86 struct pipe_surface surf_templ; in nouveau_vp3_video_buffer_create() local
153 memset(&surf_templ, 0, sizeof(surf_templ)); in nouveau_vp3_video_buffer_create()
155 surf_templ.format = buffer->resources[j]->format; in nouveau_vp3_video_buffer_create()
156 surf_templ.u.tex.first_layer = surf_templ.u.tex.last_layer = 0; in nouveau_vp3_video_buffer_create()
157 buffer->surfaces[j * 2] = pipe->create_surface(pipe, buffer->resources[j], &surf_templ); in nouveau_vp3_video_buffer_create()
161 surf_templ.u.tex.first_layer = surf_templ.u.tex.last_layer = 1; in nouveau_vp3_video_buffer_create()
162 buffer->surfaces[j * 2 + 1] = pipe->create_surface(pipe, buffer->resources[j], &surf_templ); in nouveau_vp3_video_buffer_create()
Dnouveau_video.c720 struct pipe_surface surf_templ; in nouveau_video_buffer_surfaces() local
730 memset(&surf_templ, 0, sizeof(surf_templ)); in nouveau_video_buffer_surfaces()
731 surf_templ.format = buf->resources[i]->format; in nouveau_video_buffer_surfaces()
732 buf->surfaces[i] = pipe->create_surface(pipe, buf->resources[i], &surf_templ); in nouveau_video_buffer_surfaces()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_idct.c591 struct pipe_surface surf_templ; in init_source() local
601 memset(&surf_templ, 0, sizeof(surf_templ)); in init_source()
602 surf_templ.format = tex->format; in init_source()
603 surf_templ.u.tex.first_layer = 0; in init_source()
604 surf_templ.u.tex.last_layer = 0; in init_source()
605 buffer->fb_state_mismatch.cbufs[0] = idct->pipe->create_surface(idct->pipe, tex, &surf_templ); in init_source()
628 struct pipe_surface surf_templ; in init_intermediate() local
639 memset(&surf_templ, 0, sizeof(surf_templ)); in init_intermediate()
640 surf_templ.format = tex->format; in init_intermediate()
641 surf_templ.u.tex.first_layer = i; in init_intermediate()
[all …]
Dvl_video_buffer.c381 struct pipe_surface surf_templ; in vl_video_buffer_surfaces() local
400 memset(&surf_templ, 0, sizeof(surf_templ)); in vl_video_buffer_surfaces()
401 surf_templ.format = vl_video_buffer_surface_format(buf->resources[i]->format); in vl_video_buffer_surfaces()
402 surf_templ.u.tex.first_layer = surf_templ.u.tex.last_layer = j; in vl_video_buffer_surfaces()
403 buf->surfaces[surf] = pipe->create_surface(pipe, buf->resources[i], &surf_templ); in vl_video_buffer_surfaces()
/external/mesa3d/src/gallium/state_trackers/vdpau/
Dpresentation.c213 struct pipe_surface surf_templ, *surf_draw = NULL; in vlVdpPresentationQueueDisplay() local
245 memset(&surf_templ, 0, sizeof(surf_templ)); in vlVdpPresentationQueueDisplay()
246 surf_templ.format = tex->format; in vlVdpPresentationQueueDisplay()
247 surf_draw = pipe->create_surface(pipe, tex, &surf_templ); in vlVdpPresentationQueueDisplay()
Dmixer.c251 struct pipe_surface *surface, surf_templ; in vlVdpVideoMixerRender() local
370 memset(&surf_templ, 0, sizeof(surf_templ)); in vlVdpVideoMixerRender()
371 surf_templ.format = res->format; in vlVdpVideoMixerRender()
372 surface = pipe->create_surface(pipe, res, &surf_templ); in vlVdpVideoMixerRender()
412 struct pipe_surface *surface_temp = pipe->create_surface(pipe, res, &surf_templ); in vlVdpVideoMixerRender()
433 struct pipe_surface *surface_temp = pipe->create_surface(pipe, res, &surf_templ); in vlVdpVideoMixerRender()
Doutput.c55 struct pipe_surface surf_templ; in vlVdpOutputSurfaceCreate() local
109 memset(&surf_templ, 0, sizeof(surf_templ)); in vlVdpOutputSurfaceCreate()
110 surf_templ.format = res->format; in vlVdpOutputSurfaceCreate()
111 vlsurface->surface = pipe->create_surface(pipe, res, &surf_templ); in vlVdpOutputSurfaceCreate()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv84_video.c609 struct pipe_surface surf_templ; in nv84_video_buffer_create() local
718 memset(&surf_templ, 0, sizeof(surf_templ)); in nv84_video_buffer_create()
720 surf_templ.format = buffer->resources[j]->format; in nv84_video_buffer_create()
721 surf_templ.u.tex.first_layer = surf_templ.u.tex.last_layer = 0; in nv84_video_buffer_create()
723 pipe->create_surface(pipe, buffer->resources[j], &surf_templ); in nv84_video_buffer_create()
727 surf_templ.u.tex.first_layer = surf_templ.u.tex.last_layer = 1; in nv84_video_buffer_create()
729 pipe->create_surface(pipe, buffer->resources[j], &surf_templ); in nv84_video_buffer_create()
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dsurface.c369 struct pipe_surface surf_templ, *surf; in XvMCPutSurface() local
396 memset(&surf_templ, 0, sizeof(surf_templ)); in XvMCPutSurface()
397 surf_templ.format = tex->format; in XvMCPutSurface()
398 surf = pipe->create_surface(pipe, tex, &surf_templ); in XvMCPutSurface()
/external/mesa3d/src/gallium/state_trackers/va/
Dsurface.c280 struct pipe_surface surf_templ, *surf_draw; in vlVaPutSurface() local
309 memset(&surf_templ, 0, sizeof(surf_templ)); in vlVaPutSurface()
310 surf_templ.format = tex->format; in vlVaPutSurface()
311 surf_draw = drv->pipe->create_surface(drv->pipe, tex, &surf_templ); in vlVaPutSurface()
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_context.c445 struct pipe_surface surf_templ, *surf; in hud_draw_results() local
481 memset(&surf_templ, 0, sizeof(surf_templ)); in hud_draw_results()
482 surf_templ.format = tex->format; in hud_draw_results()
493 surf_templ.format = srgb_format; in hud_draw_results()
495 surf = pipe->create_surface(pipe, tex, &surf_templ); in hud_draw_results()