Home | History | Annotate | Download | only in source

Lines Matching defs:dB

31 // subplot(121); plot(in, out); axis([-30, 0, -5, 20]); grid on; xlabel('Input (dB)'); ylabel('Gain (dB)');
32 // subplot(122); plot(in, in+out); axis([-30, 0, -30, 5]); grid on; xlabel('Input (dB)'); ylabel('Output (dB)');
129 // Calculate a denominator used in the exponential part to convert from dB to linear scale:
258 // start out with 0 dB gain
522 // multiply by 253/256 ==> -0.1 dB
628 state->stdLongTerm = 0; // standard deviation of input level in dB
635 state->stdShortTerm = 0; // short-term standard deviation of input level in dB
654 WebRtc_Word16 zeros, dB;
719 dB = WEBRTC_SPL_LSHIFT_W16(15 - zeros, 11);
730 tmp32 = (WEBRTC_SPL_MUL_16_16(state->meanShortTerm, 15) + (WebRtc_Word32)dB);
734 tmp32 = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(dB, dB), 12);
744 tmp32 = WEBRTC_SPL_MUL_16_16(state->meanLongTerm, state->counter) + (WebRtc_Word32)dB;
749 tmp32 = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(dB, dB), 12);
761 tmp32 = WEBRTC_SPL_MUL_16_16(tmp16, (dB - state->meanLongTerm));