/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/ |
Noise.java | 50 protected float scale = 1.0f;
field in class:Noise 85 public Basis setScale(float scale) {
86 this.scale = scale;
92 return this.scale;
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_framestitching.h | 36 Find scale, rotation and translation of the similarity that 76 \param scale scale 83 \param allow_scaling estimate scale 87 DB_API void db_StitchSimilarity3DRaw(double *scale,double R[9],double t[3],
|
/packages/apps/Camera2/jni/feature_stab/db_vlvm/ |
db_framestitching.h | 36 Find scale, rotation and translation of the similarity that 76 \param scale scale 83 \param allow_scaling estimate scale 87 DB_API void db_StitchSimilarity3DRaw(double *scale,double R[9],double t[3],
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
RampUpScroller.java | 66 final float scale; local 68 scale = mInterpolator.getInterpolation((float) elapsedSinceStart / mRampUpTime); 70 scale = 1f; 76 mDeltaX = (int) (elapsedSinceDelta * scale * mTargetVelocityX); 77 mDeltaY = (int) (elapsedSinceDelta * scale * mTargetVelocityY);
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_framestitching.h | 36 Find scale, rotation and translation of the similarity that 76 \param scale scale 83 \param allow_scaling estimate scale 87 DB_API void db_StitchSimilarity3DRaw(double *scale,double R[9],double t[3],
|
/cts/tests/tests/media/src/android/media/cts/ |
IvfWriter.java | 40 * Timebase fraction is in format scale/rate, e.g. 1/1000 47 * @param scale timebase scale (or numerator of the timebase fraction) 52 int scale, int rate) throws IOException { 56 mScale = scale; 101 * Timebase fraction is in format scale/rate, e.g. 1/1000 106 * @param scale timebase scale (or numerator of the timebase fraction) 109 private static byte[] makeIvfHeader(int frameCount, int width, int height, int scale, int rate){ 123 lay32Bits(ivfHeader, 16, rate); // scale/rat [all...] |
/external/chromium_org/media/base/ |
channel_mixer_unittest.cc | 52 float scale) 57 scale(scale) { 71 scale(1.0f) { 76 "Input Layout: %d, Output Layout %d, Scale: %f", input_layout, 77 output_layout, scale); 86 float scale; member in struct:media::ChannelMixerTestData 122 float scale = GetParam().scale; local 126 expected_value += channel_values[ch] * scale; [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/audio/ffmpeg/ |
FFTFrameFFMPEG.cpp | 166 // Scale accounts the peculiar scaling of vecLib on the Mac. 168 // FIXME: if we change the scaling on the Mac then this scale 170 float scale = 0.5f; local 172 VectorMath::vsmul(realP1, 1, &scale, realP1, 1, halfSize); 173 VectorMath::vsmul(imagP1, 1, &scale, imagP1, 1, halfSize); 189 const float scale = 2.0f; local 195 m_realData[i] = scale * p[baseComplexIndex]; 196 m_imagData[i] = scale * p[baseComplexIndex + 1]; 208 // Scale so that a forward then inverse FFT yields exactly the original data. 209 const float scale = 1.0 / m_FFTSize local [all...] |
/external/chromium_org/gpu/command_buffer/tests/ |
occlusion_query_unittests.cc | 27 void DrawRect(float x, float z, float scale, float* color); 36 static void SetMatrix(float x, float z, float scale, float* matrix) { 37 matrix[0] = scale; 43 matrix[5] = scale; 49 matrix[10] = scale; 58 void OcclusionQueryTest::DrawRect(float x, float z, float scale, float* color) { 61 SetMatrix(x, z, scale, matrix);
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
HeightfieldCollisionShape.java | 50 public HeightfieldCollisionShape(float[] heightmap, Vector3f scale) { 51 createCollisionHeightfield(heightmap, scale); 55 this.scale = worldScale; 56 this.heightScale = 1;//don't change away from 1, we use worldScale instead to scale 95 shape.setLocalScaling(new javax.vecmath.Vector3f(scale.x, scale.y, scale.z));
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
ColorTemperatureFilter.java | 34 @GenerateFieldPort(name = "scale", hasDefault = true) 46 "uniform float scale;\n" + 51 " new_color.r = color.r + color.r * ( 1.0 - color.r) * scale;\n" + 52 " new_color.b = color.b - color.b * ( 1.0 - color.b) * scale;\n" + 53 " if (scale > 0.0) { \n" + 54 " new_color.g = color.g + color.g * ( 1.0 - color.g) * scale * 0.25;\n" + 119 mProgram.setHostValue("scale", 2.0f * mScale - 1.0f);
|
/frameworks/native/include/input/ |
VelocityControl.h | 30 // A scale factor that is multiplied with the raw velocity deltas 31 // prior to applying any other velocity control factors. The scale 37 float scale; member in struct:android::VelocityControlParameters 65 scale(1.0f), lowThreshold(0.0f), highThreshold(0.0f), acceleration(1.0f) { 68 VelocityControlParameters(float scale, float lowThreshold, 70 scale(scale), lowThreshold(lowThreshold),
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
Fisheye.java | 35 private float scale = 0.5f; field in class:Fisheye 43 t.setText("Scale"); 62 scale = progress / 50.0f; 80 center_y, scale); local 85 center_y, scale); local 90 scale); local 95 scale); local
|
Vignette.java | 35 private float scale = 0.5f; field in class:Vignette 45 t.setText("Scale"); 76 scale = progress / 50.0f; 102 center_y, scale, shade, slope); local 107 center_y, scale, shade, slope); local 112 scale, shade, slope); local 117 scale, shade, slope); local
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
Fisheye.java | 32 private float scale = 0.5f; field in class:Fisheye 40 t.setText("Scale"); 59 scale = progress / 50.0f; 77 center_y, scale); local 82 center_y, scale); local 87 scale); local 92 scale); local
|
Vignette.java | 31 private float scale = 0.5f; field in class:Vignette 41 t.setText("Scale"); 72 scale = progress / 50.0f; 98 center_y, scale, shade, slope); local 103 center_y, scale, shade, slope); local 108 scale, shade, slope); local 113 scale, shade, slope); local
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
Fisheye.java | 35 private float scale = 0.5f; field in class:Fisheye 43 t.setText("Scale"); 62 scale = progress / 50.0f; 80 center_y, scale); local 85 center_y, scale); local 90 scale); local 95 scale); local
|
Vignette.java | 35 private float scale = 0.5f; field in class:Vignette 45 t.setText("Scale"); 76 scale = progress / 50.0f; 102 center_y, scale, shade, slope); local 107 center_y, scale, shade, slope); local 112 scale, shade, slope); local 117 scale, shade, slope); local
|
/packages/apps/Camera2/jni/ |
tinyplanet.cc | 61 // Get pointers and scale factors for the source pixels. 92 void StereographicProjection(float scale, float angle, unsigned char* input_image, 99 const float image_scale = output_width * scale; 102 // Center and scale x 106 // Center and scale y 133 JNIEXPORT void JNICALL Java_com_android_camera_tinyplanet_TinyPlanetNative_process(JNIEnv* env, jobject obj, jobject bitmap_in, jint width, jint height, jobject bitmap_out, jint output_size, jfloat scale, jfloat angle) 142 StereographicProjection(scale, angle, rgb_in, width, height, rgb_out, output_size, output_size);
|
/packages/apps/Gallery2/jni/filters/ |
tinyplanet.cc | 60 // Get pointers and scale factors for the source pixels. 91 void StereographicProjection(float scale, float angle, unsigned char* input_image, 98 const float image_scale = output_width * scale; 101 // Center and scale x 105 // Center and scale y 132 void JNIFUNCF(ImageFilterTinyPlanet, nativeApplyFilter, jobject bitmap_in, jint width, jint height, jobject bitmap_out, jint output_size, jfloat scale,jfloat angle) 141 StereographicProjection(scale,angle, rgb_in, width, height, rgb_out, output_size, output_size);
|
/external/aac/libFDK/include/arm/ |
scale.h | 95 inline static INT shiftRightSat(INT src, int scale) 102 : "r"(src>>scale), "M"(SAMPLE_BITS) 108 #define SATURATE_INT_PCM_RIGHT_SHIFT(src, scale) shiftRightSat(src, scale) 110 inline static INT shiftLeftSat(INT src, int scale) 117 : "r"(src<<scale), "M"(SAMPLE_BITS) 123 #define SATURATE_INT_PCM_LEFT_SHIFT(src, scale) shiftLeftSat(src, scale) 143 #define SATURATE_RIGHT_SHIFT(src, scale, dBits) \ 144 ( (((LONG)(src) ^ ((LONG)(src) >> (DFRACT_BITS-1)))>>(scale)) > (LONG)(((1U)<<((dBits)-1))-1)) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/audio/ |
Reverb.cpp | 78 float scale = 1 / power; local 80 scale *= powf(10, GainCalibration * 0.05f); // calibrate to make perceived volume same as unprocessed 82 // Scale depends on sample-rate. 84 scale *= GainCalibrationSampleRate / response->sampleRate(); 88 scale *= 0.5f; 90 return scale; 95 float scale = 1; local 98 scale = calculateNormalizationScale(impulseResponse); 100 if (scale) 101 impulseResponse->scale(scale) [all...] |
/external/pixman/pixman/ |
pixman-filter.c | 148 /* This function scales @kernel2 by @scale, then 158 pixman_kernel_t kernel2, double scale, double x2, 169 integral (kernel1, x1, kernel2, scale, x2, - x1) + 170 integral (kernel1, 0, kernel2, scale, x2 - x1, width + x1); 175 integral (kernel1, x1, kernel2, scale, x2, - x2) + 176 integral (kernel1, x1 - x2, kernel2, scale, 0, width + x2); 181 return filters[kernel2].func (x2 * scale); 193 (filters[kernel1].func ((a1)) * filters[kernel2].func ((a2) * scale)) 222 double scale, 230 size = scale * filters[sample].width + filters[reconstruct].width [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/js/image_editor/ |
viewport.js | 8 * Viewport class controls the way the image is displayed (scale, offset etc). 68 * Set the size and scale to fit an HTML element. 82 * @return {number} Scale. 87 * @param {number} scale The new scale. 90 Viewport.prototype.setScale = function(scale, notify) { 91 if (this.scale_ == scale) return; 92 this.scale_ = scale; 93 if (notify && this.scaleControl_) this.scaleControl_.displayScale(scale); 98 * @return {number} Best scale to fit the current image into the current screen [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_state_framebuffer.c | 184 float fx = viewport->scale[0] * -1.0 + viewport->translate[0]; 185 float fy = flip * viewport->scale[1] * -1.0 + viewport->translate[1]; 186 float fw = viewport->scale[0] * 2; 187 float fh = flip * viewport->scale[1] * 2; 203 prescale.scale[0] = 1.0; 204 prescale.scale[1] = 1.0; 205 prescale.scale[2] = 1.0; 206 prescale.scale[3] = 1.0; 216 prescale.scale[0] *= -1.0; 219 fx = viewport->scale[0] * 1.0 + viewport->translate[0] [all...] |