Commit Graph

66 Commits

Author SHA1 Message Date
cduvivier@google.com
181f543de4 AEC specific version of " Real Discrete Fourier Transform".
Lots of AEC CPU usage is coming from calls to 'rdft'. To optimize this,
deep changes (modification of memory layout, ...) have to be done and it
is not practical to do them in an utility library. Most of these changes
will occur in subsequent CLs.

The new file 'aec_core_rdft.c' is a copy of 'modules/audio_processing/
utility/fft4g.c' whose size has been significantly reduced by removing
all code non-necessary to compute rdft. The main entry point and utility
functions have also been modified to take into account the fact that all
'rdft' calls performed by AEC have a length of 128. This yields:
* 1.8% AEC overall speedup for the straight C path.
* 2.3% AEC overall speedup for the SSE2 path.
Review URL: http://webrtc-codereview.appspot.com/44008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@126 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-24 18:22:47 +00:00
marpan@google.com
3ad9c18843 Update on content metrics:
Added metrics averaged over intervals of the loss/bandwidth reports, to be used for adjustment of robustness settings. Separated this set
from the (global) metrics used for resolution adaptation.
Some code cleanup in content_metrics.cc/.h.
Review URL: http://webrtc-codereview.appspot.com/52002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@125 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-24 18:08:33 +00:00
marpan@google.com
0d7e5bc712 Fix bug on key frame boost allocation, and some update/cleanup to same function.
Review URL: http://webrtc-codereview.appspot.com/50001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@123 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-23 16:36:33 +00:00
hellner@google.com
3c45dfd178 Fixes valgrind warnings in the rtp_rtcp module.
Review URL: http://webrtc-codereview.appspot.com/47005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@122 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-23 16:24:03 +00:00
ajm@google.com
95fa29ec96 Creating a new directory for test data files, and moving audio_processing files there.
Review URL: http://webrtc-codereview.appspot.com/48004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@121 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-23 11:45:12 +00:00
henrika@google.com
4bf9c0b123 Adds sanity checks related to IAudioCaptureClient::GetBuffer.
Review URL: http://webrtc-codereview.appspot.com/45006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@120 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-23 09:44:59 +00:00
ronghuawu@google.com
36d93504b8 Remove the full header file path to:
1) align with all the other webrtc header files.
2) and for the case(libjingle) when we want to deliver webrtc as lib and headers - all the headers will be in one folder.
Review URL: http://webrtc-codereview.appspot.com/44007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@118 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-22 21:17:43 +00:00
mikhal@google.com
2b83acef3e VCM/JB: Setting only non-empty frames for decoding (when not waiting for NACK).
Review URL: http://webrtc-codereview.appspot.com/49001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@117 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-22 17:25:06 +00:00
tlegrand@google.com
5b95bcd22c Critical section in constructor, audio coding module
Two changes in this CL:
-Removal of a critical section lock in the constructor of audio coding module
-Removal of one unused variable
Review URL: http://webrtc-codereview.appspot.com/43001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@116 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-22 09:21:51 +00:00
holmer@google.com
868b857395 Remove a test case that only causes problems due to badly
synchronized test. The test is as useful without this test case.
Review URL: http://webrtc-codereview.appspot.com/47003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@115 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-22 08:37:54 +00:00
hlundin@google.com
2f887323a0 Bugfix in VP8 wrapper Decode method
Failed to preserve the size parameter in the keyframe storage.
Review URL: http://webrtc-codereview.appspot.com/48003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@113 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-21 14:33:28 +00:00
ajm@google.com
909118894b Adding all necessary MapSetting and MapError functions. This doesn't alter the existing functionality but just "formalizes" the mapping layer for the underlying components.
Review URL: http://webrtc-codereview.appspot.com/44002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@111 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-21 12:58:27 +00:00
hellner@google.com
305651ca78 Fixed valgrind warning in the udp_module.
Review URL: http://webrtc-codereview.appspot.com/45004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@109 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 23:06:04 +00:00
ronghuawu@google.com
ba28d7fd4e Include assert.h for the compile error we got from try bot linux_clang.
Review URL: http://webrtc-codereview.appspot.com/44005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@108 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 18:19:13 +00:00
mikhal@google.com
717c869579 Review URL: http://webrtc-codereview.appspot.com/48001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@107 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 18:08:43 +00:00
holmer@google.com
b7a41937ba Fixes missing initializations in video_coding.
Review URL: http://webrtc-codereview.appspot.com/43004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@104 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 14:43:51 +00:00
holmer@google.com
2f2971c6f3 Fixed a bug in the BitRateStats class and at the same time
rewrote it a bit.
Review URL: http://webrtc-codereview.appspot.com/41001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@103 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 14:07:42 +00:00
hlundin@google.com
40eac91f40 Update test tool RTPchange
Update file format to match recent changes in RTPanalyze.
Review URL: http://webrtc-codereview.appspot.com/45003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@102 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 13:20:38 +00:00
henrika@google.com
54bc6a61f5 Improves quality of AudioDeviceWindowsCore::_GetDeviceName.
The current version can crash if the output string is invalid.
Review URL: http://webrtc-codereview.appspot.com/45002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@100 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 09:41:22 +00:00
mikhal@google.com
ab0cfe66a9 VP8 wrapper: Adding an IFDEF prior to new interface. This will allow the wrapper to build with the Bali release.
Review URL: http://webrtc-codereview.appspot.com/47001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@99 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 05:28:08 +00:00
ronghuawu@google.com
f5ca23dfff Disable ChangeWindow function for chromium build.
Review URL: http://webrtc-codereview.appspot.com/44004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@98 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-17 22:18:43 +00:00
mikhal@google.com
3a321fca39 Updating VP8 wrapper with RC parameters
Review URL: http://webrtc-codereview.appspot.com/44001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@97 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-17 19:17:40 +00:00
marpan@google.com
023abafa4e Modified the FEC to allow for option of unequal protection (UEP) across packets.
Added two files under testFec, removed old testFec.cpp, and added two
new files for generating packet masks: _internal.cc/h.
Review URL: http://webrtc-codereview.appspot.com/26003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@94 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-16 23:00:40 +00:00
marpan@google.com
ae0ad911a1 Modified the FEC to allow for option of unequal protection (UEP) across packets.
Added two files under testFec, removed old testFec.cpp, and added two
new files for generating packet masks: _internal.cc/h.
Review URL: http://webrtc-codereview.appspot.com/26003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@93 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-16 21:44:38 +00:00
mikhal@google.com
e25b0148c9 Clean up of media_opt_util.cc
Review URL: http://webrtc-codereview.appspot.com/33007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@92 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-16 16:11:33 +00:00
hlundin@google.com
0f15aea0ea Fix build error in NetEQ when disabling NETEQ_CNG_CODEC
An #ifdef guard was missing, which caused NetEQ not to compile
when NETEQ_CNG_CODEC was not defined. This is Issue 10 
(http://code.google.com/p/webrtc/issues/detail?id=10).
Review URL: http://webrtc-codereview.appspot.com/43002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@91 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-16 11:44:52 +00:00
ajm@google.com
a6f54fd726 Removing some warnings from the APM build with -Wall -Wextra. Also cleaning up the unit test a bit.
Review URL: http://webrtc-codereview.appspot.com/38002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@90 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-16 00:04:40 +00:00
niklase@google.com
ff72b0d8f3 Review URL: http://webrtc-codereview.appspot.com/40002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@89 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 23:43:03 +00:00
niklase@google.com
89714f2880 Review URL: http://webrtc-codereview.appspot.com/33009
git-svn-id: http://webrtc.googlecode.com/svn/trunk@88 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 23:07:17 +00:00
hellner@google.com
2825861105 udp_transport had references to Windows CE in gyp file. Removed that.
Review URL: http://webrtc-codereview.appspot.com/33008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@87 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 20:18:29 +00:00
hlundin@google.com
b7686af27c Remove warnings on Windows
Make member variable payload_size_ int instead of unsigned
to avoid warnings when comparing (> and >=).
Review URL: http://webrtc-codereview.appspot.com/40001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@86 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 11:35:59 +00:00
hlundin@google.com
7c53a0c67e Make r80 build on Windows
Re-submitting revision r80, but with bugfix to make it
build on Windows.

git-svn-id: http://webrtc.googlecode.com/svn/trunk@85 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 09:38:28 +00:00
henrika@google.com
2020656fb6 Removed invalid documents.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@84 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 09:34:42 +00:00
henrika@google.com
f561f488fc Temporary rollback to be able to build on Windows. Will be fixed soon.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@82 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 08:37:18 +00:00
hlundin@google.com
0c32a8d65e VP8 RTP packetizer rewrite
Rewriting the RTP packetizer for VP8 to accommodate more functionality.
This CL does not change the formatting other than that the kStrict
mode now produces equal-sized fragments.
Review URL: http://webrtc-codereview.appspot.com/33006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@80 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 07:43:28 +00:00
holmer@google.com
7925dd575f Added comments and an assert explaining that NACK hasn't been fully
implemented in the mt_rx_tx_test.
Review URL: http://webrtc-codereview.appspot.com/25018

git-svn-id: http://webrtc.googlecode.com/svn/trunk@79 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 07:37:23 +00:00
holmer@google.com
51f2453d98 Fixed a Flush/Start initialization bug in the jitter buffer. Also cleaned
up "Nack estimate".
Review URL: http://webrtc-codereview.appspot.com/32009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@78 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 07:37:08 +00:00
bjornv@google.com
2204835d4d Ported NS initialization to NSx
git-svn-id: http://webrtc.googlecode.com/svn/trunk@77 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 07:25:10 +00:00
bjornv@google.com
0c6284275f Updated the floating point version with bugs found when porting to fixed-point.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@76 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-15 07:24:40 +00:00
mikhal@google.com
17705a9c5a Review URL: http://webrtc-codereview.appspot.com/28004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@74 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-14 17:54:20 +00:00
cduvivier@google.com
5af7a804ea Optimization of "overdrive and suppress":
* float accuracy pow function, vectorized pow approximation, general
  vectorization.
* 10.2% AEC overall speedup for the straight C path.
* 16.1% AEC overall speedup for the SSE2 path.
Review URL: http://webrtc-codereview.appspot.com/24016

git-svn-id: http://webrtc.googlecode.com/svn/trunk@72 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-13 18:56:48 +00:00
ajm@google.com
0333cf6c57 Adding Bjorn to overall audio_processing OWNERS file (thereby allowing the deletion of all the sub-folder files).
Review URL: http://webrtc-codereview.appspot.com/24015

git-svn-id: http://webrtc.googlecode.com/svn/trunk@70 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-13 16:45:50 +00:00
henrika@google.com
f169dd3788 Ensures that trace messages are printed correctly taking into
account that WebRTC for Windows is built with UNICODE enabled.

This patch affects Windows Wave only.
Review URL: http://webrtc-codereview.appspot.com/39001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@69 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-13 15:55:29 +00:00
bjornv@google.com
96cbe6b283 Shortened the audio files used in unit test to speed it up.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@68 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-13 13:12:05 +00:00
hlundin@google.com
e01b865616 Implement Copy method for VP8 decoder
Use get/set reference frames to realize a decoder cloning. Must
also inject the latest keyframe. Note: this CL does not work with
the Bali release of libvpx. Must apply the bug fix in commit fbea3728.
Review URL: http://webrtc-codereview.appspot.com/32004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@67 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-13 07:02:25 +00:00
xians@google.com
cb8715660d take away some compiling warnings.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@66 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-10 12:01:25 +00:00
mikhal@google.com
fea5f7e30e Review URL: http://webrtc-codereview.appspot.com/34004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@59 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-08 16:48:01 +00:00
hlundin@google.com
9e7644c20c Change implementation of Reset function in VP8 wrapper
The Reset function was modified so that the encoder is destroyed
and recreated on reset. Initialization of the encoder and setting
of the encoder speed is now done in a private method, to avoid
code duplication. (It is used both in InitEncode and in Reset.)
This change is needed to make the unit tests pass with newer
versions of libvpx.
Review URL: http://webrtc-codereview.appspot.com/33004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@56 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-08 07:02:33 +00:00
leozwang@google.com
7f43de8dc9 refactor java code
Review URL: http://webrtc-codereview.appspot.com/29011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@55 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-07 17:58:15 +00:00
leozwang@google.com
7a60252e4f refactor render java code
Review URL: http://webrtc-codereview.appspot.com/25017

git-svn-id: http://webrtc.googlecode.com/svn/trunk@54 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-07 17:53:23 +00:00