Lines Matching refs:va_dpy
230 static int upload_surface(VADisplay va_dpy, VASurfaceID surface_id, in upload_surface() argument
239 va_status = vaDeriveImage(va_dpy,surface_id,&surface_image); in upload_surface()
242 vaMapBuffer(va_dpy,surface_image.buf,&surface_p); in upload_surface()
283 vaUnmapBuffer(va_dpy,surface_image.buf); in upload_surface()
285 vaDestroyImage(va_dpy,surface_image.image_id); in upload_surface()
295 static int upload_surface_yuv(VADisplay va_dpy, VASurfaceID surface_id, in upload_surface_yuv() argument
304 va_status = vaDeriveImage(va_dpy,surface_id, &surface_image); in upload_surface_yuv()
307 vaMapBuffer(va_dpy,surface_image.buf,(void **)&surface_p); in upload_surface_yuv()
377 vaUnmapBuffer(va_dpy,surface_image.buf); in upload_surface_yuv()
379 vaDestroyImage(va_dpy,surface_image.image_id); in upload_surface_yuv()
393 static int download_surface_yuv(VADisplay va_dpy, VASurfaceID surface_id, in download_surface_yuv() argument
402 va_status = vaDeriveImage(va_dpy,surface_id, &surface_image); in download_surface_yuv()
405 vaMapBuffer(va_dpy,surface_image.buf,(void **)&surface_p); in download_surface_yuv()
475 vaUnmapBuffer(va_dpy,surface_image.buf); in download_surface_yuv()
477 vaDestroyImage(va_dpy,surface_image.image_id); in download_surface_yuv()