Commit Graph

4190 Commits

Author SHA1 Message Date
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
tommi@google.com
b2e56b9816 Switch use of wsprintfW out for the libjingle equivalent.
Review URL: http://webrtc-codereview.appspot.com/55001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@135 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-30 07:30:13 +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
tommi@google.com
8c8ef22db1 Add an owners file for the peerconnection folder.
Review URL: http://webrtc-codereview.appspot.com/52003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@129 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-28 11:21:07 +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 #93 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
hellner@google.com
d4d27675a8 Minor update that fixes crash in system wrappers unittest. (the crash was in the test of map_wrapper).
Review URL: http://webrtc-codereview.appspot.com/45007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@124 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-23 17:30:17 +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
mflodman@google.com
a591d3fb41 Correcting two auto test errors.
1. See diff for _main.cc.
2. Can't chose custom ports, see line 843 and 997 in new version of _custom_call.cc.

+ Refactored custom_call.cc, which makes the diff quite hard to read
Review URL: http://webrtc-codereview.appspot.com/47004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@119 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-23 08:43:37 +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
hellner@google.com
d3b208d1c9 Fixes Valgrind warnings in system_wrapper.
Review URL: http://webrtc-codereview.appspot.com/48002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@114 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-21 20:23:23 +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
niklase@google.com
e4d43fc727 Adding README.chromium
Review URL: http://webrtc-codereview.appspot.com/47002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@112 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-21 14:12:46 +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
niklase@google.com
33bb406f22 Global OWNERS.
Review URL: http://webrtc-codereview.appspot.com/44006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@110 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-21 08:09:52 +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
mikhal@google.com
2360c09549 VPLIB: Fixing a bug in ConvertYUY2TOI420 + some code clean-up
Review URL: http://webrtc-codereview.appspot.com/46001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@106 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 18:03:34 +00:00
leozwang@google.com
5e9a682f3f add command line test app to gyp build
Review URL: http://webrtc-codereview.appspot.com/24017

git-svn-id: http://webrtc.googlecode.com/svn/trunk@105 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 17:05:14 +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
5e1316f9bb Adds condition in gyp-files to ensure that we can build MFC applications
with different settings of the "Use of MFC" setting in VS for Windows.
Review URL: http://webrtc-codereview.appspot.com/43003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@101 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-20 09:53:51 +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
leozwang@google.com
48c02db6cf enable optimized code for android
Review URL: http://webrtc-codereview.appspot.com/23015

git-svn-id: http://webrtc.googlecode.com/svn/trunk@96 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-17 17:39:05 +00:00
leozwang@google.com
d99fa58ced optimized sqrt in general and for android
Review URL: http://webrtc-codereview.appspot.com/42001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@95 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-17 17:38:50 +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