diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-05 19:43:28 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-05 19:43:28 +0200 |
commit | 47fc82b5b34677f49bb263ee9e67350cb004fe31 (patch) | |
tree | 082f3f5e1a65159244427d1362f3caea9092af7c /libavcodec/dvdata.c | |
parent | e6f69b324e88794c7a2874e5ee8398b3ac41b10c (diff) | |
parent | 5f9220437025a0d66abc68323b4ce9b50e72d51b (diff) | |
download | ffmpeg-47fc82b5b34677f49bb263ee9e67350cb004fe31.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
dsputil: Move DV-specific ff_zigzag248_direct table to dvdata
Conflicts:
libavcodec/dv.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dvdata.c')
-rw-r--r-- | libavcodec/dvdata.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libavcodec/dvdata.c b/libavcodec/dvdata.c index a3be7fd7ad..ace01ffda2 100644 --- a/libavcodec/dvdata.c +++ b/libavcodec/dvdata.c @@ -28,6 +28,19 @@ #include "dvdata.h" +/* Specific zigzag scan for 248 idct. NOTE that unlike the + * specification, we interleave the fields */ +const uint8_t ff_dv_zigzag248_direct[64] = { + 0, 8, 1, 9, 16, 24, 2, 10, + 17, 25, 32, 40, 48, 56, 33, 41, + 18, 26, 3, 11, 4, 12, 19, 27, + 34, 42, 49, 57, 50, 58, 35, 43, + 20, 28, 5, 13, 6, 14, 21, 29, + 36, 44, 51, 59, 52, 60, 37, 45, + 22, 30, 7, 15, 23, 31, 38, 46, + 53, 61, 54, 62, 39, 47, 55, 63, +}; + /* unquant tables (not used directly) */ const uint8_t ff_dv_quant_shifts[22][4] = { { 3,3,4,4 }, |