]> granicus.if.org Git - libvpx/log
libvpx
8 years agoFix some interger overflow errors
hui su [Tue, 2 Feb 2016 21:50:26 +0000 (13:50 -0800)]
Fix some interger overflow errors

Change-Id: I7e44bd952f28ce9925e8bdf6ee8ca2bb13de1b49

8 years agoMerge "Fix a signed overflow in vp9 motion cost."
Alex Converse [Tue, 2 Feb 2016 21:12:49 +0000 (21:12 +0000)]
Merge "Fix a signed overflow in vp9 motion cost."

8 years agoMerge "Loop filter search resets on overlay frame."
Paul Wilkins [Tue, 2 Feb 2016 14:44:47 +0000 (14:44 +0000)]
Merge "Loop filter search resets on overlay frame."

8 years agoFix a signed overflow in vp9 motion cost.
Alex Converse [Mon, 1 Feb 2016 17:47:39 +0000 (09:47 -0800)]
Fix a signed overflow in vp9 motion cost.

Change-Id: I5975e3aede62202d8ee6ced33889350c0a56554a

8 years agovp9: Add flag to control usage of skin detection.
Marco [Mon, 1 Feb 2016 19:52:49 +0000 (11:52 -0800)]
vp9: Add flag to control usage of skin detection.

Set off as default; on for 1 pass cbr mode, speed >=5, non-screen-content.

Change-Id: I03f2497e4028b354fd83b8a7d0e072c2a6bec878

8 years agoMerge "vp9 non-rd partition: Update condition on force_split for skin area."
Marco Paniconi [Mon, 1 Feb 2016 18:48:46 +0000 (18:48 +0000)]
Merge "vp9 non-rd partition: Update condition on force_split for skin area."

8 years agovp9 non-rd partition: Update condition on force_split for skin area.
Marco [Mon, 1 Feb 2016 17:45:35 +0000 (09:45 -0800)]
vp9 non-rd partition: Update condition on force_split for skin area.

Avoid low resolutions for now.

Change-Id: Ib3a7bb8716a033449b2afb216edd70897a280df9

8 years agovp9-denoiser bugfix: Disable postproc-denoiser under temporal denoising.
Marco [Mon, 1 Feb 2016 17:02:26 +0000 (09:02 -0800)]
vp9-denoiser bugfix: Disable postproc-denoiser under temporal denoising.

The postproc vp9_denoise() is a spatial denoise/blur function.
It was not intended to be used if temporal denoising is enabled.

Change-Id: I97d2dcb941e7cc49bbafce99d9286beb2693249d

8 years agoMerge "vp9-noise estimate: Put check to avoid possible out of bounds."
Marco Paniconi [Mon, 1 Feb 2016 15:18:16 +0000 (15:18 +0000)]
Merge "vp9-noise estimate: Put check to avoid possible out of bounds."

8 years agoMerge "VP9: Refactor read_inter_block_mode_info()"
Scott LaVarnway [Mon, 1 Feb 2016 12:52:15 +0000 (12:52 +0000)]
Merge "VP9: Refactor read_inter_block_mode_info()"

8 years agovp9-noise estimate: Put check to avoid possible out of bounds.
Marco [Mon, 1 Feb 2016 06:24:55 +0000 (22:24 -0800)]
vp9-noise estimate: Put check to avoid possible out of bounds.

Put check to avoid possible out of bounds when looping
over the blocks to estimate noise level.
No change in behavior.

Change-Id: I4b7b19b7edee0ae1c35b9dc0700b1bf9b304d7f5

8 years agoMerge "Enable sse2 version of inverse wht for hbd build"
Yaowu Xu [Sun, 31 Jan 2016 04:38:39 +0000 (04:38 +0000)]
Merge "Enable sse2 version of inverse wht for hbd build"

8 years agoMerge changes I51d42a50,Id8aaf820,I6af91959
James Zern [Sat, 30 Jan 2016 00:27:45 +0000 (00:27 +0000)]
Merge changes I51d42a50,Id8aaf820,I6af91959

* changes:
  configure: extend armv7 hf target autodetect
  configure: remove default CROSS for arm targets
  configure: avoid default when CROSS is set to null

8 years agoMerge changes If13946e4,I61a1814d,I2ca9aa3c,I44d91eaa
James Zern [Sat, 30 Jan 2016 00:17:16 +0000 (00:17 +0000)]
Merge changes If13946e4,I61a1814d,I2ca9aa3c,I44d91eaa

