Lines Matching refs:cls
201 unsigned int i, j, b, cls, num; in create_huffman_tbl() local
212 cls = d >> 4; in create_huffman_tbl()
216 jd->huffbits[num][cls] = pb; in create_huffman_tbl()
222 jd->huffcode[num][cls] = ph; in create_huffman_tbl()
234 jd->huffdata[num][cls] = pd; in create_huffman_tbl()
237 if(!cls && d > 11) return JDR_FMT1; in create_huffman_tbl()
246 if(cls) { in create_huffman_tbl()
261 if(cls) { in create_huffman_tbl()
271 jd->longofs[num][cls] = i; /* Code table offset for long code */ in create_huffman_tbl()
289 unsigned int cls /* Table class (0:DC, 1:AC) */ in huffext() argument
298 const uint8_t * hb = jd->huffbits[id][cls]; /* Bit distribution table */ in huffext()
299 const uint16_t * hc = jd->huffcode[id][cls]; /* Code word table */ in huffext()
300 const uint8_t * hd = jd->huffdata[id][cls]; /* Data table */ in huffext()
387 if(cls) { /* AC element */ in huffext()
403 hb = jd->huffbits[id][cls] + HUFF_BIT; /* Bit distribution table */ in huffext()
404 hc = jd->huffcode[id][cls] + jd->longofs[id][cls]; /* Code word table */ in huffext()
405 hd = jd->huffdata[id][cls] + jd->longofs[id][cls]; /* Data table */ in huffext()
409 hb = jd->huffbits[id][cls]; /* Bit distribution table */ in huffext()
410 hc = jd->huffcode[id][cls]; /* Code word table */ in huffext()
411 hd = jd->huffdata[id][cls]; /* Data table */ in huffext()