• Home
  • Raw
  • Download

Lines Matching refs:numValues

120 inline int computeNumRequiredBits (const ISEParams& iseParams, int numValues)  in computeNumRequiredBits()  argument
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()
579 void decodeISETritBlock (ISEDecodedResult* dst, int numValues, BitAccessStream& data, int numBits) in decodeISETritBlock() argument
581 DE_ASSERT(de::inRange(numValues, 1, 5)); in decodeISETritBlock()
596 switch (numValues) in decodeISETritBlock()
640 for (int i = 0; i < numValues; i++) in decodeISETritBlock()
648 void decodeISEQuintBlock (ISEDecodedResult* dst, int numValues, BitAccessStream& data, int numBits) in decodeISEQuintBlock() argument
650 DE_ASSERT(de::inRange(numValues, 1, 3)); in decodeISEQuintBlock()
661 switch (numValues) in decodeISEQuintBlock()
691 for (int i = 0; i < numValues; i++) in decodeISEQuintBlock()
705 void decodeISE (ISEDecodedResult* dst, int numValues, BitAccessStream& data, const ISEParams& param… in decodeISE() argument
709 const int numBlocks = deDivRoundUp32(numValues, 5); in decodeISE()
712 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 5*(numBlocks-1) : 5; in decodeISE()
718 const int numBlocks = deDivRoundUp32(numValues, 3); in decodeISE()
721 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 3*(numBlocks-1) : 3; in decodeISE()
728 for (int i = 0; i < numValues; i++) in decodeISE()
2060 …xplicitInputBlock, const ISEInput::Block& blockInput, const deUint32* nonBlockInput, int numValues) in encodeISETritBlock() argument
2082 DE_ASSERT(de::inRange(numValues, 1, 5)); in encodeISETritBlock()
2089 if (i < numValues) in encodeISETritBlock()
2128 …xplicitInputBlock, const ISEInput::Block& blockInput, const deUint32* nonBlockInput, int numValues) in encodeISEQuintBlock() argument
2140 DE_ASSERT(de::inRange(numValues, 1, 3)); in encodeISEQuintBlock()
2147 if (i < numValues) in encodeISEQuintBlock()
2186 …codeISE (BitAssignAccessStream& dst, const ISEParams& params, const ISEInput& input, int numValues) in encodeISE() argument
2190 const int numBlocks = deDivRoundUp32(numValues, 5); in encodeISE()
2193 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 5*(numBlocks-1) : 5; in encodeISE()
2202 const int numBlocks = deDivRoundUp32(numValues, 3); in encodeISE()
2205 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 3*(numBlocks-1) : 3; in encodeISE()
2215 for (int i = 0; i < numValues; i++) in encodeISE()
2386 const int numValues = setWeights ? computeNumWeights(blockParams) : in generateRandomBlock() local
2388 …tISEParams : computeMaximumRangeISEParams(computeNumBitsForColorEndpoints(blockParams), numValues); in generateRandomBlock()
2399 const int numISEBlocks = deDivRoundUp32(numValues, numValuesPerISEBlock); in generateRandomBlock()
2412 for (int valueNdx = 0; valueNdx < numValues; valueNdx++) in generateRandomBlock()
2438 const deUint32 numValues = 1<<16; in generateBlockCaseTestData() local
2443 const deUint32 baseValue = blockNdx*(numValues-1) / (numBlocks-1); in generateBlockCaseTestData()
2444 const deUint16 r = (deUint16)((baseValue + numValues*0/4) % numValues); in generateBlockCaseTestData()
2445 const deUint16 g = (deUint16)((baseValue + numValues*1/4) % numValues); in generateBlockCaseTestData()
2446 const deUint16 b = (deUint16)((baseValue + numValues*2/4) % numValues); in generateBlockCaseTestData()
2447 const deUint16 a = (deUint16)((baseValue + numValues*3/4) % numValues); in generateBlockCaseTestData()