Home | History | Annotate | Download | only in agc

Lines Matching defs:dB

34 // subplot(121); plot(in, out); axis([-30, 0, -5, 20]); grid on; xlabel('Input (dB)'); ylabel('Gain (dB)');
35 // subplot(122); plot(in, in+out); axis([-30, 0, -30, 5]); grid on; xlabel('Input (dB)'); ylabel('Output (dB)');
134 // Calculate a denominator used in the exponential part to convert from dB to linear scale:
270 // start out with 0 dB gain
542 // multiply by 253/256 ==> -0.1 dB
648 state->stdLongTerm = 0; // standard deviation of input level in dB
655 state->stdShortTerm = 0; // short-term standard deviation of input level in dB
674 WebRtc_Word16 zeros, dB;
737 dB = WEBRTC_SPL_LSHIFT_W16(15 - zeros, 11);
748 tmp32 = (WEBRTC_SPL_MUL_16_16(state->meanShortTerm, 15) + (WebRtc_Word32)dB);
752 tmp32 = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(dB, dB), 12);
762 tmp32 = WEBRTC_SPL_MUL_16_16(state->meanLongTerm, state->counter) + (WebRtc_Word32)dB;
767 tmp32 = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(dB, dB), 12);
779 tmp32 = WEBRTC_SPL_MUL_16_16(tmp16, (dB - state->meanLongTerm));