Searched refs:tmp (Results 76 - 100 of 279) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastquant_inline.h62 __inline int32 coeff_dequant(int32 q_value, int32 QPx2, int32 Addition, int32 tmp) argument
66 OSCL_UNUSED_ARG(tmp);
108 __inline int32 clip_2047(int32 q_value, int32 tmp) argument
110 OSCL_UNUSED_ARG(tmp);
124 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) argument
128 OSCL_UNUSED_ARG(tmp);
149 __inline int32 coeff_dequant_mpeg_intra(int32 q_value, int32 tmp) argument
151 OSCL_UNUSED_ARG(tmp);
194 mov coeff, q_value, asr shift /*smull tmp, coeff, q_scale, coeff*/
202 __inline int32 coeff_dequant(int32 q_value, int32 QPx2, int32 Addition, int32 tmp) argument
215 eorhi coeff, tmp, coeff, asr #31 local
243 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) argument
259 eorhi q_value, tmp, q_value, asr #31 local
298 coeff_dequant(int32 q_value, int32 QPx2, int32 Addition, int32 tmp) argument
311 eorhi coeff, tmp, coeff, asr #31 local
340 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) argument
356 eorhi q_value, tmp, q_value, asr #31 local
392 clip_2047(int32 q_value, int32 tmp) argument
402 eorhi q_value, tmp, q_value, asr #31 local
408 coeff_dequant_mpeg_intra(int32 q_value, int32 tmp) argument
420 eorhi q_value, tmp, q_value, asr #31 local
483 coeff_dequant(int32 q_value, int32 QPx2, int32 Addition, int32 tmp) argument
553 clip_2047(int32 q_value, int32 tmp) argument
567 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) argument
598 coeff_dequant_mpeg_intra(int32 q_value, int32 tmp) argument
[all...]
H A Dfastquant.cpp154 Int tmp, coeff, q_value; local
237 tmp = 2047;
238 coeff = coeff_dequant(q_value, QPx2, Addition, tmp);
256 tmp = 1 << (8 - i);
259 if (bitmapcol[i])(*bitmaprow) |= tmp;
260 tmp <<= 1;
274 Int tmp, coeff, q_value; local
387 /*smull tmp, coeff, q_value, q_scale*/
399 tmp = 2047;
400 coeff = coeff_dequant(q_value, QPx2, Addition, tmp);
451 Int tmp; local
498 Int tmp, coeff; local
549 Int tmp, coeff, q_value = 0; local
678 Int tmp, coeff, q_value = 0; local
923 Int tmp, coeff, q_value; local
[all...]
H A Dmotion_comp.cpp359 Int tmp; local
366 tmp = (ULong)prev & 0x3;
368 if (tmp == 0) /* word-aligned */
380 else if (tmp == 1) /* first position */
402 else if (tmp == 2) /* second position */
459 Int tmp; local
469 tmp = (ULong)prev & 3;
474 if (tmp == 0) /* word-aligned */
544 else if (tmp == 1)
623 else if (tmp
784 Int tmp; local
1127 Int tmp; local
1801 Int tmp; local
1867 Int tmp; local
[all...]
H A Dfastcodemb.cpp539 Int tmp; local
550 tmp = prev2 ^ cur2;
552 tmp = tmp ^ cur2; /* (^)^(-) last bit is one if carry */
553 tmp = sgn_msk & ((UInt)tmp >> 1); /* check the sign of each byte */
554 if (cur2 < 0) tmp = tmp | 0x80000000; /* corcurt sign of first byte */
555 tmp = (tmp <<
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dgc_pred.cpp487 Word16 tmp; local
502 tmp = *(p_code++);
503 ener_code += ((Word32) tmp * tmp) >> 3;
504 tmp = *(p_code++);
505 ener_code += ((Word32) tmp * tmp) >> 3;
506 tmp = *(p_code++);
507 ener_code += ((Word32) tmp * tmp) >>
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DEffectsMath.c113 int32_t tmp; local
133 tmp = (out << i) + (1 << ((i - 1)*2));
134 if (in >= tmp)
137 in -= tmp;
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_decoder.c27 uint8_t * tmp; local
32 tmp = (uint8_t *)strchr((const char *)base64_alphabet, ch);
33 if (NULL == tmp)
36 return (int8_t)(tmp - base64_alphabet);
/frameworks/base/services/common_time/
H A Dcommon_time_server_packets.cpp93 int16_t tmp; local
96 DESERIALIZE_INT16(tmp);
99 packetType = static_cast<TimeServicePacketType>(tmp);
105 ssize_t ret, tmp; local
116 tmp =((WhoIsMasterRequestPacket*)(this))->serializePacket(data,
120 tmp =((WhoIsMasterResponsePacket*)(this))->serializePacket(data,
124 tmp =((SyncRequestPacket*)(this))->serializePacket(data, length);
127 tmp =((SyncResponsePacket*)(this))->serializePacket(data, length);
130 tmp =((MasterAnnouncementPacket*)(this))->serializePacket(data,
137 if (tmp <
[all...]
H A Dcommon_time_config_service.cpp65 String8 tmp; local
66 status_t ret = mTimeServer.getInterfaceBinding(tmp);
67 ifaceName = String16(tmp);
72 String8 tmp(ifaceName);
73 return mTimeServer.setInterfaceBinding(tmp);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DEnergyProbe.java74 int tmp = 0;
79 tmp += (int)mFft[bin + 2 * j] * (int)mFft[bin + 2 * j] +
83 energy += tmp/j;
/frameworks/av/media/libmedia/
H A DAudioEffect.cpp433 int tmp[10]; local
436 tmp, tmp+1, tmp+2, tmp+3, tmp+4, tmp+5, tmp+6, tmp+7, tmp
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dqpisf_2s.cpp141 int16 i, j, tmp; local
169 tmp = isf_q[i];
172 past_isfq[i] = tmp;
210 tmp = add_int16(ref_isf[i], mult_int16(past_isfq[i], MU)); /* predicted ISF */
211 past_isfq[i] = sub_int16(isf_q[i], tmp);
237 int16 i, j, tmp; local
263 tmp = isf_q[i];
264 isf_q[i] = add_int16(tmp, mean_isf[i]);
266 past_isfq[i] = tmp;
305 tmp
[all...]
H A Ddtx_decoder_amr_wb.cpp213 int16 tmp, exp, exp0, log_en_int_e, log_en_int_m, level; local
421 tmp = mult_int16(exc2[i], gain); /* Q0 * Q15 */
422 exc2[i] = shl_int16(tmp, exp);
732 int16 i, j, tmp; local
739 tmp = DTX_HIST_SIZE_MIN_ONE;
743 j += tmp;
745 tmp--;
764 tmp = 0;
765 for (i = 27; i >= 12; i -= tmp)
767 tmp
847 summax <<= tmp; local
848 summin <<= tmp; local
875 int16 i, tmp, mean, CN_dith, gain_diff; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dp_med_ol.c175 Word16 tmp; local
185 tmp = x1;
187 x2 = tmp;
191 tmp = x1;
193 x3 = tmp;
197 tmp = x1;
199 x4 = tmp;
207 tmp = x2;
209 x3 = tmp;
213 tmp
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dc_g_aver.cpp286 Word16 tmp[M], tmp1, tmp2, shift1, shift2, shift;
308 tmp[i] = div_s(tmp1, tmp2); // Q15+(Q15+Qn)-(Q15+Qm)
312 tmp[i] = shr(tmp[i], shift); // Q15+Qn-Qm-Qx=Q13
316 tmp[i] = shl(tmp[i], negate(shift)); // Q15+Qn-Qm-Qx=Q13
320 diff = tmp[0];
322 diff = add(diff, tmp[i]); // Q13
485 Word16 tmp[M]; local
522 tmp[
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dg_pitch.cpp314 Word16 tmp; local
353 tmp = *(p_y1++) >> 2;
354 s = amrnb_fxp_mac_16_by_16bb((Word32) tmp, (Word32) tmp, s);
355 tmp = *(p_y1++) >> 2;
356 s = amrnb_fxp_mac_16_by_16bb((Word32) tmp, (Word32) tmp, s);
H A Dqgain795.cpp497 Word16 tmp; local
565 tmp = extract_h(L_t1);
568 L_t1 = L_mult(tmp, g2_pitch, pOverflow);
572 tmp = extract_h(L_shl(L_mult(alpha, frac_en[2], pOverflow), 1, pOverflow));
573 coeff[2] = mult(tmp, gain_pit, pOverflow);
614 tmp = sub(e_max, exp_coeff[1], pOverflow);
615 L_t1 = L_shr(L_t1, tmp, pOverflow);
620 tmp = sub(e_max, exp_coeff[i], pOverflow);
622 L_tmp = L_shr(L_tmp, tmp, pOverflow);
628 tmp
[all...]
H A Dg_adapt.cpp420 Word16 tmp; local
448 /* tmp = cbGain / onFact; onFact = 2.0; 200 Q1 = 100.0 */
449 tmp = shr_r(gain_cod, 1, pOverflow);
451 if ((tmp > st->prev_gc) && (gain_cod > 200))
/frameworks/base/graphics/java/android/graphics/
H A DColorMatrix.java155 float[] tmp = null;
158 tmp = new float[20];
161 tmp = mArray;
169 tmp[index++] = a[j + 0] * b[i + 0] + a[j + 1] * b[i + 5] +
172 tmp[index++] = a[j + 0] * b[4] + a[j + 1] * b[9] +
177 if (tmp != mArray) {
178 System.arraycopy(tmp, 0, mArray, 0, 20);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_intra_prediction.c487 u32 tmp; local
500 tmp = h264bsdIntra16x16Prediction(pMb, data, mbLayer->residual.level,
502 if (tmp != HANTRO_OK)
503 return(tmp);
507 tmp = h264bsdIntra4x4Prediction(pMb, data, mbLayer,
509 if (tmp != HANTRO_OK)
510 return(tmp);
513 tmp = h264bsdIntraChromaPrediction(pMb, data + 256,
516 if (tmp != HANTRO_OK)
517 return(tmp);
547 u8 *ptr, *tmp; local
931 u8 *tmp; local
1063 u32 i, tmp; local
1115 i32 tmp; local
1330 i32 tmp; local
1558 u32 tmp; local
[all...]
H A Dh264bsd_deblocking.c658 i32 delta, tc, tmp; local
673 tmp = tc;
689 tmp++;
696 tmp++;
699 delta = CLIP3(-tmp, tmp, ((((q0 - p0) << 2) +
704 tmp = tc;
729 tmp = p1 + p0 + q0;
730 data[-1] = (u8)((p2 + 2 * tmp + q1 + 4) >> 3);
731 data[-2] = (u8)((p2 + tmp
769 i32 delta, tc, tmp; local
838 i32 delta, tc, tmp; local
1552 bS_t *tmp; local
1635 bS_t *tmp; local
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DProgramFragmentFixedFunction.java54 int[] tmp = new int[(mInputCount + mOutputCount + mConstantCount + mTextureCount) * 2];
59 tmp[idx++] = ProgramParam.INPUT.mID;
60 tmp[idx++] = mInputs[i].getID(mRS);
63 tmp[idx++] = ProgramParam.OUTPUT.mID;
64 tmp[idx++] = mOutputs[i].getID(mRS);
67 tmp[idx++] = ProgramParam.CONSTANT.mID;
68 tmp[idx++] = mConstants[i].getID(mRS);
71 tmp[idx++] = ProgramParam.TEXTURE_TYPE.mID;
72 tmp[idx++] = mTextureTypes[i].mID;
76 int id = mRS.nProgramFragmentCreate(mShader, texNames, tmp);
[all...]
H A DProgramVertexFixedFunction.java81 int[] tmp = new int[(mInputCount + mOutputCount + mConstantCount + mTextureCount) * 2];
86 tmp[idx++] = ProgramParam.INPUT.mID;
87 tmp[idx++] = mInputs[i].getID(mRS);
90 tmp[idx++] = ProgramParam.OUTPUT.mID;
91 tmp[idx++] = mOutputs[i].getID(mRS);
94 tmp[idx++] = ProgramParam.CONSTANT.mID;
95 tmp[idx++] = mConstants[i].getID(mRS);
98 tmp[idx++] = ProgramParam.TEXTURE_TYPE.mID;
99 tmp[idx++] = mTextureTypes[i].mID;
103 int id = mRS.nProgramVertexCreate(mShader, texNames, tmp);
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp265 int32_t tmp;
266 bool found = findInt32("replyID", &tmp);
272 *replyID = static_cast<uint32_t>(tmp);
345 AString tmp;
347 tmp = StringPrintf(
354 tmp = StringPrintf("0x%08x", mWhat);
356 s.append(tmp);
359 tmp = StringPrintf(", target = %d", mTarget);
360 s.append(tmp);
369 tmp
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dbitbuffer.c161 UWord8 tmp; local
162 tmp = (UWord8)((writeValue >> 24) & 0xFF);
164 *hBitBuf->pWriteNext++ = tmp;

Completed in 4568 milliseconds

1234567891011>>