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
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
ajm@google.com
af61f6d4d4
Enable chromium_code==1 in a standalone build to have all the good warning settings from Chromium's common.gypi. Our third party code will still have the reduced warning settings.
...
Review URL: http://webrtc-codereview.appspot.com/89001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@268 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-28 18:23:31 +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
marpan@google.com
0d6fd2a943
Allowing for setting the video protection methods in auto_test_custom_call.
...
Review URL: http://webrtc-codereview.appspot.com/96001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@264 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-28 17:15:39 +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
77f49d8219
Clean up ANDROID macro definitions [common_audio]
...
Review URL: http://webrtc-codereview.appspot.com/91004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@262 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-27 18:58:33 +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
leozwang@google.com
fa23ea123f
Clean up ANDROID macro definitions [common_video]
...
Review URL: http://webrtc-codereview.appspot.com/91005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@260 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-26 21:22:27 +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
leozwang@google.com
b352700ff7
Clean up ANDROID macro definitions [system_wrapper]
...
Review URL: http://webrtc-codereview.appspot.com/94001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@257 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-26 17:29:38 +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
ajm@google.com
26b83b581c
Remove DTX from the ViE custom call test configuration. We don't normally recommend enabling this as it reduces audio quality.
...
Review URL: http://webrtc-codereview.appspot.com/95003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@252 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-25 22:53:23 +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
leozwang@google.com
a39ffa90d5
Clean up ANDROID macro definitions [Root folder]
...
Review URL: http://webrtc-codereview.appspot.com/91003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@249 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-25 21:28:22 +00:00
ajm@google.com
2098988d79
Tiny documentation fix.
...
Review URL: http://webrtc-codereview.appspot.com/93003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@248 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-25 15:31:13 +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
mikhal@google.com
069e63085e
Jpeg: Fixing encoder memory issue
...
Review URL: http://webrtc-codereview.appspot.com/93001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@246 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-22 22:05:09 +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
frkoenig@google.com
e9a53a236b
Fix writing outside of allocated space on bilinear frame scale.
...
Was incorrectly extending filtered frame area by duplicating
the last pixel. This was necessary when this was used with
color convert, but isn't needed for this application.
Added comments to help clarify some buffer usage.
Review URL: http://webrtc-codereview.appspot.com/84001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@244 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-22 17:24:11 +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
wjia@google.com
e7d0c7cb53
fix gyp when build with Chromium.
...
Review URL: http://webrtc-codereview.appspot.com/89003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@242 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-22 00:49:35 +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
wjia@google.com
fcdaf84d7e
fix order of include files in order to avoid re-def.
...
Review URL: http://webrtc-codereview.appspot.com/85001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@232 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-18 23:28:27 +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
wjia@google.com
dd8076044a
several fixes for libjpeg related issues:
...
1. enable usage of libjpeg when libjpeg_turbo is not available;
2. remove forward declaration of some jpeg types since libjpeg and libjpeg_turbo have them defined differently;
3. pull in libjpeg code;
Review URL: http://webrtc-codereview.appspot.com/80003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@230 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-18 21:51:45 +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