Lines Matching refs:tq
874 if( ci.tq > 0 /* duplicated description */) goto parsing_end; in ReadHeader()
879 ci.tq = (char)lstrm.GetByte(); in ReadHeader()
882 ci.tq < 3) || in ReadHeader()
939 int tq = lstrm.GetByte(); in LoadQuantTables() local
940 int size = tq >> 4; in LoadQuantTables()
941 tq &= 15; in LoadQuantTables()
944 if( tq > 3 || size > 1 || length < tq_size ) return false; in LoadQuantTables()
954 m_tq[tq][idx] = buffer[i] * 16 * idct_prescale[idx]; in LoadQuantTables()
962 m_tq[tq][idx] = ((unsigned short*)buffer)[i] * idct_prescale[idx]; in LoadQuantTables()
965 m_is_tq[tq] = true; in LoadQuantTables()
1065 m_is_tq[m_ci[c].tq]) ) in ReadData()
1290 const int* tq = m_tq[m_ci[c].tq]; in GetBlock() local
1300 block[0] = descale(val * tq[0],16); in GetBlock()
1314 block[cat] = descale(val * tq[cat], 16); in GetBlock()