Lines Matching refs:drv
106 vlVaDriver *drv;
116 drv = VL_VA_DRIVER(ctx);
121 mtx_lock(&drv->mutex);
122 img->image_id = handle_table_add(drv->htab, img);
123 mtx_unlock(&drv->mutex);
199 vlVaDriver *drv;
229 drv = VL_VA_DRIVER(ctx);
231 if (!drv)
239 surf = handle_table_get(drv->htab, surface);
282 mtx_lock(&drv->mutex);
319 new_buffer = drv->pipe->create_video_buffer(drv->pipe, &new_template);
333 vl_compositor_yuv_deint_full(&drv->cstate, &drv->compositor,
371 img->image_id = handle_table_add(drv->htab, img);
381 mtx_unlock(&drv->mutex);
389 mtx_unlock(&drv->mutex);
396 vlVaDriver *drv;
403 drv = VL_VA_DRIVER(ctx);
404 mtx_lock(&drv->mutex);
405 vaimage = handle_table_get(drv->htab, image);
407 mtx_unlock(&drv->mutex);
412 mtx_unlock(&drv->mutex);
431 vlVaDriver *drv;
444 drv = VL_VA_DRIVER(ctx);
446 mtx_lock(&drv->mutex);
447 surf = handle_table_get(drv->htab, surface);
449 mtx_unlock(&drv->mutex);
453 vaimage = handle_table_get(drv->htab, image);
455 mtx_unlock(&drv->mutex);
460 mtx_unlock(&drv->mutex);
466 mtx_unlock(&drv->mutex);
472 mtx_unlock(&drv->mutex);
476 img_buf = handle_table_get(drv->htab, vaimage->buf);
478 mtx_unlock(&drv->mutex);
484 mtx_unlock(&drv->mutex);
499 mtx_unlock(&drv->mutex);
503 mtx_unlock(&drv->mutex);
510 mtx_unlock(&drv->mutex);
545 map = drv->pipe->texture_map(drv->pipe, views[i]->texture, 0,
548 mtx_unlock(&drv->mutex);
562 pipe_texture_unmap(drv->pipe, transfer);
565 mtx_unlock(&drv->mutex);
575 vlVaDriver *drv;
587 drv = VL_VA_DRIVER(ctx);
588 mtx_lock(&drv->mutex);
590 surf = handle_table_get(drv->htab, surface);
592 mtx_unlock(&drv->mutex);
596 vaimage = handle_table_get(drv->htab, image);
598 mtx_unlock(&drv->mutex);
602 img_buf = handle_table_get(drv->htab, vaimage->buf);
604 mtx_unlock(&drv->mutex);
610 mtx_unlock(&drv->mutex);
617 mtx_unlock(&drv->mutex);
631 tmp_buf = drv->pipe->create_video_buffer(drv->pipe, &surf->templat);
634 mtx_unlock(&drv->mutex);
644 mtx_unlock(&drv->mutex);
680 map = drv->pipe->texture_map(drv->pipe,
687 mtx_unlock(&drv->mutex);
694 pipe_texture_unmap(drv->pipe, transfer);
696 drv->pipe->texture_subdata(drv->pipe, tex, 0,
703 drv->pipe->flush(drv->pipe, NULL, 0);
704 mtx_unlock(&drv->mutex);