Searched refs:ABITS (Results 1 – 1 of 1) sorted by relevance
36 int ABITS = 4; in rgb2hsv() local39 int k1=255 << ABITS; in rgb2hsv()40 int k2=HSCALE << ABITS; in rgb2hsv()57 rv = (short)( iMax << ABITS); in rgb2hsv()84 int ABITS = 4; in hsv2rgb() local88 int k1=255<<ABITS; in hsv2rgb()89 int k2=HSCALE<<ABITS; in hsv2rgb()90 int k3=1<<(ABITS-1); in hsv2rgb()105 rb = ( rg = ( rr =( cv >> ABITS) )); in hsv2rgb()115 X=( (X+iv*(k1 - is ))/k1 + k3 ) >> ABITS; in hsv2rgb()[all …]