summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-22Add default flags for arm64/armv8 buildsJohann
Allows building simple targets with sane default flags. For example, using the Android arm64 toolchain from the NDK: https://developer.android.com/ndk/guides/standalone_toolchain.html ./build/tools/make-standalone-toolchain.sh --arch=arm64 \ --platform=android-24 --install-dir=/tmp/arm64 CROSS=/tmp/arm64/bin/aarch64-linux-android- \ ~/libvpx/configure --target=arm64-linux-gcc --disable-multithread BUG=webm:1143 Change-Id: I06f5a7564f5382cf1a4bad41aef4308566c53adf
2016-06-22Merge "remove vp10"James Zern
2016-06-22Merge "win: Include <intrin.h> instead of manually declaring intrinsics."Nico Weber
2016-06-22win: Include <intrin.h> instead of manually declaring intrinsics.Nico Weber
This helps clang-cl. BUG=chromium:592745 Change-Id: I49f9b6928c91b2b43567f4336520ba4f1010d3ad
2016-06-22Prevent negative varianceYaowu Xu
Due to rounding used computation, HDB variance computation may produce slightly negative values. This commit adds clamping to make sure output variance values for 10 and 12 to be non-negative. Change-Id: Id679aa55a4c201958c4c7d28cd8733b9246a71c8
2016-06-22Merge "Fix ubsan warnings: vp9/encoder/vp9_mcomp.c"Yaowu Xu
2016-06-21Fix ubsan warnings: vp9/encoder/vp9_mcomp.cYaowu Xu
This commit fixes a number of ubsan warnings in HBD build. BUG=webm:1219 Change-Id: I05f0fd0ef50e93db4ba34205005c54af1ed32acc
2016-06-21Merge "Add a hardware compatibility feature"Hui Su
2016-06-21Merge "Disable neon for Xcode versions < v6.3."Tom Finegan
2016-06-21Add a hardware compatibility featurehui su
This commit adds an encoder workaround to support better compatibility with a non-compliant hardware vp9 profile 2 decoder. The known issue with this decoder is: The decoder assumes a wrong value, 127 instead of the correct value of 511 and 2047, for any assumed top-left corner pixel in UV planes for 10 and 12 bit, respectively. Such assumed top-left corner pixel is used for INTRA prediction when a real decoded/reconstructed pixel is not avalable, e.g. when it is located inside the row above the top row or inside the column left to the leftest column of a video image. Change-Id: Ic15a938a3107e1b85e96cb7903a5c4220986b99d
2016-06-20Merge "Make type conversion explicit"Yaowu Xu
2016-06-20Merge "Fix ubsan warning: vp9/encoder/vp9_encodeframe.c"Yaowu Xu
2016-06-20Make type conversion explicitYaowu Xu
This fixes MSVC warnings. Change-Id: I675d8486230b2b74d7973d95720a4995c4750282
2016-06-20Merge "Refactor optimize_b for speed performance"Jingning Han
2016-06-20Merge "Port optimize_b speed-up from vp10"Jingning Han
2016-06-19Merge "Configuration: Use 'is_in' instead of echo | grep"Johann Koenig
2016-06-19Fix iosbuild.sh: outdated reference to ios-version.shJohann
File was removed in b29ebfe91c643b4bab1f24c2b55bf0a5a83cb825 but a reference was missed. Change-Id: I7a3d81ab196a70cb5691331705f956cc7dc9bb2a
2016-06-18realtime_test: remove decoded frame count checkJames Zern
decoding is done if the decoder is available, with errors handled accordingly. the encoded frame count should be sufficient for this test. + remove HandleDecodeResult() as it's redundant given the base implementation BUG=webm:1233 Change-Id: I513c1c3475c58a746f4df627491bdc392fe21416
2016-06-17remove vp10James Zern
development has moved to the nextgenv2 branch and a snapshot from here was used to seed aomedia BUG=b/29457125 Change-Id: Iedaca11ec7870fb3a4e50b2c9ea0c2b056a0d3c0
2016-06-17Refactor optimize_b for speed performanceJingning Han
This commit refactors the trellis coefficient optimization process. It saves multiplications used to generate the final dequantized coefficients. It removes two memset operations on quantized and dequantized coefficient sets. This improves the unit speed by 10%. Change-Id: I23f47c6e14582520a7f952f03ce8f72183e7f0e6
2016-06-17Port optimize_b speed-up from vp10Jingning Han
This commit back ports the speed-up from vp10. It improves the unit speed by 15%. Change-Id: Ibe8c0e0974b03266d6abd16a41e89c3b91d8db2a
2016-06-17Fix ubsan warning: vp9/encoder/vp9_encodeframe.cYaowu Xu
BUG=webm:1219 Change-Id: I29b896c7f61abf871d7853b1d8200aa5a9f6a95c
2016-06-17Merge "Use 64-bit integer to store distortion in optimize_b"Jingning Han
2016-06-17Use 64-bit integer to store distortion in optimize_bJingning Han
This fixes the overflow issue. Bug=webm:1241 Change-Id: Ia168b7fae1ad214a6837aaa785a08bf8506987dd
2016-06-17Merge "Parse codec options in order of occurrence."DO NOT USE
2016-06-17Configuration: Use 'is_in' instead of echo | grepJohann
Change-Id: I38f7684969f12a624980f4e06698379a49e61bdf
2016-06-17Merge "Fix warnings from gtest under GCC 5 or newer."James Zern
2016-06-17Merge "Remove ios-version.sh"Johann Koenig
2016-06-17Parse codec options in order of occurrence.Johann
Each time a codec is enabled or disabled with the umbrella --enable-vpN flag, set the encoder and decoder configurations as well. This was done as a post-processing step but doing that lost the order of the arguments. BUG=webm:1205 Change-Id: Ic629bfdd06acc04bc5a7227309f36bba54dad8b1
2016-06-17Disable neon for Xcode versions < v6.3.Tom Finegan
vtbl1_u8 is marked unavailable prior to Xcode v6.3. BUG=webm:1154 Change-Id: I08bd34f712ab7da72658c89d8b606658c1348923
2016-06-17Merge "Fix ubsan warnings: vp9/encoder/vp9_encoder.c"Yaowu Xu
2016-06-17Fix warnings from gtest under GCC 5 or newer.Geza Lore
Change-Id: I9661f2fe9d315dccae69caa70d929b5d9d93b7db (cherry picked from commit 4c83fdd3d7cacd66a2c64451db0fb64e5b2ecf48)
2016-06-17Output frames in first pass for VPX_DL_REALTIME.Tom Finegan
Since combining VPX_DL_REALTIME with VPX_RC_FIRST_PASS is basically nonsense, ignore the user's pass setting when this happens and behave as if the requested encode is a single pass encode. BUG=webm:1233 Change-Id: I5ee4c4e5838c4ca6d24988890aae490b10826db2
2016-06-17Fix ubsan warnings: vp9/encoder/vp9_encoder.cYaowu Xu
BUG=webm:1219 Change-Id: I433a688fbbc87094afa888c1e7d49f3eefc0e765
2016-06-17Merge "vp8: correct function return types"Johann Koenig
2016-06-17Merge "VP8_COMP: make frames_since_golden signed"Johann Koenig
2016-06-17Merge "vp9_pickmode: quiet int64->int conversion warning"James Zern
2016-06-16Remove ios-version.shJohann
The logic can be incorporated into configure.sh Removes a dependency on ios-version.sh which was not part of DIST-SRCS and removes a warning from 'make dist' sub builds: ../src/build/make/configure.sh: line 787: ../src/build/make/ios-version.sh: No such file or directory Change-Id: Ic38314708eb278dd9d2a9769a670da32f6126637
2016-06-16Merge "vp8_[cd]x_iface.c: Initialize structures to 0"Johann Koenig
2016-06-16Merge "vp8 stats file: initialize to 0"Johann Koenig
2016-06-16vp8_[cd]x_iface.c: Initialize structures to 0Johann
Use vp8_zero() or specify every element. Cleans warning in Android build: missing field 'deblocking_level' initializer vp8_ppflags_t flags = {0}; ^ missing field 'sz' initializer {0}, /* rc_twopass_stats_in */ ^ missing field 'sz' initializer {0}, /* rc_firstpass_mb_stats_in */ ^ missing field 'layer_target_bitrate' initializer }}, ^ missing field 'deblocking_level' initializer vp8_ppflags_t flags = {0}; ^ missing field 'mr_get_mem_loc' initializer } ^ Change-Id: Iaedde9a77faac7a40316aee67d60d02ba7313500
2016-06-16VP8_COMP: make frames_since_golden signedJohann
This value is signed in vp9/10 Cleans warning in Android build: comparison of integers of different signs: 'unsigned int' and 'int' if (cpi->frames_since_golden == (cpi->current_gf_interval >> 1)) ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Change-Id: Ie137724982f3a46c8c1820548c1960d62a4e96f2
2016-06-16vp8: correct function return typesJohann
left_above_mv and above_block_mv return as_int as_int is defined as uint32_t in vp8/common/mv.h Cleans up -Wextra warnings: signed and unsigned type in conditional expression this_mv->as_int = col ? d[-1].bmi.mv.as_int : left_block_mv(mic, i); ^ this_mv->as_int = row ? d[-4].bmi.mv.as_int : above_block_mv(mic, i, mis); ^ left_mv.as_int = col ? d[-1].bmi.mv.as_int : ^ Change-Id: Ia043764e4ce93d2152d2269b1c7b28b5d5f814cf
2016-06-16Merge "vp8_change_config: fix unsigned/signed comparison"Johann Koenig
2016-06-16vpx_dsp/quantize.c: fix ubsan warningsYaowu Xu
BUG=webm:1219 Change-Id: I0c80271c6b78adf40aa7a4cac9e6b431d56958cb
2016-06-16vpx_dsp/variance.c: change to use correct typeYaowu Xu
This commit change to use int64_t to represent the sum of pixel differences, which can be negative. This fixes a number of ubsan warnings. BUG=webm:1219 Change-Id: I885f245ae895ab92ca5f3b9848d37024b07aac98
2016-06-16Merge "Fix an ubsan warning: vp9_quantizer.c"Yaowu Xu
2016-06-16vp8 stats file: initialize to 0Johann
Cleans up -Wextra warning: missing initializer for field ‘intra_error’ of ‘FIRSTPASS_STATS’ Change-Id: I42c1413234aba207f8e89f2e040e14a81bca511e
2016-06-16vp8_change_config: fix unsigned/signed comparisonJohann
Use ~15 instead of 0x..F0 Cleans warning in Android build: comparison of integers of different signs: 'unsigned int' and 'int' if (((cm->Width + 15) & 0xfffffff0) != ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ comparison of integers of different signs: 'unsigned int' and 'int' ((cm->Height + 15) & 0xfffffff0) != ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Change-Id: Iac25839cde3425b7b9db7f33740dc46a551b7546
2016-06-16Merge "Fix ubsan warning: test/datarate_test.cc"Yaowu Xu