Lines Matching refs:rangeCase
737 const int rangeCase = iseParams.numBits*2 - (iseParams.mode == ISEMODE_TRIT ? 2 : 1); in unquantizeColorEndpoints() local
738 DE_ASSERT(de::inRange(rangeCase, 0, 10)); in unquantizeColorEndpoints()
740 const deUint32 C = Ca[rangeCase]; in unquantizeColorEndpoints()
752 const deUint32 B = rangeCase == 0 ? 0 in unquantizeColorEndpoints()
753 : rangeCase == 1 ? 0 in unquantizeColorEndpoints()
754 : rangeCase == 2 ? (b << 8) | (b << 4) | (b << 2) | (b << 1) in unquantizeColorEndpoints()
755 : rangeCase == 3 ? (b << 8) | (b << 3) | (b << 2) in unquantizeColorEndpoints()
756 : rangeCase == 4 ? (c << 8) | (b << 7) | (c << 3) | (b << 2) | (c << 1) | (b << 0) in unquantizeColorEndpoints()
757 : rangeCase == 5 ? (c << 8) | (b << 7) | (c << 2) | (b << 1) | (c << 0) in unquantizeColorEndpoints()
758 : rangeCase == 6 ? (d << 8) | (c << 7) | (b << 6) | (d << 2) | (c << 1) | (b << 0) in unquantizeColorEndpoints()
759 : rangeCase == 7 ? (d << 8) | (c << 7) | (b << 6) | (d << 1) | (c << 0) in unquantizeColorEndpoints()
760 : rangeCase == 8 ? (e << 8) | (d << 7) | (c << 6) | (b << 5) | (e << 1) | (d << 0) in unquantizeColorEndpoints()
761 : rangeCase == 9 ? (e << 8) | (d << 7) | (c << 6) | (b << 5) | (e << 0) in unquantizeColorEndpoints()
762 : rangeCase == 10 ? (f << 8) | (e << 7) | (d << 6) | (c << 5) | (b << 4) | (f << 0) in unquantizeColorEndpoints()
1216 const int rangeCase = iseParams.numBits*2 + (iseParams.mode == ISEMODE_QUINT ? 1 : 0); in unquantizeWeights() local
1218 if (rangeCase == 0 || rangeCase == 1) in unquantizeWeights()
1222 const deUint32* const map = rangeCase == 0 ? &map0[0] : &map1[0]; in unquantizeWeights()
1225 DE_ASSERT(weightGrid[i].v < (rangeCase == 0 ? 3u : 5u)); in unquantizeWeights()
1231 DE_ASSERT(rangeCase <= 6); in unquantizeWeights()
1233 const deUint32 C = Ca[rangeCase-2]; in unquantizeWeights()
1242 const deUint32 B = rangeCase == 2 ? 0 in unquantizeWeights()
1243 : rangeCase == 3 ? 0 in unquantizeWeights()
1244 : rangeCase == 4 ? (b << 6) | (b << 2) | (b << 0) in unquantizeWeights()
1245 : rangeCase == 5 ? (b << 6) | (b << 1) in unquantizeWeights()
1246 : rangeCase == 6 ? (c << 6) | (b << 5) | (c << 1) | (b << 0) in unquantizeWeights()