Commit Graph

303 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
ajm@google.com
e89f6b5574 Create an empty device utility dummy, in order to stop using _linux suffixed files on non-Linux OSes.
Besides being a good idea in general, this lets us use the good chromium_code==1 warning settings on Mac and Windows. (chromium_code automatically excludes _linux suffixed files on non-Linux.)
Review URL: http://webrtc-codereview.appspot.com/93010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@272 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-29 18:03:57 +00:00
ajm@google.com
f8dc8dc5f6 Generate protobuf classes at build-time.
This method is well-established in Chromium. The new code is largely boilerplate copied from there. The advantage is that we don't have to maintain various versions of the classes; we just generate against whatever compiler version happens to exist at build-time.
Review URL: http://webrtc-codereview.appspot.com/93008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@271 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-29 17:29:08 +00:00
leozwang@google.com
f2c1a7b85c Clean up ANDROID macro definitions [audio_coding]
Review URL: http://webrtc-codereview.appspot.com/91006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@270 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-28 20:39:08 +00:00
ajm@google.com
b0d9f3e6a3 Fix an ambiguous call to pow() error.
Switch to powf() and explicitly define the second parameter as float.
Review URL: http://webrtc-codereview.appspot.com/89006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@269 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-28 18:43:18 +00:00
marpan@google.com
11d986a68c Update to media_opt_util:
(1) update to off-line table for fec 
(2) corresponding update and some code-cleanup for  
    FecProtectionFactor()
Review URL: http://webrtc-codereview.appspot.com/93006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@267 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-28 17:42:57 +00:00
ajm@google.com
59e41405d1 Add a fixed-point profile to the APM unit test.
It uses fixed-point NS, AECM and adaptive digital AGC. It's selected by enabling "prefer_fixed_point" in common.gypi.
Review URL: http://webrtc-codereview.appspot.com/88009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@266 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-28 17:34:04 +00:00
ajm@google.com
11791b23f7 Fix some compiler warnings in fixed-point NS.
Review URL: http://webrtc-codereview.appspot.com/93004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@265 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-28 17:33:51 +00:00
ajm@google.com
bb93f1d001 Fix "converting to non-pointer type from NULL" warnings.
Review URL: http://webrtc-codereview.appspot.com/93005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@263 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-27 23:58:56 +00:00
leozwang@google.com
842b8c3fe2 Build protobuf from source on Android
Review URL: http://webrtc-codereview.appspot.com/95005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@261 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-26 23:04:24 +00:00
ajm@google.com
aace5b6bac Fix some apmtest errors, and add a path parameter.
Review URL: http://webrtc-codereview.appspot.com/88007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@259 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-26 21:02:24 +00:00
leozwang@google.com
b3b87d7795 Add license statement
Review URL: http://webrtc-codereview.appspot.com/92004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@258 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-26 18:31:26 +00:00
marpan@google.com
13955743b0 Code cleanup for residual packet loss function in media_opt_util.cc.
Review URL: http://webrtc-codereview.appspot.com/89004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@256 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-26 16:47:11 +00:00
leozwang@google.com
694019b9aa Clean up ANDROID macro definitions [audio_conf]
Review URL: http://webrtc-codereview.appspot.com/94002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@255 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-26 05:04:12 +00:00
leozwang@google.com
03bc96d69a Clean up ANDROID macro definitions [video_render]
Review URL: http://webrtc-codereview.appspot.com/95004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@254 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-26 05:03:10 +00:00
cduvivier@google.com
0e07d82f47 Optimization of 'cft1st':
* scalar optimization, vectorization.
* 1.7% AEC overall speedup for the straight C path.
* 12.2% AEC overall speedup for the SSE2 path.
Review URL: http://webrtc-codereview.appspot.com/88006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@253 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-25 23:54:20 +00:00
leozwang@google.com
58d09cfb24 Clean up ANDROID macro definitions [audio_processing]
Review URL: http://webrtc-codereview.appspot.com/95001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@251 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-25 22:49:00 +00:00
leozwang@google.com
3a2be19453 Enable unit_test for android
Review URL: http://webrtc-codereview.appspot.com/95002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@250 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-25 22:47:56 +00:00
mikhal@google.com
7740888ad6 VCM: Adding the fecMethod as a member of the hybrid NACK/FEC class.
Review URL: http://webrtc-codereview.appspot.com/93002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@247 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-22 22:05:25 +00:00
ajm@google.com
da03e21908 Replace VAD with NS in comments.
Review URL: http://webrtc-codereview.appspot.com/88005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@245 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-22 18:33:43 +00:00
ajm@google.com
72610e22f8 Add output from an older protobuf compiler (version 2.3), to support the version in the Android tree.
Review URL: http://webrtc-codereview.appspot.com/88004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@243 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-22 00:55:00 +00:00
leozwang@google.com
081b9f9628 Remove redundant spl header file
Review URL: http://webrtc-codereview.appspot.com/92001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@241 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-21 21:28:29 +00:00
wjia@google.com
647aa16f0d exclude pulse audio when building with Chromium.
BUG=none
TEST=local
Review URL: http://webrtc-codereview.appspot.com/91001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@240 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-21 20:45:31 +00:00
marpan@google.com
1b43b6d416 Changing the default VP8 packetization mode setting to kAggregate and balanced, from the previous settig of kStrict and balanced.
The previous kStrict mode could generate very small packets when the encoded frame is smaller than MTU size. kAggregate will instead encapsulate whole frame into one packet if frame size is below MTU (and so will not generate too small packets), and otherwise it will separate out the first partition as in kStrict mode.

