platform/upstream/libvpx.git
7 years agoadd vpx high bitdepth convolve8 NEON intrinsics optimization
Linfeng Zhang [Thu, 13 Oct 2016 00:20:53 +0000 (17:20 -0700)]
add vpx high bitdepth convolve8 NEON intrinsics optimization

BUG=webm:1299

Change-Id: I236bfa0441e357b6ff05add8269a2cfb543924d1

7 years agoMerge "add vpx_highbd_convolve_{copy,avg}_neon()"
Linfeng Zhang [Fri, 14 Oct 2016 23:04:59 +0000 (23:04 +0000)]
Merge "add vpx_highbd_convolve_{copy,avg}_neon()"

7 years agoMerge "Drop empty frames."
James Bankoski [Fri, 14 Oct 2016 16:38:56 +0000 (16:38 +0000)]
Merge "Drop empty frames."

7 years agoDrop empty frames.
Jim Bankoski [Fri, 14 Oct 2016 13:28:14 +0000 (06:28 -0700)]
Drop empty frames.

Change-Id: I2d45a6eb3aaca97eb61e8e7ef9e5114221091244

7 years agoadd vpx_highbd_convolve_{copy,avg}_neon()
Linfeng Zhang [Wed, 12 Oct 2016 23:32:37 +0000 (16:32 -0700)]
add vpx_highbd_convolve_{copy,avg}_neon()

BUG=webm:1299

Change-Id: Ib87ac466ada63251eb06ae2abd1e13e61e0d1538

7 years agovp8: Adjust thresholds in VP8/DatarateTestLarge tests.
Marco [Thu, 13 Oct 2016 16:26:38 +0000 (09:26 -0700)]
vp8: Adjust thresholds in VP8/DatarateTestLarge tests.

Fix unit_tests_ubsan failure VP8/DatarateTestLarge.BasicBufferModel.
Failure was triggered by commit: df66f8e8.

Change-Id: I2c49e5cc24094b15063161bab27b09ec7e6f2045

7 years agoMerge "cosmetics,*loopfilter_neon.c: s/tranpose/transpose/"
James Zern [Thu, 13 Oct 2016 07:12:50 +0000 (07:12 +0000)]
Merge "cosmetics,*loopfilter_neon.c: s/tranpose/transpose/"

7 years agoMerge "vp9_bitstream: Parameterize interp_filter_selected"
Vignesh Venkatasubramanian [Thu, 13 Oct 2016 06:33:30 +0000 (06:33 +0000)]
Merge "vp9_bitstream: Parameterize interp_filter_selected"

7 years agovp9_bitstream: Parameterize interp_filter_selected
Vignesh Venkatasubramanian [Wed, 12 Oct 2016 19:06:58 +0000 (12:06 -0700)]
vp9_bitstream: Parameterize interp_filter_selected

Facilitates encoding tiles in parallel.

BUG=webm:1309

Change-Id: I37aa336d47babffc8352188dc767eebdb8a99474

7 years agoMerge "Optimize vpx_mbpost_proc_across_ip_msa function"
Kaustubh Raste [Thu, 13 Oct 2016 02:12:33 +0000 (02:12 +0000)]
Merge "Optimize vpx_mbpost_proc_across_ip_msa function"

7 years agoMerge "Optimize vpx_get4x4sse_cs_msa function"
Kaustubh Raste [Thu, 13 Oct 2016 02:11:59 +0000 (02:11 +0000)]
Merge "Optimize vpx_get4x4sse_cs_msa function"

7 years agocosmetics,*loopfilter_neon.c: s/tranpose/transpose/
James Zern [Wed, 12 Oct 2016 23:12:56 +0000 (16:12 -0700)]
cosmetics,*loopfilter_neon.c: s/tranpose/transpose/

Change-Id: I267d6a9d715ddb6110f0881c2e820c37fc673fe1

7 years agoMerge "vp9_bitstream: Parameterize max_mv_magnitude"
Vignesh Venkatasubramanian [Wed, 12 Oct 2016 21:52:41 +0000 (21:52 +0000)]
Merge "vp9_bitstream: Parameterize max_mv_magnitude"

7 years agovp9_bitstream: Parameterize max_mv_magnitude
Vignesh Venkatasubramanian [Mon, 10 Oct 2016 21:45:39 +0000 (14:45 -0700)]
vp9_bitstream: Parameterize max_mv_magnitude

