Commit Graph

697 Commits

Author SHA1 Message Date
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
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
ajm@google.com
1e34241426 Fixing some warnings in common_audio.
Review URL: http://webrtc-codereview.appspot.com/77002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@227 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-18 17:27:02 +00:00
leozwang@google.com
f70cc07137 Revert back to reviewed version, http://webrtc-codereview.appspot.com/60003/
git-svn-id: http://webrtc.googlecode.com/svn/trunk@226 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-18 17:12:22 +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
801809c768 Removed invalid declarations in spl unit_test.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@223 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-18 14:05:24 +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
leozwang@google.com
61b100d3cc Remove hard-coded settings in test app
Review URL: http://webrtc-codereview.appspot.com/76001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@221 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-16 05:13:27 +00:00
ajm@google.com
825e063a78 Fixing some warnings in system_wrappers.
Review URL: http://webrtc-codereview.appspot.com/79001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@220 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-16 01:04:52 +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
ed9f705942 Add include path to common_video/interface to android build
Review URL: http://webrtc-codereview.appspot.com/65003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@215 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-15 17:25:27 +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
5724084216 Disable prelink when build android
Review URL: http://webrtc-codereview.appspot.com/72001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@211 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-14 20:54:56 +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
leozwang@google.com
3c0a86f83d Change android makefile to be able to build for x86
Review URL: http://webrtc-codereview.appspot.com/68001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@207 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-14 18:23:07 +00:00
hellner@google.com
fe176fa45a Removed DISALLOW_* macros from the system_wrappers interface files.
Review URL: http://webrtc-codereview.appspot.com/69003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@206 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-14 15:43:02 +00:00
niklase@google.com
15f232f3e7 Adding copies of license files to src/ so that Chromium will get those as well.
Review URL: http://webrtc-codereview.appspot.com/71005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@205 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-14 08:00:33 +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
leozwang@google.com
f97b68078a Change android makefile to reflect recent file structure change
Review URL: http://webrtc-codereview.appspot.com/67001

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