Lines Matching defs:code
191 int code;
194 code = get_vlc2(&s->gb, rv_dc_lum.table, DC_VLC_BITS, 2);
195 if (code < 0) {
197 necessary. The following code would be completely useless
199 code = get_bits(&s->gb, 7);
200 if (code == 0x7c) {
201 code = (int8_t)(get_bits(&s->gb, 7) + 1);
202 } else if (code == 0x7d) {
203 code = -128 + get_bits(&s->gb, 7);
204 } else if (code == 0x7e) {
206 code = (int8_t)(get_bits(&s->gb, 8) + 1);
208 code = (int8_t)(get_bits(&s->gb, 8));
209 } else if (code == 0x7f) {
211 code = 1;
214 code -= 128;
217 code = get_vlc2(&s->gb, rv_dc_chrom.table, DC_VLC_BITS, 2);
219 if (code < 0) {
220 code = get_bits(&s->gb, 9);
221 if (code == 0x1fc) {
222 code = (int8_t)(get_bits(&s->gb, 7) + 1);
223 } else if (code == 0x1fd) {
224 code = -128 + get_bits(&s->gb, 7);
225 } else if (code == 0x1fe) {
227 code = 1;
233 code -= 128;
236 return -code;