Lines Matching refs:iseParams
120 inline int computeNumRequiredBits (const ISEParams& iseParams, int numValues) in computeNumRequiredBits() argument
122 switch (iseParams.mode) in computeNumRequiredBits()
124 case ISEMODE_TRIT: return deDivRoundUp32(numValues*8, 5) + numValues*iseParams.numBits; in computeNumRequiredBits()
125 case ISEMODE_QUINT: return deDivRoundUp32(numValues*7, 3) + numValues*iseParams.numBits; in computeNumRequiredBits()
126 case ISEMODE_PLAIN_BIT: return numValues*iseParams.numBits; in computeNumRequiredBits()
733 …s (deUint32* dst, const ISEDecodedResult* iseResults, int numEndpoints, const ISEParams& iseParams) in unquantizeColorEndpoints() argument
735 if (iseParams.mode == ISEMODE_TRIT || iseParams.mode == ISEMODE_QUINT) in unquantizeColorEndpoints()
737 const int rangeCase = iseParams.numBits*2 - (iseParams.mode == ISEMODE_TRIT ? 2 : 1); in unquantizeColorEndpoints()
771 DE_ASSERT(iseParams.mode == ISEMODE_PLAIN_BIT); in unquantizeColorEndpoints()
774 dst[endpointNdx] = bitReplicationScale(iseResults[endpointNdx].v, iseParams.numBits, 8); in unquantizeColorEndpoints()
1192 …tModes, int numPartitions, int numColorEndpointValues, const ISEParams& iseParams, int numBitsAvai… in computeColorEndpoints() argument
1199 decodeISE(&colorEndpointData[0], numColorEndpointValues, dataStream, iseParams); in computeColorEndpoints()
1204 …ColorEndpoints(&unquantizedEndpoints[0], &colorEndpointData[0], numColorEndpointValues, iseParams); in computeColorEndpoints()
1212 const ISEParams& iseParams = blockMode.weightISEParams; in unquantizeWeights() local
1214 if (iseParams.mode == ISEMODE_TRIT || iseParams.mode == ISEMODE_QUINT) in unquantizeWeights()
1216 const int rangeCase = iseParams.numBits*2 + (iseParams.mode == ISEMODE_QUINT ? 1 : 0); in unquantizeWeights()
1255 DE_ASSERT(iseParams.mode == ISEMODE_PLAIN_BIT); in unquantizeWeights()
1258 dst[weightNdx] = bitReplicationScale(weightGrid[weightNdx].v, iseParams.numBits, 6); in unquantizeWeights()
1800 static inline deUint32 computeISERangeMax (const ISEParams& iseParams) in computeISERangeMax() argument
1802 switch (iseParams.mode) in computeISERangeMax()
1804 case ISEMODE_TRIT: return (1u << iseParams.numBits) * 3 - 1; in computeISERangeMax()
1805 case ISEMODE_QUINT: return (1u << iseParams.numBits) * 5 - 1; in computeISERangeMax()
1806 case ISEMODE_PLAIN_BIT: return (1u << iseParams.numBits) - 1; in computeISERangeMax()
2220 static void writeWeightData (AssignBlock128& dst, const ISEParams& iseParams, const ISEInput& input… in writeWeightData() argument
2222 const int numWeightBits = computeNumRequiredBits(iseParams, numWeights); in writeWeightData()
2224 encodeISE(access, iseParams, input, numWeights); in writeWeightData()
2227 static void writeColorEndpointData (AssignBlock128& dst, const ISEParams& iseParams, const ISEInput… in writeColorEndpointData() argument
2230 encodeISE(access, iseParams, input, numEndpoints); in writeColorEndpointData()
2388 …const ISEParams iseParams = setWeights ? blockParams.weightISEParams : computeMaximumRangeISEPara… in generateRandomBlock() local
2395 const int numValuesPerISEBlock = iseParams.mode == ISEMODE_TRIT ? 5 in generateRandomBlock()
2396 : iseParams.mode == ISEMODE_QUINT ? 3 in generateRandomBlock()
2398 const int iseBitMax = (1 << iseParams.numBits) - 1; in generateRandomBlock()
2410 const int rangeMax = computeISERangeMax(iseParams); in generateRandomBlock()
2514 const ISEParams& iseParams = s_weightISEParamsCandidates[iseParamsNdx]; in generateBlockCaseTestData() local
2519 blockParams.weightISEParams = iseParams; in generateBlockCaseTestData()
2531 …const int numValuesInISEBlock = iseParams.mode == ISEMODE_TRIT ? 5 : iseParams.mode == ISEMODE_QUI… in generateBlockCaseTestData()
2535 const int numWeightValues = (int)computeISERangeMax(iseParams) + 1; in generateBlockCaseTestData()
2550 if (iseParams.mode == ISEMODE_TRIT || iseParams.mode == ISEMODE_QUINT) in generateBlockCaseTestData()
2555 const int numTQValues = 1 << (iseParams.mode == ISEMODE_TRIT ? 8 : 7); in generateBlockCaseTestData()