Home
last modified time | relevance | path

Searched refs:iseParams (Results 1 – 1 of 1) sorted by relevance

/external/deqp/framework/common/
DtcuAstcUtil.cpp120 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()
721 …s (deUint32* dst, const ISEDecodedResult* iseResults, int numEndpoints, const ISEParams& iseParams) in unquantizeColorEndpoints() argument
723 if (iseParams.mode == ISEMODE_TRIT || iseParams.mode == ISEMODE_QUINT) in unquantizeColorEndpoints()
725 const int rangeCase = iseParams.numBits*2 - (iseParams.mode == ISEMODE_TRIT ? 2 : 1); in unquantizeColorEndpoints()
759 DE_ASSERT(iseParams.mode == ISEMODE_PLAIN_BIT); in unquantizeColorEndpoints()
762 dst[endpointNdx] = bitReplicationScale(iseResults[endpointNdx].v, iseParams.numBits, 8); in unquantizeColorEndpoints()
[all …]