Searched refs:factor (Results 1 - 25 of 48) sorted by relevance

12

/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_Clock.c64 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 Dbrightness.c80 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 DLVEQNB_CalcCoef.c66 /* 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/media/mca/filterfw/native/core/
H A Dgeometry.cpp59 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 Dgeometry.h43 Point operator*(float factor) const;
88 bool ScaleWithLengthLimit(float factor, float max_length);
/frameworks/base/core/java/android/view/animation/
H A DAccelerateInterpolator.java40 * @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 DDecelerateInterpolator.java35 * @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 Dgeometry.cpp58 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 Dgeometry.h43 Point operator*(float factor) const;
105 bool ScaleWithLengthLimit(float factor, float max_length);
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A Dfisheye.rsh21 static float alpha, radius2, factor;
42 factor = bound / max_radian;
53 const float scalar = radian * factor * inv_dist;
H A Dfisheye_approx.rsh21 static float alpha, radius2, factor;
42 factor = bound / max_radian;
53 const float scalar = radian * factor * inv_dist;
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/
H A Dfisheye.rsh21 static float alpha, radius2, factor;
42 factor = bound / max_radian;
53 const float scalar = radian * factor * inv_dist;
H A Dfisheye_approx.rsh21 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 DDuration.java143 long factor = 1000 * sign;
144 return factor * ((7*24*60*60*weeks)
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
H A DLVPSA_Control.c275 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 DFisheyeFilter.java64 "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 Davcenc_int.h57 #define WEIGHTED_COST(factor,bits) (((factor)*(bits))>>LAMBDA_ACCURACY_BITS)
/frameworks/base/voip/jni/rtp/
H A DEchoSuppressor.cpp185 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 DEdgeEffect.java321 * width of X=0 to X=width, beginning from Y=0 and extending to some factor <
427 float factor = mGlowScaleYFinish != 0 ? 1
432 interp * factor;
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java443 public void setCompatibilityScaling(float factor) { argument
444 if (factor == 1.0) {
449 mCompatScaling = factor;
450 mInvCompatScaling = 1.0f/factor;
1131 * Return the paint's horizontal scale factor for text. The default value
1134 * @return the paint's scale factor in X for drawing/measuring text
1139 * Set the paint's horizontal scale factor for text. The default value
1148 * Return the paint's horizontal skew factor for text. The default value
1151 * @return the paint's skew factor in X for drawing text.
1156 * Set the paint's horizontal skew factor fo
[all...]
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES10.spec78 void glPolygonOffset ( GLfloat factor, GLfloat units )
79 void glPolygonOffsetx ( GLfixed factor, GLfixed units )
H A DGLES11Ext.spec44 void glPolygonOffsetxOES ( GLfixed factor, GLfixed units )
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp1106 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);
/frameworks/base/opengl/java/android/opengl/
H A DGLES10.java1031 // C function void glPolygonOffset ( GLfloat factor, GLfloat units )
1034 float factor,
1038 // C function void glPolygonOffsetx ( GLfixed factor, GLfixed units )
1041 int factor,
1033 glPolygonOffset( float factor, float units ) argument
1040 glPolygonOffsetx( int factor, int units ) argument
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java777 float factor,
782 int factor,
776 glPolygonOffset( float factor, float units ) argument
781 glPolygonOffsetx( int factor, int units ) argument

Completed in 4897 milliseconds

12