* changes:
  intrapred: protect functions w/CONFIG check
  vp9_noise_estimate: protect copy_frame w/CONFIG check
  vp8_cx_iface: delete 3 unused functions
  vp8: mark intra_prediction_down_copy inline

8 years agoMerge "Refactor prob_diff_update_savings_search_model"
Hui Su [Fri, 29 Jan 2016 23:58:49 +0000 (23:58 +0000)]
Merge "Refactor prob_diff_update_savings_search_model"

8 years agoVP9: Refactor read_inter_block_mode_info()
Scott LaVarnway [Fri, 29 Jan 2016 23:30:27 +0000 (15:30 -0800)]
VP9: Refactor read_inter_block_mode_info()

Change-Id: I8e6a1a1b6eec17d0076660b559f6fc120a78c538

8 years agoEnable sse2 version of inverse wht for hbd build
Yaowu Xu [Fri, 29 Jan 2016 22:47:56 +0000 (14:47 -0800)]
Enable sse2 version of inverse wht for hbd build

Change-Id: If8f5efd701a11c8a7ad3078d10ec3cd0fe27667e

8 years agoRefactor prob_diff_update_savings_search_model
hui su [Fri, 29 Jan 2016 20:49:19 +0000 (12:49 -0800)]
Refactor prob_diff_update_savings_search_model

Change-Id: Icfab58e880285d5af00985dc20db2174a67d1fe8

8 years agoSSSE3 idct8x8 functions for highbitdpeth build
Yaowu Xu [Fri, 29 Jan 2016 00:29:29 +0000 (16:29 -0800)]
SSSE3 idct8x8 functions for highbitdpeth build

This commit changes SSSE3 optimized idct8x8 functions to work with
highbitdepth build.

With this commit and the previous one that enabled SSSE3 idct32x32
functions, tests showed virtually no difference on decoding speed for
file fdJc1_IBKJA.248.webm for the build with -enable-vp9-highbitdpeth
option and the build without the option.

Change-Id: Ibe0634149ec70e8b921e6b30171664b8690a9c45

8 years agoMerge "Fix failure with libvpx__unit_tests-multi-target"
Marco Paniconi [Fri, 29 Jan 2016 18:55:13 +0000 (18:55 +0000)]
Merge "Fix failure with libvpx__unit_tests-multi-target"

8 years agoMerge "vp9-denoiser: Force increase_denoising = 0 for skin block."
Marco Paniconi [Fri, 29 Jan 2016 18:43:27 +0000 (18:43 +0000)]
Merge "vp9-denoiser: Force increase_denoising = 0 for skin block."

8 years agoFix failure with libvpx__unit_tests-multi-target
Marco [Fri, 29 Jan 2016 18:00:21 +0000 (10:00 -0800)]
Fix failure with libvpx__unit_tests-multi-target

Introduced in: https://chromium-review.googlesource.com/#/c/323215/
For now exclude the computation of vp_compute_skin_block for highbitdepth.

Change-Id: I18107a862c17ba869438ec3616a787bf173736c4

8 years agovp9-denoiser: Force increase_denoising = 0 for skin block.
Marco [Fri, 29 Jan 2016 16:36:03 +0000 (08:36 -0800)]
vp9-denoiser: Force increase_denoising = 0 for skin block.

Change-Id: Ic5af41db58a3daad4103175b4b4b9300675020c0

8 years agoMerge "Cleaned code in firstpass related to altref frame"
Zoe Liu [Fri, 29 Jan 2016 16:31:41 +0000 (16:31 +0000)]
Merge "Cleaned code in firstpass related to altref frame"

8 years agoEnable hbd_build to use SSSE3optimized functions
Yaowu Xu [Wed, 27 Jan 2016 23:25:42 +0000 (15:25 -0800)]
Enable hbd_build to use SSSE3optimized functions

This commit changes the SSSE3 assembly functions for idct32x32 to
support highbitdepth build.

On test clip fdJc1_IBKJA.248.webm, this cuts the speed difference
between hbd and lbd build from between 3-4% to 1-2%.

Change-Id: Ic3390e0113bc1ca5bba8ec80d1795ad31b484fca

