• 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()
632 for (int i = 0; i < numValues; i++) in decodeISETritBlock()
640 void decodeISEQuintBlock (ISEDecodedResult* dst, int numValues, BitAccessStream& data, int numBits) in decodeISEQuintBlock() argument
642 DE_ASSERT(de::inRange(numValues, 1, 3)); in decodeISEQuintBlock()
653 switch (numValues) in decodeISEQuintBlock()
679 for (int i = 0; i < numValues; i++) in decodeISEQuintBlock()
693 void decodeISE (ISEDecodedResult* dst, int numValues, BitAccessStream& data, const ISEParams& param… in decodeISE() argument
697 const int numBlocks = deDivRoundUp32(numValues, 5); in decodeISE()
700 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 5*(numBlocks-1) : 5; in decodeISE()
706 const int numBlocks = deDivRoundUp32(numValues, 3); in decodeISE()
709 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 3*(numBlocks-1) : 3; in decodeISE()
716 for (int i = 0; i < numValues; i++) in decodeISE()
2048 …xplicitInputBlock, const ISEInput::Block& blockInput, const deUint32* nonBlockInput, int numValues) in encodeISETritBlock() argument
2070 DE_ASSERT(de::inRange(numValues, 1, 5)); in encodeISETritBlock()
2077 if (i < numValues) in encodeISETritBlock()
2116 …xplicitInputBlock, const ISEInput::Block& blockInput, const deUint32* nonBlockInput, int numValues) in encodeISEQuintBlock() argument
2128 DE_ASSERT(de::inRange(numValues, 1, 3)); in encodeISEQuintBlock()
2135 if (i < numValues) in encodeISEQuintBlock()
2174 …codeISE (BitAssignAccessStream& dst, const ISEParams& params, const ISEInput& input, int numValues) in encodeISE() argument
2178 const int numBlocks = deDivRoundUp32(numValues, 5); in encodeISE()
2181 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 5*(numBlocks-1) : 5; in encodeISE()
2190 const int numBlocks = deDivRoundUp32(numValues, 3); in encodeISE()
2193 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 3*(numBlocks-1) : 3; in encodeISE()
2203 for (int i = 0; i < numValues; i++) in encodeISE()
2374 const int numValues = setWeights ? computeNumWeights(blockParams) : in generateRandomBlock() local
2376 …tISEParams : computeMaximumRangeISEParams(computeNumBitsForColorEndpoints(blockParams), numValues); in generateRandomBlock()
2387 const int numISEBlocks = deDivRoundUp32(numValues, numValuesPerISEBlock); in generateRandomBlock()
2400 for (int valueNdx = 0; valueNdx < numValues; valueNdx++) in generateRandomBlock()
2426 const deUint32 numValues = 1<<16; in generateBlockCaseTestData() local
2431 const deUint32 baseValue = blockNdx*(numValues-1) / (numBlocks-1); in generateBlockCaseTestData()
2432 const deUint16 r = (deUint16)((baseValue + numValues*0/4) % numValues); in generateBlockCaseTestData()
2433 const deUint16 g = (deUint16)((baseValue + numValues*1/4) % numValues); in generateBlockCaseTestData()
2434 const deUint16 b = (deUint16)((baseValue + numValues*2/4) % numValues); in generateBlockCaseTestData()
2435 const deUint16 a = (deUint16)((baseValue + numValues*3/4) % numValues); in generateBlockCaseTestData()