Mercurial > libavcodec.hg
comparison cabac.c @ 3964:162bea01a5d4 libavcodec
decrease ff_h264_norm_shift[] size
author | michael |
---|---|
date | Mon, 09 Oct 2006 00:59:42 +0000 |
parents | 0910f2844f9a |
children | 93746612bc78 |
comparison
equal
deleted
inserted
replaced
3963:075b3e6bdc05 | 3964:162bea01a5d4 |
---|---|
70 29,30,30,30,31,32,32,33, | 70 29,30,30,30,31,32,32,33, |
71 33,33,34,34,35,35,35,36, | 71 33,33,34,34,35,35,35,36, |
72 36,36,37,37,37,38,38,63, | 72 36,36,37,37,37,38,38,63, |
73 }; | 73 }; |
74 | 74 |
75 const uint8_t ff_h264_norm_shift[256]= { | 75 const uint8_t ff_h264_norm_shift[128]= { |
76 9,8,7,7,6,6,6,6,5,5,5,5,5,5,5,5, | 76 7,6,5,5,4,4,4,4,3,3,3,3,3,3,3,3, |
77 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4, | |
78 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, | |
79 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, | |
80 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, | |
81 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, | |
82 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, | |
83 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, | 77 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, |
84 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, | 78 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, |
85 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, | 79 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, |
86 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, | 80 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
87 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, | 81 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
88 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, | 82 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
89 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, | 83 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, |
90 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, | |
91 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, | |
92 }; | 84 }; |
93 | 85 |
94 /** | 86 /** |
95 * | 87 * |
96 * @param buf_size size of buf in bits | 88 * @param buf_size size of buf in bits |