libvpx: Pull from upstream

Current HEAD: f932e15210820b806e7932f2ceb2e5f8758c8cc8
git log from upstream:
1cfaaf6 y4m_test: drop '_t' from local typenames
7875602 vp9_subtract_test: drop '_t' from local typenames
91ba1a7 subtract_test: drop '_t' from local typenames
ee4bbe1 sixtap_predict_test: drop '_t' from local typenames
18e733b sad_test: drop '_t' from local typenames
25d74e6 pp_filter_test: drop '_t' from local typenames
49135d3 partial_idct_test: drop '_t' from local typenames
9c05172 intrapred_test: drop '_t' from local typenames
75d56b3 idct_test: drop '_t' from local typenames
54697d3 fdct8x8_test: drop '_t' from local typenames
b8b3dd9 fdct4x4_test: drop '_t' from local typenames
c3314b7 decode_perf_test: drop '_t' from local typenames
fd38e70 dct32x32_test: drop '_t' from local typenames
44f8484 dct16x16_test: drop '_t' from local typenames
dfc4e8f convolve_test: drop '_t' from local typenames
18a7f69 Re-introduce frame size check inadvertantly deleted
096224f Use custom mkstemp() to fix Win issue in y4m_test
c66f612 VP9 denoiser fix: ref frames now updated properly
018fd12 Disable vp8_sixtap_predict4x4_neon
597ce31 Fix visual studio build failure
1094a11 temporal_svc sample encoder: setting for denoiser.
bdbaa5b Fix FrameSizeTestsLarge unit-test on 32-bit arch.
c447a50 Separates profile 2 into 2 profiles 2 and 3
4fae926 iosbuild.sh: Add VPX_FRAMEWORK_TARGET preproc symbol
e358ab5 Fixed a bug of setting wrong first pass mb stats pointer
f68aaa3 Modified frame buffer handling
943e432 allow config options to limit max size of decode
1a01194 fail allocation of buffers if size_t < frame_size
<...>

TBR=tomfinegan@chromium.org

Review URL: https://codereview.chromium.org/394353005

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libvpx@284465 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
libvpx: Pull from upstream

Current HEAD: 374c8859199ca9edc07d8a0cf66ea8ff8aec015f

git log from upstream:
e945c56 Remove redundant argument entry in handle_inter_mode
4f2f867 Use the chessboard pattern pred search in newmv mode
7788c62 Fix clang compiler warning in denoising_neon.
3538191 Remove redundant num_refs definition
54ad095 Enable chessboard inter prediction filter type search
2528051 frame_size_tests: reduce default 'large' frame size
1fe18ac VP9 denoiser bugfix in debugging code.
caad168 Fix get_frame_type function
de4db2d vp9_bitstream.c: cosmetics
5de6114 USE local best_filter variable in handle_inter_mode
daed770 vp8: Set default denoiser_decision to copy for UV channel.
24c9d6a [spatial svc]Use #if instead of #ifdef on macro CONFIG_SPATIAL_SVC
f909e43 vp8 denoiser fix: Update denoised altref on key frame.
ffd948b Turn on adaptive pred filter scheme for sub8x8 below 720p
5926e7c Remove unfinished VP9 alpha channel.
bcaf1d6 Moved call to vp9_clear_system_state() to a proper location
765485c Add -DNDEBUG when config option debug is disabled

TBR=tomfinegan@chromium.org

Review URL: https://codereview.chromium.org/415333002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libvpx@285378 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Remove third_party libmkv.

BUG=387738
TBR=tomfinegan@chromium.org

Review URL: https://codereview.chromium.org/424823003

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libvpx@285927 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Merge third_party/libvpx from https://chromium.googlesource.com/chromium/deps/libvpx.git at 3983288b51bb3c8f48a2d5f77523ef3ff1e94cd2

This commit was generated by merge_from_chromium.py.

Change-Id: I9f05fdf5d6674da927bce04f805abbbca03ff628
Update makefiles after merge of Chromium at 286177

This commit was generated by merge_from_chromium.py.

Change-Id: I926a4cc9c5ceba76df0edec62225945b27352378
Update libvpx.gyp for removed third_party libmkv.

BUG=387738
TBR=tomfinegan@chromium.org

Review URL: https://codereview.chromium.org/427943002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libvpx@286315 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Merge third_party/libvpx from https://chromium.googlesource.com/chromium/deps/libvpx.git at 371cfcef774dae7dc7e3ad0bf94dc2a4f830817f

This commit was generated by merge_from_chromium.py.

