On Fri, Jan 20, 2012 at 02:24:18PM -0800, Luca Barbato wrote: > On 20/01/12 13:49, Martin Storsjö wrote: > > On Fri, 20 Jan 2012, Luca Barbato wrote: > > > >> On 20/01/12 11:00, Martin Storsjö wrote: > >>> Originally, sizeof(struct MOVIentry) was 48, after the reordering, > >>> it is 40 in my build configuration. > >>> > >>> When writing really long mov/mp4 files, this can make a difference > >>> - this saves a bit over 2 MB of memory per hour of video (down to > >>> 10.3 MB per hour from 12.3 MB per hour initially) for a video with > >>> 75 packets per second - 25 fps + 50 audio packets (which is the > >>> case for AMR audio). > >>> --- > >> > >> Ok, I guess. Is there around something in dwarves to point structures > >> that could require less memory once reordered. > > > > Could you rephrase the second sentence - I don't really understand what > > it says. > > I was hurrying away... I meant that the dwarves tool should have a mean > to provide this information, if we want to try to brush away some memory.
Go right ahead :) I remember that Mans once mentioned that the structures in the Vorbis decoder could benefit from tighter packing. Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
