Searched refs:scale (Results 1 - 25 of 171) sorted by path

1234567

/frameworks/av/media/libstagefright/
H A DAVIExtractor.cpp614 uint32_t scale = U32LE_AT(&data[24]); local
656 track->mScale = scale;
H A DOMXCodec.cpp2410 OMX_CONFIG_SCALEFACTORTYPE scale; local
2411 InitOMXParams(&scale);
2412 scale.nPortIndex = kPortIndexOutput;
2418 &scale, sizeof(scale))) {
2424 // The scale is in 16.16 format.
2425 // scale 1.0 = 0x010000. When there is no
2428 scale.xWidth, scale.xHeight);
2430 if (scale
[all...]
H A DVBRISeeker.cpp76 size_t scale = U16_AT(&vbriHeader[20]); local
78 ALOGV("%d entries, scale=%d, size_per_entry=%d",
80 scale,
118 numBytes *= scale;
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
H A DAAC_E_SAMPLES.c115 int scale = 441; local
117 scale = 480;
118 param->bitRate = 640*param->nChannels*param->sampleRate/scale;
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.c247 Word32 scale; local
252 scale = norm_l(value);
253 if(scale & 1) scale--;
255 value <<= scale; local
262 scale >>= 1;
266 root >>= scale; local
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c393 Word16 numOfSfb, /*!< number of scale factor bands */
501 * Calculates pow(2.0,x-1.0*(scale+1)) with INT_BITS bit precision
506 static Word32 m_pow2_cordic(Word32 x, Word16 scale) argument
511 accu_y = L_shr(accu_y,scale);
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dvad1.cpp446 scale -- Word16 -- scaling for the level calculation
515 Word16 scale, /* i : scaling for the level calculation */
531 l_temp2 = L_add(l_temp1, L_shl(*sub_level, sub(16, scale, pOverflow), pOverflow), pOverflow);
532 *sub_level = extract_h(L_shl(l_temp1, scale, pOverflow));
538 level = extract_h(L_shl(l_temp2, scale, pOverflow));
505 level_calculation( Word16 data[], Word16 *sub_level, Word16 count1, Word16 count2, Word16 ind_m, Word16 ind_a, Word16 scale, Flag *pOverflow ) argument
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Da_refl.cpp143 Word16 scale;
168 scale = sub(15, normShift);
182 L_temp = L_shr_r(L_temp, scale);
243 Word16 scale; local
272 scale = sub(15, normShift, pOverflow);
286 L_temp = L_shr_r(L_temp, scale, pOverflow);
/frameworks/av/media/libstagefright/codecs/amrwbenc/
H A DAndroid.mk45 src/scale.c \
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
H A DNorm_Corr_opt.s97 RSB r7, r6, #0 @scale = -(exp >> 1)
101 @r7 --- scale r4 --- t_min r8 --- excf[]
173 ADD r6, r6, r7 @exp_corr + exp_norm + scale
178 MOVGT r12, r12, LSL r6 @L_tmp = L_shl(L_tmp, exp_corr + exp_norm + scale)
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
H A DNorm_Corr_neon.s105 RSB r7, r6, #0 @scale = -(exp >> 1)
109 @r7 --- scale r4 --- t_min r8 --- excf[]
213 ADD r6, r6, r7 @exp_corr + exp_norm + scale
218 MOVGT r12, r12, LSL r6 @L_tmp = L_shl(L_tmp, exp_corr + exp_norm + scale)
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dpitch_f4.c171 Word32 corr, exp_corr, norm, exp, scale; local
198 scale = -(exp >> 1); /* (1<<scale) < 1/sqrt(energy rounded) */
238 L_tmp2 = exp_corr + exp_norm + scale;
H A Dwb_vad.c35 * Calculate Log2 and scale the signal:
146 Word16 scale /* i : scaling for the level calculation */
158 l_temp2 = vo_L_add(l_temp1, L_shl(*sub_level, 16 - scale));
159 *sub_level = extract_h(L_shl(l_temp1, scale));
165 level = extract_h(L_shl2(l_temp2, scale));
597 tmp = (st->sp_max >> 1); /* scale to get "average" speech level */
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Ddcac_prediction.cpp197 q_block[0] += (int16)((DC_pred + (QP_tmp >> 1)) * scale[QP_tmp] >> 18);
H A Dscaling.h24 extern const int32 scale[63];
H A Dscaling_tab.cpp50 const int32 scale[63] = {0, 262145, 131073, 87382, 65537, 52430, 43692, 37450, 32769, 29128, variable
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastcodemb.h31 const Int *scale; member in struct:struct_approxDCT
/frameworks/base/core/java/android/app/
H A DActivityThread.java1515 ResourcesKey(String resDir, int displayId, Configuration overrideConfiguration, float scale) { argument
1524 mScale = scale;
1663 // Resources is app scale dependent.
H A DWallpaperManager.java397 * never scale the wallpaper (only centering it if the requested bounds
821 // We need to scale up so it covers the entire area.
822 float scale;
824 scale = width / (float)targetRect.right;
826 scale = height / (float)targetRect.bottom;
828 targetRect.right = (int)(targetRect.right*scale);
829 targetRect.bottom = (int)(targetRect.bottom*scale);
/frameworks/base/core/java/android/content/res/
H A DCompatibilityInfo.java86 * Application's scale.
91 * Application's inverted scale.
245 int dens, float scale, float invertedScale) {
248 applicationScale = scale;
311 rect.scale(applicationInvertedScale);
318 transparentRegion.scale(applicationScale);
326 /* When we scale for compatibility, we can put our stretched
344 canvas.scale(applicationScale, applicationScale);
351 event.scale(applicationInvertedScale);
359 params.scale(applicationScal
244 CompatibilityInfo(int compFlags, int dens, float scale, float invertedScale) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DGesture.java240 final float scale = sx > sy ? sy : sx;
241 paint.setStrokeWidth(2.0f / scale);
243 path.offset(-bounds.left + (width - bounds.width() * scale) / 2.0f,
244 -bounds.top + (height - bounds.height() * scale) / 2.0f);
247 canvas.scale(scale, scale);
H A DGestureStroke.java169 float scale = sx > sy ? sy : sx;
170 GestureUtils.scale(pts, scale, scale);
H A DGestureUtils.java103 float scale = sx < sy ? sx : sy;
104 sx = scale;
105 sy = scale;
113 float scale = sx < sy ? sx : sy;
114 sx = scale;
115 sy = scale;
118 float scale = sy * NONUNIFORM_SCALE;
119 if (scale < sx) {
120 sx = scale;
123 float scale
585 static float[] scale(float[] points, float sx, float sy) { method in class:GestureUtils
[all...]
/frameworks/base/core/java/android/text/
H A DTextLine.java242 float scale = -bmAscent / bitmapHeight;
243 float width = bm.getWidth() * scale;
/frameworks/base/core/java/android/view/
H A DAccessibilityInteractionController.java598 bounds.scale(applicationScale);
602 bounds.scale(applicationScale);

Completed in 607 milliseconds

1234567