Commit Graph

303 Commits

Author SHA1 Message Date
punyabrata@google.com
eba8c32840 Resolving a race condition issue related to using shared devices
(e.g. usb headsets) where we were not stopped the shared callback
until both StopPlayout() and StopRecording() are called. Google
internal bugid 4478351
Review URL: http://webrtc-codereview.appspot.com/130001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@489 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-30 14:32:22 +00:00
xians@google.com
e74a9ea303 AudioDeviceUtility::WaitForKey() pulls two characters if the first one is a newline, but discards the final value.
The current code assigns that second value to a local variable, which generates a set-but-unused warning on gcc 4.6.0. Instead, cast the result away.

I also refactor the code a bit by adding the right indentation and removing empty lines.

Bug=http://code.google.com/p/webrtc/issues/detail?id=53
Test=none
Review URL: http://webrtc-codereview.appspot.com/135005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@486 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-30 08:27:02 +00:00
xians@google.com
932096c84f Porting gtalk alsa impl from depot to webrtc
Review URL: http://webrtc-codereview.appspot.com/123002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@484 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-30 07:41:55 +00:00
mikhal@webrtc.org
46171cf546 video coding tests: Adding a Normal distribution to simulate packet arrival times
Review URL: http://webrtc-codereview.appspot.com/138003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@483 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-29 23:38:04 +00:00
henrik.lundin@webrtc.org
8571af7be6 Updating to new VP8 rtp format
The VP8 packetizer and tests have been updated to the new
RTP draft (http://tools.ietf.org/html/draft-ietf-payload-vp8-01).
The receive-side parser is also updated, and a new unit test
is implemented for it. Finally, some data traversing work to
get the parsed information into the decoder.
Review URL: http://webrtc-codereview.appspot.com/116011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@482 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-29 15:37:12 +00:00
hellner@google.com
09734086c6 Fixes build issue in http://code.google.com/p/webrtc/issues/detail?id=56.
Review URL: http://webrtc-codereview.appspot.com/131008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@481 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-29 14:10:01 +00:00
tina.legrand@webrtc.org
81fd2bfbba New ACM codec database, created at compile time.
Review URL: http://webrtc-codereview.appspot.com/127002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@480 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-29 11:18:44 +00:00
tina.legrand@webrtc.org
a41b4ce7da Changing iLBC to use the new improved SQRT, WebRtcSpl_SqrtFloor().
The bit-stream has not change with the new SQRT, but the output signal has. The change in output is small, and all test-files pass a subjective quality test.
New test-files will be committed to svn after this CL.
Review URL: http://webrtc-codereview.appspot.com/136001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@478 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-29 08:19:30 +00:00
tina.legrand@webrtc.org
2aa5d500af Issue reported in WebRTC. A variable is defined and set, but never used.
Review URL: http://webrtc-codereview.appspot.com/139001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@474 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-29 06:36:37 +00:00
henrik.lundin@webrtc.org
36450af2b3 Removing unsupported codecs from ptypes file
The file ptypes.txt tells test program NetEqRTPplay how to
map the RTP payload types in an RTP file. Now removing payload
types that are not supported in WebRTC.
Review URL: http://webrtc-codereview.appspot.com/119009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@473 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-27 01:25:35 +00:00
andrew@webrtc.org
bd4494cb20 Remove the divide-by-2 when mixing.
Review URL: http://webrtc-codereview.appspot.com/137007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@471 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-26 22:58:00 +00:00
mikhal@webrtc.org
b7ac56d92b video coding tests: updating quality tests following r466
Review URL: http://webrtc-codereview.appspot.com/131009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@470 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-26 21:18:35 +00:00
mikhal@webrtc.org
d24a97fae1 video coding test: deleting unused file(resampler_test.cc)
Review URL: http://webrtc-codereview.appspot.com/137008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@469 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-26 21:18:17 +00:00
mikhal@webrtc.org
2c3b1fb4f3 video_coding tests: removing unused functionality from test_util
Review URL: http://webrtc-codereview.appspot.com/137009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@468 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-26 21:18:04 +00:00
mikhal@webrtc.org
a057a9561c video_coding: Updating protection logic in media optimization utility:
1. Changing protection logic structure: Accepts only one method (not a list)
2. Removed unused code (unreferenced protection methods)
3. Removed inline constructors/destructors.  
Review URL: http://webrtc-codereview.appspot.com/120005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@467 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-26 21:17:34 +00:00
mikhal@webrtc.org
552f173979 video_coding: Moving video metrics computation to a designated file.
This is the first stage of a general clean-up to test_util. Will try to divide this clean-up to small changes, so it will be easier to review. 
Review URL: http://webrtc-codereview.appspot.com/120004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@466 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-26 17:38:09 +00:00
andrew@webrtc.org
e46d69f762 Fix gcc 4.6 set but unused warnings in AEC.
Review URL: http://webrtc-codereview.appspot.com/134003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@465 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-26 17:20:54 +00:00
andrew@webrtc.org
ffbe7a75fd Cast away the unused state argument value to silence gcc 4.6 warnings.
The WebRTC C wrapper for the G711 codec doesn't actually use the 'state' 
argument, but declares one anyway for API uniformity.

At the beginning of functions like WebRTCG711_EncodeA(), there's a stanza:

    // Set to avoid getting warnings
    state = NULL;

This might work around an unused parameter warning, but under gcc 4.6.0 
it ends up generating another warning, that state is set but not used.  

Casting the assignment to void silences the warning, restoring 
compilation under -Werror.

Reported as https://code.google.com/p/webrtc/issues/detail?id=50
Review URL: http://webrtc-codereview.appspot.com/135002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@463 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-26 17:16:30 +00:00
turajs@google.com
7f2bbbbefd To remove all calls involving scratch-memory
Review URL: http://webrtc-codereview.appspot.com/129001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@462 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-26 16:03:49 +00:00
turajs@google.com
ac55f7b33c Review URL: http://webrtc-codereview.appspot.com/115004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@461 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-26 16:02:16 +00:00
xians@webrtc.org
c57f9c38ad Using IAudioEndpointVolume in IsSpeakerMuteAvailable and IsMicrophoneMuteAvailable to be consistent with SpeakerMute and MicrophoneMute APIs.
Review URL: http://webrtc-codereview.appspot.com/112007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@458 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-26 12:28:33 +00:00
mflodman@webrtc.org
4fcb0caf78 Removing warning in video capture module for linux and auto test.
Review URL: http://webrtc-codereview.appspot.com/134002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@457 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-26 10:54:48 +00:00
mikhal@webrtc.org
ba9bd692ea video_coding_tests: Fix build error
Review URL: http://webrtc-codereview.appspot.com/132001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@452 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-25 20:12:03 +00:00
stefan@webrtc.org
44d356d6df Fix unused variable warning in spatial_resampler.cc
Issue 60: [Patch] Fix unused variable warning in spatial_resampler.cc
Review URL: http://webrtc-codereview.appspot.com/125003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@444 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-25 07:53:53 +00:00
turajs@google.com
5cc9c68e8d Fixing a warning discovered while compiling with clang.
Review URL: http://webrtc-codereview.appspot.com/120003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@441 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 21:20:33 +00:00
marpan@google.com
057efc8f98 Removed unused variables and unnecessary assert: causing build error in vpm_test.
Review URL: http://webrtc-codereview.appspot.com/128001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@440 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 20:53:15 +00:00
andrew@webrtc.org
4f390000dd Fix warnings on Ubuntu 11.04 (gcc 4.5)
http://code.google.com/p/webrtc/issues/detail?id=63
Review URL: http://webrtc-codereview.appspot.com/125004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@439 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 20:35:35 +00:00
wu@webrtc.org
37fd004c69 Remove the X11 headers we don't need.
Review URL: http://webrtc-codereview.appspot.com/123003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@438 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 17:06:38 +00:00
frkoenig@google.com
cf36b2aa9b Match new[] / delete []
Quiet valgrind warnings by correctly matching 
new[] with delete[].
Review URL: http://webrtc-codereview.appspot.com/126005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@437 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 15:48:47 +00:00
stefan@webrtc.org
49cbc512ae Fix unused variable warning in video_coding.
Issue 57: [Patch] Fix unused variable warnings in the video_coding module
Review URL: http://webrtc-codereview.appspot.com/126004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@435 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 08:51:08 +00:00
andrew@webrtc.org
7f593c1e62 Fix gcc 4.6 unused variable warnings in audio_processing.
Issues:
http://code.google.com/p/webrtc/issues/detail?id=54
http://code.google.com/p/webrtc/issues/detail?id=55
Review URL: http://webrtc-codereview.appspot.com/121003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@434 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 01:00:50 +00:00
mikhal@webrtc.org
6724cf8183 VP8: Adding a flag to indicate the libvpx version. When in Cayuga, additional API's will be used.
Review URL: http://webrtc-codereview.appspot.com/120006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@433 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 00:51:36 +00:00
wjia@google.com
4482b04207 revert r430 to keep webrtc always ready to roll in chromium.
r430 will be used when libvpx in chromium is rolled to Cayuga.
Review URL: http://webrtc-codereview.appspot.com/119008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@431 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 23:41:00 +00:00
wjia@google.com
f9f1deba8f Get ready for libvpx Cayuga (v0.9.7-p1).
When building with Chromium, on Windows, only header files are needed; otherwise, libvpx.gyp:libvpx is needed.

This patch is based on http://webrtc-codereview.appspot.com/91019/
Review URL: http://webrtc-codereview.appspot.com/122005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@430 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 23:08:30 +00:00
hellner@google.com
a386fc0a8b Fixes build warnings due to unused variables.
Code directly from http://code.google.com/p/webrtc/issues/detail?id=58.
Review URL: http://webrtc-codereview.appspot.com/119007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@428 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 21:26:09 +00:00
hellner@google.com
9aa9996a19 Different solution than the one suggested in http://code.google.com/p/webrtc/issues/detail?id=56 however, should solve the same problem.
Review URL: http://webrtc-codereview.appspot.com/126003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@427 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 21:25:55 +00:00
andrew@webrtc.org
ceb148ce59 Fix compile warnings in Release configuration.
Review URL: http://webrtc-codereview.appspot.com/119003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@424 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 17:53:54 +00:00
mikhal@webrtc.org
06ad81fd58 video_coding: changing the UpdateMethod function (protection settings).
Review URL: http://webrtc-codereview.appspot.com/126002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@423 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 16:03:59 +00:00
perkj@google.com
12f1fc4fe5 Fix initialization defect in constructor webrtc::ModuleRtpRtcpImpl::ModuleRtpRtcpImpl(WebRtc_Word32, bool) initialization list.
Review URL: http://webrtc-codereview.appspot.com/125002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@422 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 14:26:33 +00:00
perkj@google.com
a3fc1aac52 Fix Issue 59. Fix a constructor cast warning in video_X11_channel.cc.
http://code.google.com/p/webrtc/issues/detail?id=59.
Review URL: http://webrtc-codereview.appspot.com/122002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@421 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 13:38:14 +00:00
pwestin@webrtc.org
a070adbab2 Moved member RTPSender from private to protected.
Review URL: http://webrtc-codereview.appspot.com/119006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@420 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 11:17:03 +00:00
xians@webrtc.org
9d64705dea The method AudioDeviceWindowsWave::RecProc can use uninitialized variables t1 and t2.
This results in an exception in debug mode and unpredictable behavior in release mode.

The problem is at line 3514:

        // Calculate processing time
        consumedTime = (int)(t2.QuadPart-t1.QuadPart);

Bug=http://code.google.com/p/webrtc/issues/detail?id=42
Test=none
Review URL: http://webrtc-codereview.appspot.com/121002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@419 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 09:14:56 +00:00
punyabrata@webrtc.org
5895ea1573 Fixes volume problem controls, happening with some Logitech headsets. Originally submitted as gips p4 depot CL 38122.
Review URL: http://webrtc-codereview.appspot.com/116008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@418 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-22 22:46:38 +00:00
punyabrata@google.com
9695e75fbd Resolve a crash related to pulseAudio where we need to check if
pa_context_get_source_info_by_name/pa_context_get_sink_info_by_name 
has early failure and returns NULL,then to avoid WaitForOperationCompletion
from crashing, paOperation must be checked to ensure it is not NULL.

Please note that ::WaitForOperationCompletion( ) is a void function
therefore returning without any error code if paOperation is indeed NULL

Google internal bug id [4356730]
Review URL: http://webrtc-codereview.appspot.com/122003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@417 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-22 22:35:14 +00:00
cduvivier@google.com
288c8698cb Optimization of 'cftmdl':
* scalar optimization, vectorization.
* 1.7% AEC overall speedup for the straight C path.
* 9.2% AEC overall speedup for the SSE2 path.
Review URL: http://webrtc-codereview.appspot.com/109008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@416 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-22 21:55:33 +00:00
mikhal@webrtc.org
0e16b78ec9 VP8: Removing VP8Latest flag following the update to the Cayuga release
Review URL: http://webrtc-codereview.appspot.com/116012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@415 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-22 21:25:39 +00:00
mikhal@webrtc.org
d70b77d19f video_coding: Updating offline tests
1. Adding parameters to the  input arguments. 
2. Introducing delay in the RTPSend callback
3. Clean-up
Review URL: http://webrtc-codereview.appspot.com/116006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@414 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-22 21:08:15 +00:00
andrew@webrtc.org
f81f9f8c2a Add -Werror and -Wextra to the Linux build.
Includes all fixes required for -Wextra.
Review URL: http://webrtc-codereview.appspot.com/117006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@410 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-19 22:56:22 +00:00
frkoenig@google.com
9139fddf0e Optimize ssim_8x8 for SSE2.
Code was pulled from libvpx assembly and converted
to intrinsics.
Review URL: http://webrtc-codereview.appspot.com/122001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@409 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-19 22:33:08 +00:00
andrew@webrtc.org
6423509efc Fix Valgrind warnings in audio_processing.
Review URL: http://webrtc-codereview.appspot.com/119001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@408 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-19 21:22:08 +00:00
frkoenig@google.com
f53055d60e Use optimized SSIM from libvpx.
Review URL: http://webrtc-codereview.appspot.com/117005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@407 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-19 18:16:59 +00:00
holmer@google.com
2cdc7b94d2 Enabling libvpx error concealment.
Review URL: http://webrtc-codereview.appspot.com/116010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@399 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-18 09:35:45 +00:00
tina.legrand@webrtc.org
2e09692006 This CL fixes the warnings when building acm or acm test.
Review URL: http://webrtc-codereview.appspot.com/109013

git-svn-id: http://webrtc.googlecode.com/svn/trunk@397 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-18 06:20:30 +00:00
frkoenig@google.com
ff476c6c4e Optimize temporal difference metric for SSE2.
Quick optimizations using intrinsics.
Review URL: http://webrtc-codereview.appspot.com/115006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@395 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-17 23:24:57 +00:00
mikhal@webrtc.org
685383dd37 video_coding/media_opt_util: Removing windows warnings
Review URL: http://webrtc-codereview.appspot.com/113006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@394 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-17 23:19:54 +00:00
frkoenig@google.com
31f24de5e3 Use the correct include file.
There shouldn't be a dependency on spatial_resampler.h, defines
that were needed are in video_processing_defines.h.
Review URL: http://webrtc-codereview.appspot.com/117003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@393 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-17 22:23:28 +00:00
turaj@webrtc.org
ca758c268e To remove warnings found by clang
Review URL: http://webrtc-codereview.appspot.com/113005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@392 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-17 20:25:36 +00:00
mikhal@webrtc.org
ebeb5a656b video_coding - JB: Ensuring that every frame is inserted only once to the list
Review URL: http://webrtc-codereview.appspot.com/114006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@391 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-17 18:43:21 +00:00
henrik.lundin@webrtc.org
473bac8582 Propagate codec specific info to decoder
Add explicit use of CodecSpecificInfo to VCMGenericDecoder and
the codecs (VP8 and I420). Propagate information from
WebRtcRTPHeader in VCM (IncomingPacket) to GenericDecoder.
Review URL: http://webrtc-codereview.appspot.com/109011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@390 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-17 09:47:33 +00:00
punyabrata@webrtc.org
7049389794 Fixes volume problem controls, happening with some Logitech headset [from gips P4 depot CL 38122]
Review URL: http://webrtc-codereview.appspot.com/108004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@389 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-17 00:15:52 +00:00
punyabrata@webrtc.org
7bd857bc99 Apple Airfoil audio casting software crash resolution [Google Internal buglist id: 4444985]
Review URL: http://webrtc-codereview.appspot.com/109001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@387 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-17 00:01:05 +00:00
marpan@google.com
771ca422df Fixed assert error in media_opt_util that may have caused index for look-up table to be out of range.
Review URL: http://webrtc-codereview.appspot.com/112005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@385 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-16 20:51:04 +00:00
hellner@google.com
977c2966fc Review URL: http://webrtc-codereview.appspot.com/109006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@383 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-16 17:30:30 +00:00
andrew@webrtc.org
ad2a37093a Fix unused variable warnings.
Review URL: http://webrtc-codereview.appspot.com/114005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@381 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-16 17:18:17 +00:00
leozwang@google.com
7189270640 Fix compliation error
Review URL: http://webrtc-codereview.appspot.com/114003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@379 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-16 16:37:45 +00:00
hellner@google.com
17a018716c Minimal fixes to remove build warnings.
Review URL: http://webrtc-codereview.appspot.com/109007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@378 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-16 16:23:46 +00:00
hellner@google.com
1abe7a0555 Minimal fixes to remove build warnings.
Review URL: http://webrtc-codereview.appspot.com/116004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@377 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-16 15:52:57 +00:00
xians@google.com
0134facd53 Get rid of the ADM test warnings.
Review URL: http://webrtc-codereview.appspot.com/116001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@375 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-16 09:30:51 +00:00
xians@google.com
bf5d2ba8fb This CL will exclude the built-in ADM when building with chromium.
When building with chromium, we use dummy ADM for all the platforms.
Review URL: http://webrtc-codereview.appspot.com/108001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@373 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-16 07:44:19 +00:00
kma@google.com
8dd7466b52 2nd check in
Review URL: http://webrtc-codereview.appspot.com/112002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@372 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-16 03:28:28 +00:00
hellner@google.com
56294c61c9 Review URL: http://webrtc-codereview.appspot.com/114002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@370 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-15 22:47:40 +00:00
andrew@webrtc.org
3296d76c50 Remove unneeded G167 define from AEC.
Review URL: http://webrtc-codereview.appspot.com/114001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@369 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-15 21:40:38 +00:00
frkoenig@google.com
241c4d0e8d Remove numPixels.
The number of pixels was used in both the numerator and denominator of
the final calculation and is therefore not needed.
Review URL: http://webrtc-codereview.appspot.com/112003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@368 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-15 19:08:48 +00:00
leozwang@google.com
95222074ba Some changes made in android makefile
Review URL: http://webrtc-codereview.appspot.com/109003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@367 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-15 17:40:56 +00:00
frkoenig@google.com
6d171c4f98 SSE2 optimizations for spatial content analysis.
Using intrinsics to work on 16 pixels at a time when
computing the spatial metrics.
Review URL: http://webrtc-codereview.appspot.com/92013

git-svn-id: http://webrtc.googlecode.com/svn/trunk@366 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-15 15:56:23 +00:00
xians@google.com
3ab5d5f4d0 This patch just gets rid of the rest of warnings on voe_auto_test and adm.
Trivial changes.
Review URL: http://webrtc-codereview.appspot.com/111001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@364 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-15 11:07:54 +00:00
holmer@google.com
155188ce40 Handle all VP8 packets within a frame as depending on the previous packet
This is temporary until the VP8 receiver support fragments.
Review URL: http://webrtc-codereview.appspot.com/113002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@363 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-15 09:21:27 +00:00
andrew@webrtc.org
d11aa2b215 Fix build error on Windows due to gcc specific attribute.
Review URL: http://webrtc-codereview.appspot.com/115001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@361 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-14 23:25:28 +00:00
andrew@webrtc.org
2be2f694a4 Remove implicit declaration warnings.
Review URL: http://webrtc-codereview.appspot.com/113001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@360 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-13 18:22:42 +00:00
kma@google.com
1959e6fcb5 1st check-in for AECM Neon optimization.
Review URL: http://webrtc-codereview.appspot.com/104001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@359 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-13 06:33:38 +00:00
leozwang@google.com
4033e1245d Change folder name from Android to android
Review URL: http://webrtc-codereview.appspot.com/106002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@358 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-12 15:54:48 +00:00
leozwang@google.com
c5597353c6 Change folder name from Android to android
Review URL: http://webrtc-codereview.appspot.com/107001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@357 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-12 15:53:44 +00:00
marpan@google.com
319fbd107d Added simple model to test_util.cc to simulate bursty packet loss.
Review URL: http://webrtc-codereview.appspot.com/104002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@355 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-11 22:51:58 +00:00
mikhal@google.com
60873adc3e rtp_sender_video: Modify behavior on send video packet error. This issue was already updated in CL r217, and accidentally reverted in CL r231.
Review URL: http://webrtc-codereview.appspot.com/106004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@354 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-11 22:30:00 +00:00
mallinath@google.com
16f1dfc953 Review URL: http://webrtc-codereview.appspot.com/92006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@352 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-11 18:22:17 +00:00
leozwang@google.com
911e36c525 Also change folder name in audio_device test
Review URL: http://webrtc-codereview.appspot.com/105002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@351 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-11 17:04:26 +00:00
xians@google.com
0fe2627e6f adding audio_device_utility_mac.cc, which was misssing from previous CL.
Review URL: http://webrtc-codereview.appspot.com/106001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@349 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-11 14:32:40 +00:00
xians@google.com
77f66051e8 delete old folders
Review URL: http://webrtc-codereview.appspot.com/105001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@348 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-11 13:58:34 +00:00
xians@google.com
68efa21abc This CL refactor the audio_device.gyp to make use of the chromiurm _os suffix filter.
This CL looks big, but most of the changes are only renaming. I hope it is all right for you.

Changes include:
rename source/Windows to source/win
rename source/Linux to linux
rename source/Mac to source/mac

Also rename some files to  follow chromium standard, for examples:
from alsasymboltable.cc to alsasymboltable_linux.cc
from alsasymboltable.h to alsasymboltable_linux.h
from audio_device_linux_alsa.cc to audio_device_alsa_linux.cc
from audio_device_linux_alsa.h to audio_device_alsa_linux.h
...etc

Modified files:
audio_device.gyp and audio_device_impl.cc : 
adapt to the new file names.

Test=none
Bug=none
Review URL: http://webrtc-codereview.appspot.com/91017

git-svn-id: http://webrtc.googlecode.com/svn/trunk@347 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-11 12:41:56 +00:00
kma@google.com
1489785326 Commit as part of http://webrtc-codereview.appspot.com/89018/
Committing separately as part of an OWNERS test.


git-svn-id: http://webrtc.googlecode.com/svn/trunk@345 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-10 23:30:11 +00:00
xians@google.com
c3976c8c92 exclude the video_capture_module_test target from building with chromium.
BUG=http://code.google.com/p/webrtc/issues/detail?id=34
TEST=None
Review URL: http://webrtc-codereview.appspot.com/93015

git-svn-id: http://webrtc.googlecode.com/svn/trunk@343 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-10 08:02:41 +00:00
andrew@webrtc.org
8910f278c5 Switch to webrtc.org accounts (for those which exist).
Review URL: http://webrtc-codereview.appspot.com/97010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@342 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-10 05:16:31 +00:00
mikhal@google.com
9e9f86743c VP8 wrapper: Adding check for no show frames (NULL images)
Review URL: http://webrtc-codereview.appspot.com/102001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@341 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-09 22:12:19 +00:00
leozwang@google.com
22b699d2e0 Replace ANDROID with WEBRTC_ANDROID
Review URL: http://webrtc-codereview.appspot.com/97008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@337 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-09 17:27:33 +00:00
mikhal@google.com
5ce0ff05ae Removing compiler warnings from video components
Review URL: http://webrtc-codereview.appspot.com/101002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@336 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-09 17:17:39 +00:00
kma@google.com
579ee4d3f1 Neon optimization for an NS function.
Review URL: http://webrtc-codereview.appspot.com/89017

git-svn-id: http://webrtc.googlecode.com/svn/trunk@334 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-09 04:30:06 +00:00
xians@google.com
f67f197049 exclude the neteq test targets from building with chromium.
BUG=http://code.google.com/p/webrtc/issues/detail?id=34
TEST=None
Review URL: http://webrtc-codereview.appspot.com/93017

git-svn-id: http://webrtc.googlecode.com/svn/trunk@326 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-08 12:56:26 +00:00
xians@google.com
508eba5321 exclude vp8 and test_framework test targets from chromium.
BUG=http://code.google.com/p/webrtc/issues/detail?id=34
Test=None
Review URL: http://webrtc-codereview.appspot.com/95012

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