[vlc-devel] [PATCH 12/14] filter_chain: add a default implementation for the video_allocator

Rémi Denis-Courmont remi at remlab.net
Wed Jul 31 19:24:59 CEST 2019


Le keskiviikkona 31. heinäkuuta 2019, 10.49.26 EEST Steve Lhomme a écrit :
> In push the last filter (likely a converter) may allocate its pictures
> and push them. I know it can work in D3D (provided they share the same
> decoder device), maybe OpenGL as well as the OpenGL "converters"
> (interop) mostly correspond to decoder device types, but I'm less sure
> for Android or MMAL.

There are no reasons whatsoever why push cannot work for literally anything.

The driver and the hardware do not care where in the VLC code paths the buffers 
are allocated. Ultimately, the push model is just about allocating buffers in 
the source component rather than the sink component - and that is just a 
software construct.

-- 
Rémi Denis-Courmont
http://www.remlab.net/





More information about the vlc-devel mailing list