then a deep copy is required to upload the data to gpu memory address space by clutter_gst_yv12_upload().
it looks inefficient, usually we can bind texture from dmabuf fd.
vaapi buffer can be mapped by the GstVideoMeta->map function.
On 二, 2019-09-10 at 14:24 +0800, HalleyZhao wrote:
> Hi experts:
>
> I notice that totem uses clutter-gst as videosink, then I look into
> clutter-gst (https://github.com/GNOME/clutter-gst).
> however, I haven't found how it work with hardware accelerated
> decoder (usually generate dma_buf buffer for a video frame).
> anyone can give some hints? thanks.
>
>
> --------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
>
[hidden email]> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel