Commit Graph

6972 Commits

Author SHA1 Message Date
xians@google.com
4257b175f3 The Cl is to support mixing output file in a stereo stream.
Previously, an assert will be triggered in case it is not a mono stream.
With the CL, the mono file stream will be copied into a strereo stream and mixed with the channel stream.

More detail about the fix please refer to 
http://code.google.com/p/webrtc/issues/detail?id=36
Review URL: http://webrtc-codereview.appspot.com/93020

git-svn-id: http://webrtc.googlecode.com/svn/trunk@322 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-08 12:02:36 +00:00
xians@google.com
0922815173 exclude the test target from building with chromium.
Review URL: http://webrtc-codereview.appspot.com/93016

git-svn-id: http://webrtc.googlecode.com/svn/trunk@321 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-08 11:44:07 +00:00
xians@google.com
0b0665acc1 This CL changes all the freq relevant variables to be int type. So it will take away the VoE "comparison between signed and unsigned integer expressions" warnings.
BR,
/SX
Review URL: http://webrtc-codereview.appspot.com/89014

git-svn-id: http://webrtc.googlecode.com/svn/trunk@320 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-08 08:18:44 +00:00
leozwang@google.com
81520b7955 Enable protobuf for apm module
Review URL: http://webrtc-codereview.appspot.com/93019

git-svn-id: http://webrtc.googlecode.com/svn/trunk@319 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-05 22:20:03 +00:00
ronghuawu@google.com
35f534529b * Point the webrtc libjingle dependency to third_party_mods.
* For unchanged files, change the third_party_mods libjingle.gyp to point to the original version of libjingle.
Review URL: http://webrtc-codereview.appspot.com/89015

git-svn-id: http://webrtc.googlecode.com/svn/trunk@318 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-05 22:08:29 +00:00
marpan@google.com
8726e270ec Build error fix from r316/r314.
Review URL: http://webrtc-codereview.appspot.com/95013

git-svn-id: http://webrtc.googlecode.com/svn/trunk@317 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-05 21:38:56 +00:00
marpan@google.com
7bb8a9444d Change to r315: code to return error for
incomplete frames (for _feedbackMode off) 
is commented out.
Review URL: http://webrtc-codereview.appspot.com/91016

git-svn-id: http://webrtc.googlecode.com/svn/trunk@316 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-05 21:20:29 +00:00
leozwang@google.com
79835d1bd3 Clean up Android.mk
Review URL: http://webrtc-codereview.appspot.com/92014

git-svn-id: http://webrtc.googlecode.com/svn/trunk@315 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-05 21:01:02 +00:00
marpan@google.com
a1ec48dec2 Updates to VP8 wrapper:
1) Added VP8E_SET_STATIC_THRESHOLD which sets threshold for
   forcing static macroblocks to skipped mode
   (useful for encoding of static background).
2) Removed some code in decoding to allow for 
   decoding of incomplete frames.
3) Minor change to MaxIntraTarget()
4) Added control setting for maximum (target) size of 
   intra-frame.
5) Increased kf_max_dist(reduce/remove key-frame periodicity)  
   since we use kf_auto_mode. 
Review URL: http://webrtc-codereview.appspot.com/101001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@314 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-05 20:51:32 +00:00
ajm@google.com
9f726b9d78 Resubmit r300 with changes required for Windows build.
Review URL: http://webrtc-codereview.appspot.com/97005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@313 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-05 16:46:33 +00:00
xians@google.com
88f94f985e exclude the ACM test target from building with chromium.
Review URL: http://webrtc-codereview.appspot.com/95011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@312 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-05 16:14:51 +00:00
xians@google.com
4d79bf164b exclude the g722 test target from building with chromium.
Review URL: http://webrtc-codereview.appspot.com/92011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@311 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-05 16:14:25 +00:00
xians@google.com
e1cfd5f252 exclude test target from chromium
Review URL: http://webrtc-codereview.appspot.com/92012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@310 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-05 16:14:02 +00:00
xians@google.com
d9102ca593 exclude the jpeg test target from building with chromium.
Review URL: http://webrtc-codereview.appspot.com/92009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@309 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-05 15:45:52 +00:00
xians@google.com
7fa20c3880 exclude both audio_device_test_api and audio_device_test_func test targets from building with chromium.
Review URL: http://webrtc-codereview.appspot.com/97006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@308 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-05 12:04:30 +00:00
xians@google.com
3d292f1649 this CL will strip the test targets from building with chromium.
Review URL: http://webrtc-codereview.appspot.com/99004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@307 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-05 08:32:13 +00:00
xians@google.com
15ad55b03c This CL fixes the gclient runhooks problem with building with chromium.
The problem is 
src/third_party/webrtc/third_party/protobuf/protobuf.gyp not found
Review URL: http://webrtc-codereview.appspot.com/92008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@306 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-05 08:21:25 +00:00
ronghuawu@google.com
a852de7bae The new PeerConnection Api (under development) from p4 libjingle/...@38654.
Review URL: http://webrtc-codereview.appspot.com/91002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@305 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-04 21:09:31 +00:00
ronghuawu@google.com
907c355ca3 Add owner file for the third_party_mods\libjingle.
Review URL: http://webrtc-codereview.appspot.com/95010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@304 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-04 21:06:20 +00:00
ronghuawu@google.com
102944a22b Revert r300.
Review URL: http://webrtc-codereview.appspot.com/91014