Facilitates encoding tiles in parallel.

BUG=webm:1309

Change-Id: I614a5a492c30b6773c30e7294cd6a6f456e02ab4

7 years agoMerge "[vpx highbd lpf NEON 6/6] vertical 16"
Linfeng Zhang [Wed, 12 Oct 2016 19:31:39 +0000 (19:31 +0000)]
Merge "[vpx highbd lpf NEON 6/6] vertical 16"

7 years agoMerge "[vpx highbd lpf NEON 5/6] horizontal 16"
Linfeng Zhang [Wed, 12 Oct 2016 19:31:24 +0000 (19:31 +0000)]
Merge "[vpx highbd lpf NEON 5/6] horizontal 16"

7 years agoMerge "[vpx highbd lpf NEON 4/6] vertical 8"
Linfeng Zhang [Wed, 12 Oct 2016 19:31:06 +0000 (19:31 +0000)]
Merge "[vpx highbd lpf NEON 4/6] vertical 8"

7 years ago[vpx highbd lpf NEON 6/6] vertical 16
Linfeng Zhang [Wed, 5 Oct 2016 18:33:52 +0000 (11:33 -0700)]
[vpx highbd lpf NEON 6/6] vertical 16

BUG=webm:1300

Change-Id: I29d0b482d66f05e278325ddebcf108fbf0b6e222

7 years ago[vpx highbd lpf NEON 5/6] horizontal 16
Linfeng Zhang [Wed, 5 Oct 2016 18:29:15 +0000 (11:29 -0700)]
[vpx highbd lpf NEON 5/6] horizontal 16

BUG=webm:1300

Change-Id: I21da32d6cfb8a1a6f58bc9756d17f48f13a59a12

7 years ago[vpx highbd lpf NEON 4/6] vertical 8
Linfeng Zhang [Wed, 5 Oct 2016 18:08:58 +0000 (11:08 -0700)]
[vpx highbd lpf NEON 4/6] vertical 8

BUG=webm:1300

Change-Id: If06b12bc081bab60059b100414dd7018f83ac62d

7 years agoMerge "Optimize vp8 loopfilter msa functions"
Kaustubh Raste [Wed, 12 Oct 2016 05:44:10 +0000 (05:44 +0000)]
Merge "Optimize vp8 loopfilter msa functions"

7 years agoMerge "[vpx highbd lpf NEON 3/6] horizontal 8"
James Zern [Wed, 12 Oct 2016 05:35:48 +0000 (05:35 +0000)]
Merge "[vpx highbd lpf NEON 3/6] horizontal 8"

7 years ago[vpx highbd lpf NEON 3/6] horizontal 8
Linfeng Zhang [Wed, 5 Oct 2016 17:59:10 +0000 (10:59 -0700)]
[vpx highbd lpf NEON 3/6] horizontal 8

BUG=webm:1300

Change-Id: Ica2379e294be60b7f80fcfcec110dca4c3b59d81

7 years agovp8: Adjust threshold on VP8/DatarateTestLarge.DenoiserOffOn.
Marco [Tue, 11 Oct 2016 23:12:46 +0000 (16:12 -0700)]
vp8: Adjust threshold on VP8/DatarateTestLarge.DenoiserOffOn.

Fix unit_tests_ubsan failure for VP8/DatarateTestLarge.DenoiserOffOn.
Failure was triggered by commit: df66f8e8.

Change-Id: I7cc5bd309e85950cfc5755e01d0eb942d9ca6984

7 years ago1 pass vbr: Allow for lookahead alt-ref in real-time mode.
Marco [Wed, 3 Aug 2016 00:37:32 +0000 (17:37 -0700)]
1 pass vbr: Allow for lookahead alt-ref in real-time mode.

For 1 pass vbr real-time mode:
Allow for the usage of alt-ref frame when non-zero lag-in-frames is used.
Use non-filtered alt-ref, and select usage based on fast scene/content
analysis/detection within the lag of frames.

Positive gains on ytlive set: overall avgPSNR ~3-4%.
Several clips are up between 5-14%, a few clips are neutral/small change.

Current speed decrease is about ~5-10%.

Use the flag USE_ALTREF_FOR_ONE_PASS to enable this feature
(off by default for now).

Change-Id: I802d2bf3d44f9cf01f6d15c76be9c90192314769

7 years agovp9: 1 pass vbr: some adjustments to gf interval.
Marco [Mon, 10 Oct 2016 18:42:47 +0000 (11:42 -0700)]
vp9: 1 pass vbr: some adjustments to gf interval.

