Lines Matching defs: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;
233 drv = VL_VA_DRIVER(ctx);
235 if (!drv)
243 surf = handle_table_get(drv->htab, surface);
293 mtx_lock(&drv->mutex);
347 new_buffer = drv->pipe->create_video_buffer(drv->pipe, &new_template);
361 vl_compositor_yuv_deint_full(&drv->cstate, &drv->compositor,
410 img->image_id = handle_table_add(drv->htab, img);
420 mtx_unlock(&drv->mutex);
428 mtx_unlock(&drv->mutex);
435 vlVaDriver *drv;
442 drv = VL_VA_DRIVER(ctx);
443 mtx_lock(&drv->mutex);
444 vaimage = handle_table_get(drv->htab, image);
446 mtx_unlock(&drv->mutex);
451 mtx_unlock(&drv->mutex);
470 vlVaDriver *drv;
483 drv = VL_VA_DRIVER(ctx);
485 mtx_lock(&drv->mutex);
486 surf = handle_table_get(drv->htab, surface);
488 mtx_unlock(&drv->mutex);
492 vaimage = handle_table_get(drv->htab, image);
494 mtx_unlock(&drv->mutex);
499 mtx_unlock(&drv->mutex);
505 mtx_unlock(&drv->mutex);
511 mtx_unlock(&drv->mutex);
515 img_buf = handle_table_get(drv->htab, vaimage->buf);
517 mtx_unlock(&drv->mutex);
523 mtx_unlock(&drv->mutex);
538 mtx_unlock(&drv->mutex);
542 mtx_unlock(&drv->mutex);
549 mtx_unlock(&drv->mutex);
584 map = drv->pipe->texture_map(drv->pipe, views[i]->texture, 0,
587 mtx_unlock(&drv->mutex);
601 pipe_texture_unmap(drv->pipe, transfer);
604 mtx_unlock(&drv->mutex);
614 vlVaDriver *drv;
626 drv = VL_VA_DRIVER(ctx);
627 mtx_lock(&drv->mutex);
629 surf = handle_table_get(drv->htab, surface);
631 mtx_unlock(&drv->mutex);
635 vaimage = handle_table_get(drv->htab, image);
637 mtx_unlock(&drv->mutex);
641 img_buf = handle_table_get(drv->htab, vaimage->buf);
643 mtx_unlock(&drv->mutex);
649 mtx_unlock(&drv->mutex);
656 mtx_unlock(&drv->mutex);
670 tmp_buf = drv->pipe->create_video_buffer(drv->pipe, &surf->templat);
673 mtx_unlock(&drv->mutex);
683 mtx_unlock(&drv->mutex);
719 map = drv->pipe->texture_map(drv->pipe,
726 mtx_unlock(&drv->mutex);
733 pipe_texture_unmap(drv->pipe, transfer);
735 drv->pipe->texture_subdata(drv->pipe, tex, 0,
742 drv->pipe->flush(drv->pipe, NULL, 0);
743 mtx_unlock(&drv->mutex);