diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-10-11 18:50:30 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-10-12 20:39:18 +0200 |
commit | d5c62122a7b26704bf867a1262df358623bf5edf (patch) | |
tree | 187a81249ccd692b0d25c951185721055ef3c797 /libavutil/mathematics.c | |
parent | 930c9d4373e0f3cb7c64fcfc129127a309f6d066 (diff) | |
download | ffmpeg-d5c62122a7b26704bf867a1262df358623bf5edf.tar.gz |
Move av_reverse table to libavcodec
It is only used in that library.
Diffstat (limited to 'libavutil/mathematics.c')
-rw-r--r-- | libavutil/mathematics.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/mathematics.c b/libavutil/mathematics.c index 1655e1c25a..137683eb96 100644 --- a/libavutil/mathematics.c +++ b/libavutil/mathematics.c @@ -26,8 +26,11 @@ #include <assert.h> #include <stdint.h> #include <limits.h> + #include "mathematics.h" +#include "version.h" +#if FF_API_AV_REVERSE const uint8_t av_reverse[256]={ 0x00,0x80,0x40,0xC0,0x20,0xA0,0x60,0xE0,0x10,0x90,0x50,0xD0,0x30,0xB0,0x70,0xF0, 0x08,0x88,0x48,0xC8,0x28,0xA8,0x68,0xE8,0x18,0x98,0x58,0xD8,0x38,0xB8,0x78,0xF8, @@ -46,6 +49,7 @@ const uint8_t av_reverse[256]={ 0x07,0x87,0x47,0xC7,0x27,0xA7,0x67,0xE7,0x17,0x97,0x57,0xD7,0x37,0xB7,0x77,0xF7, 0x0F,0x8F,0x4F,0xCF,0x2F,0xAF,0x6F,0xEF,0x1F,0x9F,0x5F,0xDF,0x3F,0xBF,0x7F,0xFF, }; +#endif int64_t av_gcd(int64_t a, int64_t b){ if(b) return av_gcd(b, a%b); |