HomeSort by relevance Sort by last modified time
    Searched defs:nrg (Results 26 - 36 of 36) sorted by null

12

  /external/chromium_org/third_party/webrtc/modules/audio_processing/agc/
analog_agc.c 116 int32_t nrg, max_nrg, sample, tmp32; local
281 nrg = WEBRTC_SPL_MUL_16_16(in_mic[i * L + n], in_mic[i * L + n]);
282 if (nrg > max_nrg)
284 max_nrg = nrg;
405 uint32_t nrg; local
433 nrg = WEBRTC_SPL_MUL_16_16(in_near[sampleCntr], in_near[sampleCntr]);
434 frameNrg += nrg;
    [all...]
digital_agc.c 308 int32_t nrg, max_nrg; local
412 nrg = WEBRTC_SPL_MUL_16_16(out[k * L + n], out[k * L + n]);
413 if (nrg > max_nrg)
415 max_nrg = nrg;
663 int32_t out, nrg, tmp32, tmp32b; local
672 nrg = 0;
701 nrg += WEBRTC_SPL_RSHIFT_W32(tmp32, 6);
707 if (!(0xFFFF0000 & nrg))
714 if (!(0xFF000000 & (nrg << zeros)))
718 if (!(0xF0000000 & (nrg << zeros))
    [all...]
  /external/webrtc/src/modules/audio_processing/agc/
analog_agc.c 116 WebRtc_Word32 nrg, max_nrg, sample, tmp32; local
281 nrg = WEBRTC_SPL_MUL_16_16(in_mic[i * L + n], in_mic[i * L + n]);
282 if (nrg > max_nrg)
284 max_nrg = nrg;
405 WebRtc_UWord32 nrg; local
433 nrg = WEBRTC_SPL_MUL_16_16(in_near[sampleCntr], in_near[sampleCntr]);
434 frameNrg += nrg;
    [all...]
digital_agc.c 313 WebRtc_Word32 nrg, max_nrg; local
417 nrg = WEBRTC_SPL_MUL_16_16(out[k * L + n], out[k * L + n]);
418 if (nrg > max_nrg)
420 max_nrg = nrg;
668 WebRtc_Word32 out, nrg, tmp32, tmp32b; local
677 nrg = 0;
706 nrg += WEBRTC_SPL_RSHIFT_W32(tmp32, 6);
712 if (!(0xFFFF0000 & nrg))
719 if (!(0xFF000000 & (nrg << zeros)))
723 if (!(0xF0000000 & (nrg << zeros))
    [all...]
  /external/aac/libSBRdec/src/
psdec.cpp 595 FIXP_DBL peakDiff, nrg, transRatio; local
687 nrg = h_ps_d->specificTo.mpeg.aPrevNrgBin[bin] + fMult( INT_FILTER_COEFF, aaPowerSlot[bin] - h_ps_d->specificTo.mpeg.aPrevNrgBin[bin] );
691 nrg = fixMax(nrg,FL2FXCONST_DBL(0.f));
693 /* save nrg for the next frame */
694 h_ps_d->specificTo.mpeg.aPrevNrgBin[bin] = nrg;
696 nrg = fMult( nrg, TRANSIENT_IMPACT_FACTOR );
699 if ( peakDiff <= nrg || peakDiff == FL2FXCONST_DBL(0.0) ) {
702 else if ( nrg <= FL2FXCONST_DBL(0.0f) )
    [all...]
  /external/chromium_org/third_party/opus/src/src/
opus_demo.c 245 double bits=0.0, bits_max=0.0, bits_act=0.0, bits2=0.0, nrg; local
    [all...]
  /external/libopus/src/
opus_demo.c 245 double bits=0.0, bits_max=0.0, bits_act=0.0, bits2=0.0, nrg; local
    [all...]
  /external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
entropy_coding.c 507 WebRtc_Word32 nrg; local
569 nrg = 0;
572 nrg += WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(ARCoefQ12[j], WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(CorrQ7_norm[j-n], ARCoefQ12[n]) + 256, 9)) + 4, 3);
574 nrg += WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(ARCoefQ12[j], WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(CorrQ7_norm[n-j], ARCoefQ12[n]) + 256, 9)) + 4, 3);
578 nrg = WEBRTC_SPL_RSHIFT_W32(nrg, lft_shft);
580 nrg = WEBRTC_SPL_LSHIFT_W32(nrg, -lft_shft);
582 if(nrg>131072)
583 gain2_Q10 = WebRtcSpl_DivResultInQ31(FRAMESAMPLES >> 2, nrg); /* also shifts 31 bits to the left! *
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
entropy_coding.c 541 int32_t nrg; local
603 nrg = 0;
606 nrg += WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(ARCoefQ12[j], WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(CorrQ7_norm[j-n], ARCoefQ12[n]) + 256, 9)) + 4, 3);
608 nrg += WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(ARCoefQ12[j], WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(CorrQ7_norm[n-j], ARCoefQ12[n]) + 256, 9)) + 4, 3);
612 nrg = WEBRTC_SPL_RSHIFT_W32(nrg, lft_shft);
614 nrg = WEBRTC_SPL_LSHIFT_W32(nrg, -lft_shft);
616 if(nrg>131072)
617 gain2_Q10 = WebRtcSpl_DivResultInQ31(FRAMESAMPLES >> 2, nrg); /* also shifts 31 bits to the left! *
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
entropy_coding.c 408 int32_t nrg, res; local
533 nrg = 0;
536 nrg += (ARCoefQ12[j] * ((CorrQ7_norm[j - n] * ARCoefQ12[n] + 256) >> 9) +
540 nrg += (ARCoefQ12[j] * ((CorrQ7_norm[n - j] * ARCoefQ12[n] + 256) >> 9) +
545 nrg_u32 = (uint32_t)nrg;
552 nrg = 0x7FFFFFFF;
554 nrg = (int32_t)nrg_u32;
557 gain2_Q10 = WebRtcSpl_DivResultInQ31(FRAMESAMPLES_QUARTER, nrg);
    [all...]
  /external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
entropy_coding.c 408 WebRtc_Word32 nrg, res; local
533 nrg = 0;
536 nrg += (ARCoefQ12[j] * ((CorrQ7_norm[j - n] * ARCoefQ12[n] + 256) >> 9) +
540 nrg += (ARCoefQ12[j] * ((CorrQ7_norm[n - j] * ARCoefQ12[n] + 256) >> 9) +
545 nrg_u32 = (WebRtc_UWord32)nrg;
552 nrg = 0x7FFFFFFF;
554 nrg = (WebRtc_Word32)nrg_u32;
557 gain2_Q10 = WebRtcSpl_DivResultInQ31(FRAMESAMPLES_QUARTER, nrg);
    [all...]

Completed in 811 milliseconds

12