Lines Matching refs:drv
43 vlVaDriver *drv;
66 drv = VL_VA_DRIVER(ctx);
67 pipe_mutex_lock(drv->mutex);
68 *buf_id = handle_table_add(drv->htab, buf);
69 pipe_mutex_unlock(drv->mutex);
78 vlVaDriver *drv;
84 drv = VL_VA_DRIVER(ctx);
85 pipe_mutex_lock(drv->mutex);
86 buf = handle_table_get(drv->htab, buf_id);
87 pipe_mutex_unlock(drv->mutex);
107 vlVaDriver *drv;
113 drv = VL_VA_DRIVER(ctx);
114 if (!drv)
120 pipe_mutex_lock(drv->mutex);
121 buf = handle_table_get(drv->htab, buf_id);
123 pipe_mutex_unlock(drv->mutex);
128 *pbuff = pipe_buffer_map(drv->pipe, buf->derived_surface.resource,
131 pipe_mutex_unlock(drv->mutex);
143 pipe_mutex_unlock(drv->mutex);
153 vlVaDriver *drv;
159 drv = VL_VA_DRIVER(ctx);
160 if (!drv)
163 pipe_mutex_lock(drv->mutex);
164 buf = handle_table_get(drv->htab, buf_id);
166 pipe_mutex_unlock(drv->mutex);
172 pipe_mutex_unlock(drv->mutex);
176 pipe_buffer_unmap(drv->pipe, buf->derived_surface.transfer);
179 pipe_mutex_unlock(drv->mutex);
187 vlVaDriver *drv;
193 drv = VL_VA_DRIVER(ctx);
194 pipe_mutex_lock(drv->mutex);
195 buf = handle_table_get(drv->htab, buf_id);
197 pipe_mutex_unlock(drv->mutex);
207 pipe_mutex_unlock(drv->mutex);
216 vlVaDriver *drv;
222 drv = VL_VA_DRIVER(ctx);
223 pipe_mutex_lock(drv->mutex);
224 buf = handle_table_get(drv->htab, buf_id);
225 pipe_mutex_unlock(drv->mutex);
240 vlVaDriver *drv;
255 drv = VL_VA_DRIVER(ctx);
257 pipe_mutex_lock(drv->mutex);
259 pipe_mutex_unlock(drv->mutex);
298 pipe_mutex_lock(drv->mutex);
299 drv->pipe->flush(drv->pipe, NULL, 0);
304 if (!screen->resource_get_handle(screen, drv->pipe,
307 pipe_mutex_unlock(drv->mutex);
311 pipe_mutex_unlock(drv->mutex);
335 vlVaDriver *drv;
341 drv = VL_VA_DRIVER(ctx);
342 pipe_mutex_lock(drv->mutex);
343 buf = handle_table_get(drv->htab, buf_id);
344 pipe_mutex_unlock(drv->mutex);