}
if (rs == 0xf0) {
// 16 zero coefficients.
- tbl->ac_table_codes[i] = AC_SIXTEEN_ZEROS;
+ tbl->ac_table_codes[i] = 0;
tbl->ac_table_length[i] = length;
tbl->ac_table_skip[i] = 16;
continue;
#define DEHUF_AC_TABLE_SIZE (1 << DEHUF_AC_TABLE_BITS)
static const int AC_DEHUF_SLOW_PATH = 0xf0000000;
static const int AC_END_OF_BLOCK = 0xf0000001;
-static const int AC_SIXTEEN_ZEROS = 0xf0000002;
struct huffman_table {
unsigned num_codes[17]; // BITS
if (code == AC_END_OF_BLOCK) {
break;
}
- if (code == AC_SIXTEEN_ZEROS) {
- continue;
- }
coeff[unzigzag[i]] = code;
}
}