Commit Graph

85 Commits

Author SHA1 Message Date
cduvivier@google.com
fae3b31707 Optimization/cleanup of 'aec_rfdt' initialization (constants, LUT, ...):
* 2.7% AEC overall speedup for the straight C path.
* 3.5% AEC overall speedup for the SSE2 path.
Review URL: http://webrtc-codereview.appspot.com/60001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@152 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-06 18:32:59 +00:00
ajm@google.com
7c4469bf61 Revamp of audio_processing unit test to use protocol buffers. Chromium's protobuf version is synced to third_party. This isn't really needed for the unit test, but I'd like to use it soon for echo recordings, so I used this as a warm up.
Review URL: http://webrtc-codereview.appspot.com/56002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@151 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-06 17:45:37 +00:00
holmer@google.com
98b4ed1ff8 Disabling DEBUG_FILE in the overuse detector by default.
Review URL: http://webrtc-codereview.appspot.com/63001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@149 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-05 14:47:23 +00:00
tlegrand@google.com
2b4b7f1321 Moving two testfiles, audio coding module.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@148 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-05 09:17:37 +00:00
tlegrand@google.com
0adca82c35 Move iLBC test and reference files to new location.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@147 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-05 09:10:23 +00:00
mikhal@google.com
cdc943e2d5 VCM: 1. Updating handling of empty packets. 2. Updating JB test. 3. Removing un-used code.
Review URL: http://webrtc-codereview.appspot.com/59001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@142 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-01 18:15:11 +00:00
marpan@google.com
c13708271a Update media_opt_util with frame size parameters.
Review URL: http://webrtc-codereview.appspot.com/51002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@141 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-01 17:18:53 +00:00
hlundin@google.com
6b04739e04 Route CodecSpecificInfo from encoder to packetizer
Making a long chain of interface changes to route a CodecSpecificInfo
struct from the video encoder function to the RTPSenderVideo. This
will be used to convey information needed by the RTP packetizer when
building the RTP headers.
Review URL: http://webrtc-codereview.appspot.com/56001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@140 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-01 08:32:57 +00:00
mikhal@google.com
b5427cbd35 Changing JPEG API to to accept rawImage and encodedImage; moved video_image.h from modules/video_coding/codecs to common_video/interface, and some general re-write to JPEG, especially with regard to memory handling. Required VCM/ViE changes are also included.
Review URL: http://webrtc-codereview.appspot.com/55002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@139 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-01 01:17:49 +00:00
marpan@google.com
67d7282900 Allow the FEC to protect up to maximum #packets (48) if the
media packet list is above this max.
Review URL: http://webrtc-codereview.appspot.com/45005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@138 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-30 20:14:15 +00:00
cduvivier@google.com
9d94116697 Optimization of 'rftbsub':
* scalar optimization, vectorization.
* 0.5% AEC overall speedup for the straight C path.
* 2.8% AEC overall speedup for the SSE2 path.
Review URL: http://webrtc-codereview.appspot.com/48008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@137 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-30 19:19:37 +00:00
leozwang@google.com
8ec2231979 Add aec_rdft.c to android build
Review URL: http://webrtc-codereview.appspot.com/58001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@136 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-30 18:34:09 +00:00
cduvivier@google.com
20cb6b684b Optimization of 'rftfsub':
* scalar optimization, vectorization (including new file for SSE2 code
  and path selection mechanism).
* 0.5% AEC overall speedup for the straight C path.
* 3.0% AEC overall speedup for the SSE2 path.
Review URL: http://webrtc-codereview.appspot.com/46005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@134 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-30 01:22:19 +00:00
leozwang@google.com
190d0873b0 Remove included header files on that unit_test is not dependent, correct error in last CL
Review URL: http://webrtc-codereview.appspot.com/57001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@133 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-29 22:45:59 +00:00
leozwang@google.com
6fb5d19289 Add Android.mk for apm unit test and make it compile on android
Review URL: http://webrtc-codereview.appspot.com/54001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@132 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-29 22:01:00 +00:00
mikhal@google.com
21a4405d01 VPLIB/Interpolation - Delete decode buffer only if too small, this required an API change. In addition, done some clean up and updated test and related code in VCM.
Review URL: http://webrtc-codereview.appspot.com/46003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@131 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-29 17:00:03 +00:00
marpan@google.com
1eccf7dfb3 Some code cleanup for rtp_sender_video.cc.
Review URL: http://webrtc-codereview.appspot.com/44003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@130 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-28 23:10:33 +00:00
marpan@google.com
e02b57e397 Updates to qm_select: Function to update content state, and function for FEC rate adjustment.
Added packetLoss parameter to qm_select, and some code clean-up.
Review URL: http://webrtc-codereview.appspot.com/44009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@128 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-28 00:02:51 +00:00
leozwang@google.com
6cc3f000fc Include forward_error_correction_internal.cc which was added in to android build
Review URL: http://webrtc-codereview.appspot.com/53001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@127 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-27 16:27:18 +00:00
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