[FFmpeg-cvslog] lavc/mpegvideoenc: reformat inv_zigzag_direct16 so the zigzag pattern is visible

Clément Bœsch git at videolan.org
Fri May 19 12:18:32 EEST 2017


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Fri May 19 11:17:58 2017 +0200| [584366a4365746350bbe7e8acaf0a0689618deab] | committer: Clément Bœsch

lavc/mpegvideoenc: reformat inv_zigzag_direct16 so the zigzag pattern is visible

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=584366a4365746350bbe7e8acaf0a0689618deab
---

 libavcodec/x86/mpegvideoenc.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/libavcodec/x86/mpegvideoenc.c b/libavcodec/x86/mpegvideoenc.c
index 52d59c5694..c884cf121b 100644
--- a/libavcodec/x86/mpegvideoenc.c
+++ b/libavcodec/x86/mpegvideoenc.c
@@ -29,10 +29,14 @@
 
 /* not permutated inverse zigzag_direct + 1 for MMX quantizer */
 DECLARE_ALIGNED(16, static const uint16_t, inv_zigzag_direct16)[64] = {
-    1,  2,  6,  7,  15, 16, 28, 29, 3,  5,  8,  14, 17, 27, 30, 43, 4,  9,  13,
-    18, 26, 31, 42, 44, 10, 12, 19, 25, 32, 41, 45, 54, 11, 20, 24, 33, 40, 46,
-    53, 55, 21, 23, 34, 39, 47, 52, 56, 61, 22, 35, 38, 48, 51, 57, 60, 62, 36,
-    37, 49, 50, 58, 59, 63, 64,
+    1,  2,  6,  7,  15, 16, 28, 29,
+    3,  5,  8,  14, 17, 27, 30, 43,
+    4,  9,  13, 18, 26, 31, 42, 44,
+    10, 12, 19, 25, 32, 41, 45, 54,
+    11, 20, 24, 33, 40, 46, 53, 55,
+    21, 23, 34, 39, 47, 52, 56, 61,
+    22, 35, 38, 48, 51, 57, 60, 62,
+    36, 37, 49, 50, 58, 59, 63, 64,
 };
 
 #if HAVE_6REGS



More information about the ffmpeg-cvslog mailing list