/external/opencore/codecs_v2/audio/aac/dec/src/ |
dst16.cpp | 119 Int32 tmp0 = vec[15] >> 1; local 160 tmp3 = fxp_mul32_Q28((*(pt_vec) - tmp0), *(pt_cos--)); 164 tmp3 = fxp_mul32_Q28((*(pt_vec) + tmp0), *(pt_cos--));
|
dst32.cpp | 125 Int32 tmp0 = vec[31] >> 1; local 161 tmp3 = fxp_mul32_Q31((vec[15] - tmp0) << 3, Qfmt31(0.63687550772175F)) << 2; 166 tmp3 = fxp_mul32_Q31((vec[14] + tmp0) << 3, Qfmt31(0.85190210461718F)); 175 tmp3 = fxp_mul32_Q29((*(pt_vec) - tmp0), *(pt_cos--)); 179 tmp3 = fxp_mul32_Q29((*(pt_vec) + tmp0), *(pt_cos--)); 187 tmp3 = fxp_mul32_Q31((*(pt_vec) - tmp0) << 1, *(pt_cos--)); 191 tmp3 = fxp_mul32_Q31((*(pt_vec) + tmp0) << 1, *(pt_cos--));
|
idct8.cpp | 108 Int32 tmp0; local 127 tmp0 = fxp_mul32_by_16((tmp3 - tmp7) << 1, Qfmt15(0.70710678118655F)); /* (1/(2*cos(2*phi))); */ 128 tmp7 = (tmp3 + tmp7) + tmp0; 132 vec[1] = tmp5 + tmp0; 133 vec[2] = tmp5 - tmp0; 145 tmp0 = tmp7 + tmp8; 151 tmp5 = tmp0 + tmp1;
|
dct16.cpp | 106 Int32 tmp0; local 130 tmp0 = vec[ 0] + vec[15]; 135 itmp_e0 = (tmp0 + tmp7); 136 tmp7 = fxp_mul32_by_16((tmp0 - tmp7), Qfmt15(0.50979557910416F)); 164 tmp0 = (itmp_e0 + tmp1); 171 vec[ 0] = (tmp0 + tmp2) >> 1; 172 vec[ 8] = fxp_mul32_by_16((tmp0 - tmp2), Qfmt15(0.70710678118655F)); 226 tmp0 = tmp7 + tmp4; 230 vec[ 9] = fxp_mul32_Q31((tmp0 - tmp2) << 1, Qfmt_31(0.70710678118655F)); 231 vec[ 1] = tmp0 + tmp2 [all...] |
/external/opencore/codecs_v2/audio/mp3/dec/src/ |
pvmp3_dct_6.cpp | 117 Int32 tmp0; local 127 tmp0 = vec[5] + vec[0]; 134 vec[0] = tmp0 + tmp2 ; 135 vec[2] = fxp_mul32_Q30(tmp0 - tmp2, cos_pi_6); 139 tmp0 = fxp_mul32_Q30(tmp3, cos_7_pi_12); 140 tmp0 = fxp_mac32_Q30(tmp4, -cos_3_pi_12, tmp0); 141 vec[1] = fxp_mac32_Q30(tmp5, cos_11_pi_12, tmp0); 144 tmp0 = fxp_mul32_Q30(tmp3, cos_11_pi_12); 145 tmp0 = fxp_mac32_Q30(tmp4, cos_3_pi_12, tmp0) [all...] |
pvmp3_dct_9.cpp | 125 int32 tmp0 = vec[8] + vec[0]; local 134 vec[0] = (tmp0 + tmp2 + tmp3) + (tmp1 + vec[4]); 135 vec[6] = ((tmp0 + tmp2 + tmp3) >> 1) - (tmp1 + vec[4]); 139 vec[4] = fxp_mac32_Q32(vec[4], tmp0 << 1, cos_2pi_9); 140 vec[8] = fxp_mac32_Q32(vec[8], tmp0 << 1, cos_4pi_9); 141 vec[2] = fxp_mac32_Q32(vec[2], tmp0 << 1, cos_pi_9);
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
ARM-E_filter_gnu.s | 49 tmp0 .req r1 @ reuse register
label 88 LDRSH tmp0, [pBuffer] @ fetch sample
96 SMLABB tmp0, tmp0, K, tmp2 @ tmp1 = (K * x[n]) + (-b1 * z1) + (-b2 * z2)
100 MOV z1, tmp0, ASR #14 @ shift result to low word
115 LDRGTSH tmp0, [pBuffer, #NEXT_OUTPUT_PCM] @ fetch next sample
|
ARM-E_interpolate_loop_gnu.s | 45 tmp0 .req r1 @reuse register
label 81 SUBS tmp0, pPhaseAccum, pLoopEnd @ check for loop end
82 ADDGE pPhaseAccum, pLoopStart, tmp0 @ loop back to start
85 LDRSB tmp0, [pPhaseAccum] @ tmp0 = x0
88 LDRSH tmp0, [pPhaseAccum] @ tmp0 = x0
94 SUB tmp1, tmp1, tmp0 @ tmp1 = x1 - x0
105 MOV tmp0, tmp0, LSL #6 @ boost 8-bit signal by 36dB [all...] |
ARM-E_interpolate_noloop_gnu.s | 49 tmp0 .req r1 @ reuse register
label 77 LDRSB tmp0, [pPhaseAccum] @ tmp0 = x0
80 LDRSH tmp0, [pPhaseAccum] @ tmp0 = x0
86 SUB tmp1, tmp1, tmp0 @ tmp1 = x1 - x0
97 MOV tmp0, tmp0, LSL #6 @ boost 8-bit signal by 36dB
99 MOV tmp0, tmp0, ASR #2 @ reduce 16-bit signal by 12dB [all...] |
ARM-E_voice_gain_gnu.s | 45 tmp0 .req r4
label 85 LDR tmp0, [pWTFrame, #m_prevGain]
92 SMULBB gainLeft, tmp0, gainLeft
100 SMULBB gainRight, tmp0, gainRight
107 LDRSH tmp0, [pInputBuffer], #2
114 SMLAWB tmp1, gainLeft, tmp0, tmp1
122 SMLAWB tmp2, gainRight, tmp0, tmp2
126 LDRGTSH tmp0, [pInputBuffer], #2
146 LDRSH tmp0, [pInputBuffer], #NEXT_OUTPUT_PCM @ fetch voice output
150 SMULWB tmp0, gain, tmp0 @ sample * local gain [all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
ARM-E_filter_gnu.s | 49 tmp0 .req r1 @ reuse register
label 88 LDRSH tmp0, [pBuffer] @ fetch sample
96 SMLABB tmp0, tmp0, K, tmp2 @ tmp1 = (K * x[n]) + (-b1 * z1) + (-b2 * z2)
100 MOV z1, tmp0, ASR #14 @ shift result to low word
115 LDRGTSH tmp0, [pBuffer, #NEXT_OUTPUT_PCM] @ fetch next sample
|
ARM-E_interpolate_loop_gnu.s | 45 tmp0 .req r1 @reuse register
label 81 SUBS tmp0, pPhaseAccum, pLoopEnd @ check for loop end
82 ADDGE pPhaseAccum, pLoopStart, tmp0 @ loop back to start
85 LDRSB tmp0, [pPhaseAccum] @ tmp0 = x0
88 LDRSH tmp0, [pPhaseAccum] @ tmp0 = x0
94 SUB tmp1, tmp1, tmp0 @ tmp1 = x1 - x0
105 MOV tmp0, tmp0, LSL #6 @ boost 8-bit signal by 36dB [all...] |
ARM-E_interpolate_noloop_gnu.s | 49 tmp0 .req r1 @ reuse register
label 77 LDRSB tmp0, [pPhaseAccum] @ tmp0 = x0
80 LDRSH tmp0, [pPhaseAccum] @ tmp0 = x0
86 SUB tmp1, tmp1, tmp0 @ tmp1 = x1 - x0
97 MOV tmp0, tmp0, LSL #6 @ boost 8-bit signal by 36dB
99 MOV tmp0, tmp0, ASR #2 @ reduce 16-bit signal by 12dB [all...] |
ARM-E_voice_gain_gnu.s | 45 tmp0 .req r4
label 85 LDR tmp0, [pWTFrame, #m_prevGain]
92 SMULBB gainLeft, tmp0, gainLeft
100 SMULBB gainRight, tmp0, gainRight
107 LDRSH tmp0, [pInputBuffer], #2
114 SMLAWB tmp1, gainLeft, tmp0, tmp1
122 SMLAWB tmp2, gainRight, tmp0, tmp2
126 LDRGTSH tmp0, [pInputBuffer], #2
146 LDRSH tmp0, [pInputBuffer], #NEXT_OUTPUT_PCM @ fetch voice output
150 SMULWB tmp0, gain, tmp0 @ sample * local gain [all...] |
/frameworks/base/media/libstagefright/codecs/aacdec/ |
dst16.cpp | 119 Int32 tmp0 = vec[15] >> 1; local 160 tmp3 = fxp_mul32_Q28((*(pt_vec) - tmp0), *(pt_cos--)); 164 tmp3 = fxp_mul32_Q28((*(pt_vec) + tmp0), *(pt_cos--));
|
dst32.cpp | 125 Int32 tmp0 = vec[31] >> 1; local 161 tmp3 = fxp_mul32_Q31((vec[15] - tmp0) << 3, Qfmt31(0.63687550772175F)) << 2; 166 tmp3 = fxp_mul32_Q31((vec[14] + tmp0) << 3, Qfmt31(0.85190210461718F)); 175 tmp3 = fxp_mul32_Q29((*(pt_vec) - tmp0), *(pt_cos--)); 179 tmp3 = fxp_mul32_Q29((*(pt_vec) + tmp0), *(pt_cos--)); 187 tmp3 = fxp_mul32_Q31((*(pt_vec) - tmp0) << 1, *(pt_cos--)); 191 tmp3 = fxp_mul32_Q31((*(pt_vec) + tmp0) << 1, *(pt_cos--));
|
idct8.cpp | 108 Int32 tmp0; local 127 tmp0 = fxp_mul32_by_16((tmp3 - tmp7) << 1, Qfmt15(0.70710678118655F)); /* (1/(2*cos(2*phi))); */ 128 tmp7 = (tmp3 + tmp7) + tmp0; 132 vec[1] = tmp5 + tmp0; 133 vec[2] = tmp5 - tmp0; 145 tmp0 = tmp7 + tmp8; 151 tmp5 = tmp0 + tmp1;
|
dct16.cpp | 106 Int32 tmp0; local 130 tmp0 = vec[ 0] + vec[15]; 135 itmp_e0 = (tmp0 + tmp7); 136 tmp7 = fxp_mul32_by_16((tmp0 - tmp7), Qfmt15(0.50979557910416F)); 164 tmp0 = (itmp_e0 + tmp1); 171 vec[ 0] = (tmp0 + tmp2) >> 1; 172 vec[ 8] = fxp_mul32_by_16((tmp0 - tmp2), Qfmt15(0.70710678118655F)); 226 tmp0 = tmp7 + tmp4; 230 vec[ 9] = fxp_mul32_Q31((tmp0 - tmp2) << 1, Qfmt_31(0.70710678118655F)); 231 vec[ 1] = tmp0 + tmp2 [all...] |
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_dct_6.cpp | 117 Int32 tmp0; local 127 tmp0 = vec[5] + vec[0]; 134 vec[0] = tmp0 + tmp2 ; 135 vec[2] = fxp_mul32_Q30(tmp0 - tmp2, cos_pi_6); 139 tmp0 = fxp_mul32_Q30(tmp3, cos_7_pi_12); 140 tmp0 = fxp_mac32_Q30(tmp4, -cos_3_pi_12, tmp0); 141 vec[1] = fxp_mac32_Q30(tmp5, cos_11_pi_12, tmp0); 144 tmp0 = fxp_mul32_Q30(tmp3, cos_11_pi_12); 145 tmp0 = fxp_mac32_Q30(tmp4, cos_3_pi_12, tmp0) [all...] |
pvmp3_dct_9.cpp | 125 int32 tmp0 = vec[8] + vec[0]; local 134 vec[0] = (tmp0 + tmp2 + tmp3) + (tmp1 + vec[4]); 135 vec[6] = ((tmp0 + tmp2 + tmp3) >> 1) - (tmp1 + vec[4]); 139 vec[4] = fxp_mac32_Q32(vec[4], tmp0 << 1, cos_2pi_9); 140 vec[8] = fxp_mac32_Q32(vec[8], tmp0 << 1, cos_4pi_9); 141 vec[2] = fxp_mac32_Q32(vec[2], tmp0 << 1, cos_pi_9);
|
/external/opencore/codecs_v2/audio/sbc/enc/src/ |
sbcenc_bitstream.cpp | 29 Int ch, sb, blk, tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, t_var1, t_var2, temp ; local 40 tmp0 = (sbc->sf_index << 6); 45 tmp0 |= 16; 49 tmp0 |= 32; 53 tmp0 |= 48; 57 tmp0 |= (sbc->channel_mode & 0x03) << 2; 58 tmp0 |= (sbc->allocation_method & 0x01) << 1; 62 tmp0 |= 0x01; 65 data[1] = tmp0; 80 tmp0 = sbc->join [all...] |
/external/skia/src/utils/ |
SkCullPoints.cpp | 26 Sk64 tmp0, tmp1; local 28 tmp0.setMul(v.fX, dy); 30 tmp0.sub(tmp1); 31 return tmp0.isNeg();
|
/external/jpeg/ |
jfdctflt.c | 61 FAST_FLOAT tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; local 71 tmp0 = dataptr[0] + dataptr[7]; 82 tmp10 = tmp0 + tmp3; /* phase 2 */ 83 tmp13 = tmp0 - tmp3; 121 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*7]; 132 tmp10 = tmp0 + tmp3; /* phase 2 */ 133 tmp13 = tmp0 - tmp3;
|
jidctflt.c | 72 FAST_FLOAT tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; local 123 tmp0 = DEQUANTIZE(inptr[DCTSIZE*0], quantptr[DCTSIZE*0]); 128 tmp10 = tmp0 + tmp2; /* phase 3 */ 129 tmp11 = tmp0 - tmp2; 134 tmp0 = tmp10 + tmp13; /* phase 2 */ 162 wsptr[DCTSIZE*0] = tmp0 + tmp7; 163 wsptr[DCTSIZE*7] = tmp0 - tmp7; 196 tmp0 = tmp10 + tmp13; 221 outptr[0] = range_limit[(int) DESCALE((INT32) (tmp0 + tmp7), 3) 223 outptr[7] = range_limit[(int) DESCALE((INT32) (tmp0 - tmp7), 3 [all...] |
jfdctfst.c | 116 DCTELEM tmp0, tmp1, tmp2, tmp3, tmp4, tmp5, tmp6, tmp7; local 127 tmp0 = dataptr[0] + dataptr[7]; 138 tmp10 = tmp0 + tmp3; /* phase 2 */ 139 tmp13 = tmp0 - tmp3; 177 tmp0 = dataptr[DCTSIZE*0] + dataptr[DCTSIZE*7]; 188 tmp10 = tmp0 + tmp3; /* phase 2 */ 189 tmp13 = tmp0 - tmp3;
|