/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4OSA_Clock.c | 64 M4OSA_UInt32 factor; local 74 factor = 1000000 / timescale; 81 u32_time_lo += tv.tv_usec / factor;
|
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
H A D | brightness.c | 80 const int factor = (int)(brightness * 255.0f); local 85 const short r = (pixel.rgba[0] * factor) / 255; 86 const short g = (pixel.rgba[1] * factor) / 255; 87 const short b = (pixel.rgba[2] * factor) / 255;
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
H A D | LVEQNB_CalcCoef.c | 66 /* Q is the Q factor, 0.25 to 12 (represented by 25 to 1200) */ 110 LVM_INT32 factor; local 142 factor = 0x7fff; /* Initialise to 1.0 for the a0 coefficient */ 147 CosErr += (factor * coef) >> 5; /* The nth partial sum */ 148 factor = (factor * t0) >> 15; /* Calculate t0^n */ 204 /* Q is the Q factor, 0.25 to 12 */ 241 LVM_INT32 factor; local 273 factor = 0x7fff; /* Initialise to 1.0 for the a0 coefficient */ 278 COS_T0 += (factor * coe [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
H A D | Quad.java | 239 * Grow the Quad outwards by the specified factor. 242 * them to the centroid. A factor of 1.0 moves the quad outwards by the distance of the corners 245 * @param factor the growth factor 248 public Quad grow(float factor) { argument 250 return new Quad(factor * (mTopLeft.x - pc.x) + pc.x, 251 factor * (mTopLeft.y - pc.y) + pc.y, 252 factor * (mTopRight.x - pc.x) + pc.x, 253 factor * (mTopRight.y - pc.y) + pc.y, 254 factor * (mBottomLef 266 scale(float factor) argument [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.cpp | 59 Point Point::operator*(float factor) const { 61 out.x_ = factor * x_; 62 out.y_ = factor * y_; 107 bool Rect::ScaleWithLengthLimit(float factor, float max_length) { argument 108 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f) { 117 float f = factor;
|
H A D | geometry.h | 43 Point operator*(float factor) const; 88 bool ScaleWithLengthLimit(float factor, float max_length);
|
/frameworks/base/core/java/android/view/animation/ |
H A D | AccelerateInterpolator.java | 40 * @param factor Degree to which the animation should be eased. Seting 41 * factor to 1.0f produces a y=x^2 parabola. Increasing factor above 45 public AccelerateInterpolator(float factor) { argument 46 mFactor = factor;
|
H A D | DecelerateInterpolator.java | 35 * @param factor Degree to which the animation should be eased. Setting factor to 1.0f produces 36 * an upside-down y=x^2 parabola. Increasing factor above 1.0f makes exaggerates the 39 public DecelerateInterpolator(float factor) { argument 40 mFactor = factor;
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.cpp | 58 Point Point::operator*(float factor) const { 60 out.x_ = factor * x_; 61 out.y_ = factor * y_; 106 bool Rect::ScaleWithLengthLimit(float factor, float max_length) { argument 107 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f) { 116 float f = factor;
|
H A D | geometry.h | 43 Point operator*(float factor) const; 105 bool ScaleWithLengthLimit(float factor, float max_length);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | fisheye.rsh | 21 static float alpha, radius2, factor; 42 factor = bound / max_radian; 53 const float scalar = radian * factor * inv_dist;
|
H A D | fisheye_approx.rsh | 21 static float alpha, radius2, factor; 42 factor = bound / max_radian; 53 const float scalar = radian * factor * inv_dist;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | fisheye.rsh | 21 static float alpha, radius2, factor; 42 factor = bound / max_radian; 53 const float scalar = radian * factor * inv_dist;
|
H A D | fisheye_approx.rsh | 21 static float alpha, radius2, factor; 42 factor = bound / max_radian; 53 const float scalar = radian * factor * inv_dist;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | fisheye.rsh | 21 static float alpha, radius2, factor; 42 factor = bound / max_radian; 53 const float scalar = radian * factor * inv_dist;
|
H A D | fisheye_approx.rsh | 21 static float alpha, radius2, factor; 42 factor = bound / max_radian; 53 const float scalar = radian * factor * inv_dist;
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | Duration.java | 143 long factor = 1000 * sign; 144 return factor * ((7*24*60*60*weeks)
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
H A D | LVPSA_Control.c | 275 LVM_INT16 QFactor; /* Filter Q factor */ 283 QFactor =(LVM_INT16) pInst->pFiltersParams[ii].QFactor; /* Get the band Q factor */ 457 /* Q is the Q factor, 0.25 to 12 */ 485 LVM_INT32 factor; local 520 factor = 0x7fff; /* Initialise to 1.0 for the a0 coefficient */ 525 COS_T0 += (factor * coef) >> 5; /* The nth partial sum */ 526 factor = (factor * t0) >> 15; /* Calculate t0^n */ 572 /* Q is the Q factor, 0.25 to 12 (represented by 25 to 1200) */ 608 LVM_INT32 factor; local [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | FisheyeFilter.java | 64 "uniform float factor;\n" + 71 " float scalar = radian * factor / dist;\n" + 166 float factor = bound / max_radian; 170 mProgram.setHostValue("factor", factor);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | avcenc_int.h | 57 #define WEIGHTED_COST(factor,bits) (((factor)*(bits))>>LAMBDA_ACCURACY_BITS)
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | EchoSuppressor.cpp | 185 int factor = (corr2 > 1.0f) ? 0 : (1.0f - sqrtf(corr2)) * 4096; local 187 recorded[i] = recorded[i] * factor >> 16;
|
/frameworks/base/core/java/android/widget/ |
H A D | EdgeEffect.java | 323 * width of X=0 to X=width, beginning from Y=0 and extending to some factor < 429 float factor = mGlowScaleYFinish != 0 ? 1 434 interp * factor;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 163 * scale factor is adjusted.</p> 545 public void setCompatibilityScaling(float factor) { argument 546 if (factor == 1.0) { 551 mCompatScaling = factor; 552 mInvCompatScaling = 1.0f/factor; 1231 * Return the paint's horizontal scale factor for text. The default value 1234 * @return the paint's scale factor in X for drawing/measuring text 1239 * Set the paint's horizontal scale factor for text. The default value 1248 * Return the paint's horizontal skew factor for text. The default value 1251 * @return the paint's skew factor i [all...] |
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES10.spec | 78 void glPolygonOffset ( GLfloat factor, GLfloat units ) 79 void glPolygonOffsetx ( GLfixed factor, GLfixed units )
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 1106 void glPolygonOffsetx(GLfixed factor, GLfixed units) argument 1109 c->polygonOffset.factor = factor; 1113 void glPolygonOffset(GLfloat factor, GLfloat units) argument 1116 c->polygonOffset.factor = gglFloatToFixed(factor);
|