From 07b91b8d629db51974c6fb97e36406d508a56764 Mon Sep 17 00:00:00 2001 From: Mickaƫl Raulet Date: Sun, 13 Jul 2014 10:30:13 +0200 Subject: hevc: cleaning up, remove unused constants(cherry picked from commit 7eed32d076c57aa03011d65a64903e8bdb633978) Signed-off-by: Michael Niedermayer --- libavcodec/hevc_cabac.c | 52 ------------------------------------------------- 1 file changed, 52 deletions(-) diff --git a/libavcodec/hevc_cabac.c b/libavcodec/hevc_cabac.c index 40f5ce18fe..d770a27a63 100644 --- a/libavcodec/hevc_cabac.c +++ b/libavcodec/hevc_cabac.c @@ -360,14 +360,6 @@ static const uint8_t horiz_scan8x8_inv[8][8] = { { 44, 45, 46, 47, 60, 61, 62, 63, }, }; -static const uint8_t diag_scan4x1_x[4] = { - 0, 1, 2, 3, -}; - -static const uint8_t diag_scan1x4_y[4] = { - 0, 1, 2, 3, -}; - static const uint8_t diag_scan2x2_x[4] = { 0, 0, 1, 1, }; @@ -381,50 +373,6 @@ static const uint8_t diag_scan2x2_inv[2][2] = { { 1, 3, }, }; -static const uint8_t diag_scan8x2_x[16] = { - 0, 0, 1, 1, - 2, 2, 3, 3, - 4, 4, 5, 5, - 6, 6, 7, 7, -}; - -static const uint8_t diag_scan8x2_y[16] = { - 0, 1, 0, 1, - 0, 1, 0, 1, - 0, 1, 0, 1, - 0, 1, 0, 1, -}; - -static const uint8_t diag_scan8x2_inv[2][8] = { - { 0, 2, 4, 6, 8, 10, 12, 14, }, - { 1, 3, 5, 7, 9, 11, 13, 15, }, -}; - -static const uint8_t diag_scan2x8_x[16] = { - 0, 0, 1, 0, - 1, 0, 1, 0, - 1, 0, 1, 0, - 1, 0, 1, 1, -}; - -static const uint8_t diag_scan2x8_y[16] = { - 0, 1, 0, 2, - 1, 3, 2, 4, - 3, 5, 4, 6, - 5, 7, 6, 7, -}; - -static const uint8_t diag_scan2x8_inv[8][2] = { - { 0, 2, }, - { 1, 4, }, - { 3, 6, }, - { 5, 8, }, - { 7, 10, }, - { 9, 12, }, - { 11, 14, }, - { 13, 15, }, -}; - const uint8_t ff_hevc_diag_scan4x4_x[16] = { 0, 0, 1, 0, 1, 2, 0, 1, -- cgit v1.2.3