Home
last modified time | relevance | path

Searched refs:ABITS (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Gallery2/jni/filters/
Dhsv.c36 int ABITS = 4; in rgb2hsv() local
39 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() local
88 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 …]