8 years agoMerge "Add a vp9 test vector"
Yaowu Xu [Fri, 29 Jan 2016 01:28:43 +0000 (01:28 +0000)]
Merge "Add a vp9 test vector"

8 years agoMerge "vp9: encoder-breakout: Modify UV thresholds."
Marco Paniconi [Fri, 29 Jan 2016 01:19:30 +0000 (01:19 +0000)]
Merge "vp9: encoder-breakout: Modify UV thresholds."

8 years agoCleaned code in firstpass related to altref frame
Zoe Liu [Fri, 29 Jan 2016 00:36:22 +0000 (16:36 -0800)]
Cleaned code in firstpass related to altref frame

Change-Id: I6dbddf500fd4f64216774685700efea972165470

8 years agoAdd a vp9 test vector
Yaowu Xu [Thu, 28 Jan 2016 16:50:50 +0000 (08:50 -0800)]
Add a vp9 test vector

This test vector exercises various idct32x32 functions in decoder.

Change-Id: Ic9453f50ef4723bdaace9bd80f32540d061ef2a1

8 years agovp9/10: fix encoder crash on flush
James Zern [Thu, 28 Jan 2016 20:53:41 +0000 (12:53 -0800)]
vp9/10: fix encoder crash on flush

the lookahead buffer allocation is deferred to receipt of the first
frame to allow profile changes. if the encoder was flushed before
supplying any frames the encoder would crash trying to dereference the
NULL buffer. vp8 is unaffected.

fixes mozilla bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1237848

Change-Id: Icee4b64de760476eee0d33b568f0a1010335ff13

8 years agovp9: encoder-breakout: Modify UV thresholds.
Marco [Thu, 28 Jan 2016 20:10:38 +0000 (12:10 -0800)]
vp9: encoder-breakout: Modify UV thresholds.

Set UV thresholds to 0 for encoder breakout if
block is detected as skin.

Change-Id: Iaaa30b5cc8bae4cf611f8ea8eba693b730e32a3f

8 years agoVPX skin map improvement.
JackyChen [Tue, 26 Jan 2016 10:01:10 +0000 (18:01 +0800)]
VPX skin map improvement.

Use multiple clusters instead of one and decrease
the distance thresholds.

Add a define to switch between models.
Default is set to existing (1 cluster) model.

Change-Id: I802cd9bb565437ae8983ef39453939f5d5073bb1

8 years agoMerge "vp9 non-rd mode: Modification for detected skin areas."
Marco Paniconi [Thu, 28 Jan 2016 17:01:19 +0000 (17:01 +0000)]
Merge "vp9 non-rd mode: Modification for detected skin areas."

8 years agoMerge "VP9: Refactor dec_build_inter_predictors_sb()"
Scott LaVarnway [Thu, 28 Jan 2016 12:31:22 +0000 (12:31 +0000)]
Merge "VP9: Refactor dec_build_inter_predictors_sb()"

8 years agovp9 non-rd mode: Modification for detected skin areas.
Marco [Fri, 22 Jan 2016 19:45:31 +0000 (11:45 -0800)]
vp9 non-rd mode: Modification for detected skin areas.

If a superblock contains alot of "skin" then force split
of 64x64 partition, and make some adjustments in mode selection.

This helps to reduce artifacts on moving face/skin areas at low bitrates.

Little/no change in metrics: avgPSNR/SSIM down by ~0.12%.
Small encoding time increase < 1%.

Change-Id: Ic57f52148c3716f391419fab0530d916e4c1d186

8 years agoMerge "Fix some typos."
Hui Su [Thu, 28 Jan 2016 01:04:50 +0000 (01:04 +0000)]
Merge "Fix some typos."

8 years agoFix some typos.
hui su [Mon, 25 Jan 2016 18:19:16 +0000 (10:19 -0800)]
Fix some typos.

Change-Id: I32aacd014df6c927cf2893dc096cbe6ec7604b9b

8 years agoMerge "vp9-aqmode=3: Limit on period for golden update."
Marco Paniconi [Wed, 27 Jan 2016 21:38:35 +0000 (21:38 +0000)]
Merge "vp9-aqmode=3: Limit on period for golden update."

8 years agoMerge "Switch to 9-bit rate cost constants built on a 256 probability denominator."
Alex Converse [Wed, 27 Jan 2016 20:54:07 +0000 (20:54 +0000)]
Merge "Switch to 9-bit rate cost constants built on a 256 probability denominator."

