Searched refs:vlsurface (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | bitmap.c | 49 vlVdpBitmapSurface *vlsurface = NULL; in vlVdpBitmapSurfaceCreate() local 65 vlsurface = CALLOC(1, sizeof(vlVdpBitmapSurface)); in vlVdpBitmapSurfaceCreate() 66 if (!vlsurface) in vlVdpBitmapSurfaceCreate() 69 vlsurface->device = dev; in vlVdpBitmapSurfaceCreate() 90 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpBitmapSurfaceCreate() 95 if (!vlsurface->sampler_view) { in vlVdpBitmapSurfaceCreate() 100 *surface = vlAddDataHTAB(vlsurface); in vlVdpBitmapSurfaceCreate() 115 vlVdpBitmapSurface *vlsurface; in vlVdpBitmapSurfaceDestroy() local 117 vlsurface = vlGetDataHTAB(surface); in vlVdpBitmapSurfaceDestroy() 118 if (!vlsurface) in vlVdpBitmapSurfaceDestroy() [all …]
|
D | output.c | 54 vlVdpOutputSurface *vlsurface = NULL; in vlVdpOutputSurfaceCreate() local 67 vlsurface = CALLOC(1, sizeof(vlVdpOutputSurface)); in vlVdpOutputSurfaceCreate() 68 if (!vlsurface) in vlVdpOutputSurfaceCreate() 71 vlsurface->device = dev; in vlVdpOutputSurfaceCreate() 93 vlsurface->sampler_view = pipe->create_sampler_view(pipe, res, &sv_templ); in vlVdpOutputSurfaceCreate() 94 if (!vlsurface->sampler_view) { in vlVdpOutputSurfaceCreate() 104 vlsurface->surface = pipe->create_surface(pipe, res, &surf_templ); in vlVdpOutputSurfaceCreate() 105 if (!vlsurface->surface) { in vlVdpOutputSurfaceCreate() 112 *surface = vlAddDataHTAB(vlsurface); in vlVdpOutputSurfaceCreate() 122 vl_compositor_init_state(&vlsurface->cstate, pipe); in vlVdpOutputSurfaceCreate() [all …]
|
D | surface.c | 196 vlVdpSurface *vlsurface; in vlVdpVideoSurfaceGetBitsYCbCr() local 202 vlsurface = vlGetDataHTAB(surface); in vlVdpVideoSurfaceGetBitsYCbCr() 203 if (!vlsurface) in vlVdpVideoSurfaceGetBitsYCbCr() 206 pipe = vlsurface->device->context; in vlVdpVideoSurfaceGetBitsYCbCr() 214 if (vlsurface->video_buffer == NULL || format != vlsurface->video_buffer->buffer_format) in vlVdpVideoSurfaceGetBitsYCbCr() 217 pipe_mutex_lock(vlsurface->device->mutex); in vlVdpVideoSurfaceGetBitsYCbCr() 218 sampler_views = vlsurface->video_buffer->get_sampler_view_planes(vlsurface->video_buffer); in vlVdpVideoSurfaceGetBitsYCbCr() 220 pipe_mutex_unlock(vlsurface->device->mutex); in vlVdpVideoSurfaceGetBitsYCbCr() 229 vlVdpVideoSurfaceSize(vlsurface, i, &width, &height); in vlVdpVideoSurfaceGetBitsYCbCr() 241 pipe_mutex_unlock(vlsurface->device->mutex); in vlVdpVideoSurfaceGetBitsYCbCr() [all …]
|
D | device.c | 265 vlVdpOutputSurface *vlsurface; in vlVdpResolveDelayedRendering() local 273 vlsurface = vlGetDataHTAB(dev->delayed_rendering.surface); in vlVdpResolveDelayedRendering() 274 if (!vlsurface) in vlVdpResolveDelayedRendering() 278 surface = vlsurface->surface; in vlVdpResolveDelayedRendering() 279 dirty_area = &vlsurface->dirty_area; in vlVdpResolveDelayedRendering() 288 if (surface->texture != vlsurface->sampler_view->texture) { in vlVdpResolveDelayedRendering() 293 pipe_sampler_view_reference(&vlsurface->sampler_view, NULL); in vlVdpResolveDelayedRendering() 294 vlsurface->sampler_view = dev->context->create_sampler_view(dev->context, res, &sv_templ); in vlVdpResolveDelayedRendering()
|