[vlc-devel] [PATCH 0/5] Introducing dynamic pools

Steve Lhomme robux4 at ycbcr.xyz
Thu Dec 6 08:08:50 CET 2018


On 05/12/2018 18:36, RĂ©mi Denis-Courmont wrote:
> Though I still don't really see the point. Using a pool in itself 
> seems like
> unnecesary complexity and undesirable inefficiency when allocations are
> dynamic.
>
I agree. For now it makes it easier to transition the filter_NewPicture 
and decoder_NewPicture calls in case it needs to be handled by the 
GPU/video_context.

There's still the help it provides by not allocating/freeing thousands 
of picture that are always the same during playback. In exchange for 
more memory consumption when the buffer needs vary during playback 
(unlikely).


More information about the vlc-devel mailing list