8 years agovp9-aqmode=3: Limit on period for golden update.
Marco [Wed, 27 Jan 2016 20:01:58 +0000 (12:01 -0800)]
vp9-aqmode=3: Limit on period for golden update.

For aqmode=3, golden period update is set based on period of cyclic refresh.
Put a limit on max golden period update, for now set to 40.
And fix comment.

Change-Id: Icb61dd87c796cce2a5f5f7331c6a129540994696

8 years agoSwitch to 9-bit rate cost constants built on a 256 probability denominator.
Alex Converse [Wed, 13 Jan 2016 22:21:30 +0000 (14:21 -0800)]
Switch to 9-bit rate cost constants built on a 256 probability denominator.

-.220 BDRATE derf: https://x20web.corp.google.com/~aconverse/results/cost256_derf.html
-.675 BDRATE hevcmr: https://x20web.corp.google.com/~aconverse/results/cost256_hevcmr.html

Change-Id: Ifb1646d8ce65ffe0eff9953a911b1b88735b335f

8 years agoVP9: Refactor dec_build_inter_predictors_sb()
Scott LaVarnway [Wed, 27 Jan 2016 15:37:59 +0000 (07:37 -0800)]
VP9: Refactor dec_build_inter_predictors_sb()

Change-Id: I336fe2006288214977b5ee854124ee7b5bba5796

8 years agointrapred: protect functions w/CONFIG check
James Zern [Wed, 27 Jan 2016 04:13:57 +0000 (20:13 -0800)]
intrapred: protect functions w/CONFIG check

d207e, d63e, d45e are only used with CONFIG_MISC_FIXES

Change-Id: If13946e483c4d0ccaa3e1d60dc14216c06d5a219

8 years agovp9_noise_estimate: protect copy_frame w/CONFIG check
James Zern [Wed, 27 Jan 2016 04:09:36 +0000 (20:09 -0800)]
vp9_noise_estimate: protect copy_frame w/CONFIG check

This is only used with CONFIG_VP9_TEMPORAL_DENOISING

Change-Id: I61a1814d43d71235077a2426f7bfce141677a79a

8 years agovp8_cx_iface: delete 3 unused functions
James Zern [Wed, 27 Jan 2016 04:08:37 +0000 (20:08 -0800)]
vp8_cx_iface: delete 3 unused functions

vp8e_update_entropy, vp8e_update_reference, vp8e_use_reference have been
unused since:
a046f56 vp8cx: remove deprecated reference/entropy controls

Change-Id: I2ca9aa3c3f1a209a534a1492432b16852e3d8629

8 years agovp8: mark intra_prediction_down_copy inline
James Zern [Wed, 27 Jan 2016 04:07:42 +0000 (20:07 -0800)]
vp8: mark intra_prediction_down_copy inline

avoids -Wunused-function warnings when INLINE is set

Change-Id: I44d91eaa7efba7bc2427501fb9f63a93f32aaa7f

8 years agoMerge "Fix a clang/win build error"
Yunqing Wang [Tue, 26 Jan 2016 19:00:06 +0000 (19:00 +0000)]
Merge "Fix a clang/win build error"

8 years agoFix a clang/win build error
Yunqing Wang [Tue, 26 Jan 2016 18:10:07 +0000 (10:10 -0800)]
Fix a clang/win build error

Made the definition of THREAD_FUNCTION consistent.

Change-Id: I1ac099484e201e359298ed16de0b81ec781075ce

8 years agoMerge "vp9: Be more responsive to massive overshoot."
Alex Converse [Tue, 26 Jan 2016 17:59:59 +0000 (17:59 +0000)]
Merge "vp9: Be more responsive to massive overshoot."

8 years agoMerge "Code clean of sad4xNx4D_sse"
James Zern [Mon, 25 Jan 2016 20:57:15 +0000 (20:57 +0000)]
Merge "Code clean of sad4xNx4D_sse"

8 years agovp9: Be more responsive to massive overshoot.
Alex Converse [Mon, 25 Jan 2016 20:03:50 +0000 (12:03 -0800)]
vp9: Be more responsive to massive overshoot.

Limit oscilation detection in the case where overshoot is very very
large.

This keeps the 9-bit cost patch from breaking the DownUp reisze test.
The patch pushed us to an 11% undershoot right before a scene cut
causing a 1200% overshoot. (Whereas before we were undershooting by
only 6% before overshooting by 1200%).

