Searched refs:channelNdx (Results 1 – 5 of 5) sorted by relevance
518 for (int channelNdx = 0; channelNdx < 4; channelNdx++) in getComponentMappingPermutations() local519 currentChannel[channelNdx] = channelSwizzles[(firstChannelNdx + channelNdx) % 4]; in getComponentMappingPermutations()
514 for (int channelNdx = 0; channelNdx < numValidChannels; channelNdx++) in clearUndefined() local515 dstPixel[channelNdx] = srcPixel[channelNdx]; in clearUndefined()530 for (int channelNdx = 0; channelNdx < numValidChannels; channelNdx++) in clearUndefined() local531 dstPixel[channelNdx] = srcPixel[channelNdx]; in clearUndefined()
1423 for (int channelNdx = 0; channelNdx < 4; channelNdx++) in setTexelColors() local1425 …if (!isHDREndpoint[colorEndpointNdx] || (channelNdx == 3 && colorEndpointModes[colorEndpointNdx] =… in setTexelColors()1427 const deUint32 c0 = (e0[channelNdx] << 8) | (isSRGB ? 0x80 : e0[channelNdx]); in setTexelColors()1428 const deUint32 c1 = (e1[channelNdx] << 8) | (isSRGB ? 0x80 : e1[channelNdx]); in setTexelColors()1429 const deUint32 w = weight.w[ccs == channelNdx ? 1 : 0]; in setTexelColors()1433 ((deUint8*)dst)[texelNdx*4 + channelNdx] = (deUint8)((c & 0xff00) >> 8); in setTexelColors()1435 ((float*)dst)[texelNdx*4 + channelNdx] = c == 65535 ? 1.0f : (float)c / 65536.0f; in setTexelColors()1440 const deUint32 c0 = e0[channelNdx] << 4; in setTexelColors()1441 const deUint32 c1 = e1[channelNdx] << 4; in setTexelColors()1442 const deUint32 w = weight.w[ccs == channelNdx ? 1 : 0]; in setTexelColors()[all …]
263 for (int channelNdx = 0; channelNdx < 3; ++channelNdx) in convertRGB8ToNativeFormat() local265 …const int channelBitCount = (channelNdx == 0) ? (args.redBits) : (channelNdx == 1) ? (args.greenBi… in convertRGB8ToNativeFormat()266 …const int channelPixelValue = (channelNdx == 0) ? (color.getRed()) : (channelNdx == 1) ? (color.ge… in convertRGB8ToNativeFormat()269 pixelNativeColor[channelNdx] = channelPixelValue >> (8 - channelBitCount); in convertRGB8ToNativeFormat()271 pixelNativeColor[channelNdx] = channelPixelValue; in convertRGB8ToNativeFormat()276 pixelNativeColor[channelNdx] = channelPixelValue << (channelBitCount - 8); in convertRGB8ToNativeFormat()
487 for (int channelNdx = 0; channelNdx < 4; channelNdx++) in evaluate() local488 if (s_outSwizzleChannelMasks[m_resultScalarSize - 1][channelNdx]) in evaluate()489 ctx.color[channelNdx] = ctx.color[channelNdx] * m_evaluatedScale + m_evaluatedBias; in evaluate()