summaryrefslogtreecommitdiff
path: root/libavcodec/svq3.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-08-19 12:44:58 +0200
committerDiego Biurrun <diego@biurrun.de>2013-08-20 20:49:37 +0200
commitc4e43560fe6677e9d60bfb3cffc41c7324e92a0b (patch)
tree32e0e515b29a3fd373f568968b12c1fbb7332249 /libavcodec/svq3.c
parentf34de1486aa0eb147d46ba5d2cb86a17407bb7ce (diff)
h264data: Move some tables to the only place they are used
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r--libavcodec/svq3.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
index 1643f80fdc..f99a83f582 100644
--- a/libavcodec/svq3.c
+++ b/libavcodec/svq3.c
@@ -104,6 +104,13 @@ static const uint8_t svq3_scan[16] = {
0 + 3 * 4, 1 + 3 * 4, 2 + 3 * 4, 3 + 3 * 4,
};
+static const uint8_t luma_dc_zigzag_scan[16] = {
+ 0 * 16 + 0 * 64, 1 * 16 + 0 * 64, 2 * 16 + 0 * 64, 0 * 16 + 2 * 64,
+ 3 * 16 + 0 * 64, 0 * 16 + 1 * 64, 1 * 16 + 1 * 64, 2 * 16 + 1 * 64,
+ 1 * 16 + 2 * 64, 2 * 16 + 2 * 64, 3 * 16 + 2 * 64, 0 * 16 + 3 * 64,
+ 3 * 16 + 1 * 64, 1 * 16 + 3 * 64, 2 * 16 + 3 * 64, 3 * 16 + 3 * 64,
+};
+
static const uint8_t svq3_pred_0[25][2] = {
{ 0, 0 },
{ 1, 0 }, { 0, 1 },