Change-Id: Id90ccfab8aba872ccadc45b73b3bb097b895677f

8 years agoCleaned a code in define_gf_group() for firstpass
Zoe Liu [Sat, 23 Jan 2016 01:13:03 +0000 (17:13 -0800)]
Cleaned a code in define_gf_group() for firstpass

Change-Id: I0b8eff9e74e3446024482d011ec4fb28b19136d3

8 years agoMerge "Short circuit flat blocks when coding screen content at realtime speed."
Alex Converse [Sat, 23 Jan 2016 02:04:37 +0000 (02:04 +0000)]
Merge "Short circuit flat blocks when coding screen content at realtime speed."

8 years agoMerge "VP9: Do not set up/left available in vp9_first_pass()"
Scott LaVarnway [Fri, 22 Jan 2016 21:53:26 +0000 (21:53 +0000)]
Merge "VP9: Do not set up/left available in vp9_first_pass()"

8 years agoShort circuit flat blocks when coding screen content at realtime speed.
Alex Converse [Wed, 20 Jan 2016 22:28:09 +0000 (14:28 -0800)]
Short circuit flat blocks when coding screen content at realtime speed.

In inter mode search skip all modes except NEARESTMV and DC_PRED.

10% less encode latency for large frames using the chromium remoting_perftests.

+0.313% BDRATE on the screencast set at speed -6.

Change-Id: Ib97a39dd8bcdeab545509e0e02d78ce7033f8c63

8 years agoVP9: Do not set up/left available in vp9_first_pass()
Scott LaVarnway [Fri, 22 Jan 2016 17:22:53 +0000 (09:22 -0800)]
VP9: Do not set up/left available in vp9_first_pass()

These values are set in set_mi_row_col()

Change-Id: Ie44c9d2dcb79797a8473b5fc29394277a7117547

8 years agoFix a minor typo
Yaowu Xu [Fri, 22 Jan 2016 18:57:16 +0000 (10:57 -0800)]
Fix a minor typo

a wrong variable.

Change-Id: I9fa02621dbdc508a12ba1ef9c8f98dbeab68e958

8 years agoMerge "Properly set segmentation for error-resilient mode"
Yaowu Xu [Fri, 22 Jan 2016 16:52:41 +0000 (16:52 +0000)]
Merge "Properly set segmentation for error-resilient mode"

8 years agoMerge "vp9 pickmode: Fix the shift on negative value."
Marco Paniconi [Fri, 22 Jan 2016 00:09:27 +0000 (00:09 +0000)]
Merge "vp9 pickmode: Fix the shift on negative value."

8 years agovp9 pickmode: Fix the shift on negative value.
Marco [Thu, 21 Jan 2016 23:13:10 +0000 (15:13 -0800)]
vp9 pickmode: Fix the shift on negative value.

Error only affected svc 1 pass mode, introduced in:
https://chromium-review.googlesource.com/#/c/319609/

Change-Id: Ifc078c82d38b742966a81baaf5ad532f7dbc13a4

8 years agoMerge "Remove the vestigal skip_eob feature from tokenization."
Alex Converse [Thu, 21 Jan 2016 23:11:14 +0000 (23:11 +0000)]
Merge "Remove the vestigal skip_eob feature from tokenization."

8 years agoMerge "vp9_aq_cyclicrefresh: fix double->float warning"
James Zern [Thu, 21 Jan 2016 23:08:02 +0000 (23:08 +0000)]
Merge "vp9_aq_cyclicrefresh: fix double->float warning"

8 years agovp9_aq_cyclicrefresh: fix double->float warning
James Zern [Thu, 21 Jan 2016 22:07:33 +0000 (14:07 -0800)]
vp9_aq_cyclicrefresh: fix double->float warning

Change-Id: I39d3a150de9a77967a4e25ca89d2eda51fd18d47

8 years agoMerge "Fix a typo in ctrl_set_render_size()"
Yaowu Xu [Thu, 21 Jan 2016 20:06:29 +0000 (20:06 +0000)]
Merge "Fix a typo in ctrl_set_render_size()"

8 years agoFix a typo in ctrl_set_render_size()
Yaowu Xu [Thu, 21 Jan 2016 19:19:08 +0000 (11:19 -0800)]
Fix a typo in ctrl_set_render_size()

