comparison dnxhddata.h @ 5468:74949d4ea79c libavcodec

dnxhd 185 interlaced support
author bcoudurier
date Sat, 04 Aug 2007 13:17:53 +0000
parents 3fd46e281bd8
children fea6732bc199
comparison
equal deleted inserted replaced
5467:740cf5d1691e 5468:74949d4ea79c
44 65, 68, 75, 77, 74, 74, 77, 76, 44 65, 68, 75, 77, 74, 74, 77, 76,
45 73, 73, 73, 73, 76, 80, 89, 90, 45 73, 73, 73, 73, 76, 80, 89, 90,
46 82, 77, 80, 86, 84, 82, 82, 82, 46 82, 77, 80, 86, 84, 82, 82, 82,
47 }; 47 };
48 48
49 /* FIXME permute */
50 static const uint8_t dnxhd_1243_luma_weigth[] = { 49 static const uint8_t dnxhd_1243_luma_weigth[] = {
51 0,32,35,35,38,40,44,45, 50 0, 32, 32, 33, 33, 35, 35, 35,
52 32,33,35,35,39,42,44,45, 51 35, 35, 35, 35, 34, 35, 38, 40,
53 33,35,34,37,41,42,45,45, 52 39, 37, 37, 37, 36, 35, 36, 38,
54 35,35,37,40,41,44,45,48, 53 40, 41, 42, 44, 45, 44, 42, 41,
55 35,37,38,40,43,45,47,48, 54 40, 38, 36, 36, 37, 38, 40, 43,
56 36,36,38,40,45,47,48,47, 55 44, 45, 45, 45, 45, 45, 45, 41,
57 35,36,38,41,45,46,47,48, 56 39, 41, 45, 47, 47, 48, 48, 48,
58 36,37,39,41,44,45,47,47, 57 46, 44, 45, 47, 47, 48, 47, 47,
59 }; 58 };
60 59
61 /* FIXME permute */
62 static const uint8_t dnxhd_1243_chroma_weigth[] = { 60 static const uint8_t dnxhd_1243_chroma_weigth[] = {
63 0,32,37,39,41,42,45,45, 61 0, 32, 36, 37, 36, 37, 39, 39,
64 36,36,39,41,43,45,46,45, 62 41, 43, 43, 42, 41, 41, 41, 42,
65 37,41,41,43,45,44,45,46, 63 43, 43, 43, 44, 44, 44, 46, 47,
66 43,42,43,46,44,45,46,48, 64 46, 45, 45, 45, 45, 46, 44, 44,
67 43,44,47,45,44,46,47,49, 65 45, 44, 42, 41, 43, 46, 45, 44,
68 44,46,44,45,45,47,48,47, 66 45, 45, 45, 46, 46, 46, 45, 44,
69 44,42,46,44,45,46,47,48, 67 45, 44, 45, 47, 47, 48, 49, 48,
70 41,43,45,44,45,46,47,47, 68 46, 45, 46, 47, 47, 48, 47, 47,
71 }; 69 };
72 70
73 static const uint8_t dnxhd_1238_dc_codes[12] = { 71 static const uint8_t dnxhd_1238_dc_codes[12] = {
74 0, 12, 13, 1, 2, 3, 4, 5, 14, 30, 62, 63, 72 0, 12, 13, 1, 2, 3, 4, 5, 14, 30, 62, 63,
75 }; 73 };