Put limit on gf interval based on lag, and allow
for the adjustment on next gf group also on key frame.

Small/neutral change on ytlive metrics.

Change only affects 1 pass vbr real-time mode.

Change-Id: I339c8f4398848698b6e10fe9482c52ca661b94a5

7 years agoMerge "vp8: Change default gf behavior for 1 pass cbr."
Marco Paniconi [Mon, 10 Oct 2016 23:06:30 +0000 (23:06 +0000)]
Merge "vp8: Change default gf behavior for 1 pass cbr."

7 years agoMerge "[vpx highbd lpf NEON 2/6] vertical 4"
Linfeng Zhang [Mon, 10 Oct 2016 16:57:50 +0000 (16:57 +0000)]
Merge "[vpx highbd lpf NEON 2/6] vertical 4"

7 years agoMerge "[vpx highbd lpf NEON 1/6] horizontal 4"
Linfeng Zhang [Mon, 10 Oct 2016 16:56:22 +0000 (16:56 +0000)]
Merge "[vpx highbd lpf NEON 1/6] horizontal 4"

7 years agoOptimize vpx_mbpost_proc_across_ip_msa function
Kaustubh Raste [Mon, 10 Oct 2016 12:33:28 +0000 (18:03 +0530)]
Optimize vpx_mbpost_proc_across_ip_msa function

Removed HADD_SW_S32 calculation

Change-Id: I7384dc881451d197404d09beb7c27b222e1d6875

7 years agoOptimize vpx_get4x4sse_cs_msa function
Kaustubh Raste [Mon, 10 Oct 2016 11:01:57 +0000 (16:31 +0530)]
Optimize vpx_get4x4sse_cs_msa function

Reuse CALC_MSE_B macro

Change-Id: I39f0a92ac2dbb5fa8628df1a5d556cfdc42a3648

7 years agoMerge "Optimize vp9 loopfilter msa functions"
Kaustubh Raste [Sat, 8 Oct 2016 05:05:15 +0000 (05:05 +0000)]
Merge "Optimize vp9 loopfilter msa functions"

7 years agoOptimize vp9 loopfilter msa functions
Kaustubh Raste [Fri, 7 Oct 2016 13:13:31 +0000 (18:43 +0530)]
Optimize vp9 loopfilter msa functions

Updated code to process in 8bit as saturation/clipping takes care of
overflow
Removed unused macro

Change-Id: I113df60286fb28b216df800d95b2d3695ef71440

7 years agovp8: Change default gf behavior for 1 pass cbr.
Marco [Thu, 6 Oct 2016 23:01:04 +0000 (16:01 -0700)]
vp8: Change default gf behavior for 1 pass cbr.

In 1 pass CBR, with error_resilience off, allow for
special logic to change the default gf behaviour.
In this CL: boost is turned off and the gf period
is set to a multiple of cyclic refresh period.

Change only affect 1 pass CBR mode, i.e, when the flag
gf_update_onepass_cbr is set.

Including the previous change (3ec8e11: to allow cyclic refresh
for error_resilience off), comparing metrics on RTC set for
error_resilience off vs on: avgPSNR/SSIM up by ~6%.

Change-Id: Id5b3fb62a4f04de5a805bd1b418f2b349574e0bc

7 years agoMerge "write_modes: add MACROBLOCKD as a parameter"
Vignesh Venkatasubramanian [Fri, 7 Oct 2016 18:09:08 +0000 (18:09 +0000)]
Merge "write_modes: add MACROBLOCKD as a parameter"

7 years agowrite_modes: add MACROBLOCKD as a parameter
Vignesh Venkatasubramanian [Tue, 4 Oct 2016 20:50:32 +0000 (13:50 -0700)]
write_modes: add MACROBLOCKD as a parameter

This will enable bit stream packing of each tile column in
parallel.

BUG=webm:1309

Change-Id: Ie349d8cc5825326218ffda893a50730b2e68ed34

7 years agoOptimize vp8 loopfilter msa functions
Kaustubh Raste [Fri, 7 Oct 2016 10:18:31 +0000 (15:48 +0530)]
Optimize vp8 loopfilter msa functions

Updated code to process in 8bit as saturation/clipping takes care of overflow

Change-Id: I35fb2c0e702fd91309cc391c5a7745a3b619a64c

