/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_transform.c | 99 i32 tmp0, tmp1, tmp2, tmp3; local 109 tmp2 = levelScale[qpMod6[qp]][1] << qpDiv; 123 data[1] = (d1 * tmp2); 124 data[14] = (d2 * tmp2); 130 data[4] = (d1 * tmp2); 137 tmp0 = (d1 * tmp2); 139 data[3] = (d3 * tmp2); 143 data[6] = (d1 * tmp2); 145 data[12] = (d3 * tmp2); 153 data[11] = (d3 * tmp2); 257 i32 tmp0, tmp1, tmp2, tmp3; local 361 i32 tmp0, tmp1, tmp2, tmp3; local [all...] |
H A D | h264bsd_image.c | 89 u32 tmp1, tmp2; local 114 tmp2 = *ptr++; 116 *lum++ = tmp2; 118 tmp2 = *ptr++; 120 *lum++ = tmp2; 128 tmp2 = *ptr++; 130 *cb++ = tmp2; 137 tmp2 = *ptr++; 139 *cr++ = tmp2; 186 i32 tmp1, tmp2, tmp local [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/ |
H A D | oper_32b.c | 350 Word32 tmp, tmp2; local 353 tmp2 = -x; 354 iPart = tmp2 / y; 355 fPart = tmp2 - iPart*y;
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | calc_en.cpp | 286 Word16 tmp2; /* temporal storage */ local 307 tmp2 = exc[i]; 310 s2 = amrnb_fxp_mac_16_by_16bb((Word32) tmp2, (Word32) tmp2, s2); /* Compute ltp excitation energy */ 311 s3 = amrnb_fxp_mac_16_by_16bb((Word32) tmp2, (Word32) code[i], s3);/* Compute scalar product */ 314 L_temp = L_mult(tmp2, gain_pit, pOverflow); 316 tmp2 = sub(tmp1, pv_round(L_temp, pOverflow), pOverflow); 318 s4 = L_mac(s4, tmp2, tmp2, pOverflow);
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | lagconceal.cpp | 149 int16 i, tmp, tmp2; local 254 tmp2 = *T0 - lastLag; 260 else if ((lastGain > 8192) && (secLastGain > 8192) && ((tmp2 + 10) > 0 && tmp2 < 10))
|
H A D | oversamp_12k8_to_16k.cpp | 284 int16 tmp1, tmp2, tmp3, tmp4; local 289 tmp2 = *(pt_x++); 293 L_sum = fxp_mac_16by16(tmp2, *(pt_fir++), L_sum); 297 tmp2 = *(pt_x++); 301 L_sum = fxp_mac_16by16(tmp2, *(pt_fir++), L_sum); 305 tmp2 = *(pt_x++); 309 L_sum = fxp_mac_16by16(tmp2, *(pt_fir++), L_sum); 313 tmp2 = *(pt_x++); 317 L_sum = fxp_mac_16by16(tmp2, *(pt_fir++), L_sum); 321 tmp2 [all...] |
H A D | dec_gain2_amr_wb.cpp | 189 int16 tmp2; local 361 tmp2 = pbuf2[1]; 366 pbuf2[i - 1] = tmp2; 369 tmp2 = pbuf2[i];
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | sad.cpp | 97 int saddata[16], tmp, tmp2; /* used when collecting flag (global) is on */ local 115 tmp2 = (cur_word >> 24) & 0xFF; 116 sad = SUB_SAD(sad, tmp, tmp2); 118 tmp2 = (cur_word >> 16) & 0xFF; 119 sad = SUB_SAD(sad, tmp, tmp2); 121 tmp2 = (cur_word >> 8) & 0xFF; 122 sad = SUB_SAD(sad, tmp, tmp2); 125 tmp2 = (cur_word & 0xFF); 126 sad = SUB_SAD(sad, tmp, tmp2); 130 tmp2 201 int tmp, tmp2; local [all...] |
H A D | sad_inline.h | 30 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument 32 tmp = tmp - tmp2; 174 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument 178 rsbs tmp, tmp, tmp2 ; local 343 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument 350 : "r"(tmp2)
|
H A D | sad_halfpel.cpp | 189 int difmad, tmp, tmp2; local 213 tmp2 = p1[13] + p2[13]; 214 tmp += tmp2; 215 tmp2 = (cur_word >> 24) & 0xFF; 217 sad = INTERP2_SUB_SAD(sad, tmp, tmp2);; 219 tmp2 = p1[9] + p2[9]; 220 tmp += tmp2; 221 tmp2 = (cur_word >> 16) & 0xFF; 223 sad = INTERP2_SUB_SAD(sad, tmp, tmp2);; 225 tmp2 271 int difmad, tmp, tmp2; local 352 int difmad, tmp, tmp2; local 427 int sad = 0, tmp, tmp2; local 495 int sad = 0, tmp, tmp2; local 561 int sad = 0, tmp, tmp2; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | dct.cpp | 47 Int tmp, tmp2; local 60 tmp2 = *((Int*) pred); /* prediction 4 pixels */ 61 k0 = tmp2 & 0xFF; 64 k1 = (tmp2 >> 8) & 0xFF; 67 k2 = (tmp2 >> 16) & 0xFF; 70 k3 = (tmp2 >> 24) & 0xFF; 74 tmp2 = *((Int*)(pred + 4)); 75 k4 = tmp2 & 0xFF; 78 k5 = (tmp2 >> 8) & 0xFF; 81 k6 = (tmp2 >> 1 275 Int tmp, tmp2; local 481 Int tmp, tmp2; local [all...] |
H A D | me_utils.cpp | 318 Int tmp, tmp2, mask = 0x00FF00FF; local 326 tmp2 = tmp & mask; 328 tmp += tmp2; 331 tmp2 = tmp & mask; 333 tmp += tmp2; 336 tmp2 = tmp & mask; 338 tmp += tmp2; 342 tmp2 = tmp & mask; 344 tmp += tmp2; 348 tmp2 [all...] |
H A D | sad.cpp | 113 Int saddata[16], tmp, tmp2; /* used when collecting flag (global) is on */ local 128 tmp2 = (cur_word >> 24) & 0xFF; 129 sad = SUB_SAD(sad, tmp, tmp2); 131 tmp2 = (cur_word >> 16) & 0xFF; 132 sad = SUB_SAD(sad, tmp, tmp2); 134 tmp2 = (cur_word >> 8) & 0xFF; 135 sad = SUB_SAD(sad, tmp, tmp2); 138 tmp2 = (cur_word & 0xFF); 139 sad = SUB_SAD(sad, tmp, tmp2); 143 tmp2 214 Int tmp, tmp2; local 321 Int tmp, tmp2, tmp3, mask = 0xFF; local [all...] |
H A D | sad_halfpel.cpp | 343 Int difmad, tmp, tmp2; local 364 tmp2 = p1[13] + p2[13]; 365 tmp += tmp2; 366 tmp2 = (cur_word >> 24) & 0xFF; 368 sad = INTERP2_SUB_SAD(sad, tmp, tmp2);; 370 tmp2 = p1[9] + p2[9]; 371 tmp += tmp2; 372 tmp2 = (cur_word >> 16) & 0xFF; 374 sad = INTERP2_SUB_SAD(sad, tmp, tmp2);; 376 tmp2 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...] |
H A D | sad_inline.h | 33 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument 35 tmp = tmp - tmp2; 177 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument 181 rsbs tmp, tmp, tmp2 ; local 346 __inline int32 SUB_SAD(int32 sad, int32 tmp, int32 tmp2) argument 352 register int32 uu = tmp2;
|
H A D | fastidct.cpp | 1861 Int tmp, tmp2; local 1950 tmp2 = tmp4 & 0xFF; 1951 tmp2 += i; 1952 if ((UInt)tmp2 > mask) tmp2 = mask & (~(tmp2 >> 31)); 1956 tmp2 |= (tmp << 8); 1960 tmp2 |= (tmp << 16); 1964 tmp2 |= (tmp << 24); 1965 *((ULong*)rec) = tmp2; [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_dct_16.cpp | 156 int32 tmp2; local 199 tmp2 = vec[ 2] + vec[13]; 203 itmp_e2 = (tmp2 + tmp5); 204 tmp5 = fxp_mul32_Q32((tmp2 - tmp5), Qfmt_31(0.89997622313642F)); 274 tmp2 = fxp_mul32_Q32((tmp1 - tmp0) << 1, Qfmt_31(0.54119610014620F)); 292 tmp6 = fxp_mul32_Q32((tmp2 - tmp5) << 1, Qfmt_31(0.70710678118655F)); 293 tmp2 += tmp5 + tmp6; 294 tmp0 += tmp2; 298 tmp2 += tmp4; 299 vec[ 5] = tmp2 379 int32 tmp2 = *(pt_vect); local 395 int32 tmp2 = *(pt_vect); local [all...] |
H A D | pvmp3_framedecoder.cpp | 595 int32 tmp2 = *(ptr++); local 597 fillDataBuf(&pVars->mainDataStream, tmp2);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
H A D | h264bsd_interpolate_chroma_hor.s | 57 tmp2 RN 8 label 114 MOV tmp2, tmp8 ;// tmp2 = chromaPartWidth+1 115 STMIA sp,{width,height,tmp8,chrPH,tmp2} 122 STMIA sp,{width,height,tmp8,chrPH,tmp2} 156 SUB tmp2, chrPH, #1 ;// chromaPartHeight-1 158 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1 159 ADD count, count, tmp2, LSL #24 ;// loop_y 161 AND tmp2, count, #0x00F00000 ;// loop_x 175 ADD count, count, tmp2, LS [all...] |
H A D | h264bsd_interpolate_chroma_hor_ver.s | 54 tmp2 RN 7 label 119 ADD tmp2, chrPH, #1 ;// tmp2 = chromaPartHeight+1 120 STMIA sp,{width,height,tmp1,tmp2,tmp3} 127 STMIA sp,{width,height,tmp1,tmp2,tmp3} 130 MLA block, tmp2, tmp1, block;// block + (chromaPW+1)*(chromaPH+1) 140 STR tmp2, [sp, #0xfc] ;// height 162 SUB tmp2, chrPH, #1 ;// chromaPartHeight-1 164 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1 165 ADD count, count, tmp2, LS [all...] |
H A D | h264bsd_interpolate_chroma_ver.s | 55 tmp2 RN 8 label 113 MOV tmp2, chrPW ;// tmp2 = chromaPartWidth 114 STMIA sp,{width,height,chrPW,tmp1,tmp2} 121 STMIA sp,{width,height,chrPW,tmp1,tmp2} 154 SUB tmp2, chrPH, #1 ;// chromaPartHeight-1 156 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1 157 ADD count, count, tmp2, LSL #24 ;// loop_y 159 AND tmp2, count, #0x00F00000 ;// loop_x 173 ADD count, count, tmp2, LS [all...] |
H A D | h264bsd_interpolate_hor_ver_quarter.s | 51 tmp2 RN 5 label 316 LDR tmp2, [ref], width ;// |c4|c3|c2|c1| 325 UXTB16 tmpb, tmp2 ;// |c3|c1| 343 UXTB16 tmpb, tmp2, ROR #8 ;// |c4|c2| 367 ;// tmp2 = |a4|a3|a2|a1| 381 UXTAB16 tmpa, tmpa, tmp2 ;// 16+20(G+M)+A 397 UXTAB16 tmpa, tmpa, tmp2, ROR #8 ;// 16+20(G+M)+A 404 LDR tmp2, [mb] 406 MVN tmp2, tmp2 [all...] |
/frameworks/native/libs/utils/ |
H A D | LinearTransform.cpp | 35 uint64_t tmp1, tmp2; local 51 // tmp2 = U32(val) * N (a 64 bit int) 54 // M = val * N = (tmp2 << 32) + tmp1 55 tmp2 = (val >> 32) * N; 59 // tmp2 = tmp2 + U32(tmp1) 62 tmp2 += tmp1 >> 32; 66 if ((tmp2 >> 32) >= D) { 72 // tmp2 = M[32, 95] 73 // U32(tmp2) < [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
H A D | omxVCM4P2_MCReconBlock_s.s | 347 M_LOAD_X pSrc, srcStep, tmp1, tmp2, tmp3, $offset 351 STRD tmp1, tmp2, [pDst], dstStep 353 M_LOAD_X pSrc, srcStep, tmp1, tmp2, tmp3, $offset 382 M_LOAD_XINT pSrc, srcStep, $offset, tmp1, tmp2, tmp3, tmp4 385 M_EXT_XINT $offset, tmp1, tmp2, tmp3, tmp4 387 M_UHADD8R tmp6, tmp2, tmp4, (1-$rndVal), mask 389 M_LOAD_XINT pSrc, srcStep, $offset, tmp1, tmp2, tmp3, tmp4 413 M_LOAD_X pSrc, srcStep, tmp1, tmp2, tmp5, $offset ;// Pre-load 419 M_UHADD8R tmp2, tmp2, tmp 585 tmp2 RN 5 label [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | ColorConverter.cpp | 170 signed tmp2 = y2 * 298; local 171 signed b2 = (tmp2 + u_b) / 256; 172 signed g2 = (tmp2 + v_g + u_g) / 256; 173 signed r2 = (tmp2 + v_r) / 256; 258 signed tmp2 = y2 * 298; local 259 signed b2 = (tmp2 + u_b) / 256; 260 signed g2 = (tmp2 + v_g + u_g) / 256; 261 signed r2 = (tmp2 + v_r) / 256; 331 signed tmp2 = y2 * 298; local 332 signed b2 = (tmp2 405 signed tmp2 = y2 * 298; local 475 signed tmp2 = y2 * 298; local [all...] |