Home
last modified time | relevance | path

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

/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dfisheye_approx.rsh21 static float alpha, radius2, factor;
40 radius2 = radius*radius;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
Dfisheye.rsh21 static float alpha, radius2, factor;
40 radius2 = radius*radius;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dfisheye_approx.rsh21 static float alpha, radius2, factor;
40 radius2 = radius*radius;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
Dfisheye.rsh21 static float alpha, radius2, factor;
40 radius2 = radius*radius;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dfisheye_approx_f.rsh21 static float alpha, radius2, factor;
42 radius2 = radius*radius;
43 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
54 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dfisheye_approx.rsh21 static float alpha, radius2, factor;
40 radius2 = radius*radius;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * half_sqrt(radius2 - dist2)) * inv_dist);
Dfisheye.rsh21 static float alpha, radius2, factor;
40 radius2 = radius*radius;
41 const float max_radian = M_PI_2 - atan(alpha / bound * sqrt(radius2 - bound2));
52 const float radian = M_PI_2 - atan((alpha * sqrt(radius2 - dist2)) * inv_dist);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DFisheyeFilter.java161 float radius2 = radius * radius; in updateProgramParams() local
163 (float) Math.atan(alpha / bound * (float) Math.sqrt(radius2 - bound2)); in updateProgramParams()
167 mProgram.setHostValue("radius2",radius2); in updateProgramParams()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java4606 float radius2 = (float) Math.pow(
4619 double cr2 = radius2 * Math.cos(a2);
4620 double sr2 = radius2 * Math.sin(a2);