/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
D | decode_bwe.c | 23 WebRtc_UWord32 send_ts, in WebRtcIsac_EstimateBandwidth() 24 WebRtc_UWord32 arr_ts, in WebRtcIsac_EstimateBandwidth() 30 WebRtc_UWord32 sendTimestampIn16kHz; in WebRtcIsac_EstimateBandwidth() 31 WebRtc_UWord32 arrivalTimestampIn16kHz; in WebRtcIsac_EstimateBandwidth() 32 WebRtc_UWord32 diffSendTime; in WebRtcIsac_EstimateBandwidth() 33 WebRtc_UWord32 diffArrivalTime; in WebRtcIsac_EstimateBandwidth() 58 diffSendTime = (WebRtc_UWord32)((WebRtc_UWord32)send_ts - in WebRtcIsac_EstimateBandwidth() 59 (WebRtc_UWord32)bwest_str->senderTimestamp); in WebRtcIsac_EstimateBandwidth() 62 diffArrivalTime = (WebRtc_UWord32)((WebRtc_UWord32)arr_ts - in WebRtcIsac_EstimateBandwidth() 63 (WebRtc_UWord32)bwest_str->receiverTimestamp); in WebRtcIsac_EstimateBandwidth() [all …]
|
D | arith_routines_hist.c | 23 WebRtc_UWord32 W_lower, W_upper; in WebRtcIsac_EncHistMulti() 24 WebRtc_UWord32 W_upper_LSB, W_upper_MSB; in WebRtcIsac_EncHistMulti() 27 WebRtc_UWord32 cdf_lo, cdf_hi; in WebRtcIsac_EncHistMulti() 38 cdf_lo = (WebRtc_UWord32) *(*cdf + *data); in WebRtcIsac_EncHistMulti() 39 cdf_hi = (WebRtc_UWord32) *(*cdf++ + *data++ + 1); in WebRtcIsac_EncHistMulti() 91 WebRtc_UWord32 W_lower, W_upper; in WebRtcIsac_DecHistBisectMulti() 92 WebRtc_UWord32 W_tmp; in WebRtcIsac_DecHistBisectMulti() 93 WebRtc_UWord32 W_upper_LSB, W_upper_MSB; in WebRtcIsac_DecHistBisectMulti() 94 WebRtc_UWord32 streamval; in WebRtcIsac_DecHistBisectMulti() 199 WebRtc_UWord32 W_lower, W_upper; in WebRtcIsac_DecHistOneStepMulti() [all …]
|
D | structs.h | 29 WebRtc_UWord32 W_upper; 30 WebRtc_UWord32 streamval; 31 WebRtc_UWord32 stream_index; 159 WebRtc_UWord32 prev_rec_send_ts; 162 WebRtc_UWord32 prev_rec_arr_ts; 168 WebRtc_UWord32 last_update_ts; 171 WebRtc_UWord32 last_reduction_ts; 215 WebRtc_UWord32 start_wait_period; 221 WebRtc_UWord32 senderTimestamp; 222 WebRtc_UWord32 receiverTimestamp; [all …]
|
D | arith_routines_logist.c | 52 static __inline WebRtc_UWord32 piecewise(WebRtc_Word32 xinQ15) { in piecewise() 55 WebRtc_UWord32 tmpUW32; in piecewise() 87 WebRtc_UWord32 W_lower, W_upper; in WebRtcIsac_EncLogisticMulti2() 88 WebRtc_UWord32 W_upper_LSB, W_upper_MSB; in WebRtcIsac_EncLogisticMulti2() 92 WebRtc_UWord32 cdf_lo, cdf_hi; in WebRtcIsac_EncLogisticMulti2() 179 WebRtc_UWord32 W_lower, W_upper; in WebRtcIsac_DecLogisticMulti2() 180 WebRtc_UWord32 W_tmp; in WebRtcIsac_DecLogisticMulti2() 181 WebRtc_UWord32 W_upper_LSB, W_upper_MSB; in WebRtcIsac_DecLogisticMulti2() 182 WebRtc_UWord32 streamval; in WebRtcIsac_DecLogisticMulti2() 184 WebRtc_UWord32 cdf_tmp; in WebRtcIsac_DecLogisticMulti2()
|
D | crc.c | 18 static const WebRtc_UWord32 kCrcTable[256] = { 85 WebRtc_UWord32* crc) in WebRtcIsac_GetCrc() 88 WebRtc_UWord32 crc_state; in WebRtcIsac_GetCrc()
|
/external/webrtc/src/modules/interface/ |
D | module_common_types.h | 22 WebRtc_UWord32 timestamp; 23 WebRtc_UWord32 ssrc; 25 WebRtc_UWord32 arrOfCSRCs[kRtpCsrcSize]; 174 fragmentationOffset = new WebRtc_UWord32[header.fragmentationVectorSize]; 178 fragmentationLength = new WebRtc_UWord32[header.fragmentationVectorSize]; 199 header.fragmentationVectorSize * sizeof(WebRtc_UWord32)); 204 header.fragmentationVectorSize * sizeof(WebRtc_UWord32)); 226 WebRtc_UWord32* oldOffsets = fragmentationOffset; in VerifyAndAllocateFragmentationHeader() 227 fragmentationOffset = new WebRtc_UWord32[size]; in VerifyAndAllocateFragmentationHeader() 229 sizeof(WebRtc_UWord32)*(size-oldVectorSize)); in VerifyAndAllocateFragmentationHeader() [all …]
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
D | arith_routines_hist.c | 40 WebRtc_UWord32 W_lower; in WebRtcIsacfix_EncHistMulti() 41 WebRtc_UWord32 W_upper; in WebRtcIsacfix_EncHistMulti() 42 WebRtc_UWord32 W_upper_LSB; in WebRtcIsacfix_EncHistMulti() 43 WebRtc_UWord32 W_upper_MSB; in WebRtcIsacfix_EncHistMulti() 48 WebRtc_UWord32 cdfLo; in WebRtcIsacfix_EncHistMulti() 49 WebRtc_UWord32 cdfHi; in WebRtcIsacfix_EncHistMulti() 63 cdfLo = (WebRtc_UWord32) *(*cdf + (WebRtc_UWord32)*data); in WebRtcIsacfix_EncHistMulti() 64 cdfHi = (WebRtc_UWord32) *(*cdf++ + (WebRtc_UWord32)*data++ + 1); in WebRtcIsacfix_EncHistMulti() 154 WebRtc_UWord32 W_lower = 0; in WebRtcIsacfix_DecHistBisectMulti() 155 WebRtc_UWord32 W_upper; in WebRtcIsacfix_DecHistBisectMulti() [all …]
|
D | structs.h | 30 WebRtc_UWord32 W_upper; /* Upper boundary of interval W */ 31 WebRtc_UWord32 streamval; 42 WebRtc_UWord32 W_upper; /* Upper boundary of interval W */ 43 WebRtc_UWord32 streamval; 65 WebRtc_UWord32 OldEnergy; 76 WebRtc_UWord32 OldEnergy; 195 WebRtc_UWord32 prevSendTime; /* Send time for previous packet, from RTP header */ 196 …WebRtc_UWord32 prevArrivalTime; /* Arrival time for previous packet (in ms using timeGetTime… 198 …WebRtc_UWord32 lastUpdate; /* Time since the last update of the Bottle Neck estimate (i… 199 WebRtc_UWord32 lastReduction; /* Time sinse the last reduction (in samples) */ [all …]
|
D | arith_routines_logist.c | 104 WebRtc_UWord32 W_lower; in WebRtcIsacfix_EncLogisticMulti2() 105 WebRtc_UWord32 W_upper; in WebRtcIsacfix_EncLogisticMulti2() 112 WebRtc_UWord32 cdfLo; in WebRtcIsacfix_EncLogisticMulti2() 113 WebRtc_UWord32 cdfHi; in WebRtcIsacfix_EncLogisticMulti2() 236 WebRtc_UWord32 W_lower; in WebRtcIsacfix_DecLogisticMulti2() 237 WebRtc_UWord32 W_upper; in WebRtcIsacfix_DecLogisticMulti2() 238 WebRtc_UWord32 W_tmp; in WebRtcIsacfix_DecLogisticMulti2() 241 WebRtc_UWord32 streamVal; in WebRtcIsacfix_DecLogisticMulti2()
|
D | pitch_estimator.c | 38 static __inline WebRtc_Word32 Log2Q8( WebRtc_UWord32 x ) { in Log2Q8() 44 …frac=(WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(((WebRtc_UWord32)(WEBRTC_SPL_LSHIFT_W32(x, zeros))&0x7FF… in Log2Q8() 185 lys=Log2Q8((WebRtc_UWord32) ysum32); // Q8 in PCorr2Q32() 190 lcs=Log2Q8((WebRtc_UWord32) csum32); // 2log(csum) in Q8 in PCorr2Q32() 247 lys=Log2Q8((WebRtc_UWord32)ysum32); // Q8 in PCorr2Q32() 252 lcs=Log2Q8((WebRtc_UWord32) csum32); // 2log(csum) in Q8 in PCorr2Q32() 325 tmp32a = Log2Q8((WebRtc_UWord32) old_lagQ8) - 2304; // log2(0.5*oldlag) in Q8 in WebRtcIsacfix_InitialPitch() 334 tmp32b = Log2Q8((WebRtc_UWord32) (k + (PITCH_MIN_LAG/2-2))); in WebRtcIsacfix_InitialPitch() 343 tmp32b = Log2Q8((WebRtc_UWord32) bias16) - 2560; // Q10 in -> Q8 out with 10*2^8 offset in WebRtcIsacfix_InitialPitch() 416 tmp32a= Log2Q8((WebRtc_UWord32) *yq) - 2048; // offset 8*2^8 in WebRtcIsacfix_InitialPitch() [all …]
|
/external/webrtc/src/modules/audio_processing/ns/ |
D | nsx_core.h | 24 WebRtc_UWord32 fs; 53 WebRtc_UWord32 featureSpecDiff; 54 WebRtc_UWord32 thresholdSpecDiff; 57 WebRtc_UWord32 featureSpecFlat; 58 WebRtc_UWord32 thresholdSpecFlat; 62 WebRtc_UWord32 magnEnergy; 63 WebRtc_UWord32 sumMagn; 64 WebRtc_UWord32 curAvgMagnEnergy; 65 WebRtc_UWord32 timeAvgMagnEnergy; 66 WebRtc_UWord32 timeAvgMagnEnergyTmp; [all …]
|
D | nsx_core.c | 498 zeros = WebRtcSpl_NormU32((WebRtc_UWord32)magn[i]); in NoiseEstimationC() 499 frac = (WebRtc_Word16)((((WebRtc_UWord32)magn[i] << zeros) in NoiseEstimationC() 588 noise[i] = (WebRtc_UWord32)(inst->noiseEstQuantile[i]); // Q(qNoise) in NoiseEstimationC() 699 WebRtc_UWord32* noise_estimate, in WebRtcNsx_CalcParametricNoiseEstimate() 700 WebRtc_UWord32* noise_estimate_avg) { in WebRtcNsx_CalcParametricNoiseEstimate() 734 *noise_estimate_avg = WEBRTC_SPL_LSHIFT_U32(1, int_part) + (WebRtc_UWord32)tmp32no2; in WebRtcNsx_CalcParametricNoiseEstimate() 736 *noise_estimate = (*noise_estimate_avg) * (WebRtc_UWord32)(inst->blockIndex + 1); in WebRtcNsx_CalcParametricNoiseEstimate() 741 WebRtc_Word32 WebRtcNsx_InitCore(NsxInst_t* inst, WebRtc_UWord32 fs) { in WebRtcNsx_InitCore() 928 WebRtc_UWord32 tmpU32; in WebRtcNsx_FeatureParameterExtraction() 929 WebRtc_UWord32 histIndex; in WebRtcNsx_FeatureParameterExtraction() [all …]
|
/external/webrtc/src/system_wrappers/source/ |
D | sort.cc | 71 for (WebRtc_UWord32 i = 0; i < (NUM_OF_ELEMENTS); i++) \ 88 WebRtc_UWord32 index; 95 WebRtc_UWord32 index; 129 COMPARE_FOR_QSORT(x, y, WebRtc_UWord32); in CompareUWord32() 179 COMPARE_KEY_FOR_QSORT(sortKeyX, sortKeyY, WebRtc_UWord32); in CompareKeyUWord32() 223 inline void IntegerSort(void* data, WebRtc_UWord32 numOfElements) 230 inline void FloatSort(void* data, WebRtc_UWord32 numOfElements) 238 inline void StdSort(void* data, WebRtc_UWord32 numOfElements) 247 WebRtc_UWord32 numOfElements) 256 for (WebRtc_UWord32 i = 0; i < numOfElements; i++) [all …]
|
D | cpu_mac.h | 25 WebRtc_UWord32 /*length*/) {return -1;} in CpuUsage() argument 26 virtual WebRtc_Word32 CpuUsage(WebRtc_UWord32 /*dwProcessID*/) {return -1;} in CpuUsage() argument 31 virtual WebRtc_Word32 CpuUsageMultiCore(WebRtc_UWord32& numCores, 32 WebRtc_UWord32*& array); 40 WebRtc_UWord32 _cpuCount; 41 WebRtc_UWord32* _cpuUsage;
|
D | cpu_linux.h | 25 WebRtc_UWord32 /*length*/) {return 0;} in CpuUsage() argument 26 virtual WebRtc_Word32 CpuUsage(WebRtc_UWord32 /*dwProcessID*/) {return 0;} in CpuUsage() argument 28 virtual WebRtc_Word32 CpuUsageMultiCore(WebRtc_UWord32& numCores, 29 WebRtc_UWord32*& array); 46 WebRtc_UWord32* m_resultArray; 47 WebRtc_UWord32 m_numCores;
|
D | cpu_win.h | 33 WebRtc_UWord32 /*length*/) {return -1;} in CpuUsage() argument 34 virtual WebRtc_Word32 CpuUsage(WebRtc_UWord32 /*dwProcessID*/) {return -1;} in CpuUsage() argument 36 virtual WebRtc_Word32 CpuUsageMultiCore(WebRtc_UWord32& num_cores, 37 WebRtc_UWord32*& cpu_usage); 78 WebRtc_UWord32* cpu_usage_;
|
D | cpu_mac.cc | 42 _cpuUsage = new WebRtc_UWord32[cpuCount]; in CpuWrapperMac() 69 WebRtc_UWord32 numCores; in CpuUsage() 70 WebRtc_UWord32* array = NULL; in CpuUsage() 75 CpuWrapperMac::CpuUsageMultiCore(WebRtc_UWord32& numCores, in CpuUsageMultiCore() 76 WebRtc_UWord32*& array) in CpuUsageMultiCore() 131 _cpuUsage[cpu] = (WebRtc_UWord32)((1000 * in Update()
|
D | cpu_linux.cc | 39 m_resultArray = new WebRtc_UWord32[m_numCores]; in CpuLinux() 56 WebRtc_UWord32 dummy = 0; in CpuUsage() 57 WebRtc_UWord32* dummyArray = NULL; in CpuUsage() 61 WebRtc_Word32 CpuLinux::CpuUsageMultiCore(WebRtc_UWord32& numCores, in CpuUsageMultiCore() 62 WebRtc_UWord32*& coreArray) in CpuUsageMultiCore() 91 for (WebRtc_UWord32 i = 0; i < m_numCores; i++) in CpuUsageMultiCore() 149 for (WebRtc_UWord32 i = 0; i < m_numCores; i++) in GetData()
|
D | cpu_info.cc | 30 WebRtc_UWord32 CpuInfo::_numberOfCores = 0; 32 WebRtc_UWord32 CpuInfo::DetectNumberOfCores() in DetectNumberOfCores() 39 _numberOfCores = static_cast<WebRtc_UWord32>(si.dwNumberOfProcessors); in DetectNumberOfCores() 54 _numberOfCores = static_cast<WebRtc_UWord32>(ncpu); in DetectNumberOfCores()
|
/external/webrtc/src/common_audio/signal_processing/include/ |
D | signal_processing_library.h | 66 ((WebRtc_UWord32) ((WebRtc_UWord32)(a) * (WebRtc_UWord32)(b))) 68 ((WebRtc_UWord32) ((WebRtc_UWord32)(a) * (WebRtc_UWord32)(b)) >> 16) 70 ((WebRtc_UWord32) (WebRtc_UWord16)(a) * (WebRtc_UWord16)(b)) 72 (((WebRtc_UWord32) (WebRtc_UWord16)(a) * (WebRtc_UWord16)(b)) >> 16) 74 ((WebRtc_UWord32) ((WebRtc_UWord32)(a) * (WebRtc_UWord16)(b))) 76 ((WebRtc_UWord32) ((WebRtc_UWord32)(a) * (WebRtc_UWord16)(b)) >> 16) 82 ((WebRtc_UWord32) ((WebRtc_UWord32)(a) / (WebRtc_UWord32)(b))) 127 (C + (B >> 16) * A + (((WebRtc_UWord32)(0x0000FFFF & B) * A) >> 16)) 155 #define WEBRTC_SPL_RSHIFT_U32(x, c) ((WebRtc_UWord32)(x) >> (c)) 156 #define WEBRTC_SPL_LSHIFT_U32(x, c) ((WebRtc_UWord32)(x) << (c)) [all …]
|
/external/webrtc/src/common_audio/signal_processing/ |
D | randomization_functions.c | 92 WebRtc_UWord32 WebRtcSpl_IncreaseSeed(WebRtc_UWord32 *seed) in WebRtcSpl_IncreaseSeed() 98 WebRtc_Word16 WebRtcSpl_RandU(WebRtc_UWord32 *seed) in WebRtcSpl_RandU() 103 WebRtc_Word16 WebRtcSpl_RandN(WebRtc_UWord32 *seed) in WebRtcSpl_RandN() 111 WebRtc_UWord32* seed) in WebRtcSpl_RandUArray()
|
D | division_operations.c | 26 WebRtc_UWord32 WebRtcSpl_DivU32U16(WebRtc_UWord32 num, WebRtc_UWord16 den) in WebRtcSpl_DivU32U16() 31 return (WebRtc_UWord32)(num / den); in WebRtcSpl_DivU32U16() 34 return (WebRtc_UWord32)0xFFFFFFFF; in WebRtcSpl_DivU32U16()
|
/external/webrtc/src/system_wrappers/interface/ |
D | cpu_wrapper.h | 27 WebRtc_UWord32 length) = 0; 28 virtual WebRtc_Word32 CpuUsage(WebRtc_UWord32 dwProcessID) = 0; 43 virtual WebRtc_Word32 CpuUsageMultiCore(WebRtc_UWord32& numCores, 44 WebRtc_UWord32*& cpu_usage) = 0;
|
D | sort.h | 42 WebRtc_Word32 Sort(void* data, WebRtc_UWord32 numOfElements, Type dataType); 60 WebRtc_Word32 KeySort(void* data, void* key, WebRtc_UWord32 numOfElements, 61 WebRtc_UWord32 sizeOfElement, Type keyType);
|
/external/webrtc/src/modules/audio_processing/aecm/ |
D | aecm_core_neon.c | 193 WebRtc_UWord32* far_energy, in CalcLinearEnergiesNeon() 194 WebRtc_UWord32* echo_energy_adapt, in CalcLinearEnergiesNeon() 195 WebRtc_UWord32* echo_energy_stored) { in CalcLinearEnergiesNeon() 198 register WebRtc_UWord32 far_energy_r; in CalcLinearEnergiesNeon() 199 register WebRtc_UWord32 echo_energy_stored_r; in CalcLinearEnergiesNeon() 200 register WebRtc_UWord32 echo_energy_adapt_r; in CalcLinearEnergiesNeon() 248 *echo_energy_stored = echo_energy_stored_r + (WebRtc_UWord32)echo_est[i]; in CalcLinearEnergiesNeon() 249 *far_energy = far_energy_r + (WebRtc_UWord32)(far_spectrum[i]); in CalcLinearEnergiesNeon()
|