Searched refs:tmp (Results 26 - 50 of 279) sorted by relevance

1234567891011>>

/frameworks/compile/libbcc/runtime/lib/ppc/
H A Dgcc_qdiv.c21 double yq, tmp, q; local
46 tmp = LOWORDER(yq, yHi, yLo, qHi, qLo);
47 tmp = (x - yq) - tmp;
48 tmp = ((tmp + x1) - y1 * q) / y;
49 x = q + tmp;
51 dst.s.lo = (q - x) + tmp;
/frameworks/base/graphics/java/android/renderscript/
H A DProgramVertex.java126 int[] tmp = new int[(mInputCount + mOutputCount + mConstantCount + mTextureCount) * 2];
131 tmp[idx++] = ProgramParam.INPUT.mID;
132 tmp[idx++] = mInputs[i].getID(mRS);
135 tmp[idx++] = ProgramParam.OUTPUT.mID;
136 tmp[idx++] = mOutputs[i].getID(mRS);
139 tmp[idx++] = ProgramParam.CONSTANT.mID;
140 tmp[idx++] = mConstants[i].getID(mRS);
143 tmp[idx++] = ProgramParam.TEXTURE_TYPE.mID;
144 tmp[idx++] = mTextureTypes[i].mID;
148 int id = mRS.nProgramVertexCreate(mShader, texNames, tmp);
[all...]
H A DMatrix2f.java156 Matrix2f tmp = new Matrix2f();
157 tmp.loadMultiply(this, rhs);
158 load(tmp);
167 Matrix2f tmp = new Matrix2f();
168 tmp.loadRotate(rot);
169 multiply(tmp);
179 Matrix2f tmp = new Matrix2f();
180 tmp.loadScale(x, y);
181 multiply(tmp);
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dhoming_amr_wb_dec.cpp250 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...]
H A Dscale_signal.cpp122 int16 tmp; local
141 tmp = (int16)(0x00008000 >> (16 - exp));
146 *(pt_x) = add_int16(*(pt_x), tmp) >> exp;
148 *(pt_x) = add_int16(*(pt_x), tmp) >> exp;
H A Disf_extrapolation.cpp122 int16 coeff, mean, tmp, tmp2, tmp3; local
145 tmp = 0;
148 if (IsfDiff[i] > tmp)
150 tmp = IsfDiff[i];
153 exp = norm_s(tmp);
208 tmp = sub_int16(HfIsf[i - 1 - MaxCorr], HfIsf[i - 2 - MaxCorr]);
209 HfIsf[i] = add_int16(HfIsf[i - 1], tmp);
212 /* tmp=7965+(HfIsf[2]-HfIsf[3]-HfIsf[4])/6; */
213 tmp = add_int16(HfIsf[4], HfIsf[3]);
214 tmp
[all...]
H A Dsynthesis_amr_wb.cpp151 int16 tmp; local
255 tmp = extract_h(Dot_product12(HF, HF, L_SUBFR16k, &exp));
257 if (tmp > ener)
259 tmp >>= 1; /* Be sure tmp < ener */
262 L_tmp = L_deposit_h(div_16by16(tmp, ener)); /* result is normalized */
267 tmp = (int16)(L_tmp >> 16); /* tmp = 2 x sqrt(ener_exc/ener_hf) */
274 *(pt_tmp) = (int16)(fxp_mul_16by16(*(pt_tmp), tmp) >> 15);
276 *(pt_tmp) = (int16)(fxp_mul_16by16(*(pt_tmp), tmp) >> 1
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dsad_halfpel.cpp343 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/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DMatrix2f.java156 Matrix2f tmp = new Matrix2f();
157 tmp.loadMultiply(this, rhs);
158 load(tmp);
167 Matrix2f tmp = new Matrix2f();
168 tmp.loadRotate(rot);
169 multiply(tmp);
179 Matrix2f tmp = new Matrix2f();
180 tmp.loadScale(x, y);
181 multiply(tmp);
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dgmed_n.cpp133 Word16 tmp[NMAX];
153 tmp[i] = ix;
156 medianIndex=tmp[ shr(n,1) ]; // account for complex addressing
191 Word16 tmp[NMAX]; local
211 *(tmp + i) = ix;
214 medianIndex = *(tmp + (n >> 1)); /* account for complex addressing */
H A Dlog2_norm.cpp144 Word16 i, a, tmp;
165 tmp = sub (table[i], table[i + 1]); // table[i] - table[i+1]
166 L_y = L_msu (L_y, tmp, a); // L_y -= tmp*a*2
203 Word16 i, a, tmp; local
231 tmp = log2_tbl[i] - log2_tbl[i + 1]; /* table[i] - table[i+1] */
232 L_y -= (((Word32) tmp) * a) << 1; /* L_y -= tmp*a*2 */
H A Dpow2.cpp130 Word16 exp, i, a, tmp;
140 tmp = sub (table[i], table[i + 1]); // table[i] - table[i+1]
141 L_x = L_msu (L_x, tmp, a); // L_x -= tmp*a*2
182 Word16 exp, i, a, tmp; local
195 tmp = sub(pow2_tbl[i], pow2_tbl[i + 1], pOverflow);
196 L_x = L_msu(L_x, tmp, a, pOverflow); /* L_x -= tmp*a*2 */
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dec_gains.cpp271 Word16 tmp;
276 tmp = gmed_n (st->gbuf,5);
279 if (sub (tmp, st->past_gain_code) > 0)
281 tmp = st->past_gain_code;
283 tmp = mult (tmp, cdown[state]);
284 *gain_code = tmp;
329 Word16 tmp; local
334 tmp = gmed_n(st->gbuf, 5);
337 if (sub(tmp, s
590 Word16 tmp; local
[all...]
H A Dd1035pf.cpp134 Word16 i, j, pos1, pos2, sign, tmp;
147 tmp = index[j];
148 i = tmp & 7;
154 i = shr (tmp, 3) & 1;
213 Word16 sign, tmp; local
226 tmp = *(index + j);
227 i = tmp & 7;
233 i = (tmp >> 3) & 1;
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_mdct_18.cpp135 int32 tmp; local
152 tmp = *(pt_vec);
154 tmp = fxp_mul32_Q32(tmp << 1, *(pt_cos++));
156 *(pt_vec++) = tmp + tmp1 ;
157 *(pt_vec_o--) = fxp_mul32_Q28((tmp - tmp1), *(pt_cos_split++));
169 tmp = vec[12];
179 vec[ 5] = vec[11] - tmp;
180 vec[ 7] = vec[13] - tmp;
194 tmp
[all...]
/frameworks/rs/
H A DrsMatrix2x2.h45 Matrix2x2 tmp; local
46 tmp.loadMultiply(this, rhs);
47 load(&tmp);
H A DrsMatrix3x3.h45 Matrix3x3 tmp; local
46 tmp.loadMultiply(this, rhs);
47 load(&tmp);
/frameworks/support/renderscript/v8/rs_support/
H A DrsMatrix2x2.h45 Matrix2x2 tmp; local
46 tmp.loadMultiply(this, rhs);
47 load(&tmp);
H A DrsMatrix3x3.h45 Matrix3x3 tmp; local
46 tmp.loadMultiply(this, rhs);
47 load(&tmp);
/frameworks/compile/slang/
H A Dslang_rs_reflection_cpp.cpp136 stringstream tmp; local
137 tmp << slot;
138 write(string(" setVar(") + tmp.str() + ", v);");
164 stringstream tmp; local
165 tmp << "void forEach_" << ef->getName() << "(";
167 tmp << "android::sp<const android::renderscriptCpp::Allocation> ain";
168 tmp << ", android::sp<const android::renderscriptCpp::Allocation> aout";
170 tmp << "android::sp<const android::renderscriptCpp::Allocation> ain";
172 tmp << "android::sp<const android::renderscriptCpp::Allocation> aout";
181 tmp << rt
266 stringstream tmp; local
[all...]
H A Dslang_rs_reflection_base.cpp111 string tmp(s);
112 tmp.erase(pos);
113 return tmp;
152 stringstream tmp; local
157 tmp << ((api.getSExtValue() == 0) ? "false" : "true");
159 tmp << api.getSExtValue();
161 tmp << "L";
170 tmp << apf.convertToFloat() << "f";
172 tmp << apf.convertToDouble();
189 return tmp
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_macroblock_layer.c140 u32 tmp, i, value; local
155 tmp = h264bsdDecodeExpGolombUnsigned(pStrmData, &value);
159 if ((value + 6) > 31 || tmp != HANTRO_OK)
165 if ((value + 1) > 31 || tmp != HANTRO_OK)
176 tmp = h264bsdGetBits(pStrmData, 1);
177 if (tmp)
196 tmp = DecodeSubMbPred(pStrmData, &pMbLayer->subMbPred,
201 tmp = DecodeMbPred(pStrmData, &pMbLayer->mbPred,
204 if (tmp != HANTRO_OK)
205 return(tmp);
359 u32 tmp, i, j, value; local
447 u32 tmp, i, j, value; local
705 u32 i, j, tmp; local
815 u32 tmp; local
886 u32 tmp; local
923 u32 tmp; local
971 u32 i, tmp; local
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dmemalign.c61 unsigned char *tmp; local
69 tmp = (unsigned char *)MemInfo.VBuffer;
71 pMemop->Set(CodecID, tmp, 0, size + alignment);
74 (unsigned char *) ((intptr_t) (tmp + alignment - 1) &
77 if (mem_ptr == tmp)
80 *(mem_ptr - 1) = (unsigned char) (mem_ptr - tmp);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dmem_align.c61 unsigned char *tmp; local
69 tmp = (unsigned char *)MemInfo.VBuffer;
71 pMemop->Set(CodecID, tmp, 0, size + alignment);
74 (unsigned char *) ((intptr_t) (tmp + alignment - 1) &
77 if (mem_ptr == tmp)
80 *(mem_ptr - 1) = (unsigned char) (mem_ptr - tmp);
H A Dqisf_ns.c42 Word32 tmp; local
49 indice[0] = Sub_VQ(&isf_q[0], dico1_isf_noise, 2, SIZE_BK_NOISE1, &tmp);
50 indice[1] = Sub_VQ(&isf_q[2], dico2_isf_noise, 3, SIZE_BK_NOISE2, &tmp);
51 indice[2] = Sub_VQ(&isf_q[5], dico3_isf_noise, 3, SIZE_BK_NOISE3, &tmp);
52 indice[3] = Sub_VQ(&isf_q[8], dico4_isf_noise, 4, SIZE_BK_NOISE4, &tmp);
53 indice[4] = Sub_VQ(&isf_q[12], dico5_isf_noise, 4, SIZE_BK_NOISE5, &tmp);

Completed in 726 milliseconds

1234567891011>>