The balanced setting for kAggregate (from default of un-balanced) is also desirable, as equal size packets (for the first and remaining partition) should generally be more favorable for FEC.
Review URL: http://webrtc-codereview.appspot.com/89002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@239 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-21 16:49:54 +00:00
mikhal@google.com
022716b3af VCM/Media Opt Util: 1. Updating hybrid protection settings 2. Removing score 3. adding Fec as suffix to _residualPacketLoss for clarity. 4. Some clean up.
Review URL: http://webrtc-codereview.appspot.com/88001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@238 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-20 23:12:57 +00:00
mikhal@google.com
18a186eab2 Updates to VCM rx side: A. 2 bug fixes:
1. Updated code to set _lastdecodedSeqNum after clean up of old frames (2/3 instances were updated, 1 was ok). 
2. Updated _lastDecodedSeqNum based on empty packets that arrive after the frame which they belong to was already decoded (as was with existing code with regard to filler packets). 
B. Code clean up.  
Review URL: http://webrtc-codereview.appspot.com/78001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@237 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-20 20:58:09 +00:00
marpan@google.com
ade0c6ca28 Fix for numberFirstPartition setting: occurs when whole frame is packetized into one packet (0 was set instead of 1).
Review URL: http://webrtc-codereview.appspot.com/88003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@236 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-20 20:54:55 +00:00
mikhal@google.com
0ef0377836 VCM:frame_buffer - removing unused code and refactor
Review URL: http://webrtc-codereview.appspot.com/77001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@235 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-19 23:24:37 +00:00
marpan@google.com
b3916d54b0 Fix build error in VCM tests from r219.
Review URL: http://webrtc-codereview.appspot.com/86001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@234 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-19 19:56:40 +00:00
ajm@google.com
f1a7b4be25 Fix unused variable warnings.
Review URL: http://webrtc-codereview.appspot.com/83001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@233 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-19 18:11:02 +00:00
hlundin@google.com
7d3a2a3bca Set _numberFirstPartition when packetizing VP8 frames
The variable _numberFirstPartition is now set in RTPSenderVideo::SendVP8.
The number of packets that contains data from the first partition
is not known until all packets have been packetized (at least all
first-partition packets). Therefore, the packetization loop in SendVP8
had to be broken up into two loops. The first loop gets all packets from
the VP8 packetizer (RtpFormatVp8) and puts them in a vector. The second
loop sends all packets from the vector to SendVideoPacket.
Review URL: http://webrtc-codereview.appspot.com/56004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@231 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-18 22:34:17 +00:00
ronghuawu@google.com
0c52e935e2 Fllow up change to the issue80002 - do not include sse2 when it's disabled by disable_sse2.
Review URL: http://webrtc-codereview.appspot.com/82001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@229 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-18 20:19:57 +00:00
ajm@google.com
22e65158bd Changing echo_path_size_bytes() to static, and using size_t rather than int. This is recommended by Chromium:
http://www.chromium.org/developers/coding-style

