[Libva] VaSurface coping
Xiang, Haihao
haihao.xiang at intel.com
Thu Jan 12 17:06:57 PST 2012
On Thu, 2012-01-12 at 19:08 +0200, Sergey Omelchenko wrote:
> 1. Is it possible to copy one surface content to another without cpu
> memory mapping?
> I am trying:
> VAImage va_img;
> vaDeriveImage(va_display,va_surf_1,&va_image);
> vaPutImage(va_display,va_surf_2,va_img.image_id,.....);
> But, va_surf_2 still empty.
You can do that if the backend VAAPI driver supports DeriveImage and
PutImage. For intel_driver, currently PutImage is implemented on
vaapi-ext branch.
>
>
> 2. Is it possible to copy opengl PBO content to vaapi surface without
> cpu memory mapping?
>
>
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva
More information about the Libva
mailing list