Searched refs:channelBitCount (Results 1 – 1 of 1) sorted by relevance
261 …const int channelBitCount = (channelNdx == 0) ? (args.redBits) : (channelNdx == 1) ? (args.greenBi… in convertRGB8ToNativeFormat() local264 if (channelBitCount <= 8) in convertRGB8ToNativeFormat()265 pixelNativeColor[channelNdx] = channelPixelValue >> (8 - channelBitCount); in convertRGB8ToNativeFormat()266 else if (channelBitCount == 8) in convertRGB8ToNativeFormat()272 pixelNativeColor[channelNdx] = channelPixelValue << (channelBitCount - 8); in convertRGB8ToNativeFormat()