OSDN Git Service

avfilter/lut: reduce dereference in the inner loop
authorYayoi <yayoi.ukai@gmail.com>
Thu, 18 Dec 2014 08:08:54 +0000 (00:08 -0800)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 18 Dec 2014 20:54:23 +0000 (21:54 +0100)
commit0463df6f4241c8dfaed7e93ee301bd4c1a360c08
tree70174b35a1d3ce36c17218e69bacd55d21450f86
parent3d8bedef45a34f099ff85fc1d2b140f6ce88fb85
avfilter/lut: reduce dereference in the inner loop

For rgb, with a 1080p source, 69 to 74fps on core i5(2 core, 1.8GHz),
and 136 to 160 fps on an core i7(4770R, 3.2Ghz)
Changed the yuv code for consistency, even though the performance
increase is not as obvious as rgb

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_lut.c