Lines Matching refs:shift

58     The result of a shift is undefined if the right operand is greater than
60 To avoid undefined shift by 32, a check of the shift has been
62 than 32. By design the shift up is related to the global gain,
65 input buffer or excessive down shift is detected.
96 - Corrected negative shift when computing rounding factor
577 Int shift;
630 * "The result [of a shift] is undefined if the right operand is
633 * => avoid shift by 32 or 16
656 Int shift = exp + 15 - SCALING;
674 temp = fxp_mul_16_by_16bb(temp2, winx) >> shift;
675 temp2 = fxp_mul_16_by_16tt(temp2, winx) >> shift;
683 temp = fxp_mul_16_by_16bb(temp2, win1) >> shift;
684 test2 = fxp_mul_16_by_16tb(temp2, win2) >> shift;
709 shift = exp + 15 - SCALING;
726 limiter(*(pOutput_buffer++), (test1 + (fxp_mul_16_by_16(dat1, win1) >> shift)));
728 limiter(*(pOutput_buffer_2++), (test2 + (fxp_mul_16_by_16(dat2, win2) >> shift)));
758 Int shift = -exp;
761 Int32 temp2 = ((Int32) * (pFreq_2_Time_data_1++)) << shift;
763 temp2 = ((Int32) * (pFreq_2_Time_data_1++)) << shift;
806 temp = fxp_mul_16_by_16(dat1, win1) >> shift;
809 temp2 = fxp_mul_16_by_16(dat2, win2) >> shift;
854 shift = -exp;
855 Int32 temp1 = ((Int32) * (pFreq_2_Time_data_1++)) << shift;
862 temp1 = ((Int32) * (pFreq_2_Time_data_1++)) << shift;
899 shift = exp + 15 - SCALING;
913 limiter(*(pOutput_buffer++), (temp + (test >> shift)));
919 limiter(*(pOutput_buffer_2++), (temp + (test >> shift)));
950 temp = fxp_mul_16_by_16(dat1, win1) >> shift;
957 temp = fxp_mul_16_by_16(*pFreq_2_Time_data_2++, *(pLong_Window_2--)) >> shift;
972 /* all zeros buffer or excessive down shift */
1077 * 16 ( it becomes an undefined shift) -> skip
1116 shift = exp + 15 - SCALING;
1130 *(pOverlap_and_Add_Buffer_2++) = temp + (fxp_mul_16_by_16(dat2, win2) >> shift);
1132 *(pOverlap_and_Add_Buffer_1++) = fxp_mul_16_by_16(dat1, win1) >> shift;
1175 * 16 ( it becomes an undefined shift) -> skip
1207 shift = exp + 15 - SCALING;
1216 *(pScrath_mem++) = fxp_mul_16_by_16(dat1, win1) >> (shift);
1224 *(pOverlap_and_Add_Buffer_1++) = fxp_mul_16_by_16(dat1, win1) >> shift;
1237 *(pOverlap_and_Add_Buffer_2++) = temp + (fxp_mul_16_by_16(dat1, win1) >> shift);
1286 * 16 ( it becomes an undefined shift) -> skip
1318 shift = exp + 15 - SCALING;
1328 *(pScrath_mem++) = fxp_mul_16_by_16(dat1, win1) >> shift;
1339 test = fxp_mul_16_by_16(dat1, win1) >> shift;
1356 temp = fxp_mul_16_by_16(dat1, win1) >> (shift);
1414 * 16 ( it becomes an undefined shift) -> skip
1459 shift = exp + 15 - SCALING;
1467 test = fxp_mul_16_by_16(dat1, win1) >> shift;
1477 *(pScrath_mem++) = fxp_mul_16_by_16(dat1, win1) >> shift;
1581 Int shift;
1632 * "The result [of a shift] is undefined if the right operand is
1635 * => avoid shift by 32 or 16
1663 Int shift = exp + 15 - SCALING;
1677 temp = fxp_mul_16_by_16bb(temp2, winx) >> shift;
1678 temp2 = fxp_mul_16_by_16tt(temp2, winx) >> shift;
1689 temp = fxp_mul_16_by_16bb(temp2, win1) >> shift;
1690 test2 = fxp_mul_16_by_16tb(temp2, win2) >> shift;
1722 shift = exp + 15 - SCALING;
1738 limiter(*(pInterleaved_output), (test1 + (fxp_mul_16_by_16(dat1, win1) >> shift)));
1742 limiter(*(pInterleaved_output_2), (test2 + (fxp_mul_16_by_16(dat2, win2) >> shift)));
1774 Int shift = -exp;
1777 Int32 temp2 = ((Int32) * (pFreq_2_Time_data_1++)) << shift;
1779 temp2 = ((Int32) * (pFreq_2_Time_data_1++)) << shift;
1824 temp = fxp_mul_16_by_16(dat1, win1) >> shift;
1827 temp2 = fxp_mul_16_by_16(dat2, win2) >> shift;
1873 shift = -exp;
1875 Int32 temp1 = ((Int32) * (pFreq_2_Time_data_1++)) << shift;
1883 temp1 = ((Int32) * (pFreq_2_Time_data_1++)) << shift;
1919 shift = exp + 15 - SCALING;
1934 limiter(*(pInterleaved_output), (temp + (test >> shift)));
1943 limiter(*(pInterleaved_output_2), (temp + (test >> shift)));
1980 temp = fxp_mul_16_by_16(dat1, win1) >> shift;
1988 temp = fxp_mul_16_by_16(*pFreq_2_Time_data_2++, *(pLong_Window_2--)) >> shift;
2003 /* all zeros buffer or excessive down shift */
2107 * 16 ( it becomes an undefined shift) -> skip
2146 shift = exp + 15 - SCALING;
2160 *(pOverlap_and_Add_Buffer_2++) = temp + (fxp_mul_16_by_16(dat2, win2) >> shift);
2162 *(pOverlap_and_Add_Buffer_1++) = fxp_mul_16_by_16(dat1, win1) >> shift;
2205 * 16 ( it becomes an undefined shift) -> skip
2237 shift = exp + 15 - SCALING;
2246 *(pScrath_mem++) = fxp_mul_16_by_16(dat1, win1) >> shift;
2254 *(pOverlap_and_Add_Buffer_1++) = fxp_mul_16_by_16(dat1, win1) >> shift;
2267 *(pOverlap_and_Add_Buffer_2++) = temp + (fxp_mul_16_by_16(dat1, win1) >> shift);
2319 * 16 ( it becomes an undefined shift) -> skip
2351 shift = exp + 15 - SCALING;
2360 *(pScrath_mem++) = fxp_mul_16_by_16(dat1, win1) >> shift;
2372 test = fxp_mul_16_by_16(dat1, win1) >> shift;
2390 temp = fxp_mul_16_by_16(dat1, win1) >> shift;
2450 * 16 ( it becomes an undefined shift) -> skip
2495 shift = exp + 15 - SCALING;
2503 test = fxp_mul_16_by_16(dat1, win1) >> shift;
2513 *(pScrath_mem++) = fxp_mul_16_by_16(dat1, win1) >> shift;