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