New attempt at fixing hard-coded libvpx source.

TBR=ajm@webrtc.org
BUG=1428

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3566 4adac7df-926f-26a2-2b94-8c16560cd09d
Refactor ring_buffer interface, add a feature and a test.

* Add a RingBuffer typedef.
* Add the ability to force a memcpy by passing a null ptr. In some cases,
  we know we want a memcpy. This allows us to skip a potential
  intermediate memcpy.
* Add a stress test.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3567 4adac7df-926f-26a2-2b94-8c16560cd09d
Remove unneeded libvpx path from vp8 include_dirs.

This is already provided by libvpx.gyp.

BUG=webrtc:1428

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3568 4adac7df-926f-26a2-2b94-8c16560cd09d
Force a memcpy directly from the AEC ring buffer.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3570 4adac7df-926f-26a2-2b94-8c16560cd09d
Use ninja with merge_libs.py on Windows and clean up.

BUG=b/8110634

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3571 4adac7df-926f-26a2-2b94-8c16560cd09d
Refactor WebRtc_CreateBuffer to return the instance.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3574 4adac7df-926f-26a2-2b94-8c16560cd09d
Fixed a bug in WebRtcNsx_PrepareSpectrumNeon() for NS in ARM Neon platform.

No written bug report.

Tested with Nexus-S. Issue disappeared with the change.
Review URL: https://webrtc-codereview.appspot.com/1126006

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3575 4adac7df-926f-26a2-2b94-8c16560cd09d
Fix to send a full NACK list at least roughly once every 1.5 x RTT.

BUG=1434

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

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

* Adds pointer to low level AecCore struct.
* Adds a simple unit test of this new call.

Tested with audioproc_unittest, trybots

TEST=none
BUG=none

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3577 4adac7df-926f-26a2-2b94-8c16560cd09d
Rewrite the jitter buffer statistics test and put make it robust under valgrind.

BUG=1158

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3579 4adac7df-926f-26a2-2b94-8c16560cd09d
Add supporting to V4L2_PIX_FMT_JPEG since it works same as MJPEG.

ISSUE=529
TEST=unittest
Review URL: https://webrtc-codereview.appspot.com/1120006

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3580 4adac7df-926f-26a2-2b94-8c16560cd09d
Turn off error concealment in videoprocessor_integration tests.
Review URL: https://webrtc-codereview.appspot.com/1123006

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3581 4adac7df-926f-26a2-2b94-8c16560cd09d
Limit ARM instruction "strheq" to Apple's clang compiler only.
bug =
Review URL: https://webrtc-codereview.appspot.com/1111008

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3583 4adac7df-926f-26a2-2b94-8c16560cd09d
Destroy VCM and VPM instead of delete.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3586 4adac7df-926f-26a2-2b94-8c16560cd09d
Return an error when greater than 16 kHz is used with AECM.

BUG=chromium:178040

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3587 4adac7df-926f-26a2-2b94-8c16560cd09d
Make RtpHeaderExtensionMap::Register and ::Deregister idempotent.

This CL changes the return code of these methods to indicate
success instead of failure when there is nothing to change.

This change appears to resolve an issue where enabling the
timestamp offset extension via SDP would result in a failure if
that extension had already been enabled.
Review URL: https://webrtc-codereview.appspot.com/1118008

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3588 4adac7df-926f-26a2-2b94-8c16560cd09d
Enable External MediaProcessing on Mobile

Bug=None
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/1133005

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3589 4adac7df-926f-26a2-2b94-8c16560cd09d
Properly error check calls to AudioProcessing.

Checks must be made with "!= 0", not "== -1". Additionally:
* Clean up the function calling into AudioProcessing.
* Remove the unused _noiseWarning.
* Make the other warnings bool.

BUG=chromium:178040

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3590 4adac7df-926f-26a2-2b94-8c16560cd09d
Refactored inline assembly code in complex_fft.c, by combining the individual __asm lines into a single block, to avoid potential register usage problems when building with different tools.
Review URL: https://webrtc-codereview.appspot.com/1153004

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3592 4adac7df-926f-26a2-2b94-8c16560cd09d
Update integration tests for idempotent RTP header settings.
Review URL: https://webrtc-codereview.appspot.com/1152004

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