Fixing a few compile warnings.
Review URL: http://webrtc-codereview.appspot.com/81001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@228 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-18 18:03:01 +00:00
leozwang@google.com
c93db4c4e1 Remove legacy fft arm9e code
Either for generic FFT code or FFT code specific to ARM-Cortex or ARM-Neon will be used, this folder should be removed. 
Review URL: http://webrtc-codereview.appspot.com/60003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@225 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-18 16:48:17 +00:00
ronghuawu@google.com
44fe667d86 Fixes for the chromium build ARM and some old x86 platform:
1) Removed SSE2 for ARM in aec.gyp.
2) Removed the re-definition of DISALLOW_COPY_AND_ASSIGN in latebindingsymboltable.h.
3) SSE2 not always supported in some old x86 platform.
Review URL: http://webrtc-codereview.appspot.com/80002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@224 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-18 16:13:23 +00:00
bjornv@google.com
521d5932cb Changes to comfort noise generation; 1) faster convergence initially, 2) lower startup shape, 3) few code optimizations, 4) removed a bug that could cause noise estimate to go to zero, 5) removed a bug that could cause noise estimate to never recover from low values.
Review URL: http://webrtc-codereview.appspot.com/73001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@222 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-18 10:07:45 +00:00
marpan@google.com
80c5d7a80e Allow the setting of FEC-UEP feature on/off to be done in media_opt(VCM).
Review URL: http://webrtc-codereview.appspot.com/71004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@219 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-15 21:32:40 +00:00
ronghuawu@google.com
ddbe649253 The libvpx in chromium doesn't support the ARM build, so we have to use the pre-built libvpx instead.
Ref: http://src.chromium.org/viewvc/chrome/trunk/src/remoting/remoting.gyp?view=markup
Review URL: http://webrtc-codereview.appspot.com/74006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@218 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-15 21:16:03 +00:00
mikhal@google.com
b7540b0322 RTP: Changing the behavior in case of a send video packet error
Review URL: http://webrtc-codereview.appspot.com/74005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@217 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-15 21:01:08 +00:00
zakkhoyt@google.com
5e26663904 Porting GTalk bugs:
* http://b/issue?id=4442213
* http://b/issue?id=4354351
Review URL: http://webrtc-codereview.appspot.com/71003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@216 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-15 18:21:34 +00:00
leozwang@google.com
39f205195f Change android sound card implementation name from native to OpenSLES
Review URL: http://webrtc-codereview.appspot.com/74003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@214 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-15 16:29:40 +00:00
leozwang@google.com
e85b34f585 Enable iLBC test for android
Review URL: http://webrtc-codereview.appspot.com/68006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@213 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-15 16:06:18 +00:00
bjornv@google.com
238a022fc9 A trivial change (added two new line characters).
git-svn-id: http://webrtc.googlecode.com/svn/trunk@212 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-15 14:51:52 +00:00
leozwang@google.com
02c00aa1d2 Use include path relates to include
Review URL: http://webrtc-codereview.appspot.com/66004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@210 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-14 18:44:34 +00:00
leozwang@google.com
dc15ba0ed1 Make destructor virtual
Review URL: http://webrtc-codereview.appspot.com/67003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@209 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-14 18:28:02 +00:00
leozwang@google.com
43ea04236b Change android makefile to build webrtc for android/x86 as well
Review URL: http://webrtc-codereview.appspot.com/68002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@208 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-14 18:25:35 +00:00
bjornv@google.com
298e54a715 Ported a patch from the old repository, which improve the suppression on Android, where high gains have been seen in the upper frequency band.
Review URL: http://webrtc-codereview.appspot.com/68005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@204 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-14 07:01:55 +00:00
ajm@google.com
a769fa51c0 Adding more output data checks to APM unittest. Blowing out the protobuf definition (changing the tags) since we're still in the formative stages. Later, this would be very bad. Leaving a Frame message in case we want frame-by-frame data, but we prefer to keep the output storage small in general so avoiding it thus far.
Review URL: http://webrtc-codereview.appspot.com/68004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@203 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-13 21:57:58 +00:00
zakkhoyt@google.com
630504fddf Reverting svn changes. Moving to gcl system.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@202 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-13 20:06:58 +00:00
zakkhoyt@google.com
81f76937f4 Porting GTalk bug fixes to WebRTC:
* http://b/issue?id=4442213
* http://b/issue?id=4354351



