unsigned rs = read_huffman_symbol_no_refill(ac_table, &bits);
unsigned r = rs >> 4;
unsigned s = rs & 0xf;
+ i += r;
if (rs == 0x00) {
/* end of block */
if (rs == 0xf0) {
/* 16 zero coefficients */
possibly_refill(&bits, DEHUF_TABLE_BITS);
- i += 15;
continue;
}
- i += r;
possibly_refill(&bits, s + DEHUF_TABLE_BITS);
coeff[unzigzag[i]] = extend(read_bits(&bits, s), s);