git-svn-id: http://webrtc.googlecode.com/svn/trunk@303 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-04 20:48:36 +00:00
ronghuawu@google.com
e256187f8b * Push the //depotGoogle/chrome/third_party/libjingle/...@38654 to svn third_party_mods\libjingle.
* Update the peerconnection sample client accordingly.
Review URL: http://webrtc-codereview.appspot.com/60008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@302 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-04 17:44:30 +00:00
xians@google.com
88bd440ef6 Removing the "initialized after" warnings.
This CL tweat the order of the initialization in the constructor to
adapt to the order of declaration of the members.
Review URL: http://webrtc-codereview.appspot.com/92007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@301 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-04 15:33:30 +00:00
bjornv@google.com
55ce2d8a25 This changelist is basically a code cleanup and restructuring. Main things is that we now have a function for time to frequency transformation and the delay estimator is separated into its own struct and files.
Review URL: http://webrtc-codereview.appspot.com/90004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@300 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-04 07:16:54 +00:00
ajm@google.com
ce7c2a231e Add SSE2 support for Windows.
The previous defines controlling SSE2 use assumed GCC. To fix this:
- Import a chunk of defines to typedefs.h from Chrome's build_config.h, primarily to get WEBRTC_ARCH_X86_FAMILY.
- Add a check derived from WebP to define WEBRTC_USE_SSE2.
- Modify cpu_features.cc to work with MSVC. This code is borrowed from chrome/src/base/cpu.cc.
- Change AEC defines to use WEBRTC_USE_SSE2.
- Remove disable_sse2 check from aec.gyp. This is handled by WEBRTC_USE_SSE2.

(Also remove a bit of unused code from aec_core.h)
Review URL: http://webrtc-codereview.appspot.com/95008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@299 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-04 01:50:00 +00:00
leozwang@google.com
ce9bfbb33d Enable protobuf for Android
Review URL: http://webrtc-codereview.appspot.com/91012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@298 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-03 23:34:31 +00:00
leozwang@google.com
094434fd33 Replace ANDROID with WEBRTC_ANDROID [video capture]
Review URL: http://webrtc-codereview.appspot.com/99001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@297 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-03 21:37:33 +00:00
ajm@google.com
808e0e0dac Update the debug recordings to use protobufs.
Also modify the unittest proto based to correspond with the changes. process_test is a bit of a hack job, but it works fine and isn't too unreadable. We should refactor it properly later.
Review URL: http://webrtc-codereview.appspot.com/98007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@296 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-03 21:08:51 +00:00
mikhal@google.com
320813c2d5 media_opt: Adding UEP to the hybrid mode
Review URL: http://webrtc-codereview.appspot.com/89013

git-svn-id: http://webrtc.googlecode.com/svn/trunk@295 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-03 20:47:50 +00:00
xians@google.com
22963abffe Removing the "initialized after" warnings.
This CL tweat the order of the initialization in the constructor to adapt to the order of declaration of the members.
Review URL: http://webrtc-codereview.appspot.com/99002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@294 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-03 12:40:23 +00:00
holmer@google.com
e0f7d7b7e8 Fixing warnings in the VCM tests. Also fixes a couple of bugs related
to those warnings.
Review URL: http://webrtc-codereview.appspot.com/98003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@293 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-03 07:49:56 +00:00
mallinath@google.com
af874ebc90 warning cleanup in render module
Review URL: http://webrtc-codereview.appspot.com/95007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@292 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-02 22:52:33 +00:00
mallinath@google.com
df11c11cf2 Review URL: http://webrtc-codereview.appspot.com/97002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@291 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-02 22:42:23 +00:00
leozwang@google.com
56f4eb2b28 Replace ANDROID with WEBRTC_ANDROID
Review URL: http://webrtc-codereview.appspot.com/89012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@290 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-02 22:24:43 +00:00
leozwang@google.com
d4e72f4ceb Add return value
Review URL: http://webrtc-codereview.appspot.com/98004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@289 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-02 22:13:36 +00:00
marpan@google.com
c4df42be6b Added option for enabling the video protection settings and testing packet loss/delay in auto_test_loopback.
Also allowing for setting frame size and start rate.
Review URL: http://webrtc-codereview.appspot.com/91008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@288 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-02 18:53:33 +00:00
frkoenig@google.com
e91655f8e2 Incorrect parameters being passed to trace function.
And a small spelling error.
Review URL: http://webrtc-codereview.appspot.com/98001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@287 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-01 23:14:32 +00:00
mikhal@google.com
679450f4a6 media_opt_util: Update robustness settings for Hybrid mode. Updated table for the computation of the adjustment factor.
Review URL: http://webrtc-codereview.appspot.com/93013

