]> git.sesse.net Git - ffmpeg/commit
lavc: Move ff_cropTbl and ff_zigzag_direct from dsputil to mathtables
authorRonald S. Bultje <rsbultje@gmail.com>
Sun, 3 Mar 2013 23:47:11 +0000 (15:47 -0800)
committerMartin Storsjö <martin@martin.st>
Mon, 8 Apr 2013 09:38:33 +0000 (12:38 +0300)
commitd2ec6ea6c6c0276aaf0063c5a7290f8e11fcdb06
tree89cfd43f007e671dfdce9bcd1c6d9c4c6de213d4
parent9e0f14f16cfc9456a691655fda7d01090bffe47e
lavc: Move ff_cropTbl and ff_zigzag_direct from dsputil to mathtables

These are widely used throughout libavcodec, nothing dsputil-specific.

Change ff_cropTbl to a statically initialized table, to avoid
initializing it with a function call.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/dsputil.c
libavcodec/dsputil.h
libavcodec/mathtables.c