7 years agoMerge "Fix build failure in libvpx_example_test-multi-target."
James Zern [Fri, 7 Oct 2016 01:53:40 +0000 (01:53 +0000)]
Merge "Fix build failure in libvpx_example_test-multi-target."

7 years ago[vpx highbd lpf NEON 2/6] vertical 4
Linfeng Zhang [Wed, 5 Oct 2016 17:45:03 +0000 (10:45 -0700)]
[vpx highbd lpf NEON 2/6] vertical 4

BUG=webm:1300

Change-Id: Ia33a9f2d6c7e2e6b3497ad6f1a09439a85b33983

7 years ago[vpx highbd lpf NEON 1/6] horizontal 4
Linfeng Zhang [Wed, 5 Oct 2016 17:15:07 +0000 (10:15 -0700)]
[vpx highbd lpf NEON 1/6] horizontal 4

BUG=webm:1300

Change-Id: Idf441806e6bf397ff5ecd8776146b3f781f50c40

7 years agoMerge changes from topic '8bit-hbd-idct'
James Zern [Thu, 6 Oct 2016 19:37:18 +0000 (19:37 +0000)]
Merge changes from topic '8bit-hbd-idct'

* changes:
  vpx_dsp/idct*_neon.asm: simplify immediate loads
  enable idct*_1_add_neon in high-bitdepth builds

7 years agoFix build failure in libvpx_example_test-multi-target.
Marco [Thu, 6 Oct 2016 19:11:37 +0000 (12:11 -0700)]
Fix build failure in libvpx_example_test-multi-target.

Due to change in command line to sample encoder from:
7eff8f3 Update to vpx_temporal_svc_encoder command line.

This caused the tests in vpx_temporal_svc_encoder.sh to fail.

Change-Id: Ic667da81955ad117d04610af21877fed1d4f188f

7 years agoMerge "Remove vpx_realloc()"
Alex Converse [Thu, 6 Oct 2016 18:42:05 +0000 (18:42 +0000)]
Merge "Remove vpx_realloc()"

7 years agoMerge "Modify vp8 idct msa functions store method"
Kaustubh Raste [Thu, 6 Oct 2016 02:25:42 +0000 (02:25 +0000)]
Merge "Modify vp8 idct msa functions store method"

7 years agovpx_dsp/idct*_neon.asm: simplify immediate loads
James Zern [Wed, 5 Oct 2016 18:50:06 +0000 (11:50 -0700)]
vpx_dsp/idct*_neon.asm: simplify immediate loads

mov supports 0-65535

Change-Id: I019de0d784836d7bd60e6b36f2cdeefb541cb3fd

7 years agoenable idct*_1_add_neon in high-bitdepth builds
James Zern [Sat, 1 Oct 2016 18:59:31 +0000 (11:59 -0700)]
enable idct*_1_add_neon in high-bitdepth builds

these are compatible as they only load one element of the input so the
larger size of tran_low_t makes no difference in little endian builds.
note the asm is incompatible with big-endian, but there are other points of
failure there so currently it's considered unsupported.

BUG=webm:1294

Change-Id: Icd2665a0699bccae92d1bea43a95b0a83fb17028

7 years agoRevert "Revert "vp8/encoder/onyx_if.c: apply clang-format""
Marco Paniconi [Wed, 5 Oct 2016 17:59:55 +0000 (17:59 +0000)]
Revert "Revert "vp8/encoder/onyx_if.c: apply clang-format""

This reverts commit a7456144ce0ab98e015548dd7cda4165ad2a800c.

Change-Id: I400987fb26a09e9b9ea42c91f48ea12f7bc37356

7 years agoRemove vpx_realloc()
Alex Converse [Wed, 5 Oct 2016 17:51:30 +0000 (10:51 -0700)]
Remove vpx_realloc()

It only handles the realloc constraint (preserving low elements) by
serendipity, and we don't actually rely on that behavior anyway.
Meanwhile the calls may do extra copying that gets immediately clobbered
by the callers.

Change-Id: I8dfa89e4a81084b084889c27bd272fdf85184e8d

7 years agoRevert "vp8/encoder/onyx_if.c: apply clang-format"
Marco Paniconi [Wed, 5 Oct 2016 15:45:48 +0000 (15:45 +0000)]
Revert "vp8/encoder/onyx_if.c: apply clang-format"

This reverts commit 891a87dccddfbb9fd625f4b32aa17ae3501f30a6.