Change-Id: I780773c5ed5fb5d098cf4a62f5b3e0e5cade8304
Update clang warnings after r287092.

Review URL: https://codereview.chromium.org/419973008

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libvpx@287125 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Merge third_party/libvpx from https://chromium.googlesource.com/chromium/deps/libvpx.git at 7b82466c4e2f56b62b21e95178f15568448beab4

This commit was generated by merge_from_chromium.py.

Change-Id: Id809e74089a465cf98e030d0ad89166d6f265aa0
Workaround assembly offsets build error for WebRTC standalone.

This enables the new build WebRTC is moving to as a result of
the Chromium Git switch in https://webrtc-codereview.appspot.com/16229005/

Without this compilation fails like this (manually linewrapped):

[209/2563] ACTION gen_asm_offsets_vp8: unpack_lib_posix_655f0f79285c2909a9158512344a42a2
FAILED: cd ../../chromium/src/third_party/libvpx;
../../../../third_party/libvpx/unpack_lib_posix.sh
-d ../../../../out/Release/obj/chromium/src/third_party/libvpx/gen_asm_offsets_vp8.gen
-f vp8_asm_enc_offsets.o
-a ../../../../out/Release/libvpx_asm_offsets_vp8.a
-a ../../../../out/Release/obj/third_party/libvpx/libvpx_asm_offsets_vp8.a
-a ../../../../out/Release/obj/Source/WebKit/chromium/third_party/libvpx/libvpx_asm_offsets_vp8.a
-a ""
Failed to locate a static library.

In the current setup, the static library files are put in
<(LIB_DIR)/third_party/libvpx
but after https://webrtc-codereview.appspot.com/16229005/ they
end up in <(LIB_DIR)/chromium/src/third_party/libvpx instead
(caused by the fact that we're now symlinking into Chromium's libvpx
folder instead).

I assume adding another line to fix our problem won't cause any side-effects?

BUG=webrtc:2863, chromium:339647
TEST=Passing local build with https://webrtc-codereview.appspot.com/16229005/ and this patch applied.
R=tomfinegan@chromium.org

Review URL: https://codereview.chromium.org/450993002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libvpx@288724 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
vp8 fix: re-allocate denoiser for spatial resize.

Change has been committed upstream, see:
https://gerrit.chromium.org/gerrit/#/c/71097/
https://gerrit.chromium.org/gerrit/#/c/71121/

BUG=http://code.google.com/p/chromium/issues/detail?id=392112
R=johannkoenig@google.com
TBR=tomfinegan@chromium.org

Review URL: https://codereview.chromium.org/452933006

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libvpx@288801 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Merge third_party/libvpx from https://chromium.googlesource.com/chromium/deps/libvpx.git at 49c52261361fe90a27c0bdff38f752d507e535b7

This commit was generated by merge_from_chromium.py.

Change-Id: I012a39bfef647895a12894d0c9065d0b24680be2
Update makefiles after merge of Chromium at 288938

This commit was generated by merge_from_chromium.py.

Change-Id: I88b5b36312209d1abc1a526a63b497d1788e6cb0
Merge from Chromium at DEPS revision 288042

This commit was generated by merge_to_master.py.

Change-Id: I2308b6f9a9e304707de4a4f61391b540bfd3f766
libvpx.gyp: Fix process_outputs_as_sources usage.

Replace three instances of 'process_output_as_sources' with
'process_outputs_as_sources'. Note that one of these is from
an include.

R=fischman@chromium.org

Review URL: https://codereview.chromium.org/465283003

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libvpx@289332 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
libvpx.gyp: Remove redundant sources.

A typo that went unnoticed at the usage sites of process_outputs_as_sources
(a missing 's' in outputs) resulted in the workaround of adding the output from
the libvpx asm offsets step as an explicit source file.

R=thakis@chromium.org

Review URL: https://codereview.chromium.org/469363004

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libvpx@289715 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Revert 289715 "libvpx.gyp: Remove redundant sources."

Not so redundant:

{standard input}: Assembler messages:
{standard input}:27: Error: can't open vpx_scale_asm_offsets.asm for reading: No such file or directory
make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/third_party_libvpx_libvpx_gyp_intermediates/vp8_vpxyv12_copyframe_func_neon.o] Error 1
make: *** Waiting for unfinished jobs....
{standard input}: Assembler messages:
{standard input}:27: Error: can't open vpx_scale_asm_offsets.asm for reading: No such file or directory
make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/third_party_libvpx_libvpx_gyp_intermediates/vp8_vpxyv12_copysrcframe_func_neon.o] Error 1
{standard input}: Assembler messages:
{standard input}:27: Error: can't open vpx_scale_asm_offsets.asm for reading: No such file or directory
make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/third_party_libvpx_libvpx_gyp_intermediates/vp8_vpxyv12_extendframeborders_neon.o] Error 1
In file included from external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/arm/armv6/idct_blk_v6.c:11:0:
external/chromium_org/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_config.h:13:0: warning: "ARCH_ARM" redefined [enabled by default]
 #define ARCH_ARM 1
 ^
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-arm/AndroidConfig.h:254:0: note: this is the location of the previous definition
 #define ARCH_ARM
 ^
In file included from external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/alloccommon.c:12:0:
external/chromium_org/third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_config.h:13:0: warning: "ARCH_ARM" redefined [enabled by default]
 #define ARCH_ARM 1
 ^
In file included from <command-line>:0:0:
./build/core/combo/include/arch/linux-arm/AndroidConfig.h:254:0: note: this is the location of the previous definition
 #define ARCH_ARM
 ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
make: *** wait: No child processes.  Stop.

On the AOSP builder we still can't find the scale offsets without the extra sources. Reverting for now.

> libvpx.gyp: Remove redundant sources.
> 
> A typo that went unnoticed at the usage sites of process_outputs_as_sources
> (a missing 's' in outputs) resulted in the workaround of adding the output from
> the libvpx asm offsets step as an explicit source file.
> 
> R=thakis@chromium.org
> 
> Review URL: https://codereview.chromium.org/469363004

TBR=tomfinegan@google.com

Review URL: https://codereview.chromium.org/474153002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libvpx@289815 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
libvpx: Pull from upstream

Current HEAD: 49fef904054b668881dfb21e37bcb60d571cb2c5

git log from upstream:
69dc876 Set uv_crop_height/width in all the places
b77ef13 vpxdec.sh: Fix some style nits.
28b1437 Remove a unused speed feature
4d91e16 examples.sh: Run all example tests.
965af79 vp8cx_set_ref: Flush encoder.
f1ec9e8 Cleaning up vp9_encoder.c.
31e54bb Removing active_arnr_{strength, frames} from VP9_COMP.
4851b99 Removes fileno check to prevent valgrind error
a0d8ddb vpxenc.sh: use --test-decode=fatal for vp9
8db245b Add an adaptive denoising mode.
21a0dad vp8: Modify to use closest reference in zero_mv bias.
a07d09f vp9_copy_reference_dec: check ref frame index before use
d67b608 Remove redundant vp9_init_plane_quantizers call
efdfdf5 32 Align Load bug In the sub_pixel_avg_variance the parameter sec was also aligned load and changed to unaligned.
89a213b get_ref_frame: fix test for valid buffer.
5966586 Mask out H_PRED and V_PRED for 32x32 blocks
4d6d061 Set max_intra_bsize to 32x32
4e30565 Fix bug 837: realloc mode info buffers on resize
c89d151 vpx_codec_internal.h : clean out unused function warning
741a23c Replace current_video_frame with better alternatives
ccef884 Allow full coeff probability model and cost update
1e30547 Skip mode search based on reference frame consistency
0daadeb Enable motion field based mode seach skip
b6a4180 Simplify select_tx_mode()
1c62031 cq_test: allow test cases to be run out of order
17ea6ab Initialization to prevent asan failure on google3
a6a997d vpx_internal_error -> fix -Wunused-function issues
caffcb8 decode_api_test: fix type conversion warning
3a7d467 libyuv: update to r1041
3caed4f get_ref_frame: check ref_frame_map value
7d9da93 VP8D_GET_FRAME_CORRUPTED: check frame pointer
07a6752 inline vpx functions in headers to avoid unused function warning
f452961 fixes several -Wunused-function warnings
3011c53 Fix a run-time integer overflow
5c55202 intra blocks disallowed inadvertently
a463513 Rework y4mwrite test to pass google3 tests

TBR=tomfinegan@chromium.org

Review URL: https://codereview.chromium.org/478033002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libvpx@290056 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Merge third_party/libvpx from https://chromium.googlesource.com/chromium/deps/libvpx.git at 962354ec5b594c9dc0173a57266ae9db6c74434d

This commit was generated by merge_from_chromium.py.

Change-Id: I1ce08b15e21646d8da471096ed7cf6420b514fc5
Update makefiles after merge of Chromium at 290040

This commit was generated by merge_from_chromium.py.

Change-Id: I378456fb6beed2f21a2f39759032a1733e77681d