[x264-devel] x264_malloc/x264_free reduction patch

Jason Garrett-Glaser darkshikari at gmail.com
Sun Dec 28 22:24:16 CET 2008


2008/12/28 kemuri-_9 <kemuri9 at gmail.com>:
> as there's been a small discussion going on doom9 about the number of
> x264_malloc and x264_free calls that x264 performs and how to handle it.
> here's a patch that reduces the number by removing some repetitive calls,
>
> in hpel_filter: 1 call to each removed by changing method signature to
> provide 1 buffer.
> in pixel_ssim_wxh: 2 calls to each removed by changing method signature to
> provide 2 buffers.

You forgot in me.c (esa/tesa).

Dark Shikari


More information about the x264-devel mailing list