Searched refs:adjust_comps (Results 1 – 1 of 1) sorted by relevance
719 int* adjust_comps = FX_Alloc(int, image->numcomps); in Decode() local722 adjust_comps[i] = image->comps[i].prec - 8; in Decode()735 if(adjust_comps[channel] < 0) { in Decode()742 if (adjust_comps[channel] > 0) { in Decode()745 *pPixel = (FX_BYTE)(src << -adjust_comps[channel]); in Decode()759 if (adjust_comps[channel] - 1 < 0) { in Decode()760 *pPixel = (FX_BYTE)((src >> adjust_comps[channel])); in Decode()762 … int tmpPixel = (src >> adjust_comps[channel]) + ((src >> (adjust_comps[channel] - 1)) % 2); in Decode()778 FX_Free(adjust_comps); in Decode()