Lines Matching refs:result
75 deUint32 result = 0;
77 result |= ((src >> i) & 1) << (numBits-1-i);
78 return result;
573 int result = 0;
575 result += computeNumColorEndpointValues(endpointModes[i]);
576 return result;
1412 DecompressResult result = DECOMPRESS_RESULT_VALID_BLOCK;
1445 result = DECOMPRESS_RESULT_ERROR;
1483 return result;
1875 int result = 0;
1877 result += computeNumColorEndpointValues(endpointModes[i]);
1878 return result;
2279 NormalBlockISEInputs result;
2282 result.weight.isGivenInBlockForm = false;
2290 result.weight.value.plain[i] = (i*weightRangeMax + (numWeights-1)/2) / (numWeights-1);
2293 result.weight.value.plain[i] = weightRangeMax - (i*weightRangeMax + (numWeights-1)/2) / (numWeights-1);
2298 result.weight.value.plain[i] = (i*weightRangeMax + (numWeights-1)/2) / (numWeights-1);
2303 result.endpoint.isGivenInBlockForm = false;
2311 result.endpoint.value.plain[i] = (i*colorEndpointRangeMax + (numColorEndpointValues-1)/2) / (numColorEndpointValues-1);
2314 return result;
2948 const DecompressResult result = decompressBlock((isSRGB ? (void*)&tmpBuffer.sRGB[0] : (void*)&tmpBuffer.linear[0]),
2951 return result == DECOMPRESS_RESULT_VALID_BLOCK;