Change-Id: I067b3b6a3cfb5bc760166999948b8087d4c5cb80

7 years agoModify vp8 idct msa functions store method
Kaustubh Raste [Wed, 5 Oct 2016 04:42:12 +0000 (10:12 +0530)]
Modify vp8 idct msa functions store method

vp8_short_inv_walsh4x4_msa - Optimized to process in short vector type
Updated below functions to store exact number of bytes in output rather than complete vector
idct4x4_addblk_msa
idct4x4_addconst_msa
dequant_idct4x4_addblk_msa
dequant_idct4x4_addblk_2x_msa
dequant_idct_addconst_2x_msa

Change-Id: Ic1b3752e2421dc7d70a082dcdaab9d140d7e5d9c

7 years agovp8/encoder/onyx_if.c: apply clang-format
clang-format [Wed, 5 Oct 2016 04:12:06 +0000 (21:12 -0700)]
vp8/encoder/onyx_if.c: apply clang-format

after:
955b3b6 vp8: Allow for cyclic refresh even if error_resilience it off.

Change-Id: Iba189b18c84be8f5140754280c6801cfc387cfcd

7 years agovp8: Allow for cyclic refresh even if error_resilience it off.
Marco [Tue, 4 Oct 2016 21:13:17 +0000 (14:13 -0700)]
vp8: Allow for cyclic refresh even if error_resilience it off.

cyclic_refresh was tied to error_resilience mode.
Allow it to be on also for 1 pass CBR mode even if
error_resilience is off.

Other option to use new control for this, but prefer to avoid
that for now.

Change-Id: I3625b292ee059a890e31338b514e211bf0ab5c3e

7 years agoMerge "Remove rate deviation metric from vp8"
Sarah Parker [Tue, 4 Oct 2016 18:56:14 +0000 (18:56 +0000)]
Merge "Remove rate deviation metric from vp8"

7 years agoRemove rate deviation metric from vp8
Sarah Parker [Wed, 21 Sep 2016 18:01:06 +0000 (11:01 -0700)]
Remove rate deviation metric from vp8

BUG=b/31780679

Change-Id: I2b2a43b154eeacb4f51a11f6362cc535cfe318da

7 years agoMerge "Connect partial IDCT tests"
Johann Koenig [Tue, 4 Oct 2016 18:01:19 +0000 (18:01 +0000)]
Merge "Connect partial IDCT tests"

7 years agoConnect partial IDCT tests
Johann [Mon, 3 Oct 2016 22:27:28 +0000 (15:27 -0700)]
Connect partial IDCT tests

Change-Id: Ie8d5d9123f5a9d39db4ec9c74f77ee979ae4e685

7 years agoMerge "Move highbd txfm input range check from 2d iht transform to 1d idct/iadst"
Angie Chiang [Tue, 4 Oct 2016 16:57:36 +0000 (16:57 +0000)]
Merge "Move highbd txfm input range check from 2d iht transform to 1d idct/iadst"

7 years agoMerge "Fix vpx_plane_add_noise_msa functionality bit-mismatch"
Kaustubh Raste [Tue, 4 Oct 2016 06:35:46 +0000 (06:35 +0000)]
Merge "Fix vpx_plane_add_noise_msa functionality bit-mismatch"

7 years agoMove highbd txfm input range check from 2d iht transform to 1d idct/iadst
Angie Chiang [Fri, 30 Sep 2016 23:53:20 +0000 (16:53 -0700)]
Move highbd txfm input range check from 2d iht transform to 1d idct/iadst

This change will make the highbd txfm input range check more comprehensive

The 25-bit highbd input range is composed by
12 signal input bits + 7 bits for 2D forward transform amplification + 5 bits for
1D inverse transform amplification + 1 bit for contingency in rounding and quantizing

BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1286
BUG=https://bugs.chromium.org/p/chromium/issues/detail?id=651625

Change-Id: I04c0796edd7653f8d463fba5dc418132986131e7

7 years agoMerge "invalid_file_test: quiet unused const warning"
James Zern [Mon, 3 Oct 2016 22:51:06 +0000 (22:51 +0000)]
Merge "invalid_file_test: quiet unused const warning"

7 years agoMerge "Fix warning when building with GCC 5."
James Zern [Mon, 3 Oct 2016 22:42:51 +0000 (22:42 +0000)]
Merge "Fix warning when building with GCC 5."