git-svn-id: http://webrtc.googlecode.com/svn/trunk@201 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-13 19:39:38 +00:00
marpan@google.com
59fd0f12e6 Change to return no adjustment (default) if content_metrics=NULL,
and return true (default) for UEP flag if content_metrics=NULL.
Also parameter name change and get function for UEP in media_opt_util.
Review URL: http://webrtc-codereview.appspot.com/70002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@199 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-13 17:19:49 +00:00
ajm@google.com
75e1239266 Tiny AEC change to remove a warning from the Windows build.
Review URL: http://webrtc-codereview.appspot.com/67002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@198 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-13 16:35:10 +00:00
bjornv@google.com
c4b939cb61 Added calls to set and get external echo channels.
Review URL: http://webrtc-codereview.appspot.com/62005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@196 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-13 08:09:56 +00:00
leozwang@google.com
7ffa1a5eb0 Add include path to common_video/interface to android build
Review URL: http://webrtc-codereview.appspot.com/66003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@193 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-12 21:53:46 +00:00
leozwang@google.com
0ee7dae246 Add include path to common_video/interface to android build
Review URL: http://webrtc-codereview.appspot.com/69002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@190 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-12 21:51:49 +00:00
marpan@google.com
86548c62e9 Modified media_opt and qm_select to allow for robustness settings
based on the content metrics. Re-organized the class structure in qm_select
into a resolution class and robustness settings class, both derived from
a main (qm/content analysis) class.
Review URL: http://webrtc-codereview.appspot.com/55006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@188 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-12 17:12:57 +00:00
ajm@google.com
6bed064e2f Removing a nice piece of obfuscation...
Review URL: http://webrtc-codereview.appspot.com/56005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@187 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-12 14:57:10 +00:00
ajm@google.com
98c5001e40 Reorganize libvpx to mimic Chromium's layout. We now sync libvpx to a subdirectory of third_party/libvpx where we've submitted our few wrapper files. This avoids having to "svn export" to the directory and allows direct committing of files.
Review URL: http://webrtc-codereview.appspot.com/64001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@186 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-09 21:16:30 +00:00
hellner@google.com
1b627c72b5 Tests using the rtp_rtcp test data should now be run from inside trunk/test/data/rtp_rtcp. I.e. all test files were moved to the test folder.
Review URL: http://webrtc-codereview.appspot.com/60006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@185 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-08 17:16:47 +00:00
hlundin@google.com
edac1733e2 Fixing a number of issues in VCM and codec tests
Issues come from previous change to routing of CodecSpecificInfo.
A few tests are asserted out, and will be until the corresponding
routing has been made on the decoder side.
Review URL: http://webrtc-codereview.appspot.com/60007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@184 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-08 13:05:23 +00:00
holmer@google.com
12c9df1a69 Fixes build errors in the VCM tests introduced with r140.
Also fixes a memory problem in mt_rx_tx_test.
Review URL: http://webrtc-codereview.appspot.com/62004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@183 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-08 12:44:58 +00:00
mflodman@google.com
362b3e5811 Removing ViE memory leaks in Linux renderer and ViEEncoder.
Review URL: http://webrtc-codereview.appspot.com/62003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@182 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-08 08:31:27 +00:00
tlegrand@google.com
3675f9b121 Review URL: http://webrtc-codereview.appspot.com/56003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@181 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-08 06:43:34 +00:00
henrika@google.com
807c04d377 Ensures that all test files in VoE and ADM are read from
the new /test/data-folders.
Review URL: http://webrtc-codereview.appspot.com/55005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@178 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-07 14:10:34 +00:00
bjornv@google.com
67c6769b1d Update to not count unprocessed blocks. This increase performance at startup.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@177 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-07 13:57:28 +00:00
bjornv@google.com
e8ba343b93 Changes made to improve AECM during startup
Review URL: http://webrtc-codereview.appspot.com/52001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@176 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-07 12:38:06 +00:00
niklase@google.com
0c3e855793 git-svn-id: http://webrtc.googlecode.com/svn/trunk@172 4adac7df-926f-26a2-2b94-8c16560cd09d 2011-07-07 09:40:48 +00:00
niklase@google.com
9ad0cf1ae2 git-svn-id: http://webrtc.googlecode.com/svn/trunk@164 4adac7df-926f-26a2-2b94-8c16560cd09d 2011-07-07 08:43:35 +00:00
niklase@google.com
470e71d364 git-svn-id: http://webrtc.googlecode.com/svn/trunk@156 4adac7df-926f-26a2-2b94-8c16560cd09d 2011-07-07 08:21:25 +00:00