Change-Id: I6a7fa6d0ae8ce8de7b426189d5eb00413f21bc17

8 years agoMerge "Tie the bit cost scale to a define."
Alex Converse [Thu, 21 Jan 2016 19:17:56 +0000 (19:17 +0000)]
Merge "Tie the bit cost scale to a define."

8 years agovp9-aqmode=3: Reduce condition below which we turn off delta-qp.
Marco [Thu, 21 Jan 2016 01:44:02 +0000 (17:44 -0800)]
vp9-aqmode=3: Reduce condition below which we turn off delta-qp.

Add TODO to consider turning-off more smoothly.

Change-Id: Id6dd4c5c515f5b09c388af965eb27dbe24924362

8 years agoFix build with --enable-internal-stats
hui su [Thu, 21 Jan 2016 02:02:30 +0000 (18:02 -0800)]
Fix build with --enable-internal-stats

Change-Id: I9649647cc5755c8411ddd56f92e7f96d421c2663

8 years agoMerge "vp9-svc: Allow frame-dropping in svc datarate control tests."
Marco Paniconi [Thu, 21 Jan 2016 01:39:53 +0000 (01:39 +0000)]
Merge "vp9-svc: Allow frame-dropping in svc datarate control tests."

8 years agoRemove the vestigal skip_eob feature from tokenization.
Alex Converse [Wed, 20 Jan 2016 22:09:45 +0000 (14:09 -0800)]
Remove the vestigal skip_eob feature from tokenization.

Repack TOKENEXTRA fields.

Speed impact within measurment margin of error.

Change-Id: I9a6d1dde1bb4a0766b02d0cb74c871ddde907cde

8 years agovp9-svc: Allow frame-dropping in svc datarate control tests.
Marco [Wed, 20 Jan 2016 21:51:12 +0000 (13:51 -0800)]
vp9-svc: Allow frame-dropping in svc datarate control tests.

Remove comment(s) and enable frame-dropper for tests.
Frame dropper for 1 pass svc was fixed a while ago:
https://chromium-review.googlesource.com/#/c/309230/

Change-Id: I5fd3192825b22e562db9210d3dc7b246a1799d8d

8 years agovp8-denoiser: Fix threshold for skin map.
Marco [Wed, 20 Jan 2016 21:46:39 +0000 (13:46 -0800)]
vp8-denoiser: Fix threshold for skin map.

Make it consistent with the comment/intended behavior,
that is, only denoise if current block is zero_mv.

Change-Id: I3909761e802e80089752a493ab3646dc32698ded

8 years agoMerge "Remove duplicate definitions"
Yaowu Xu [Wed, 20 Jan 2016 18:12:51 +0000 (18:12 +0000)]
Merge "Remove duplicate definitions"

8 years agoRemove duplicate definitions
Yaowu Xu [Wed, 20 Jan 2016 16:56:41 +0000 (08:56 -0800)]
Remove duplicate definitions

This fixes the build errors with msvc.

Change-Id: Ie2716e4c15a1bacfb00a8d41ec3283d718af88fc

8 years agoVidyo patch: Changes to the scalability code.
Marco [Fri, 15 Jan 2016 17:35:41 +0000 (09:35 -0800)]
Vidyo patch: Changes to the scalability code.

Changes to mode selection for 1 pass SVC mode:
use base layer motion vector, changes to intra-prediction.

Change-Id: I3e883aa04db521cfa026a0b12c9478ea35a344c9

8 years agoMerge "VP9: Eliminate MB_MODE_INFO"
Scott LaVarnway [Wed, 20 Jan 2016 12:19:27 +0000 (12:19 +0000)]
Merge "VP9: Eliminate MB_MODE_INFO"

8 years agoMerge "Use input framerate as timebase if none was explicitly specified."
James Zern [Wed, 20 Jan 2016 02:27:29 +0000 (02:27 +0000)]
Merge "Use input framerate as timebase if none was explicitly specified."

8 years agoMerge "Amend and improve VP8 multithreading implementation"
Yunqing Wang [Wed, 20 Jan 2016 01:51:37 +0000 (01:51 +0000)]
Merge "Amend and improve VP8 multithreading implementation"

8 years agoVP9: Eliminate MB_MODE_INFO
Scott LaVarnway [Wed, 20 Jan 2016 00:40:20 +0000 (16:40 -0800)]
VP9: Eliminate MB_MODE_INFO

