Removing codecType from capture API

Review URL: https://webrtc-codereview.appspot.com/964005

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3013 4adac7df-926f-26a2-2b94-8c16560cd09d
Follow-up CL for r3007.

Fixes an initialization issue introduced with r3007 and adds a test for
detecting problems with reordering. Also some cleanup for better code.

TEST=remote_bitrate_estimator_unittests

BUG=1009

Review URL: https://webrtc-codereview.appspot.com/937007

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3014 4adac7df-926f-26a2-2b94-8c16560cd09d
Work around with issue 971 (signal_processing_unittests fails memcheck when compiled with GCC 4.6).
Review URL: https://webrtc-codereview.appspot.com/935008

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3017 4adac7df-926f-26a2-2b94-8c16560cd09d
Fix uninitialzed memory and cleanup.

BUG=1022
Review URL: https://webrtc-codereview.appspot.com/966006

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3019 4adac7df-926f-26a2-2b94-8c16560cd09d
Fix valgrind issue.
Code was removed by mistake in r2983.

BUG=1020

Review URL: https://webrtc-codereview.appspot.com/938006

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3021 4adac7df-926f-26a2-2b94-8c16560cd09d
Check if opus exists when build test app on Android

BUG=None
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/933011

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3022 4adac7df-926f-26a2-2b94-8c16560cd09d
Adding stride alignment

TEST= common_video_unittests and video_capture_module_test

BUG=985

Review URL: https://webrtc-codereview.appspot.com/965005

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3023 4adac7df-926f-26a2-2b94-8c16560cd09d
Init capturePicture with GetCaptureDeviceSnapshot so that the SetRenderStartImage test won't depend on the previous test which may be disabled by the include_timing_dependent_tests flag. This is a fix for LinuxLargeTests.

TEST=try bots
BUG=1023

Review URL: https://webrtc-codereview.appspot.com/964007

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3024 4adac7df-926f-26a2-2b94-8c16560cd09d
Reorganize modules/video_capture.

- The usual elimination of main/source etc.
- Fully qualify "public" includes.
- Use lowercase for all directory names.

Review URL: https://webrtc-codereview.appspot.com/933010

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3025 4adac7df-926f-26a2-2b94-8c16560cd09d
Fix Android build after video_capture reorg.

Review URL: https://webrtc-codereview.appspot.com/934011

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3026 4adac7df-926f-26a2-2b94-8c16560cd09d
Reorganize modules/video_render.

The usual elimination of main/source etc.

Review URL: https://webrtc-codereview.appspot.com/929011

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3027 4adac7df-926f-26a2-2b94-8c16560cd09d
Remove video_capture/test/android

Review URL: https://webrtc-codereview.appspot.com/937011

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3028 4adac7df-926f-26a2-2b94-8c16560cd09d
Fixes a bitrate mismatch between sender and receiver.

TEST=trybots

BUG=

Review URL: https://webrtc-codereview.appspot.com/928014

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3029 4adac7df-926f-26a2-2b94-8c16560cd09d
Landing http://review.webrtc.org/914006/
Review URL: https://webrtc-codereview.appspot.com/930007

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3030 4adac7df-926f-26a2-2b94-8c16560cd09d
libyuv wrapper: 1. Updating rotation settings - in case of 90 or 270 degree rotations, width and height should be updated accordingly. 2. Test clean-up.

TEST=trybots

Review URL: https://webrtc-codereview.appspot.com/936008

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3039 4adac7df-926f-26a2-2b94-8c16560cd09d
Refactor OpenSL audio driver

Message:
I want to start this review, the basica framework is almost done.

Description:
This implementation is similar to current one, but
1. followed the design doc at
https://docs.google.com/a/google.com/document/d/1g5q2SVtkFPl2OSjvSF3eeLb_S7sCnbINxiBUES6XLCM/edit
which uses two threads, playout thread and recording thread, uses large
audio buffer, etc.
2. google code style.

What are missing in this cl,
1. a better way to control schedule/thread priority.
2. java/jni interface to better support what cannot be done in OpenSL.

Please take a review, thanks.
Review URL: https://webrtc-codereview.appspot.com/902004

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3040 4adac7df-926f-26a2-2b94-8c16560cd09d
Removing use of raw buffers for I420PSNR and I420SSIM functions

BUG=none
TEST=metrics_unittest, video_codecs_test_framework_integrationtests in normal and memcheck mode.

Review URL: https://webrtc-codereview.appspot.com/937013

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3041 4adac7df-926f-26a2-2b94-8c16560cd09d
Reformating files in audio coding module.

This CL format the ramaining files on the audio coding module. No other changes are done, except for fixing a few long lines and TODOs without owner.

BUG=issue1024

Review URL: https://webrtc-codereview.appspot.com/928012

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3042 4adac7df-926f-26a2-2b94-8c16560cd09d
Using proper GYP references for Strmiids.lib on Windows

This makes it possible to link properly using Ninja on Windows.

Another issue exists due to the path containing spaces in webrtc/modules/video_capture/windows/direct_show_base_classes.gyp but that can be worked around by copying the baseclasses dir from the SDK into a path without spaces and then overriding the direct_show_dir variable with GYP_DEFINES.

Example:

set GYP_DEFINES=direct_show_dir=C:/WinSDKv7.1_directshow_baseclasses/
gclient runhooks
ninja -C out/Debug

Notice that the ending slash is needed for the direct_show_dir variable.

BUG=none
TEST=local compilation with the baseclasses copied from Windows SDK 7.1 into C:/WinSDKv7.1_directshow_baseclasses.

Review URL: https://webrtc-codereview.appspot.com/936014

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3043 4adac7df-926f-26a2-2b94-8c16560cd09d
Updating webrtc r3043