Home
last modified time | relevance | path

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

/packages/apps/Gallery2/jni/filters/
Dhsv.c40 int k2=HSCALE << ABITS; in rgb2hsv() local
70 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma)); in rgb2hsv()
71 if (rh >= k2) rh -= k2; in rgb2hsv()
73 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); in rgb2hsv()
75 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma)); in rgb2hsv()
89 int k2=HSCALE<<ABITS; in hsv2rgb() local
111 H = (6*ih)/k2; in hsv2rgb()
112 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ; in hsv2rgb()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
Dsaturation.rs25 static const int k2=HSCALE << ABITS;
134 rh = (short) ((k2 * (6 * chroma + gi - bi))/(6 * chroma));
135 if (rh >= k2) {
136 rh -= k2;
142 return(short) ((k2 * (2 * chroma + bi - ri)) / (6 * chroma));
145 return (short) ((k2 * (4 * chroma + ri - gi)) / (6 * chroma));
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_metrics.h329 int k2=0; variable
389 wp[k2]=wp[ind2];
390 wp[k2+1]=wp[ind2+1];
391 wp[k2+2]=wp[ind2+2];
392 wp[k2+3]=wp[ind2+3];
394 k2=k2+4;
Ddb_utilities_camera.h174 double k1,k2; in db_FocalFromCamRotFocalHomography() local
177 k2=db_sqr(H[6])+db_sqr(H[7]); in db_FocalFromCamRotFocalHomography()
178 if(k1>=k2) in db_FocalFromCamRotFocalHomography()
184 return(db_SafeSqrt(db_SafeDivision(1.0-db_sqr(H[8]),k2))); in db_FocalFromCamRotFocalHomography()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DHermiteInterpolator.java155 final float k2 = 3.0f - tm2; in interpolate() local
158 mInterpolatedX = (k1 * mP1X + t * mSlope1X) * omt2 + (k2 * mP2X - omt * mSlope2X) * t2; in interpolate()
159 mInterpolatedY = (k1 * mP1Y + t * mSlope1Y) * omt2 + (k2 * mP2Y - omt * mSlope2Y) * t2; in interpolate()
/packages/apps/Browser2/test/webexposed/
Dglobal-interface-listing-expected.txt3597 getter k2
/packages/inputmethods/LatinIME/dictionaries/
Dro_wordlist.combined.gz