Change-Id: Ifa607dd2bb366ce09fa16dfcad3cc45a2440c185

8 years agoMerge "Deduplicate sign cost for ONE/TWO/THREE/FOUR tokens"
Alex Converse [Tue, 19 Jan 2016 20:04:28 +0000 (20:04 +0000)]
Merge "Deduplicate sign cost for ONE/TWO/THREE/FOUR tokens"

8 years agoLoop filter search resets on overlay frame.
paulwilkins [Mon, 18 Jan 2016 15:31:42 +0000 (15:31 +0000)]
Loop filter search resets on overlay frame.

This patch fixes a bug that causes the loop filter search to reset to
a low value or zero after each arf overlay frame. We expect the overlay
frames to need little or no loop filtering but this should not propagate.

Change-Id: I895b28474cf200f20d82793f3de40b60b19579fd

8 years agoUse input framerate as timebase if none was explicitly specified.
Ronald S. Bultje [Mon, 18 Jan 2016 19:03:45 +0000 (14:03 -0500)]
Use input framerate as timebase if none was explicitly specified.

After patch:
$ vpxenc tennis_sif.y4m --end-usage=q -q 20 -o x.ivf --ivf --codec=vp9 --limit=30
$ ffmpeg -i x.ivf -i tennis_sif.y4m -lavfi psnr -f null -
[..]
[Parsed_psnr_0 @ 0x7f8913c21e40] PSNR y:43.270594 u:46.300362 v:47.011172 average:44.097994 min:43.460704 max:52.509271

Before patch:
$ vpxenc tennis_sif.y4m --end-usage=q -q 20 -o x.ivf --ivf --codec=vp9 --limit=30
$ ffmpeg -i x.ivf -i tennis_sif.y4m -lavfi psnr -f null -
[..]
[Parsed_psnr_0 @ 0x7fbdaac22780] PSNR y:27.427366 u:41.505376 v:36.853477 average:28.990890 min:22.219454 max:52.509271
$ ffmpeg -i x.ivf -f rawvideo x.yuv
$ ffmpeg -f rawvideo -vcodec rawvideo -video_size 352x240 -framerate 29.97 -i x.yuv -i tennis_sif.y4m -lavfi psnr -f null -
[..]
[Parsed_psnr_0 @ 0x7fadf9e013a0] PSNR y:43.270594 u:46.300362 v:47.011172 average:44.097994 min:43.460704 max:52.509271

Change-Id: Ifac2d6c2ff8379b2d318fe5cfe4be0bf1bc9f27f

8 years agoTie the bit cost scale to a define.
Alex Converse [Fri, 15 Jan 2016 22:32:52 +0000 (14:32 -0800)]
Tie the bit cost scale to a define.

This is a pure-refactor in preparation to potentially raise the bit-cost
resolution.

Verified at good speed 0 and rt speed -6.

Change-Id: I5347e6e8c28a9ad9dd0aae1d76a3d0f3c2335bb9

8 years agovp9-denoiser: Set motion threshold for skin_map to 0.
Marco [Fri, 15 Jan 2016 23:02:09 +0000 (15:02 -0800)]
vp9-denoiser: Set motion threshold for skin_map to 0.

More aggresive on avoiding denoising on skin.
May supplement this later by adding condtion onn consec_zeromv.

Change-Id: Ied92b332f9b24e821d2009f81d1565758588d9a5

8 years agoDeduplicate sign cost for ONE/TWO/THREE/FOUR tokens
Alex Converse [Fri, 15 Jan 2016 21:55:29 +0000 (13:55 -0800)]
Deduplicate sign cost for ONE/TWO/THREE/FOUR tokens

Change-Id: I9c383d604dfd240e38b198ac5bf86ddd3456f442

8 years agoMerge "Adding an aq mode for 360 videos"
Debargha Mukherjee [Thu, 14 Jan 2016 16:13:56 +0000 (16:13 +0000)]
Merge "Adding an aq mode for 360 videos"

8 years agoMerge "VP9: inline vp9_use_mv_hp()"
Scott LaVarnway [Thu, 14 Jan 2016 13:36:40 +0000 (13:36 +0000)]
Merge "VP9: inline vp9_use_mv_hp()"