7 years agoMerge "cosmetics,*_neon.c: rm redundant return from void fns"
James Zern [Mon, 3 Oct 2016 22:40:42 +0000 (22:40 +0000)]
Merge "cosmetics,*_neon.c: rm redundant return from void fns"

7 years agoFix vpx_plane_add_noise_msa functionality bit-mismatch
Kaustubh Raste [Mon, 3 Oct 2016 10:14:17 +0000 (15:44 +0530)]
Fix vpx_plane_add_noise_msa functionality bit-mismatch

Change-Id: I04961afb592ae6a67fdcfd8c9066e920dd4b30e7

7 years agoUpdate to vpx_temporal_svc_encoder command line.
Marco [Mon, 3 Oct 2016 16:47:21 +0000 (09:47 -0700)]
Update to vpx_temporal_svc_encoder command line.

Set the  #threads at command line.

Change-Id: Id0daa2393880c3da2d903c11a793072d3008b34b

7 years agoMerge "vpx_convolve8_neon,load/store*: correct param type"
James Zern [Sat, 1 Oct 2016 23:52:14 +0000 (23:52 +0000)]
Merge "vpx_convolve8_neon,load/store*: correct param type"

7 years agoFix warning when building with GCC 5.
Geza Lore [Wed, 13 Apr 2016 09:45:16 +0000 (10:45 +0100)]
Fix warning when building with GCC 5.

These caused the following warning with GCC 5:
     warning: logical not is only applied to the left hand side of
     comparison [-Wlogical-not-parentheses]
     assert(!is_compound == (cm->reference_mode == SINGLE_REFERENCE));

Change-Id: If296aabb2311ceb7d903b395c1549ef81c2cbf9b
(cherry picked from commit c6cf7a6111f6539f01a34865aaedd179a5ae062c)

7 years agoinvalid_file_test: quiet unused const warning
James Zern [Sat, 1 Oct 2016 18:49:02 +0000 (11:49 -0700)]
invalid_file_test: quiet unused const warning

with --disable-vp9

Change-Id: I81bd603b02ee5d1b45a50aa9e7534f9da498b0e0

7 years agovpx_convolve8_neon,load/store*: correct param type
James Zern [Sat, 1 Oct 2016 18:03:29 +0000 (11:03 -0700)]
vpx_convolve8_neon,load/store*: correct param type

stride/pitch in convolve is expressed with a ptrdiff_t

Change-Id: Ia5a6732dc509f06ccf7035386fa8ae721b4b1a71

7 years agoRemove a stray END declaration in loopfilter_4_neon.asm
Martin Storsjo [Sat, 1 Oct 2016 11:12:00 +0000 (14:12 +0300)]
Remove a stray END declaration in loopfilter_4_neon.asm

Change-Id: Ic8c359a5677f9c663787aac74f530e886163bc69

7 years agoMerge "vp8,frame_buffers: remove unused use_frame_threads"
James Zern [Sat, 1 Oct 2016 01:35:55 +0000 (01:35 +0000)]
Merge "vp8,frame_buffers: remove unused use_frame_threads"

7 years agoMerge "Refactor vpx lpf NEON files (step 2/2)"
Linfeng Zhang [Sat, 1 Oct 2016 00:07:50 +0000 (00:07 +0000)]
Merge "Refactor vpx lpf NEON files (step 2/2)"

7 years agoMerge "Refactor vpx lpf NEON files (step 1/2)"
Linfeng Zhang [Sat, 1 Oct 2016 00:07:30 +0000 (00:07 +0000)]
Merge "Refactor vpx lpf NEON files (step 1/2)"

7 years agoMerge "vp9: On change_config() only call update_frame_size if needed."
Marco Paniconi [Fri, 30 Sep 2016 21:43:33 +0000 (21:43 +0000)]
Merge "vp9: On change_config() only call update_frame_size if needed."

7 years agoMerge "vp9 real-time mode: Change loopfilter speed feature at speed 8."
Marco Paniconi [Fri, 30 Sep 2016 21:42:04 +0000 (21:42 +0000)]
Merge "vp9 real-time mode: Change loopfilter speed feature at speed 8."

7 years agocosmetics,*_neon.c: rm redundant return from void fns
James Zern [Fri, 30 Sep 2016 20:09:25 +0000 (13:09 -0700)]
cosmetics,*_neon.c: rm redundant return from void fns

+ a couple of 'break's after a return

