diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-08-19 14:44:58 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-08-20 22:49:37 +0400 |
commit | c4e43560fe6677e9d60bfb3cffc41c7324e92a0b (patch) | |
tree | 32e0e515b29a3fd373f568968b12c1fbb7332249 /libavcodec/svq3.c | |
parent | f34de1486aa0eb147d46ba5d2cb86a17407bb7ce (diff) |
h264data: Move some tables to the only place they are used
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r-- | libavcodec/svq3.c | 7 |
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 }, |