8 years agoMerge "VP9: Remove decoder args from find_mv_refs_idx()"
Scott LaVarnway [Thu, 14 Jan 2016 13:30:30 +0000 (13:30 +0000)]
Merge "VP9: Remove decoder args from find_mv_refs_idx()"

8 years agoconfigure: extend armv7 hf target autodetect
James Zern [Thu, 14 Jan 2016 07:16:10 +0000 (23:16 -0800)]
configure: extend armv7 hf target autodetect

Change-Id: I51d42a50288fc5224eb3ed7f895c916ae53239c8

8 years agoMerge changes I6998e15f,I88891d9f
James Zern [Thu, 14 Jan 2016 04:13:24 +0000 (04:13 +0000)]
Merge changes I6998e15f,I88891d9f

* changes:
  Remove unused POSIX_MMAP references
  Remove unused stdint.h check

8 years agoProperly set segmentation for error-resilient mode
Yaowu Xu [Thu, 14 Jan 2016 01:27:17 +0000 (17:27 -0800)]
Properly set segmentation for error-resilient mode

Change-Id: I0c85b637e51dc949a4e919f10a78870f23c2ca6a

8 years agoAdding an aq mode for 360 videos
Debargha Mukherjee [Wed, 16 Dec 2015 23:34:07 +0000 (15:34 -0800)]
Adding an aq mode for 360 videos

Different quality levels are used for different regions in
the frame depending on how far they are vertically from the
center. Specifically, three segments are used based on the
mi_row index with respect number to the number of mi_rows in
the frame.

Change-Id: Ifc8b777bc58ea8521dffc4640360c67d99f8d381

8 years agoMerge "Revert "Merge "Change highbd variance rounding to prevent negative variance."""
Alex Converse [Wed, 13 Jan 2016 21:51:23 +0000 (21:51 +0000)]
Merge "Revert "Merge "Change highbd variance rounding to prevent negative variance."""

8 years agoVP9: Remove decoder args from find_mv_refs_idx()
Scott LaVarnway [Wed, 13 Jan 2016 21:30:40 +0000 (13:30 -0800)]
VP9: Remove decoder args from find_mv_refs_idx()

The decoder does not use this function.

Change-Id: Ie67f909c0f4108ef286789c70df867d4b960a780

8 years agoMerge "Fix encoder crashes and enc/dec mismatches"
Yaowu Xu [Wed, 13 Jan 2016 21:07:53 +0000 (21:07 +0000)]
Merge "Fix encoder crashes and enc/dec mismatches"

8 years agoRevert "Merge "Change highbd variance rounding to prevent negative variance.""
Alex Converse [Wed, 13 Jan 2016 19:18:19 +0000 (11:18 -0800)]
Revert "Merge "Change highbd variance rounding to prevent negative variance.""

This reverts commit ea48370a500537906d62544ca4ed75301d79e772, reversing
changes made to 15939cb2d76c773950cda40988ede89e111872ea.

The commit was insufficiently tested and causes failures.

Change-Id: I623d6fc2cd3ae6fd42d0abab1f8eada465ae57a7

8 years agoFix encoder crashes and enc/dec mismatches
Yaowu Xu [Tue, 12 Jan 2016 17:47:07 +0000 (09:47 -0800)]
Fix encoder crashes and enc/dec mismatches

This commit adds the logic for segmentation map initialization and
disable temporal update of segmentation map when error-resilient
mode is on. It fixes the enc/dec mistmates (release build) and
assertions(debug) when both aq-mode and error-resilient are on.

Change-Id: Id2155e8b28962cf1f64494f4df0c8d79499b6890

8 years agoVP9: inline vp9_use_mv_hp()
Scott LaVarnway [Wed, 13 Jan 2016 16:02:05 +0000 (08:02 -0800)]
VP9: inline vp9_use_mv_hp()

Change-Id: Ib275bfc4c29c572d6c70e5ec6dbfc241590d3e3e

8 years agoMerge "Change highbd variance rounding to prevent negative variance."
Alex Converse [Wed, 13 Jan 2016 00:25:54 +0000 (00:25 +0000)]
Merge "Change highbd variance rounding to prevent negative variance."

8 years agoMerge "VP9: Eliminate unnecessary nearest/near searches"
Scott LaVarnway [Tue, 12 Jan 2016 20:00:59 +0000 (20:00 +0000)]
Merge "VP9: Eliminate unnecessary nearest/near searches"