Searched refs:k2 (Results 1 – 7 of 7) sorted by relevance
40 int k2=HSCALE << ABITS; in rgb2hsv() local70 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() local111 H = (6*ih)/k2; in hsv2rgb()112 X = ((iv*is)/k2)*(k2- abs(6*ih- 2*(H>>1)*k2 - k2)) ; in hsv2rgb()
25 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));
329 int k2=0; variable389 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;
174 double k1,k2; in db_FocalFromCamRotFocalHomography() local177 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()
155 final float k2 = 3.0f - tm2; in interpolate() local158 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()
3597 getter k2