Change-Id: Ia21f12ebcef98244feb923c17b689fc8115da015

7 years agoMerge changes from topic '8bit-hbd-idct'
James Zern [Fri, 30 Sep 2016 19:36:08 +0000 (19:36 +0000)]
Merge changes from topic '8bit-hbd-idct'

* changes:
  *idct*_neon.c: add missing rtcd include
  idct,msa/neon: exclude idct files from hbd build
  *rtcd_defs.pl: remove empty specialize calls

7 years ago*idct*_neon.c: add missing rtcd include
James Zern [Fri, 30 Sep 2016 06:28:08 +0000 (23:28 -0700)]
*idct*_neon.c: add missing rtcd include

+ correct declarations as necessary

BUG=webm:1294

Change-Id: I719602df9a56e79188a78e7f8b31257c6d3cc11d

7 years agoidct,msa/neon: exclude idct files from hbd build
James Zern [Fri, 30 Sep 2016 07:43:49 +0000 (00:43 -0700)]
idct,msa/neon: exclude idct files from hbd build

these functions are incompatible currently and unreferenced in rtcd,
exclude them from the build.

BUG=webm:1294

Change-Id: I7790c195a91e1b142f56c04d2a5e305d9133b896

7 years agoRefactor vpx lpf NEON files (step 2/2)
Linfeng Zhang [Fri, 30 Sep 2016 16:56:28 +0000 (09:56 -0700)]
Refactor vpx lpf NEON files (step 2/2)

Change-Id: I0744407cd3361ff752bd7f6e654b70ab6b41a58f

7 years agoRefactor vpx lpf NEON files (step 1/2)
Linfeng Zhang [Fri, 30 Sep 2016 16:48:54 +0000 (09:48 -0700)]
Refactor vpx lpf NEON files (step 1/2)

Change-Id: I4016d096d46ca691f3b17199b259b7231e983cfb

7 years agoMerge "Unify loopfilter function names"
Linfeng Zhang [Fri, 30 Sep 2016 15:58:08 +0000 (15:58 +0000)]
Merge "Unify loopfilter function names"

7 years agoMerge "Refine vpx convolve8 NEON intrinsics optimization"
Linfeng Zhang [Fri, 30 Sep 2016 15:56:30 +0000 (15:56 +0000)]
Merge "Refine vpx convolve8 NEON intrinsics optimization"

7 years agoMerge "Refine vpx_convolve_copy_neon() and vpx_convolve_avg_neon()"
Linfeng Zhang [Fri, 30 Sep 2016 15:54:02 +0000 (15:54 +0000)]
Merge "Refine vpx_convolve_copy_neon() and vpx_convolve_avg_neon()"

7 years ago*rtcd_defs.pl: remove empty specialize calls
James Zern [Fri, 30 Sep 2016 03:38:26 +0000 (20:38 -0700)]
*rtcd_defs.pl: remove empty specialize calls

add_proto adds a 'c' specialization

Change-Id: I0ed0c2240d45264b0e0056ce7c8f63f4a00780bc

7 years agovp8,frame_buffers: remove unused use_frame_threads
James Zern [Fri, 30 Sep 2016 03:24:15 +0000 (20:24 -0700)]
vp8,frame_buffers: remove unused use_frame_threads

this was never fully implemented

Change-Id: I4640cf84c40ea2cc9c6c12acf116d39df4b04578

7 years agoMerge "configure: test for -Wshorten-64-to-32 in non hbd builds"
James Zern [Fri, 30 Sep 2016 03:01:55 +0000 (03:01 +0000)]
Merge "configure: test for -Wshorten-64-to-32 in non hbd builds"

7 years agoMerge changes I158f631a,I0555f639
Johann Koenig [Fri, 30 Sep 2016 01:47:40 +0000 (01:47 +0000)]
Merge changes I158f631a,I0555f639

* changes:
  vp8: remove mmx functions
  Rename _xmm functions to _sse2

7 years agoMerge "Fix an issue in vp9_first_pass for non-mulitple of 16 resolutions"
Yunqing Wang [Fri, 30 Sep 2016 00:49:06 +0000 (00:49 +0000)]
Merge "Fix an issue in vp9_first_pass for non-mulitple of 16 resolutions"

7 years agoUnify loopfilter function names
Linfeng Zhang [Wed, 28 Sep 2016 22:20:01 +0000 (15:20 -0700)]
Unify loopfilter function names

