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

1234567891011

/frameworks/av/cmds/screenrecord/
H A DTextRenderer.h58 void setScale(float scale) { mScale = scale; } argument
106 // current scale factor.
124 // Value will be adjusted by the current scale factor.
/frameworks/av/media/libstagefright/
H A DAVIExtractor.cpp614 uint32_t scale = U32LE_AT(&data[24]); local
656 track->mScale = scale;
H A DMediaCodecList.cpp925 || !strcmp(attrs[i], "scale")
943 // quality: range + default + [scale]
972 AString range, scale = "linear", def, in_; local
981 if (name != "quality" && msg->findString("scale", &scale)) {
982 return limitFoundMissingAttr(name, "scale");
998 mCurrentInfo->addDetail("quality-scale", scale);
1024 } else if (msg->contains("scale")) {
1025 return limitFoundMissingAttr(name, "scale");
[all...]
H A DVBRISeeker.cpp79 size_t scale = U16_AT(&vbriHeader[20]); local
81 ALOGV("%zu entries, scale=%zu, size_per_entry=%zu",
83 scale,
121 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.c249 Word32 scale; local
255 scale = norm_l(value);
256 if(scale & 1) scale--;
258 value <<= scale; local
265 scale >>= 1;
269 root >>= scale; local
/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.cpp145 Word16 scale;
170 scale = sub(15, normShift);
184 L_temp = L_shr_r(L_temp, scale);
245 Word16 scale; local
274 scale = sub(15, normShift, pOverflow);
288 L_temp = L_shr_r(L_temp, scale, pOverflow);
/frameworks/av/media/libstagefright/codecs/amrwbenc/
H A DAndroid.mk42 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.c173 Word32 corr, exp_corr, norm, exp, scale; local
201 scale = -(exp >> 1); /* (1<<scale) < 1/sqrt(energy rounded) */
241 L_tmp2 = L_add(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/av/media/libstagefright/webm/
H A DWebmElement.cpp297 sp<WebmElement> WebmElement::SegmentInfo(uint64_t scale, double dur) { argument
301 segmentInfo.push_back(new WebmUnsigned(kMkvTimecodeScale, scale));
H A DWebmElement.h50 static sp<WebmElement> SegmentInfo(uint64_t scale = 1000000, double dur = 0);
/frameworks/av/services/audioflinger/
H A DAudioResamplerFirProcess.h422 static const TC scale = 1. / (65536. * 65536.); // scale phase bits to [0.0, 1.0) local
423 TC lerpP = TC(phase << (sizeof(phase)*8 - coefShift)) * scale;
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiDevice.java827 * Default scale of 1.0f (original size) and 90% quality is used
845 * @param scale scale the screenshot down if needed; 1.0f for original size
850 public boolean takeScreenshot(File storePath, float scale, int quality) { argument
851 Tracer.trace(storePath, scale, quality);
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityService.java374 float scale, float centerX, float centerY);
687 private void onMagnificationChanged(@NonNull Region region, float scale, argument
691 region, scale, centerX, centerY);
810 void dispatchMagnificationChanged(final @NonNull Region region, final float scale, argument
834 region, scale, centerX, centerY);
839 listener.onMagnificationChanged(this, region, scale, centerX, centerY);
845 * Returns the current magnification scale.
852 * @return the current magnification scale
862 Log.w(LOG_TAG, "Failed to obtain scale", re);
929 * magnification scale an
373 onMagnificationChanged(@onNull Region region, float scale, float centerX, float centerY) argument
1003 setScale(float scale, boolean animate) argument
1066 onMagnificationChanged(@onNull MagnificationController controller, @NonNull Region region, float scale, float centerX, float centerY) argument
1554 onMagnificationChanged(@onNull Region region, float scale, float centerX, float centerY) argument
[all...]
H A DIAccessibilityServiceClient.aidl44 void onMagnificationChanged(in Region region, float scale, float centerX, float centerY);
H A DIAccessibilityServiceConnection.aidl82 boolean setMagnificationScaleAndCenter(float scale, float centerX, float centerY,
/frameworks/base/core/java/android/app/
H A DActivityManager.java1747 float scale;
1750 scale = (float) size.x / (float) th;
1751 dx = (size.y - tw * scale) * 0.5f;
1753 scale = (float) size.y / (float) tw;
1754 dy = (size.x - th * scale) * 0.5f;
1757 matrix.setScale(scale, scale);

Completed in 4633 milliseconds

1234567891011