From cc320296ab438dfe3178f0e1f775af955fe6c064 Mon Sep 17 00:00:00 2001 From: Jeremy James Date: Thu, 1 Oct 2015 16:54:55 +0200 Subject: dnxhddata: Fix cid 1260 luma and chroma tables These table was not zigzagged when added. Signed-off-by: Vittorio Giovara --- libavcodec/dnxhddata.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'libavcodec/dnxhddata.c') diff --git a/libavcodec/dnxhddata.c b/libavcodec/dnxhddata.c index a6ef0b590e..0ac0ac46b6 100644 --- a/libavcodec/dnxhddata.c +++ b/libavcodec/dnxhddata.c @@ -281,25 +281,25 @@ static const uint8_t dnxhd_1259_chroma_weight[] = { }; static const uint8_t dnxhd_1260_luma_weight[] = { - 0, 32, 37, 37, 40, 41, 52, 53, - 33, 36, 36, 38, 40, 48, 49, 52, - 34, 34, 37, 39, 44, 47, 49, 54, - 33, 35, 38, 40, 45, 46, 54, 51, - 34, 37, 37, 42, 44, 49, 52, 48, - 34, 34, 38, 43, 44, 51, 50, 50, - 33, 36, 41, 44, 51, 52, 50, 54, - 36, 38, 44, 47, 53, 53, 54, 54, + 0, 32, 33, 34, 36, 37, 37, 36, + 34, 33, 34, 35, 37, 38, 40, 41, + 40, 39, 38, 37, 34, 33, 34, 37, + 40, 44, 48, 52, 53, 49, 47, 45, + 42, 38, 36, 36, 38, 41, 43, 44, + 46, 49, 52, 54, 54, 49, 44, 44, + 44, 47, 51, 51, 52, 51, 48, 50, + 52, 53, 53, 50, 50, 54, 54, 54, }; static const uint8_t dnxhd_1260_chroma_weight[] = { - 0, 32, 40, 38, 42, 40, 45, 45, - 34, 42, 36, 43, 38, 46, 46, 49, - 38, 35, 43, 39, 44, 47, 47, 49, - 35, 42, 43, 42, 46, 47, 49, 52, - 38, 43, 43, 44, 50, 49, 56, 50, - 42, 43, 44, 50, 51, 57, 52, 53, - 41, 45, 46, 53, 53, 56, 53, 54, - 46, 46, 51, 49, 56, 53, 58, 58, + 0, 32, 34, 38, 42, 40, 38, 36, + 35, 35, 38, 42, 43, 43, 42, 40, + 38, 39, 43, 43, 42, 41, 43, 43, + 42, 44, 46, 45, 45, 46, 47, 46, + 44, 44, 45, 46, 46, 46, 50, 50, + 47, 47, 49, 49, 49, 49, 51, 53, + 51, 49, 53, 57, 56, 52, 50, 52, + 56, 56, 53, 53, 53, 54, 58, 58, }; /* Used in CID 1235, 1241, 1250, 1256 */ -- cgit v1.2.3