summaryrefslogtreecommitdiffstats
path: root/libavcodec/mathops.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-12-22 16:25:24 +0100
committerDiego Biurrun <diego@biurrun.de>2014-03-22 06:17:29 -0700
commitf9279ee74936b4990fc46287c27816ef828cc06c (patch)
tree00fb1dfa7f07cc2592af5d8c18dadd565c36c1b6 /libavcodec/mathops.h
parent600b854ad8173995518bd917e7f86120b5505088 (diff)
downloadffmpeg-streaming-f9279ee74936b4990fc46287c27816ef828cc06c.zip
ffmpeg-streaming-f9279ee74936b4990fc46287c27816ef828cc06c.tar.gz
dsputil: Move ff_zigzag_direct and ff_crop_tab declarations to mathops.h
Diffstat (limited to 'libavcodec/mathops.h')
-rw-r--r--libavcodec/mathops.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/mathops.h b/libavcodec/mathops.h
index 0489a60..7af13e1 100644
--- a/libavcodec/mathops.h
+++ b/libavcodec/mathops.h
@@ -27,9 +27,13 @@
#include "libavutil/common.h"
#include "config.h"
+#define MAX_NEG_CROP 1024
+
extern const uint32_t ff_inverse[257];
extern const uint8_t ff_reverse[256];
extern const uint8_t ff_sqrt_tab[256];
+extern const uint8_t ff_crop_tab[256 + 2 * MAX_NEG_CROP];
+extern const uint8_t ff_zigzag_direct[64];
#if ARCH_ARM
# include "arm/mathops.h"
OpenPOWER on IntegriCloud