Revision 6b259e43 libavcodec/dnxhddata.h

View differences:

libavcodec/dnxhddata.h
46 46
    82, 77, 80, 86, 84, 82, 82, 82,
47 47
};
48 48

  
49
/* FIXME permute */
50 49
static const uint8_t dnxhd_1243_luma_weigth[] = {
51
     0,32,35,35,38,40,44,45,
52
    32,33,35,35,39,42,44,45,
53
    33,35,34,37,41,42,45,45,
54
    35,35,37,40,41,44,45,48,
55
    35,37,38,40,43,45,47,48,
56
    36,36,38,40,45,47,48,47,
57
    35,36,38,41,45,46,47,48,
58
    36,37,39,41,44,45,47,47,
50
     0, 32, 32, 33, 33, 35, 35, 35,
51
    35, 35, 35, 35, 34, 35, 38, 40,
52
    39, 37, 37, 37, 36, 35, 36, 38,
53
    40, 41, 42, 44, 45, 44, 42, 41,
54
    40, 38, 36, 36, 37, 38, 40, 43,
55
    44, 45, 45, 45, 45, 45, 45, 41,
56
    39, 41, 45, 47, 47, 48, 48, 48,
57
    46, 44, 45, 47, 47, 48, 47, 47,
59 58
};
60 59

  
61
/* FIXME permute */
62 60
static const uint8_t dnxhd_1243_chroma_weigth[] = {
63
     0,32,37,39,41,42,45,45,
64
    36,36,39,41,43,45,46,45,
65
    37,41,41,43,45,44,45,46,
66
    43,42,43,46,44,45,46,48,
67
    43,44,47,45,44,46,47,49,
68
    44,46,44,45,45,47,48,47,
69
    44,42,46,44,45,46,47,48,
70
    41,43,45,44,45,46,47,47,
61
     0, 32, 36, 37, 36, 37, 39, 39,
62
    41, 43, 43, 42, 41, 41, 41, 42,
63
    43, 43, 43, 44, 44, 44, 46, 47,
64
    46, 45, 45, 45, 45, 46, 44, 44,
65
    45, 44, 42, 41, 43, 46, 45, 44,
66
    45, 45, 45, 46, 46, 46, 45, 44,
67
    45, 44, 45, 47, 47, 48, 49, 48,
68
    46, 45, 46, 47, 47, 48, 47, 47,
71 69
};
72 70

  
73 71
static const uint8_t dnxhd_1238_dc_codes[12] = {

Also available in: Unified diff