• Home
  • Raw
  • Download

Lines Matching refs:drv

43    vlVaDriver *drv;  in vlVaBeginPicture()  local
50 drv = VL_VA_DRIVER(ctx); in vlVaBeginPicture()
51 if (!drv) in vlVaBeginPicture()
54 mtx_lock(&drv->mutex); in vlVaBeginPicture()
55 context = handle_table_get(drv->htab, context_id); in vlVaBeginPicture()
57 mtx_unlock(&drv->mutex); in vlVaBeginPicture()
66 surf = handle_table_get(drv->htab, render_target); in vlVaBeginPicture()
67 mtx_unlock(&drv->mutex); in vlVaBeginPicture()
99 vlVaGetReferenceFrame(vlVaDriver *drv, VASurfaceID surface_id, in vlVaGetReferenceFrame() argument
102 vlVaSurface *surf = handle_table_get(drv->htab, surface_id); in vlVaGetReferenceFrame()
110 handlePictureParameterBuffer(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf) in handlePictureParameterBuffer() argument
118 vlVaHandlePictureParameterBufferMPEG12(drv, context, buf); in handlePictureParameterBuffer()
122 vlVaHandlePictureParameterBufferH264(drv, context, buf); in handlePictureParameterBuffer()
126 vlVaHandlePictureParameterBufferVC1(drv, context, buf); in handlePictureParameterBuffer()
130 vlVaHandlePictureParameterBufferMPEG4(drv, context, buf); in handlePictureParameterBuffer()
134 vlVaHandlePictureParameterBufferHEVC(drv, context, buf); in handlePictureParameterBuffer()
138 vlVaHandlePictureParameterBufferMJPEG(drv, context, buf); in handlePictureParameterBuffer()
142 vlVaHandlePictureParameterBufferVP9(drv, context, buf); in handlePictureParameterBuffer()
158 context->decoder = drv->pipe->create_video_codec(drv->pipe, in handlePictureParameterBuffer()
402 handleVAEncSequenceParameterBufferType(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf) in handleVAEncSequenceParameterBufferType() argument
408 status = vlVaHandleVAEncSequenceParameterBufferTypeH264(drv, context, buf); in handleVAEncSequenceParameterBufferType()
412 status = vlVaHandleVAEncSequenceParameterBufferTypeHEVC(drv, context, buf); in handleVAEncSequenceParameterBufferType()
446 handleVAEncPictureParameterBufferType(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf) in handleVAEncPictureParameterBufferType() argument
452 status = vlVaHandleVAEncPictureParameterBufferTypeH264(drv, context, buf); in handleVAEncPictureParameterBufferType()
456 status = vlVaHandleVAEncPictureParameterBufferTypeHEVC(drv, context, buf); in handleVAEncPictureParameterBufferType()
467 handleVAEncSliceParameterBufferType(vlVaDriver *drv, vlVaContext *context, vlVaBuffer *buf) in handleVAEncSliceParameterBufferType() argument
473 status = vlVaHandleVAEncSliceParameterBufferTypeH264(drv, context, buf); in handleVAEncSliceParameterBufferType()
477 status = vlVaHandleVAEncSliceParameterBufferTypeHEVC(drv, context, buf); in handleVAEncSliceParameterBufferType()
532 vlVaDriver *drv; in vlVaRenderPicture() local
541 drv = VL_VA_DRIVER(ctx); in vlVaRenderPicture()
542 if (!drv) in vlVaRenderPicture()
545 mtx_lock(&drv->mutex); in vlVaRenderPicture()
546 context = handle_table_get(drv->htab, context_id); in vlVaRenderPicture()
548 mtx_unlock(&drv->mutex); in vlVaRenderPicture()
554 vlVaBuffer *buf = handle_table_get(drv->htab, buffers[i]); in vlVaRenderPicture()
556 mtx_unlock(&drv->mutex); in vlVaRenderPicture()
565 vlVaBuffer *buf = handle_table_get(drv->htab, buffers[i]); in vlVaRenderPicture()
569 vaStatus = handlePictureParameterBuffer(drv, context, buf); in vlVaRenderPicture()
585 vaStatus = vlVaHandleVAProcPipelineParameterBufferType(drv, context, buf); in vlVaRenderPicture()
589 vaStatus = handleVAEncSequenceParameterBufferType(drv, context, buf); in vlVaRenderPicture()
597 vaStatus = handleVAEncPictureParameterBufferType(drv, context, buf); in vlVaRenderPicture()
601 vaStatus = handleVAEncSliceParameterBufferType(drv, context, buf); in vlVaRenderPicture()
619 mtx_unlock(&drv->mutex); in vlVaRenderPicture()
627 vlVaDriver *drv; in vlVaEndPicture() local
640 drv = VL_VA_DRIVER(ctx); in vlVaEndPicture()
641 if (!drv) in vlVaEndPicture()
644 mtx_lock(&drv->mutex); in vlVaEndPicture()
645 context = handle_table_get(drv->htab, context_id); in vlVaEndPicture()
646 mtx_unlock(&drv->mutex); in vlVaEndPicture()
658 mtx_lock(&drv->mutex); in vlVaEndPicture()
659 surf = handle_table_get(drv->htab, context->target_id); in vlVaEndPicture()
696 mtx_unlock(&drv->mutex); in vlVaEndPicture()
713 if (vlVaHandleSurfaceAllocate(drv, surf, &surf->templat) != VA_STATUS_SUCCESS) { in vlVaEndPicture()
714 mtx_unlock(&drv->mutex); in vlVaEndPicture()
726 vl_compositor_yuv_deint_full(&drv->cstate, &drv->compositor, in vlVaEndPicture()
731 mtx_unlock(&drv->mutex); in vlVaEndPicture()
778 mtx_unlock(&drv->mutex); in vlVaEndPicture()