I420VideoFrame: Adding: 1. IsEmpty 2. ResetSize

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2924 4adac7df-926f-26a2-2b94-8c16560cd09d
Refactor WebRTCDemo.java to follow google code style

BUG=None
TEST=bots
Review URL: https://webrtc-codereview.appspot.com/882005

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2925 4adac7df-926f-26a2-2b94-8c16560cd09d
Adding support for 48 kHz input to VAD.

This CL adds support for 48 kHz sampling frequency in the VAD, by adding downsampling from 48 to 8 kHz.

BUG=
TEST=vad_unittest

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2926 4adac7df-926f-26a2-2b94-8c16560cd09d
Improving the way fileutil.h finds test resources.

Adding the argv[0] path to the working directory to make it possible find the project root even when the test is executed from outside the project dir (like it is on some buildbots).

Removed tests that moves into directories since they no longer work with this approach. The new functionality have been verified by manual tests of the following cases, example with a checkout root dir called webrtc/:
Working dir:                   Command line:
webrtc                         trunk/out/Debug/test
webrtc/trunk                   out/Debug/test
webrtc/trunk/out               Debug/test
webrtc/trunk/out               ./Debug/test
webrtc/trunk/out/Debug         ./test
webrtc/trunk/out/Debug/subdir  ../test
webrtc/trunk/out/Debug/subdir  ./../test

I also made another program with its own main method (only links with 'test_support', not 'test_support_main') and made sure that it was still possible to use as before (i.e. works within the project tree but not above it):

#include "testsupport/fileutils.h"
int main(int argc, char** argv) {
  printf("Working dir: %s\n", webrtc::test::WorkingDir().c_str());
  printf("Project root: %s\n", webrtc::test::ProjectRootPath().c_str());
  printf("Output path: %s\n", webrtc::test::OutputPath().c_str());
}

BUG=Existing implementation cannot handle when the working directory is outside the project checkout.
TEST=test_support_unittests and manual tests with video_codecs_test_framework_integration_tests + passing all trybots + memcheck tool

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2927 4adac7df-926f-26a2-2b94-8c16560cd09d
Delete mergeinfo on remote_bitrate_estimator.

This should prevent these files from showing up during every merge operation.

BUG=issue724
Review URL: https://webrtc-codereview.appspot.com/881005

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2931 4adac7df-926f-26a2-2b94-8c16560cd09d
Remove non-ASCII character from voe_external_media.h

TBR=henrika@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2932 4adac7df-926f-26a2-2b94-8c16560cd09d
Consolidate test file path on Android

BUG=None
TEST=local
Review URL: https://webrtc-codereview.appspot.com/879004

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2934 4adac7df-926f-26a2-2b94-8c16560cd09d
Adding fileutils.h support for absolute paths

This CL completes the effort done in http://review.webrtc.org/858014/ to make tests find the resources in various scenarios.

Slightly modified tests since there were a bit confusing and that their description conflicted with the current functionality.

BUG=Tests that are run with full absolute paths cannot find resources.
TEST=Local tests using absolute paths + trybots

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2936 4adac7df-926f-26a2-2b94-8c16560cd09d
Made external codec test compile and pass.

BUG=961
TEST=Uncomment #define WEBRTC_VIDEO_ENGINE_EXTERNAL_CODEC_API in engine_configurations.h. Should build and extended codec test pass.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2937 4adac7df-926f-26a2-2b94-8c16560cd09d
Added buffer length when calling encrypt/decrypt. Write the extra two bytes.

Replacing http://review.webrtc.org/893004/.

BUG=934
TEST=Run ViE Autotest Encryption with Valgrind.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2938 4adac7df-926f-26a2-2b94-8c16560cd09d
THis modification is casued by r2915.
In r2915, the src/system_wrapper/interface/critical_section_wrapper.h
was changed.
The below two files are affected by r2915. 
Review URL: https://webrtc-codereview.appspot.com/878006

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2939 4adac7df-926f-26a2-2b94-8c16560cd09d
Fixes comment from https://webrtc-codereview.appspot.com/869004/

BUG=N/A

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2940 4adac7df-926f-26a2-2b94-8c16560cd09d
A fix to webrtc issue 918 in Android, introduced from version 2792 which touched the build settings.
Review URL: https://webrtc-codereview.appspot.com/897005

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2941 4adac7df-926f-26a2-2b94-8c16560cd09d
Use TestSuite for startup in audioproc_unittest's custom main().

TESTED=invoked audioproc_unittest with an absolute path in a working directory outside the tree.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2942 4adac7df-926f-26a2-2b94-8c16560cd09d
Allow audioproc_unittest to be run with an absolute path.

r2942 depended on TestSuite, which in turn depends on Gmock. This is not
available in the Android platform build. Here, we call SetExecutablePath
directly instead.

TBR=kjellander@webrtc.org
TESTED=invoked audioproc_unittest with an absolute path in a working directory
outside the tree.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2944 4adac7df-926f-26a2-2b94-8c16560cd09d
Opus integration

First patch = delivery from August 22, 2012.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2945 4adac7df-926f-26a2-2b94-8c16560cd09d
Move the REMB summation into RemoteBitrateEstimatorSingleStream.

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2946 4adac7df-926f-26a2-2b94-8c16560cd09d
Updating JPEG Decoder to Use LibYuv

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2947 4adac7df-926f-26a2-2b94-8c16560cd09d
Removed the 00 API from the fuzz tests.

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/src@2950 4adac7df-926f-26a2-2b94-8c16560cd09d
Enable NACK by default

BUG=None
TEST=local
Review URL: https://webrtc-codereview.appspot.com/910005

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