Searched refs:iseParams (Results 1 – 2 of 2) sorted by relevance
/external/deqp/modules/gles3/functional/ |
D | es3fASTCDecompressionCases.cpp | 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() [all …]
|
/external/deqp/framework/common/ |
D | tcuCompressedTexture.cpp | 1182 inline int computeNumRequiredBits (const ISEParams& iseParams, int numValues) in computeNumRequiredBits() argument 1184 switch (iseParams.mode) in computeNumRequiredBits() 1186 case ISEMODE_TRIT: return divRoundUp(numValues*8, 5) + numValues*iseParams.numBits; in computeNumRequiredBits() 1187 case ISEMODE_QUINT: return divRoundUp(numValues*7, 3) + numValues*iseParams.numBits; in computeNumRequiredBits() 1188 case ISEMODE_PLAIN_BIT: return numValues*iseParams.numBits; in computeNumRequiredBits() 1667 …s (deUint32* dst, const ISEDecodedResult* iseResults, int numEndpoints, const ISEParams& iseParams) in unquantizeColorEndpoints() argument 1669 if (iseParams.mode == ISEMODE_TRIT || iseParams.mode == ISEMODE_QUINT) in unquantizeColorEndpoints() 1671 const int rangeCase = iseParams.numBits*2 - (iseParams.mode == ISEMODE_TRIT ? 2 : 1); in unquantizeColorEndpoints() 1705 DE_ASSERT(iseParams.mode == ISEMODE_PLAIN_BIT); in unquantizeColorEndpoints() 1708 dst[endpointNdx] = bitReplicationScale(iseResults[endpointNdx].v, iseParams.numBits, 8); in unquantizeColorEndpoints() [all …]
|