git-svn-id: http://webrtc.googlecode.com/svn/trunk@286 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-01 22:14:58 +00:00
marpan@google.com
5fc2dcd64a Change to make the VP8-RTP Fragmentation (FI bits) setting (in the payload header)
agree with "draft-westin-payload-vp8-02" document.

This issue was raised in: http://code.google.com/p/webrtc/issues/detail?id=31 
Review URL: http://webrtc-codereview.appspot.com/92005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@285 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-01 21:47:46 +00:00
marpan@google.com
191b780741 Added a correction factor to FEC overhead in media_opt_util.
This is too handle cases of rate-mismatch (at low rates/low packet number) between estimate in mediaOpt and actual FEC generated in RTP.
Review URL: http://webrtc-codereview.appspot.com/93012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@284 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-01 19:59:57 +00:00
leozwang@google.com
f1ed5ad038 Replace ANDROID with WEBRTC_ANDROID
Review URL: http://webrtc-codereview.appspot.com/91010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@283 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-01 17:36:09 +00:00
ajm@google.com
b5c49ff8af Rename all files/classes shared by Linux and Mac to Posix.
Besides being a good idea in general, this lets us use the good chromium_code==1 warning settings on Mac and Windows. Straight rename except for a change to use os_posix in the gyp files.
Review URL: http://webrtc-codereview.appspot.com/88011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@282 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-01 17:04:04 +00:00
mikhal@google.com
b29d940db7 VCM: Updating Media Opt:
1. Removed protection method specific code from SetTargetRates
2. Updated encoding rate following protection settings
3. Removing RTT max threshold from NACK, as it is not used in the receiver side.
4. Two bug fixes: FEC conversion function fix (line #133) and residual loss calculation (line #94) 
5. Removing compiler warnings
6.. Removed unused code and general clean-up. 
Review URL: http://webrtc-codereview.appspot.com/96002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@281 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-01 16:39:20 +00:00
ajm@google.com
02f8bbdbb7 Update the Android Makefile to use the new Dummy file.
Review URL: http://webrtc-codereview.appspot.com/93011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@280 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-01 16:13:23 +00:00
ajm@google.com
7d962ccd32 Fix an error which causes an acccess violation.
For 16-bit files, this was looping twice as long as necessary and reading outside the buffer.
http://code.google.com/p/webrtc/issues/detail?id=33
Review URL: http://webrtc-codereview.appspot.com/93007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@279 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-01 16:12:43 +00:00
ajm@google.com
81b9e2d2cc Revert an accidental change to prefer_fixed_point.
Skipping pre-submit checks.
Review URL: http://webrtc-codereview.appspot.com/89009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@278 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-30 01:33:22 +00:00
frkoenig@google.com
dcfa09ac61 Correct parameters in WEBRTC_TRACE functions.
Incorrect number of parameters resulted in complaints about
using unitialized memory when outputing with sprintf.
Review URL: http://webrtc-codereview.appspot.com/89008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@277 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-29 22:55:52 +00:00
vikasmarwaha@google.com
210d9fa08b incorrect return value after bind failure
Review URL: http://webrtc-codereview.appspot.com/97001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@276 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-29 22:29:15 +00:00
mikhal@google.com
dbc9d5c5f1 video_processing: Removing compiler Warnings
Review URL: http://webrtc-codereview.appspot.com/91009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@275 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-29 20:23:29 +00:00
mikhal@google.com
506bc3cf12 video_coding: Removing compiler warnings
Review URL: http://webrtc-codereview.appspot.com/88010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@274 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-29 20:23:18 +00:00
mikhal@google.com
7acd3ba9e9 common_video: Removing compiler warnings
Review URL: http://webrtc-codereview.appspot.com/93009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@273 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-29 20:23:01 +00:00