Lines Matching refs:iseParams
340 static inline int computeNumRequiredBits (const ISEParams& iseParams, int numValues) in computeNumRequiredBits() argument
342 switch (iseParams.mode) in computeNumRequiredBits()
344 case ISEMODE_TRIT: return divRoundUp(numValues*8, 5) + numValues*iseParams.numBits; in computeNumRequiredBits()
345 case ISEMODE_QUINT: return divRoundUp(numValues*7, 3) + numValues*iseParams.numBits; in computeNumRequiredBits()
346 case ISEMODE_PLAIN_BIT: return numValues*iseParams.numBits; in computeNumRequiredBits()
353 static inline deUint32 computeISERangeMax (const ISEParams& iseParams) in computeISERangeMax() argument
355 switch (iseParams.mode) in computeISERangeMax()
357 case ISEMODE_TRIT: return (1u << iseParams.numBits) * 3 - 1; in computeISERangeMax()
358 case ISEMODE_QUINT: return (1u << iseParams.numBits) * 5 - 1; in computeISERangeMax()
359 case ISEMODE_PLAIN_BIT: return (1u << iseParams.numBits) - 1; in computeISERangeMax()
817 static void writeWeightData (AssignBlock128& dst, const ISEParams& iseParams, const ISEInput& input… in writeWeightData() argument
819 const int numWeightBits = computeNumRequiredBits(iseParams, numWeights); in writeWeightData()
821 encodeISE(access, iseParams, input, numWeights); in writeWeightData()
824 static void writeColorEndpointData (AssignBlock128& dst, const ISEParams& iseParams, const ISEInput… in writeColorEndpointData() argument
827 encodeISE(access, iseParams, input, numEndpoints); in writeColorEndpointData()
1045 const ISEParams& iseParams = weightISEParamsCandidates[iseParamsNdx]; in generateBlockCaseTestData() local
1050 blockParams.weightISEParams = iseParams; in generateBlockCaseTestData()
1062 …const int numValuesInISEBlock = iseParams.mode == ISEMODE_TRIT ? 5 : iseParams.mode == ISEMODE_QUI… in generateBlockCaseTestData()
1066 const int numWeightValues = (int)computeISERangeMax(iseParams) + 1; in generateBlockCaseTestData()
1081 if (iseParams.mode == ISEMODE_TRIT || iseParams.mode == ISEMODE_QUINT) in generateBlockCaseTestData()
1086 const int numTQValues = 1 << (iseParams.mode == ISEMODE_TRIT ? 8 : 7); in generateBlockCaseTestData()
1437 …const ISEParams iseParams = setWeights ? blockParams.weightISEParams : computeMaximumRangeISEPara… in generateBlockCaseTestData() local
1444 const int numValuesPerISEBlock = iseParams.mode == ISEMODE_TRIT ? 5 in generateBlockCaseTestData()
1445 : iseParams.mode == ISEMODE_QUINT ? 3 in generateBlockCaseTestData()
1447 const int iseBitMax = (1 << iseParams.numBits) - 1; in generateBlockCaseTestData()
1459 const int rangeMax = computeISERangeMax(iseParams); in generateBlockCaseTestData()