/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_decode_huff_cw.cpp | 152 uint32 tmp; local 155 tmp = getUpTo9bits(pMainData, 3); /* hufftable1 */ 157 cw = *(huffTable_1 + tmp); 169 uint32 tmp; local 172 tmp = getUpTo9bits(pMainData, 6); /* huffTable_2,3 */ 174 if (tmp >> 3) 176 tmp = (tmp >> 3) - 1; 180 tmp = tmp 195 uint32 tmp; local 221 uint32 tmp; local 250 uint32 tmp; local 279 uint32 tmp; local 312 uint32 tmp; local 345 uint32 tmp; local 378 uint32 tmp; local 423 uint32 tmp; local 463 uint32 tmp; local 504 uint32 tmp; local 569 uint32 tmp; local 614 uint32 tmp; local 682 uint32 tmp; local 734 uint32 tmp = getUpTo9bits(pMainData, 6); /* huffTable_32 */ local 754 uint16 tmp = getUpTo9bits(pMainData, 4); /* huffTable_33 */ local [all...] |
H A D | pvmp3_mdct_6.cpp | 125 int32 tmp; local 135 tmp = *(pt_vec++); 138 *(pt_vec_o++) = fxp_mul32_Q29(tmp, *(pt_cos++)); 147 tmp = -(vec[0] + vec[1]); 148 history[3] = tmp; 149 history[2] = tmp; 150 tmp = -(vec[1] + vec[2]); 153 history[4] = tmp; 154 history[1] = tmp; 155 tmp [all...] |
H A D | pvmp3_dequantize_sample.cpp | 296 int32 tmp = fxp_mul32_Q30((is[ss] << 16), power_1_third(pv_abs(is[ ss]))); local 298 tmp = fxp_mul32_Q30(tmp, two_raise_one_fourth); 305 is[ss] = (tmp >> temp); 314 is[ss] = (tmp << global_gain); 352 int32 tmp = is[ss]; local 353 if (tmp) 355 tmp = fxp_mul32_Q30((tmp << 16), power_1_third(pv_abs(tmp))); 377 int32 tmp = is[ss]; local 402 int32 tmp = is[ss]; local 428 int32 tmp = is[ss]; local [all...] |
H A D | pvmp3_get_side_info.cpp | 120 uint32 tmp; local 128 tmp = getbits_crc(inputStream, 14, crc, info->error_protection); 129 si->main_data_begin = (tmp << 18) >> 23; /* 9 */ 130 si->private_bits = (tmp << 23) >> 27; /* 5 */ 134 tmp = getbits_crc(inputStream, 12, crc, info->error_protection); 135 si->main_data_begin = (tmp << 20) >> 23; /* 9 */ 136 si->private_bits = (tmp << 23) >> 29; /* 3 */ 142 tmp = getbits_crc(inputStream, 4, crc, info->error_protection); 143 si->ch[ch].scfsi[0] = (tmp << 28) >> 31; /* 1 */ 144 si->ch[ch].scfsi[1] = (tmp << 2 [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | sad_halfpel_inline.h | 34 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument 36 tmp = (tmp2 >> 1) - tmp; 37 if (tmp > 0) sad += tmp; 38 else sad -= tmp; 43 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument 45 tmp = (tmp >> 2) - tmp2; 46 if (tmp > 54 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument 58 rsbs tmp, tmp, tmp2, asr #1 ; local 59 rsbmi tmp, tmp, #0 ; local 60 add sad, sad, tmp ; local 66 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument 70 rsbs tmp, tmp2, tmp, asr #2 ; local 71 rsbmi tmp, tmp, #0 ; local 72 add sad, sad, tmp ; local 81 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument 101 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument [all...] |
H A D | sad.cpp | 113 Int saddata[16], tmp, tmp2; /* used when collecting flag (global) is on */ local 127 tmp = p1[12]; 129 sad = SUB_SAD(sad, tmp, tmp2); 130 tmp = p1[8]; 132 sad = SUB_SAD(sad, tmp, tmp2); 133 tmp = p1[4]; 135 sad = SUB_SAD(sad, tmp, tmp2); 136 tmp = p1[0]; 139 sad = SUB_SAD(sad, tmp, tmp2); 142 tmp 214 Int tmp, tmp2; local 321 Int tmp, tmp2, tmp3, mask = 0xFF; local [all...] |
H A D | me_utils.cpp | 38 Int MB_mean, A, tmp, Th; local 76 tmp = *p - MB_mean; 78 if (tmp > 0) A += tmp; 79 else A -= tmp; 318 Int tmp, tmp2, mask = 0x00FF00FF; local 325 tmp = cInt[3]; /* load 4 pixels at a time */ 326 tmp2 = tmp & mask; 327 tmp = (tmp >> [all...] |
H A D | sad_halfpel.cpp | 343 Int difmad, tmp, tmp2; local 363 tmp = p1[12] + p2[12]; 365 tmp += tmp2; 367 tmp += 2; 368 sad = INTERP2_SUB_SAD(sad, tmp, tmp2);; 369 tmp = p1[8] + p2[8]; 371 tmp += tmp2; 373 tmp += 2; 374 sad = INTERP2_SUB_SAD(sad, tmp, tmp2);; 375 tmp 422 Int difmad, tmp, tmp2; local 500 Int difmad, tmp, tmp2; local 572 Int sad = 0, tmp, tmp2; local 640 Int sad = 0, tmp, tmp2; local 706 Int sad = 0, tmp, tmp2; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | median5.cpp | 121 int16 tmp; local 133 tmp = x1; 135 x2 = tmp; 139 tmp = x1; 141 x3 = tmp; 145 tmp = x1; 147 x4 = tmp; 155 tmp = x2; 157 x3 = tmp; 161 tmp [all...] |
H A D | voice_factor.cpp | 127 int16 i, tmp, exp, ener1, exp1, ener2, exp2; local 135 tmp = (int16)((L_tmp << exp) >> 16); 136 ener1 = mult_int16(ener1, tmp); 142 tmp = shl_int16(gain_code, exp); 143 tmp = mult_int16(tmp, tmp); 144 ener2 = mult_int16(ener2, tmp); 161 tmp = ener1 - ener2; 165 if (tmp > [all...] |
H A D | dec_alg_codebook.cpp | 147 int16 pos1, pos2, tmp; local 156 tmp = shl_int16(N, 1); 157 i = (index >> tmp) & 1L; /* i = (index >> (2*N)) & 1; */ 194 int16 j, tmp; local 200 tmp = sub_int16(shl_int16(N, 1), 1); /* mask = ((1<<((2*N)-1))-1); */ 206 tmp = (N << 1) - 1; 209 if (((index >> tmp) & 1L) != 0L) 216 tmp = N << 1; /* idx = (index >> (2*N)) & mask; */ 217 idx = (index >> tmp) & mask; 231 int16 j, tmp; local 267 int16 j, n_1, tmp; local 318 int16 j, n_1, tmp; local [all...] |
H A D | homing_amr_wb_dec.cpp | 250 int16 i, j, tmp, shift; local 280 tmp = nparms - 15; 281 while (tmp > j) 287 tmp = nparms - j; 288 param[i] = Serial_parm(tmp, &prms); 289 shift = 15 - tmp; 318 tmp = Serial_parm(8, &prms); 319 param[31] = shl_int16(tmp, 7); 324 tmp = i; 326 for (i = 0; i < tmp; [all...] |
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | focus_peak.rs | 32 int tmp; 34 tmp = rsGetElementAtYuv_uchar_Y(gCurrentFrame, dx, y) - curPixel.r; 35 sum += tmp * tmp; 36 tmp = rsGetElementAtYuv_uchar_U(gCurrentFrame, dx, y) - curPixel.g; 37 sum += tmp * tmp; 38 tmp = rsGetElementAtYuv_uchar_V(gCurrentFrame, dx, y) - curPixel.b; 39 sum += tmp * tmp; [all...] |
/frameworks/av/media/libmediaextractor/ |
H A D | DataSourceBase.cpp | 55 uint32_t tmp; local 56 if (readAt(offset, &tmp, 4) != 4) { 60 *x = ntohl(tmp); 68 uint64_t tmp; local 69 if (readAt(offset, &tmp, 8) != 8) { 73 *x = ntoh64(tmp); 83 uint8_t tmp; local 84 if (readAt(offset, &tmp, 1) == 1) { 85 *x = tmp; 97 uint16_t tmp; local 111 uint32_t tmp; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | voicefac.c | 37 Word16 tmp, exp, ener1, exp1, ener2, exp2; local 48 tmp = extract_h(L_tmp << exp); 49 ener1 = vo_mult(ener1, tmp); 59 tmp = gain_code << exp; 60 tmp = vo_mult(tmp, tmp); 61 ener2 = vo_mult(ener2, tmp); 76 tmp = vo_sub(ener1, ener2); 79 if (tmp > [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | ProgramFragment.java | 65 long[] tmp = new long[(mInputCount + mOutputCount + mConstantCount + mTextureCount) * 2]; 70 tmp[idx++] = ProgramParam.INPUT.mID; 71 tmp[idx++] = mInputs[i].getID(mRS); 74 tmp[idx++] = ProgramParam.OUTPUT.mID; 75 tmp[idx++] = mOutputs[i].getID(mRS); 78 tmp[idx++] = ProgramParam.CONSTANT.mID; 79 tmp[idx++] = mConstants[i].getID(mRS); 82 tmp[idx++] = ProgramParam.TEXTURE_TYPE.mID; 83 tmp[idx++] = mTextureTypes[i].mID; 87 long id = mRS.nProgramFragmentCreate(mShader, texNames, tmp); [all...] |
H A D | ProgramVertex.java | 125 long[] tmp = new long[(mInputCount + mOutputCount + mConstantCount + mTextureCount) * 2]; 130 tmp[idx++] = ProgramParam.INPUT.mID; 131 tmp[idx++] = mInputs[i].getID(mRS); 134 tmp[idx++] = ProgramParam.OUTPUT.mID; 135 tmp[idx++] = mOutputs[i].getID(mRS); 138 tmp[idx++] = ProgramParam.CONSTANT.mID; 139 tmp[idx++] = mConstants[i].getID(mRS); 142 tmp[idx++] = ProgramParam.TEXTURE_TYPE.mID; 143 tmp[idx++] = mTextureTypes[i].mID; 147 long id = mRS.nProgramVertexCreate(mShader, texNames, tmp); [all...] |
H A D | Matrix2f.java | 153 Matrix2f tmp = new Matrix2f(); 154 tmp.loadMultiply(this, rhs); 155 load(tmp); 164 Matrix2f tmp = new Matrix2f(); 165 tmp.loadRotate(rot); 166 multiply(tmp); 176 Matrix2f tmp = new Matrix2f(); 177 tmp.loadScale(x, y); 178 multiply(tmp);
|
/frameworks/rs/perf-test-scripts/ |
H A D | timing | 209 adb shell cat /sdcard/rsTimes/${TEST_NAMES[$testId]}_DATA.txt > timing.tmp 217 AVG=`cat timing.tmp | awk '{sum+=$2}END{printf "%.2f",sum/NR}'` 218 STDCOEF=`cat timing.tmp | awk '{sum+=$2;sos+=$2*$2}END{printf "%.2f",sqrt((sos-sum*sum/NR)/NR)/(sum/NR)*100}'` 221 echo "# temporary file" > plot.tmp 222 echo "set style line 1 lc rgb '#0060ad' lt 1 lw 2 pt 7 ps 1" >> plot.tmp # --- blue 223 echo "set style line 2 lc rgb '#ff0000' lt 1 lw 2" >> plot.tmp # --- green 224 echo "set title \"${TEST_NAMES[$testId]} \(avg=$AVG ms, stdcoef=$STDCOEF%\)\"" >> plot.tmp 225 echo "set xlabel \"Iteration #\"" >> plot.tmp 226 echo "set ylabel \"Elapsed Time (ms)\"" >> plot.tmp 228 echo "set yrange [0.0:*]" >> plot.tmp [all...] |
/frameworks/base/packages/SystemUI/plugin/ |
H A D | update_plugin_lib.sh | 4 rm -rf /tmp/plugin_classes/ 5 mkdir /tmp/plugin_classes 8 javac -cp $ANDROID_BUILD_TOP/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar:$ANDROID_BUILD_TOP/out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/classes.jar `find src -name *.java` -d /tmp/plugin_classes/ 9 echo "" >> /tmp/plugin_classes/manifest.txt 10 jar cvfm SystemUIPluginLib.jar /tmp/plugin_classes/manifest.txt -C /tmp/plugin_classes .
|
/frameworks/native/opengl/libs/tools/ |
H A D | genfiles | 26 ./glentrygen ../../include/GLES/gl.h > /tmp/gl_entries.in 27 ./glentrygen ../../include/GLES/glext.h > /tmp/glext_entries.in 28 ./glentrygen ../../include/GLES3/gl3.h > /tmp/gl2_entries.in 29 ./glentrygen ../../include/GLES2/gl2ext.h > /tmp/gl2ext_entries.in 35 cat /tmp/gl_entries.in \ 36 /tmp/glext_entries.in \ 37 /tmp/gl2_entries.in \ 38 /tmp/gl2ext_entries.in \
|
/frameworks/rs/ |
H A D | rsMatrix4x4.h | 65 Matrix4x4 tmp; local 66 tmp.loadRotate(rot, x, y, z); 67 multiply(&tmp); 70 Matrix4x4 tmp; local 71 tmp.loadScale(x, y, z); 72 multiply(&tmp); 75 Matrix4x4 tmp; local 76 tmp.loadTranslate(x, y, z); 77 multiply(&tmp);
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactoryState.c | 75 int tmp[10]; local 78 tmp, tmp+1, tmp+2, tmp+3, tmp+4, tmp+5, tmp+6, tmp+7, tmp [all...] |
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/types/ |
H A D | CompositeTypeConverter.kt | 31 val tmp = scope.getTmpVar() 32 addStatement("final $T $L", conv1.to.typeName(), tmp) 33 conv1.convert(inputVarName, tmp, scope) 34 conv2.convert(tmp, outputVarName, scope)
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | hexdump.cpp | 51 char tmp[32]; local 52 snprintf(tmp, sizeof(tmp), "%08lx: ", (unsigned long)offset); 54 line.append(tmp); 63 snprintf(tmp, sizeof(tmp), "%02x ", data[offset + i]); 64 line.append(tmp);
|