Searched refs:channelMax (Results 1 - 2 of 2) sorted by relevance

/external/deqp/modules/gles2/functional/
H A Des2fDitheringTests.cpp178 const int channelMax = (1 << channelBits[chanNdx]) - 1; local
179 const float scaledInput = inputClr[chanNdx] * (float)channelMax;
183 channelChoices.push_back(de::min(channelMax, (int)deFloatCeil(scaledInput)));
198 const int renderedClrInFormat = (int)deFloatRound((float)(renderedClr.toIVec()[chanNdx] * channelMax) / 255.0f);
220 << "Note: " << inputClr[chanNdx] << " * (" << channelMax + 1 << "-1) = " << scaledInput
/external/deqp/modules/gles3/functional/
H A Des3fDitheringTests.cpp178 const int channelMax = (1 << channelBits[chanNdx]) - 1; local
179 const float scaledInput = inputClr[chanNdx] * (float)channelMax;
183 channelChoices.push_back(de::min(channelMax, (int)deFloatCeil(scaledInput)));
198 const int renderedClrInFormat = (int)deFloatRound((float)(renderedClr.toIVec()[chanNdx] * channelMax) / 255.0f);
220 << "Note: " << inputClr[chanNdx] << " * (" << channelMax + 1 << "-1) = " << scaledInput

Completed in 151 milliseconds