Rename vpx_lpf_horizontal_edge_8() to vpx_lpf_horizontal_16().
Rename vpx_lpf_horizontal_edge_16() to vpx_lpf_horizontal_16_dual().

Change-Id: I798ca8fbbd657d06d3db2bfb0fb3321168f49e52

7 years agoRefine vpx_convolve_copy_neon() and vpx_convolve_avg_neon()
Linfeng Zhang [Thu, 29 Sep 2016 19:38:37 +0000 (12:38 -0700)]
Refine vpx_convolve_copy_neon() and vpx_convolve_avg_neon()

BUG=webm:1290

Change-Id: Ia27e58521eba5a4852b50381c56746fa5767f6d6

7 years agoFix an issue in vp9_first_pass for non-mulitple of 16 resolutions
Deepa K G [Thu, 29 Sep 2016 03:38:34 +0000 (20:38 -0700)]
Fix an issue in vp9_first_pass for non-mulitple of 16 resolutions

This patch sets the 16x16 src_diff to zero and ensures correct calculation
of this_error for block sizes smaller than 16x16.

Change-Id: I7b7c02d267433c9f22c8ac9b8d5df2f499175172

7 years agoMerge changes Ia3e9122f,Id33eb6c8,I956bd8ce
Johann Koenig [Thu, 29 Sep 2016 23:16:44 +0000 (23:16 +0000)]
Merge changes Ia3e9122f,Id33eb6c8,I956bd8ce

* changes:
  Remove vp8_clear_system_state
  vpx_dsp: clean up rtcd
  vp8: clean up rtcd

7 years agoMerge "vp9_detokenize,decode_coefs: fix signed int overflow"
James Zern [Thu, 29 Sep 2016 22:36:12 +0000 (22:36 +0000)]
Merge "vp9_detokenize,decode_coefs: fix signed int overflow"

7 years agovp8: remove mmx functions
Johann [Thu, 29 Sep 2016 22:21:26 +0000 (15:21 -0700)]
vp8: remove mmx functions

When they have sse2 equivalents.

Change-Id: I158f631a3bcecba57b36093ac10114b1904767a7

7 years agoRename _xmm functions to _sse2
Johann [Thu, 29 Sep 2016 22:21:09 +0000 (15:21 -0700)]
Rename _xmm functions to _sse2

Avoid the extra level of indirection/confusion.

Change-Id: I0555f639d67835df9fb7dac0c75085e9954805f1

7 years agoRemove vp8_clear_system_state
Johann [Thu, 29 Sep 2016 19:21:44 +0000 (12:21 -0700)]
Remove vp8_clear_system_state

Use vpx_clear_system_state instead.

Change-Id: Ia3e9122f69a2c690ddd7c7bc54f92ccb9ec18b3e

7 years agovp9: On change_config() only call update_frame_size if needed.
Marco [Thu, 29 Sep 2016 18:15:26 +0000 (11:15 -0700)]
vp9: On change_config() only call update_frame_size if needed.

change_config() may be called often in real-time application,
to update bitrate/framerate or qp-max/min.
No need to do update_frame_size() unless frame size has changed.

Change-Id: I23a51deade1e03adc91c468f9ffde3235298770c

7 years agovp9 real-time mode: Change loopfilter speed feature at speed 8.
Marco [Mon, 26 Sep 2016 23:52:26 +0000 (16:52 -0700)]
vp9 real-time mode: Change loopfilter speed feature at speed 8.

For real-time mode at speed 8: turn off MINIMAL_LF at speed 8,
for non-screen content mode.

Visually better, avgPSNR/SSIM on rtc set go up by ~4-5%.
Speed decrease of about ~3%.

Change-Id: I8eb69330f02e0ceece1507d43cfc8a049a1d8291

7 years agoRefine vpx convolve8 NEON intrinsics optimization
Linfeng Zhang [Thu, 29 Sep 2016 19:48:59 +0000 (12:48 -0700)]
Refine vpx convolve8 NEON intrinsics optimization

BUG=webm:1290

Change-Id: I5d7fce62270f9d76ef9ce98b3d188ad11fb21873

7 years agoMerge changes I11786887,Ia91823ad
James Zern [Thu, 29 Sep 2016 19:11:35 +0000 (19:11 +0000)]
Merge changes I11786887,Ia91823ad

* changes:
  vpx_dsp/get_prob: relocate den == 0 test
  vpx_dsp/get_prob: make clip_prob branchless