VAAPI buffer alignment

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

VAAPI buffer alignment

GStreamer-devel mailing list
Hello,

I have a pipeline that ends like this:

vaapipostproc ! video/x-raw,format=BGRx ! appsink

It is producing buffers with align=0. Is it possible to change the
allocation params to make buffers with align=7? I am playing with
GST_QUERY_ALLOCATION in appsink pad probe callback but no luck so far. Any
ideas?

Thanks
Tomas.  



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: VAAPI buffer alignment

Nicolas Dufresne-5
Le sam. 16 févr. 2019 à 13:37, xrataj00 via gstreamer-devel
<[hidden email]> a écrit :

>
> Hello,
>
> I have a pipeline that ends like this:
>
> vaapipostproc ! video/x-raw,format=BGRx ! appsink
>
> It is producing buffers with align=0. Is it possible to change the
> allocation params to make buffers with align=7? I am playing with
> GST_QUERY_ALLOCATION in appsink pad probe callback but no luck so far. Any
> ideas?

It entirely depends on the vaapipostproc capability to honour such
alignment. But overriding the ALLOCATION query (e.g. using a pad
probe) and adding an allocation parameter to that query is the right
approach. If that does not give any result, then you'll have to dig
into vaapipostproc and see if there is a way to honour that suggested
alignment.

>
> Thanks
> Tomas.
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> 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