/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
H A D | psy_configuration.h | 45 Word16 ratio; member in struct:__anon556 75 Word16 ratio; member in struct:__anon557
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.cpp | 72 bool Rect::ExpandToAspectRatio(float ratio) { argument 73 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) { 78 if (current_ratio < ratio) { 79 const float dx = width * (ratio / current_ratio - 1.0f); 83 const float dy = height * (current_ratio / ratio - 1.0f);
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.cpp | 71 bool Rect::ExpandToAspectRatio(float ratio) { argument 72 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) { 77 if (current_ratio < ratio) { 78 const float dx = width * (ratio / current_ratio - 1.0f); 82 const float dy = height * (current_ratio / ratio - 1.0f);
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
H A D | gl_code.cpp | 93 float ratio = width / height; local 98 glFrustumf(-ratio, ratio, -1, 1, 1, 10);
|
/frameworks/native/opengl/tests/tritex/ |
H A D | tritex.cpp | 186 float ratio = 320.0f / 480.0f; local 191 glFrustumf(-ratio, ratio, -1, 1, 1, 10);
|
/frameworks/wilhelm/src/itf/ |
H A D | IEqualizer.c | 298 // search for band whose center frequency has the closest ratio to 1.0 311 float ratio = frequency <= band->mCenter ? local 313 if (ratio > bestRatio) { 314 bestRatio = ratio;
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4VSS3GPP_AudioMixing.c | 1447 M4OSA_UInt32 numerator, denominator, ratio, ratioBuffer; local 1666 ratio = 1672 if( ratio == 0 ) 1681 ratio++; /* We use the immediate superior integer */ 1682 pC->minimumBufferIn = ratio * (pC->iSsrcNbSamplIn * sizeof(short)
|
H A D | M4xVSS_API.c | 2892 /*FB 2008/10/20 keep media aspect ratio, add media rendering parameter*/ 3143 /* Output ratio for the effect is stored in uiFiftiesOutFrameRate parameters of the 4525 M4OSA_Double ratio; local 4628 ratio = 4637 if( ratio > 50 && ratio <= 75 ) 4644 ratio, targetedBitrate); 4646 else if( ratio > 75 ) 4651 ratio, targetedBitrate);
|
H A D | M4xVSS_internal.c | 132 /*FB 2008/10/20: add media rendering parameter to keep aspect ratio*/ 600 /*Save ratio values, they can be reused if the new ratios are 0*/ 603 /*Check that the ratio is not 0*/ 611 /*The ratio is 0, that means the area of the picture defined with (a) 621 /*The ratio is 0, that means the area of the picture defined with (a) 637 /*Move the (a) topleft parameter to 0 but the ratio will be also further 648 /*Move the (a) topleft parameter to 0 but the ratio will be also further 652 /*The new ratio is the original one*/ 656 /*Change the ratio if the area of the picture defined with (a) parameters is 662 /*Change the ratio i 4150 M4OSA_UInt32 ratio = 0; local [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 109 // from * (1 - ratio) + to * ratio 112 float ratio, int x, int y, int w, int h); 115 // rectangle. The actual color used is from * (1 - ratio) + to * ratio. 119 float ratio, RectF src, RectF target); 111 drawMixed(BasicTexture from, int toColor, float ratio, int x, int y, int w, int h) argument 118 drawMixed(BasicTexture from, int toColor, float ratio, RectF src, RectF target) argument
|
H A D | GLES20Canvas.java | 758 public void drawMixed(BasicTexture texture, int toColor, float ratio, int x, int y, int w, int h) { argument 761 drawMixed(texture, toColor, ratio, mTempSourceRect, mTempTargetRect); 765 public void drawMixed(BasicTexture texture, int toColor, float ratio, RectF source, RectF target) { argument 772 float cappedRatio = Math.min(1f, Math.max(0f, ratio));
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 1272 // Apply the HF decay ratio to the Reverb. 1276 // ratio ratio to be applied 1280 void ReverbSetDecayHfRatio(ReverbContext *pContext, int16_t ratio){ argument 1281 //ALOGV("\tReverbSetDecayHfRatioe start (%d)", ratio); 1292 ActiveParams.Damping = (LVM_INT16)(ratio/20); 1299 pContext->SavedDecayHfRatio = ratio; 1308 // Get the HF decay ratio applied to the Revervb. 1755 int16_t ratio; local 1810 ratio [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 256 // Pick the largest thumbnail size that matches still image aspect ratio. 2602 float ratio, const int32_t* sizeArray, size_t count) { 2610 if (fabs(curRatio - ratio) < ASPECT_RATIO_TOLERANCE && maxSize.width < sizeArray[i]) { 2620 ALOGW("Unable to find the size to match the given aspect ratio %f." 2621 "Fall back to %d x %d", ratio, maxSize.width, maxSize.height); 2640 // The desired activeAreaWidth/cropAreaWidth ratio (or height if h>w) 2641 // via interpolating zoom step into a zoom ratio 2644 "Zoom ratio calculated out of bounds. Expected 1 - %f, actual: %f", 2647 ALOGV("Zoom maxDigital=%f, increment=%f, ratio=%f, previewWidth=%d, " 2665 // aspect ratio 2601 getMaxSizeForRatio( float ratio, const int32_t* sizeArray, size_t count) argument [all...] |