diff options
author | Eric Laurent <elaurent@google.com> | 2012-01-31 14:20:52 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2012-02-02 08:57:35 -0800 |
commit | c55a96383497a772a307b346368133960b02ad03 (patch) | |
tree | 43b7aaa9cf8b8d42d0d58e123d27e37ad96607a5 /src/modules/audio_processing/aecm/main/matlab/matlab/hisser2.m | |
parent | 4b6dc1ec58105d17dc8c2f550124cc0621dc93b7 (diff) | |
download | webrtc-c55a96383497a772a307b346368133960b02ad03.tar.gz |
update to webrtc revision 1349
Updated audio processing modules from revision 180 to 1349.
Main changes are:
- code clean up and reformating
- source path reorganization
- improved performance
Also imported test code that was not included in initial
drop from webrtc.
Change-Id: Ie4eb0e29990052e5f2d7f0b271b42eead40dbb6a
Diffstat (limited to 'src/modules/audio_processing/aecm/main/matlab/matlab/hisser2.m')
-rw-r--r-- | src/modules/audio_processing/aecm/main/matlab/matlab/hisser2.m | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/modules/audio_processing/aecm/main/matlab/matlab/hisser2.m b/src/modules/audio_processing/aecm/main/matlab/matlab/hisser2.m deleted file mode 100644 index 5a414f9da8..0000000000 --- a/src/modules/audio_processing/aecm/main/matlab/matlab/hisser2.m +++ /dev/null @@ -1,21 +0,0 @@ -function bcount=hisser2(bs,bsr,bandfirst,bandlast) -% function bcount=hisser(bspectrum,bandfirst,bandlast) -% histogram for the binary spectra -% bcount= array of bit counts -% bs=binary spectrum (one int32 number each) -% bsr=reference binary spectra (one int32 number each) -% blockSize = histogram over blocksize blocks -% bandfirst = first band considered -% bandlast = last band considered - -% weight all delays equally -maxDelay = length(bsr); - -% compute counts (two methods; the first works better and is operational) -bcount=zeros(maxDelay,1); -for(i=1:maxDelay) - % the delay should have low count for low-near&high-far and high-near&low-far - bcount(i)= sum(bitget(bitxor(bs,bsr(i)),bandfirst:bandlast)); - % the delay should have low count for low-near&high-far (works less well) -% bcount(i)= sum(bitget(bitand(bsr(i),bitxor(bs,bsr(i))),bandfirst:bandlast)); -end |