/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vlc_encode_inline.h | 25 Int idx, run, level, j; local 48 level = dataBlock[j]; 51 if (level < 0) 53 RLB->level[idx] = -level; 61 RLB->level[idx] = level; 85 level = dataBlock[j]; 88 if (level < 0) 90 RLB->level[id 116 Int idx, run, level, j; local 139 ldrsh level, [dataBlock, run] /* load data */ local 181 ldrsh level, [dataBlock, run] /* load data */ local 230 Int idx, run, level = 0, j; local [all...] |
H A D | vlc_encode.cpp | 142 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, BitstreamEncVide 291 PutCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream) argument 311 PutCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument 333 PutCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream) argument 365 PutCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument 393 PutCoeff_Inter_RVLC(Int run, Int level, BitstreamEncVideo *bitstream) argument 449 PutCoeff_Inter_RVLC_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument 483 PutCoeff_Intra_RVLC(Int run, Int level, BitstreamEncVideo *bitstream) argument 545 PutCoeff_Intra_RVLC_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument 580 PutRunCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream) argument 609 PutRunCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument 638 PutRunCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream) argument 688 PutRunCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument 729 PutLevelCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream) argument 756 PutLevelCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument 783 PutLevelCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream) argument 829 PutLevelCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument 1436 Int level; local 1509 Int level; local 1578 Int level; local 1792 Int level; local [all...] |
H A D | vlc_encode.h | 24 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/base/opengl/java/android/opengl/ |
H A D | GLUtils.java | 93 * @param level 98 public static void texImage2D(int target, int level, int internalformat, argument 103 if (native_texImage2D(target, level, internalformat, bitmap, -1, border)!=0) { 115 * @param level 121 public static void texImage2D(int target, int level, int internalformat, argument 126 if (native_texImage2D(target, level, internalformat, bitmap, type, border)!=0) { 136 * @param level 140 public static void texImage2D(int target, int level, Bitmap bitmap, argument 145 if (native_texImage2D(target, level, -1, bitmap, -1, border)!=0) { 167 * @param level 172 texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap) argument 194 texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap, int format, int type) argument 208 native_texImage2D(int target, int level, int internalformat, Bitmap bitmap, int type, int border) argument 210 native_texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap, int format, int type) argument [all...] |
H A D | ETC1Util.java | 35 * @param level the texture level 45 public static void loadTexture(int target, int level, int border, argument 48 loadTexture(target, level, border, fallbackFormat, fallbackType, createTexture(input)); 55 * @param level the texture level 64 public static void loadTexture(int target, int level, int border, argument 79 GLES10.glCompressedTexImage2D(target, level, ETC1.ETC1_RGB8_OES, width, height, 88 GLES10.glTexImage2D(target, level, fallbackFormat, width, height, border,
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | ScanResult.java | 39 * The detected signal level in dBm. At least those are the units used by 42 public int level; field in class:ScanResult 56 public ScanResult(String SSID, String BSSID, String caps, int level, int frequency) { argument 60 this.level = level; 76 append(", level: "). 77 append(level). 94 dest.writeInt(level);
|
/frameworks/base/core/java/com/android/internal/logging/ |
H A D | AndroidHandler.java | 39 * <th>logger level</th> 40 * <th>Android level</th> 125 int level = getAndroidLevel(record.getLevel()); 127 if (!Log.isLoggable(tag, level)) { 133 Log.println(level, tag, message); 139 public void publish(Logger source, String tag, Level level, String message) { argument 141 int priority = getAndroidLevel(level); 154 * Converts a {@link java.util.logging.Logger} logging level into an Android one. 156 * @param level The {@link java.util.logging.Logger} logging level 160 getAndroidLevel(Level level) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | TraceTest.java | 157 private int dMethod(int level) { argument 159 if (level > 0) { 160 count = dMethod(level - 1); 165 if (level == 0) { 168 return dMethod(level - 1); 187 public int gMethod(int level) { argument 189 int count = level; 190 if (level > 1) 191 count += gMethod(level - 1);
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | vlc_decode.cpp | 874 pTcoef->level = (int) tab->level; //tab->val & 255; 879 if (tab->level != 0xFF) 884 //if (((tab->run<<8)|(tab->level)|(tab->last<<16)) == VLC_ESCAPE_CODE) 888 /* first escape mode. level is offset */ 921 pTcoef->level = (int)tab->level; //tab->val & 255; 925 /* need to add back the max level */ 930 pTcoef->level = pTcoef->level [all...] |
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
H A D | wb_vad.c | 128 * Purpose : Calculate signal level in a sub-band. Level is calculated
131 * Signal level calculated from of the end of the frame
133 * and added to the level of the next frame.
137 static Word16 level_calculation( /* return: signal level */
139 Word16 * sub_level, /* i : level calculated at the end of the previous frame*/
140 /* o : level of signal calculated from the last */
146 Word16 scale /* i : scaling for the level calculation */
150 Word16 level;
local 165 level = extract_h(L_shl2(l_temp2, scale));
167 return level;
459 vad_decision( VadVars * st, Word16 level[COMPLEN], Word32 pow_sum ) argument 764 Word16 level[COMPLEN]; local [all...] |
/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
H A D | residual.cpp | 155 int *level, *run; local 165 level = encvid->level[cindx]; 171 level = encvid->leveldc; 179 level = encvid->level[cindx]; 188 level = encvid->levelcdc + 4; 194 level = encvid->levelcdc; 202 level = encvid->level[cind [all...] |
H A D | block.cpp | 86 int *level, *run; local 142 level = encvid->level[ras2dec[blkidx]]; 174 level[numcoeff] = lev; 179 level[numcoeff] = -lev; 371 int *level, *run, zero_run, ncoeff; local 452 level = encvid->leveldc; 480 level[ncoeff] = lev; 485 level[ncoeff] = -lev; 564 level 734 int *level, *run, zero_run, ncoeff; local 1118 int *level = encvid->leveldc; local 1210 int *level, *run; local [all...] |
/frameworks/base/media/libstagefright/codecs/avc/dec/src/ |
H A D | residual.cpp | 176 int level[16], run[16], numcoeff; /* output from residual_block_cavlc */ local 199 decvid->residual_block(decvid, nC, 16, level, run, &numcoeff); 212 block[idx] = level[i]; 240 decvid->residual_block(decvid, nC, maxNumCoeff, level, run, &numcoeff); 245 block[idx] should be assigned with level[k]. 260 block[idx] = (level[k] * dequant_coefres[Rq][coeffNum]) << Qq ; 279 decvid->residual_block(decvid, -1, 4, level, run, &numcoeff); 289 block[(coeffNum>>1)*64 + (coeffNum&1)*4] = level[i]; 314 decvid->residual_block(decvid, nC, 15, level, run, &numcoeff); 329 block[idx] = (level[ 352 residual_block_cavlc(AVCDecObject *decvid, int nC, int maxNumCoeff, int *level, int *run, int *numcoeff) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LevelListDrawable.java | 30 * Setting the level value of the object with {@link #setLevel(int)} will load the image with the next 33 * a LevelListDrawable would be a battery level indicator icon, with different images to indicate the current 34 * battery level. 36 * It can be defined in an XML file with the <code><level-list></code> element. 37 * Each Drawable level is defined in a nested <code><item></code>. For example: 40 * <level-list xmlns:android="http://schemas.android.com/apk/res/android"> 45 * </level-list> 77 protected boolean onLevelChange(int level) { argument 78 int idx = mLevelListState.indexOfLevel(level); 82 return super.onLevelChange(level); 178 indexOfLevel(int level) argument [all...] |
H A D | ClipDrawable.java | 32 * level value. You can control how much the child Drawable gets clipped in width 33 * and height based on the level, as well as a gravity to control where it is 35 * progress bars, by increasing the drawable's level with {@link 38 * the level is 0 and fully revealed when the level is 10,000.</p> 178 protected boolean onLevelChange(int level) { argument 179 mClipState.mDrawable.setLevel(level); 198 int level = getLevel(); 202 w -= (w - iw) * (10000 - level) / 10000; 207 h -= (h - ih) * (10000 - level) / 1000 [all...] |
H A D | ScaleDrawable.java | 32 * level value. You can control how much the child Drawable changes in width 33 * and height based on the level, as well as a gravity to control where it is 199 protected boolean onLevelChange(int level) { argument 200 mScaleState.mDrawable.setLevel(level); 209 int level = getLevel(); 213 w -= (int) ((w - iw) * (10000 - level) * mScaleState.mScaleWidth / 10000); 218 h -= (int) ((h - ih) * (10000 - level) * mScaleState.mScaleHeight / 10000);
|
/frameworks/base/core/java/android/text/util/ |
H A D | Rfc822Tokenizer.java | 98 int level = 1; 101 while (i < cursor && level > 0) { 105 if (level > 1) { 109 level--; 113 level++; 266 int level = 1; 269 while (i < len && level > 0) { 273 level--; 276 level++;
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | PowerProfile.java | 233 * Returns the average current in mA consumed by the subsystem for the given level. 235 * @param level the level of power at which the subsystem is running. For instance, the 237 * If there is no data for multiple levels, the level is ignored. 240 public double getAveragePower(String type, int level) { argument 245 if (values.length > level && level >= 0) { 246 return values[level]; 247 } else if (level < 0) {
|
/frameworks/base/location/java/android/location/ |
H A D | Criteria.java | 246 * Indicates the desired maximum power level. The level parameter 250 public void setPowerRequirement(int level) { argument 251 if (level < NO_REQUIREMENT || level > POWER_HIGH) { 252 throw new IllegalArgumentException("level=" + level); 254 mPowerRequirement = level;
|
/frameworks/base/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 849 // Convert level from OpenSL ES format to LVM format 852 // level level to be applied 856 int16_t ReverbConvertLevel(int16_t level){ argument 875 if(level <= LevelArray[i]) 885 // Convert level from OpenSL ES format to LVM format 888 // level level to be applied 931 // Apply the HF level to the Reverb. Must first be converted to LVM format 935 // level leve 939 ReverbSetRoomHfLevel(ReverbContext *pContext, int16_t level) argument 974 int16_t level; local 1012 ReverbSetReverbLevel(ReverbContext *pContext, int16_t level) argument 1057 int16_t level; local 1103 ReverbSetRoomLevel(ReverbContext *pContext, int16_t level) argument 1142 int16_t level; local 1329 ReverbSetDiffusion(ReverbContext *pContext, int16_t level) argument 1399 ReverbSetDensity(ReverbContext *pContext, int16_t level) argument 1735 int16_t level; local [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
H A D | vad1.cpp | 439 sub_level -- pointer to type Word16 -- level calculated at the end of 446 scale -- Word16 -- scaling for the level calculation 449 sub_level -- pointer to tyep Word16 -- level of signal calculated from the 454 signal level 465 Purpose : Calculate signal level in a sub-band. Level is calculated 507 Word16 *sub_level, /* i : level calculate at the end of */ 509 /* o : level of signal calculated from the last */ 515 Word16 scale, /* i : scaling for the level calculation */ 521 Word16 level; local 538 level 613 filter_bank( vadState1 *st, Word16 in[], Word16 level[], Flag *pOverflow ) argument 750 update_cntrl( vadState1 *st, Word16 level[], Flag *pOverflow ) argument 1103 noise_estimate_update( vadState1 *st, Word16 level[], Flag *pOverflow ) argument 1478 vad_decision( vadState1 *st, Word16 level[COMPLEN], Word32 pow_sum, Flag *pOverflow ) argument 2294 Word16 level[COMPLEN]; local [all...] |
/frameworks/base/include/utils/ |
H A D | CallStack.h | 65 String8 toStringSingleLevel(const char* prefix, int32_t level) const;
|
/frameworks/base/core/jni/ |
H A D | android_net_LocalSocketImpl.cpp | 225 java_opt_to_real(int optID, int* opt, int* level) argument 231 *level = SOL_SOCKET; 235 *level = SOL_SOCKET; 239 *level = SOL_SOCKET; 243 *level = SOL_SOCKET; 247 *level = IPPROTO_TCP; 251 *level = SOL_SOCKET; 262 int opt, level; local 267 if (!java_opt_to_real(optID, &opt, &level)) { 284 ret = getsockopt(fd, level, op 311 int level; local [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | AndroidHttpClient.java | 319 * Logging tag and level. 324 private final int level; field in class:AndroidHttpClient.LoggingConfiguration 326 private LoggingConfiguration(String tag, int level) { argument 328 this.level = level; 335 return Log.isLoggable(tag, level); 342 Log.println(level, tag, message); 353 * @param level at which to log messages (see {@link android.util.Log}) 355 public void enableCurlLogging(String name, int level) { argument 359 if (level < Lo [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
H A D | MediaEnvReverbTest.java | 123 //Test case 1.0: test room level and room HF level 131 short level = mReverb.getRoomLevel(); 132 assertTrue(msg +": got incorrect room level", 133 (level > (0 - MILLIBEL_TOLERANCE)) && 134 (level < (0 + MILLIBEL_TOLERANCE))); 137 level = mReverb.getRoomHFLevel(); 138 assertTrue(msg +": got incorrect room HF level", 139 (level > (-6 - MILLIBEL_TOLERANCE)) && 140 (level < ( [all...] |