Home
last modified time | relevance | path

Searched refs:level (Results 1 – 25 of 522) sorted by relevance

12345678910>>...21

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dvlc_encode_inline.h25 Int idx, run, level, j; in zero_run_search() local
48 level = dataBlock[j]; in zero_run_search()
51 if (level < 0) in zero_run_search()
53 RLB->level[idx] = -level; in zero_run_search()
61 RLB->level[idx] = level; in zero_run_search()
85 level = dataBlock[j]; in zero_run_search()
88 if (level < 0) in zero_run_search()
90 RLB->level[idx] = -level; in zero_run_search()
98 RLB->level[idx] = level; in zero_run_search()
116 Int idx, run, level, j; in zero_run_search() local
[all …]
Dvlc_encode.cpp142 Int PutCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream);
143 Int PutCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream);
144 Int PutCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream);
145 Int PutCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream);
154 Int PutCoeff_Inter_RVLC(Int run, Int level, BitstreamEncVideo *bitstream);
155 Int PutCoeff_Inter_RVLC_Last(Int run, Int level, BitstreamEncVideo *bitstream);
156 Int PutCoeff_Intra_RVLC(Int run, Int level, BitstreamEncVideo *bitstream);
157 Int PutCoeff_Intra_RVLC_Last(Int run, Int level, BitstreamEncVideo *bitstream);
159 Int PutRunCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream);
160 Int PutRunCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream);
[all …]
Dvlc_encode.h24 Int PutCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
25 Int PutCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
33 Int PutCoeff_Inter_RVLC(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
34 Int PutCoeff_Intra_RVLC(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
35 Int PutRunCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
36 Int PutRunCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
37 Int PutLevelCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
38 Int PutLevelCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dvlc_decode.cpp874 pTcoef->level = (int) tab->level; //tab->val & 255; in VlcDecTCOEFIntra()
879 if (tab->level != 0xFF) in VlcDecTCOEFIntra()
921 pTcoef->level = (int)tab->level; //tab->val & 255; in VlcDecTCOEFIntra()
930 pTcoef->level = pTcoef->level + intra_max_level[pTcoef->last][pTcoef->run]; in VlcDecTCOEFIntra()
973 pTcoef->level = (int)tab->level; //tab->val & 255; in VlcDecTCOEFIntra()
981 if (pTcoef->level > 8) in VlcDecTCOEFIntra()
985 pTcoef->run = pTcoef->run + intra_max_run1[pTcoef->level] + 1; in VlcDecTCOEFIntra()
989 if (pTcoef->level > 27) in VlcDecTCOEFIntra()
993 pTcoef->run = pTcoef->run + intra_max_run0[pTcoef->level] + 1; in VlcDecTCOEFIntra()
1004 pTcoef->level = (int)(BitstreamReadBits16_INLINE(stream, 13) >> 1); in VlcDecTCOEFIntra()
[all …]
/frameworks/base/telephony/java/android/telephony/
DCellSignalStrengthGsm.java108 int level; in getLevel() local
115 if (asu <= 2 || asu == 99) level = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getLevel()
116 else if (asu >= GSM_SIGNAL_STRENGTH_GREAT) level = SIGNAL_STRENGTH_GREAT; in getLevel()
117 else if (asu >= GSM_SIGNAL_STRENGTH_GOOD) level = SIGNAL_STRENGTH_GOOD; in getLevel()
118 else if (asu >= GSM_SIGNAL_STRENGTH_MODERATE) level = SIGNAL_STRENGTH_MODERATE; in getLevel()
119 else level = SIGNAL_STRENGTH_POOR; in getLevel()
120 if (DBG) log("getLevel=" + level); in getLevel()
121 return level; in getLevel()
131 int level = mSignalStrength; in getDbm() local
132 int asu = (level == 99 ? Integer.MAX_VALUE : level); in getDbm()
[all …]
DCellSignalStrengthWcdma.java108 int level; in getLevel() local
115 if (asu <= 2 || asu == 99) level = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getLevel()
116 else if (asu >= WCDMA_SIGNAL_STRENGTH_GREAT) level = SIGNAL_STRENGTH_GREAT; in getLevel()
117 else if (asu >= WCDMA_SIGNAL_STRENGTH_GOOD) level = SIGNAL_STRENGTH_GOOD; in getLevel()
118 else if (asu >= WCDMA_SIGNAL_STRENGTH_MODERATE) level = SIGNAL_STRENGTH_MODERATE; in getLevel()
119 else level = SIGNAL_STRENGTH_POOR; in getLevel()
120 if (DBG) log("getLevel=" + level); in getLevel()
121 return level; in getLevel()
131 int level = mSignalStrength; in getDbm() local
132 int asu = (level == 99 ? Integer.MAX_VALUE : level); in getDbm()
[all …]
DSignalStrength.java471 int level; in getLevel() local
474 level = getLteLevel(); in getLevel()
475 if (level == SIGNAL_STRENGTH_NONE_OR_UNKNOWN) { in getLevel()
476 level = getGsmLevel(); in getLevel()
483 level = cdmaLevel; in getLevel()
486 level = evdoLevel; in getLevel()
489 level = cdmaLevel < evdoLevel ? cdmaLevel : evdoLevel; in getLevel()
492 if (DBG) log("getLevel=" + level); in getLevel()
493 return level; in getLevel()
577 int level;
[all …]
DCellSignalStrengthCdma.java120 int level; in getLevel() local
126 level = getCdmaLevel(); in getLevel()
129 level = getEvdoLevel(); in getLevel()
132 level = cdmaLevel < evdoLevel ? cdmaLevel : evdoLevel; in getLevel()
134 if (DBG) log("getLevel=" + level); in getLevel()
135 return level; in getLevel()
164 int level = (cdmaAsuLevel < ecioAsuLevel) ? cdmaAsuLevel : ecioAsuLevel; local
165 if (DBG) log("getAsuLevel=" + level);
166 return level;
191 int level = (levelDbm < levelEcio) ? levelDbm : levelEcio; in getCdmaLevel() local
[all …]
/frameworks/base/core/java/android/text/
DAndroidBidi.java72 int level = levels[i]; in directions() local
73 if (level != curLevel) { in directions()
74 curLevel = level; in directions()
120 int level = levels[i]; in directions() local
121 if (level != curLevel) { in directions()
122 curLevel = level; in directions()
123 if (level > maxLevel) { in directions()
124 maxLevel = level; in directions()
125 } else if (level < minLevel) { in directions()
126 minLevel = level; in directions()
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLUtils.java106 public static void texImage2D(int target, int level, int internalformat, in texImage2D() argument
114 if (native_texImage2D(target, level, internalformat, bitmap, -1, border)!=0) { in texImage2D()
132 public static void texImage2D(int target, int level, int internalformat, in texImage2D() argument
140 if (native_texImage2D(target, level, internalformat, bitmap, type, border)!=0) { in texImage2D()
154 public static void texImage2D(int target, int level, Bitmap bitmap, in texImage2D() argument
162 if (native_texImage2D(target, level, -1, bitmap, -1, border)!=0) { in texImage2D()
189 public static void texSubImage2D(int target, int level, int xoffset, int yoffset, in texSubImage2D() argument
198 if (native_texSubImage2D(target, level, xoffset, yoffset, bitmap, -1, type)!=0) { in texSubImage2D()
214 public static void texSubImage2D(int target, int level, int xoffset, int yoffset, in texSubImage2D() argument
222 if (native_texSubImage2D(target, level, xoffset, yoffset, bitmap, format, type)!=0) { in texSubImage2D()
[all …]
/frameworks/base/libs/hwui/
DDisplayList.cpp282 void DisplayList::output(uint32_t level) { in output() argument
283 ALOGD("%*sStart display list (%p, %s, render=%d)", (level - 1) * 2, "", this, in output()
285 ALOGD("%*s%s %d", level * 2, "", "Save", in output()
288 outputViewProperties(level); in output()
291 mDisplayListData->displayListOps[i]->output(level, flags); in output()
294 ALOGD("%*sDone (%p, %s)", (level - 1) * 2, "", this, mName.string()); in output()
350 void DisplayList::outputViewProperties(const int level) { in outputViewProperties() argument
353 ALOGD("%*sTranslate (left, top) %d, %d", level * 2, "", mLeft, mTop); in outputViewProperties()
357 level * 2, "", mStaticMatrix, MATRIX_ARGS(mStaticMatrix)); in outputViewProperties()
361 level * 2, "", mAnimationMatrix, MATRIX_ARGS(mAnimationMatrix)); in outputViewProperties()
[all …]
/frameworks/av/media/libstagefright/wifi-display/
DVideoFormats.cpp166 mConfigs[i][j].profile = mConfigs[i][j].level = 0; in disableAll()
176 mConfigs[i][j].level = (1ul << LEVEL_31); in enableAll()
183 ProfileType profile, LevelType level) { in enableResolutionUpto() argument
198 setProfileLevel((ResolutionType)i, j, profile, level); in enableResolutionUpto()
212 mConfigs[type][index].level = (1ul << LEVEL_31); in setResolutionEnabled()
216 mConfigs[type][index].level = 0; in setResolutionEnabled()
222 ProfileType profile, LevelType level) { in setProfileLevel() argument
227 mConfigs[type][index].level = (1ul << level); in setProfileLevel()
232 ProfileType *profile, LevelType *level) const{ in getProfileLevel()
245 if (mConfigs[type][index].level & (1ul << i)) { in getProfileLevel()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dwb_vad.c150 Word16 level; in level_calculation() local
165 level = extract_h(L_shl2(l_temp2, scale)); in level_calculation()
167 return level; in level_calculation()
181 Word16 level[] /* o : signal levels at each band */ in filter_bank() argument
225 level[11] = level_calculation(tmp_buf, &st->sub_level[11], 16, 64, 4, 1, 14); in filter_bank()
227 level[10] = level_calculation(tmp_buf, &st->sub_level[10], 8, 32, 8, 7, 15); in filter_bank()
229 level[9] = level_calculation(tmp_buf, &st->sub_level[9],8, 32, 8, 3, 15); in filter_bank()
231 level[8] = level_calculation(tmp_buf, &st->sub_level[8],8, 32, 8, 2, 15); in filter_bank()
233 level[7] = level_calculation(tmp_buf, &st->sub_level[7],4, 16, 16, 14, 16); in filter_bank()
235 level[6] = level_calculation(tmp_buf, &st->sub_level[6],4, 16, 16, 6, 16); in filter_bank()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DScanResult.java46 public int level; field in ScanResult
79 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() argument
85 this.level = level; in ScanResult()
93 public ScanResult(WifiSsid wifiSsid, String BSSID, String caps, int level, int frequency, in ScanResult() argument
99 this.level = level; in ScanResult()
113 level = source.level; in ScanResult()
133 append(level). in toString()
162 dest.writeInt(level); in writeToParcel()
/frameworks/av/libvideoeditor/osal/inc/
DM4OSA_Debug.h61 M4OSA_UInt32 level,
67 #define M4OSA_DEBUG_IFx(cond, errorCode, msg, level)\ argument
70 M4OSA_DEBUG_traceFunction(__LINE__, (M4OSA_Char*)__FILE__, level,\
122 M4OSA_UInt32 level,
128 #define M4OSA_TRACEx_0(msg, level)\ argument
130 (M4OSA_CoreID)M4TRACE_ID, level, (M4OSA_Char*)msg);
133 #define M4OSA_TRACEx_1(msg, param1, level)\ argument
135 (M4OSA_CoreID)M4TRACE_ID, level, (M4OSA_Char*)msg, param1);
138 #define M4OSA_TRACEx_2(msg, param1, param2, level)\ argument
140 (M4OSA_CoreID)M4TRACE_ID, level,\
[all …]
/frameworks/base/core/java/android/content/pm/
DPermissionInfo.java126 public static int fixProtectionLevel(int level) { in fixProtectionLevel() argument
127 if (level == PROTECTION_SIGNATURE_OR_SYSTEM) { in fixProtectionLevel()
128 level = PROTECTION_SIGNATURE | PROTECTION_FLAG_SYSTEM; in fixProtectionLevel()
130 return level; in fixProtectionLevel()
134 public static String protectionToString(int level) { in protectionToString() argument
136 switch (level&PROTECTION_MASK_BASE) { in protectionToString()
150 if ((level&PermissionInfo.PROTECTION_FLAG_SYSTEM) != 0) { in protectionToString()
153 if ((level&PermissionInfo.PROTECTION_FLAG_DEVELOPMENT) != 0) { in protectionToString()
/frameworks/base/core/tests/coretests/src/android/os/
DTraceTest.java157 private int dMethod(int level) { in dMethod() argument
159 if (level > 0) { in dMethod()
160 count = dMethod(level - 1); in dMethod()
165 if (level == 0) { in dMethod()
168 return dMethod(level - 1); in dMethod()
187 public int gMethod(int level) { in gMethod() argument
189 int count = level; in gMethod()
190 if (level > 1) in gMethod()
191 count += gMethod(level - 1); in gMethod()
/frameworks/base/core/java/com/android/internal/logging/
DAndroidHandler.java126 int level = getAndroidLevel(record.getLevel()); in publish() local
128 if (!Log.isLoggable(tag, level)) { in publish()
134 Log.println(level, tag, message); in publish()
140 public void publish(Logger source, String tag, Level level, String message) { in publish() argument
142 int priority = getAndroidLevel(level); in publish()
161 static int getAndroidLevel(Level level) { in getAndroidLevel() argument
162 int value = level.intValue(); in getAndroidLevel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java75 int level = UNKNOWN_LEVEL; field in BatteryMeterView.BatteryTracker
92 level = (int)(100f in onReceive()
107 context.getString(R.string.accessibility_battery_level, level)); in onReceive()
114 int saveLevel = level; in onReceive()
264 final int level = tracker.level; in draw() local
266 if (level == BatteryTracker.UNKNOWN_LEVEL) return; in draw()
268 float drawFrac = (float) level / 100f; in draw()
301 final int color = tracker.plugged ? mChargeColor : getColorForLevel(level); in draw()
304 if (level >= FULL) { in draw()
306 } else if (level <= EMPTY) { in draw()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java158 public Bitmap getTile(int level, int x, int y, Bitmap reuse); in getTile() argument
311 int level = tile.mTileLevel; in layoutTiles() local
312 if (level < fromLevel || level >= endLevel in layoutTiles()
313 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles()
349 private void getRange(Rect out, int cX, int cY, int level, int rotation) { in getRange() argument
350 getRange(out, cX, cY, level, 1f / (1 << (level + 1)), rotation); in getRange()
360 int cX, int cY, int level, float scale, int rotation) { in getRange() argument
379 int size = mTileSize << level; in getRange()
420 int level = mLevel; in draw() local
437 if (level != mLevelCount) { in draw()
[all …]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dresidual.cpp155 int *level, *run; in enc_residual_block() local
165 level = encvid->level[cindx]; in enc_residual_block()
171 level = encvid->leveldc; in enc_residual_block()
179 level = encvid->level[cindx]; in enc_residual_block()
188 level = encvid->levelcdc + 4; in enc_residual_block()
194 level = encvid->levelcdc; in enc_residual_block()
202 level = encvid->level[cindx]; in enc_residual_block()
222 if (nC && (level[i] == 1 || level[i] == -1)) in enc_residual_block()
269 … trailing_ones_sign_flag |= ((uint32)level[i--] >> 31); /* 0 or positive, 1 for negative */ in enc_residual_block()
295 value = level[i]; in enc_residual_block()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
DarmVCM4P2_CheckVLCEscapeMode.c59 OMX_S16 level, in armVCM4P2_CheckVLCEscapeMode() argument
69 level = armAbs (level); in armVCM4P2_CheckVLCEscapeMode()
82 if (level > entries) in armVCM4P2_CheckVLCEscapeMode()
135 if (level > entries) in armVCM4P2_CheckVLCEscapeMode()
/frameworks/base/core/java/android/text/util/
DRfc822Tokenizer.java98 int level = 1; in tokenize() local
101 while (i < cursor && level > 0) { in tokenize()
105 if (level > 1) { in tokenize()
109 level--; in tokenize()
113 level++; in tokenize()
266 int level = 1; in findTokenEnd() local
269 while (i < len && level > 0) { in findTokenEnd()
273 level--; in findTokenEnd()
276 level++; in findTokenEnd()
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dvad1.cpp521 Word16 level; in level_calculation() local
538 level = extract_h(L_shl(l_temp2, scale, pOverflow)); in level_calculation()
540 return level; in level_calculation()
616 Word16 level[], /* 0 : signal levels at each band */ in filter_bank() argument
648 level[8] = level_calculation(tmp_buf, &st->sub_level[8], FRAME_LEN / 4 - 8, in filter_bank()
651 level[7] = level_calculation(tmp_buf, &st->sub_level[7], FRAME_LEN / 8 - 4, in filter_bank()
654 level[6] = level_calculation(tmp_buf, &st->sub_level[6], FRAME_LEN / 8 - 4, in filter_bank()
657 level[5] = level_calculation(tmp_buf, &st->sub_level[5], FRAME_LEN / 8 - 4, in filter_bank()
660 level[4] = level_calculation(tmp_buf, &st->sub_level[4], FRAME_LEN / 8 - 4, in filter_bank()
663 level[3] = level_calculation(tmp_buf, &st->sub_level[3], FRAME_LEN / 16 - 2, in filter_bank()
[all …]
/frameworks/av/libvideoeditor/osal/src/
DM4PSW_DebugTrace.c54 M4OSA_Int32 level, in M4OSA_DebugTrace() argument
62 for (i =0 ; i < level; i ++) in M4OSA_DebugTrace()
77 M4OSA_UInt32 level, in M4OSA_DEBUG_traceFunction() argument
82 M4OSA_DebugTrace(line, fileName, level, stringCondition, message, returnedError); in M4OSA_DEBUG_traceFunction()

12345678910>>...21