Searched defs:ratio (Results 1 - 10 of 10) sorted by relevance

/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dpsy_configuration.h45 Word16 ratio; member in struct:__anon532
75 Word16 ratio; member in struct:__anon533
/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.cpp72 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 Dgeometry.cpp71 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 Dgl_code.cpp93 float ratio = width / height; local
98 glFrustumf(-ratio, ratio, -1, 1, 1, 10);
/frameworks/native/opengl/tests/tritex/
H A Dtritex.cpp186 float ratio = 320.0f / 480.0f; local
191 glFrustumf(-ratio, ratio, -1, 1, 1, 10);
/frameworks/wilhelm/src/itf/
H A DIEqualizer.c298 // 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 DM4VSS3GPP_AudioMixing.c1447 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 DM4xVSS_API.c2892 /*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 DM4xVSS_internal.c132 /*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/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp1296 // Apply the HF decay ratio to the Reverb.
1300 // ratio ratio to be applied
1304 void ReverbSetDecayHfRatio(ReverbContext *pContext, int16_t ratio){ argument
1305 //ALOGV("\tReverbSetDecayHfRatioe start (%d)", ratio);
1316 ActiveParams.Damping = (LVM_INT16)(ratio/20);
1323 pContext->SavedDecayHfRatio = ratio;
1332 // Get the HF decay ratio applied to the Revervb.
1779 int16_t ratio; local
1834 ratio
[all...]

Completed in 1583 milliseconds