Re: [FFmpeg-devel] [PATCH 3/3] cbs: Stop reallocating fragment unit arrays

2019-02-10 Thread Mark Thompson
On 05/02/2019 20:08, Andreas Rheinhardt wrote: > This commit changes various places that make use of cbs to keep the > fragments' unit arrays instead of constantly reallocating them. > > The more units a packet is split into, the bigger the benefit. > So MPEG-2 benefits the most; for a video comin

[FFmpeg-devel] [PATCH 3/3] cbs: Stop reallocating fragment unit arrays

2019-02-05 Thread Andreas Rheinhardt
This commit changes various places that make use of cbs to keep the fragments' unit arrays instead of constantly reallocating them. The more units a packet is split into, the bigger the benefit. So MPEG-2 benefits the most; for a video coming from an NTSC-DVD (usually 32 units per frame) the avera