Lines Matching defs:drv

68    vlVaDriver *drv;
75 drv = VL_VA_DRIVER(ctx);
76 mtx_lock(&drv->mutex);
77 img = handle_table_get(drv->htab, image);
79 mtx_unlock(&drv->mutex);
85 mtx_unlock(&drv->mutex);
91 mtx_unlock(&drv->mutex);
99 vlVaDriver *drv;
105 drv = VL_VA_DRIVER(ctx);
106 mtx_lock(&drv->mutex);
108 sub = handle_table_get(drv->htab, subpicture);
110 mtx_unlock(&drv->mutex);
115 handle_table_remove(drv->htab, subpicture);
116 mtx_unlock(&drv->mutex);
124 vlVaDriver *drv;
131 drv = VL_VA_DRIVER(ctx);
132 mtx_lock(&drv->mutex);
134 img = handle_table_get(drv->htab, image);
136 mtx_unlock(&drv->mutex);
140 sub = handle_table_get(drv->htab, subpicture);
141 mtx_unlock(&drv->mutex);
180 vlVaDriver *drv;
188 drv = VL_VA_DRIVER(ctx);
189 mtx_lock(&drv->mutex);
191 sub = handle_table_get(drv->htab, subpicture);
193 mtx_unlock(&drv->mutex);
198 surf = handle_table_get(drv->htab, target_surfaces[i]);
200 mtx_unlock(&drv->mutex);
219 if (!drv->pipe->screen->is_format_supported(
220 drv->pipe->screen, tex_temp.format, tex_temp.target,
222 mtx_unlock(&drv->mutex);
226 tex = drv->pipe->screen->resource_create(drv->pipe->screen, &tex_temp);
230 sub->sampler = drv->pipe->create_sampler_view(drv->pipe, tex, &sampler_templ);
233 mtx_unlock(&drv->mutex);
238 surf = handle_table_get(drv->htab, target_surfaces[i]);
241 mtx_unlock(&drv->mutex);
254 vlVaDriver *drv;
258 drv = VL_VA_DRIVER(ctx);
259 mtx_lock(&drv->mutex);
261 sub = handle_table_get(drv->htab, subpicture);
263 mtx_unlock(&drv->mutex);
268 surf = handle_table_get(drv->htab, target_surfaces[i]);
270 mtx_unlock(&drv->mutex);
287 mtx_unlock(&drv->mutex);