/external/mesa3d/src/gallium/state_trackers/vdpau/ |
bitmap.c | 49 vlVdpBitmapSurface *vlsurface = NULL; local 65 vlsurface = CALLOC(1, sizeof(vlVdpBitmapSurface)); 66 if (!vlsurface) 69 vlsurface->device = dev; 90 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); 95 if (!vlsurface->sampler_view) { 100 *surface = vlAddDataHTAB(vlsurface); 115 vlVdpBitmapSurface *vlsurface; local 117 vlsurface = vlGetDataHTAB(surface); 118 if (!vlsurface) 140 vlVdpBitmapSurface *vlsurface; local 169 vlVdpBitmapSurface *vlsurface; local [all...] |
output.c | 54 vlVdpOutputSurface *vlsurface = NULL; local 67 vlsurface = CALLOC(1, sizeof(vlVdpOutputSurface)); 68 if (!vlsurface) 71 vlsurface->device = dev; 93 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); 94 if (!vlsurface->sampler_view) { 104 vlsurface->surface = pipe->create_surface(pipe, res, &surf_templ); 105 if (!vlsurface->surface) { 112 *surface = vlAddDataHTAB(vlsurface); 122 vl_compositor_init_state(&vlsurface->cstate, pipe) 135 vlVdpOutputSurface *vlsurface; local 167 vlVdpOutputSurface *vlsurface; local 190 vlVdpOutputSurface *vlsurface; local 243 vlVdpOutputSurface *vlsurface; local 280 vlVdpOutputSurface *vlsurface; local 420 vlVdpOutputSurface *vlsurface; local [all...] |
surface.c | 196 vlVdpSurface *vlsurface; local 202 vlsurface = vlGetDataHTAB(surface); 203 if (!vlsurface) 206 pipe = vlsurface->device->context; 214 if (vlsurface->video_buffer == NULL || format != vlsurface->video_buffer->buffer_format) 217 pipe_mutex_lock(vlsurface->device->mutex); 218 sampler_views = vlsurface->video_buffer->get_sampler_view_planes(vlsurface->video_buffer); 220 pipe_mutex_unlock(vlsurface->device->mutex) [all...] |
device.c | 265 vlVdpOutputSurface *vlsurface; local 273 vlsurface = vlGetDataHTAB(dev->delayed_rendering.surface); 274 if (!vlsurface) 278 surface = vlsurface->surface; 279 dirty_area = &vlsurface->dirty_area; 288 if (surface->texture != vlsurface->sampler_view->texture) { 293 pipe_sampler_view_reference(&vlsurface->sampler_view, NULL); 294 vlsurface->sampler_view = dev->context->create_sampler_view(dev->context, res, &sv_templ);
|