]> granicus.if.org Git - libvpx/log
libvpx
10 years agoMerge "Refactor set vbp thresholds function"
Yunqing Wang [Tue, 17 Mar 2015 23:05:53 +0000 (16:05 -0700)]
Merge "Refactor set vbp thresholds function"

10 years agoMerge "Remove unused ZBIN_BOOST macros"
Adrian Grange [Tue, 17 Mar 2015 22:13:12 +0000 (15:13 -0700)]
Merge "Remove unused ZBIN_BOOST macros"

10 years agoRefactor set vbp thresholds function
Yunqing Wang [Tue, 17 Mar 2015 19:19:15 +0000 (12:19 -0700)]
Refactor set vbp thresholds function

Code refactoring.

Change-Id: I73b6fcc0444155ee46c1efa5253c1d608c6439cb

10 years agoRemove unused ZBIN_BOOST macros
Adrian Grange [Tue, 17 Mar 2015 18:53:58 +0000 (11:53 -0700)]
Remove unused ZBIN_BOOST macros

Change-Id: I5169155b20ea3676a6ce58ec77d6aeba07db29d9

10 years agoAdd frame parallel decode option to vpxdec.
hkuang [Fri, 6 Mar 2015 21:03:18 +0000 (13:03 -0800)]
Add frame parallel decode option to vpxdec.

Change-Id: I0ba02d501d65a2f219fa1bb87b8eb81f7e6ab332

10 years agoMerge "Remove duplicate clamping"
Yaowu Xu [Mon, 16 Mar 2015 23:56:10 +0000 (16:56 -0700)]
Merge "Remove duplicate clamping"

10 years agoMerge "Remove ineffective newmv skip checking from vp9_pick_inter_mode"
Jingning Han [Mon, 16 Mar 2015 23:43:43 +0000 (16:43 -0700)]
Merge "Remove ineffective newmv skip checking from vp9_pick_inter_mode"

10 years agoMerge "Simplify prediction filter search in rtc coding mode"
Jingning Han [Mon, 16 Mar 2015 23:43:26 +0000 (16:43 -0700)]
Merge "Simplify prediction filter search in rtc coding mode"

10 years agoMerge "Refactor column integral projection computation"
Jingning Han [Mon, 16 Mar 2015 23:43:11 +0000 (16:43 -0700)]
Merge "Refactor column integral projection computation"

10 years agoMerge "change the order of inter modes evaluated"
Yaowu Xu [Mon, 16 Mar 2015 23:14:34 +0000 (16:14 -0700)]
Merge "change the order of inter modes evaluated"

10 years agoRemove duplicate clamping
Yaowu Xu [Mon, 16 Mar 2015 22:19:37 +0000 (15:19 -0700)]
Remove duplicate clamping

The mvs are clamped in the vp9_find_best_ref_mvs() already.

Change-Id: I9bea5e35aef6007466fe7fca4bc2dc5c17e74222

10 years agoRemove ineffective newmv skip checking from vp9_pick_inter_mode
Jingning Han [Mon, 16 Mar 2015 22:05:01 +0000 (15:05 -0700)]
Remove ineffective newmv skip checking from vp9_pick_inter_mode

Change-Id: I41ee684cf113a7b5edf280183e51cb08b2e93cc4

10 years agoSimplify prediction filter search in rtc coding mode
Jingning Han [Mon, 16 Mar 2015 21:53:08 +0000 (14:53 -0700)]
Simplify prediction filter search in rtc coding mode

Reduce unnecessary fetch from MB_MODE_INFO.

Change-Id: Iff89b76d5e2774c00a564e902913a633fa2e1ea9

10 years agochange the order of inter modes evaluated
Yaowu Xu [Mon, 16 Mar 2015 19:49:30 +0000 (12:49 -0700)]
change the order of inter modes evaluated

Change-Id: I10c1ad23b110cf92cb026e895039c215c47abfd0

10 years agoMerge changes I67890f52,I33c72799
James Zern [Mon, 16 Mar 2015 19:28:46 +0000 (12:28 -0700)]
Merge changes I67890f52,I33c72799

* changes:
  usage.dox: fix encoder/decoder subpage list indent
  usage.dox: fix doxygen warnings in 1.8.x

10 years agoRefactor column integral projection computation
Jingning Han [Mon, 16 Mar 2015 19:03:31 +0000 (12:03 -0700)]
Refactor column integral projection computation

Move the scaling factor outside column projection. This avoids
repeated calculation of the same scaling factor. Profiling shows
that the percentage of vp9_int_pro_col_sse2 of overall cycles
goes from 2.29% down to 1.88%.

Change-Id: I5ac4e324ab2d7f33ba2de66dd2a12e04e04dfd66

10 years agoMerge "Fix indent in choose_partitioning"
Jingning Han [Mon, 16 Mar 2015 18:52:12 +0000 (11:52 -0700)]
Merge "Fix indent in choose_partitioning"

10 years agoFix indent in choose_partitioning
Jingning Han [Mon, 16 Mar 2015 18:01:00 +0000 (11:01 -0700)]
Fix indent in choose_partitioning

Change-Id: I4039f8ac75a9cfcc4d07abd0619d1379bb10fe51

10 years agovp9_pick_inter_mode(): minor optimizations
Yaowu Xu [Mon, 16 Mar 2015 16:42:33 +0000 (09:42 -0700)]
vp9_pick_inter_mode(): minor optimizations

1. remove duplicate initialization to mbmi->interp_filter.
2. move mv clamping into ref_frame loop instead of mode checking loop.
3. move the check if last frame is same as golden frame earlier to
avoid initialization of Golden reference related variables.

Change-Id: Idf2d05e19e94a24f69cc289687869fc71d2ff289

10 years agoMerge "Fix choose_partitioning threshold setup for speed -5"
Jingning Han [Sun, 15 Mar 2015 16:04:07 +0000 (09:04 -0700)]
Merge "Fix choose_partitioning threshold setup for speed -5"

10 years agoFix 1-step refinement search table
Jingning Han [Sat, 14 Mar 2015 17:51:46 +0000 (10:51 -0700)]
Fix 1-step refinement search table

Change-Id: I32f0bcb40c6e7ba63bfae487739ededd0b6b2dde

10 years agousage.dox: fix encoder/decoder subpage list indent
James Zern [Sat, 14 Mar 2015 01:52:11 +0000 (18:52 -0700)]
usage.dox: fix encoder/decoder subpage list indent

use \li to separate the list items contained in conditionals. this
avoids the encode page becoming a sub-item of decode; likely a problem
in <1.8.3.
+ fix encoder conditional, spelling error
+ correct encode page name to match decode 'Encoding'

Change-Id: I67890f52bed8e708bad63fb8819a074e0beff2ca

10 years agousage.dox: fix doxygen warnings in 1.8.x
James Zern [Sat, 14 Mar 2015 01:49:03 +0000 (18:49 -0700)]
usage.dox: fix doxygen warnings in 1.8.x

use \li to denote list items with \if.

fixes the following likely visible in <1.8.3:
usage.dox: warning: Invalid list item found
usage.dox: warning: End of list marker found without any preceding list items

Change-Id: I33c72799edf9f8866596ac8f79247050b8c75681

10 years agoFix choose_partitioning threshold setup for speed -5
Jingning Han [Fri, 13 Mar 2015 23:51:29 +0000 (16:51 -0700)]
Fix choose_partitioning threshold setup for speed -5

The compression performance of speed -5 is on average 12.6% better
than speed -6. At lower bit-rates, the gains are typically 20% or
more. For 2-thread encoding, the speed -5 takes about 1.6x time of
speed -6.

Change-Id: If7a73464a24d33e8f49b9533b51ec51c8da7fc80

10 years agoMerge "Fix comments for vpx_codec_enc_config_default()"
Yaowu Xu [Fri, 13 Mar 2015 22:56:56 +0000 (15:56 -0700)]
Merge "Fix comments for vpx_codec_enc_config_default()"

10 years agoFix comments for vpx_codec_enc_config_default()
Yaowu Xu [Fri, 13 Mar 2015 19:52:52 +0000 (12:52 -0700)]
Fix comments for vpx_codec_enc_config_default()

This makes clear that for end-usage, only 0 is supported currently.

Change-Id: I99795807c20df1d71b3c803e8d5f3b36583dcc85

10 years agoMerge "Provide information on codec controls"
Yaowu Xu [Fri, 13 Mar 2015 22:39:07 +0000 (15:39 -0700)]
Merge "Provide information on codec controls"

10 years agoMerge "Set default encode test driver to 1 column and 1 thread."
Frank Galligan [Fri, 13 Mar 2015 22:07:16 +0000 (15:07 -0700)]
Merge "Set default encode test driver to 1 column and 1 thread."

10 years agoMerge "Fix crash with vp9 denoiser on."
Marco [Fri, 13 Mar 2015 21:31:39 +0000 (14:31 -0700)]
Merge "Fix crash with vp9 denoiser on."

10 years agoMerge "Use sdx4df to do 1-step refinement"
Jingning Han [Fri, 13 Mar 2015 19:57:49 +0000 (12:57 -0700)]
Merge "Use sdx4df to do 1-step refinement"

10 years agoProvide information on codec controls
Yaowu Xu [Fri, 13 Mar 2015 16:42:57 +0000 (09:42 -0700)]
Provide information on codec controls

The commit updates the comments in vp8cx.h to make it clear which
codec support each of codec control functions.

Change-Id: Ibf876e289d4325bbb61ce19311da60d384624c2f

10 years agoFix crash with vp9 denoiser on.
Marco [Fri, 13 Mar 2015 00:19:43 +0000 (17:19 -0700)]
Fix crash with vp9 denoiser on.

Crash occured on very first key frame, because denoiser
temporal function was beng entered.

Updated denoiser unittest to set cpu_used from first frame,
and verified fix fixes the crash.

Change-Id: I3be1124b52846fbbe7248d2c3d6136e086c80bc1

10 years agoMerge "Lower bitrate threshold below which cyclic refresh is turned off."
Marco [Fri, 13 Mar 2015 17:31:35 +0000 (10:31 -0700)]
Merge "Lower bitrate threshold below which cyclic refresh is turned off."

10 years agoMerge "Reconcile active_map and cyclic refresh"
Alex Converse [Fri, 13 Mar 2015 17:20:15 +0000 (10:20 -0700)]
Merge "Reconcile active_map and cyclic refresh"

10 years agoMerge "Reset src buffer only once in vp9_int_pro_motion_estimation"
Jingning Han [Fri, 13 Mar 2015 16:56:00 +0000 (09:56 -0700)]
Merge "Reset src buffer only once in vp9_int_pro_motion_estimation"

10 years agoMerge "Reduce the number of full block SAD calls"
Jingning Han [Fri, 13 Mar 2015 16:55:52 +0000 (09:55 -0700)]
Merge "Reduce the number of full block SAD calls"

10 years agoUse sdx4df to do 1-step refinement
Jingning Han [Fri, 13 Mar 2015 16:53:15 +0000 (09:53 -0700)]
Use sdx4df to do 1-step refinement

Change-Id: Ie0c3ef3ae3aedf049b1a296de607730b79c12672

10 years agoLower bitrate threshold below which cyclic refresh is turned off.
Marco [Fri, 13 Mar 2015 16:36:22 +0000 (09:36 -0700)]
Lower bitrate threshold below which cyclic refresh is turned off.

Change-Id: Ib54ab11adf8178eec74f65388a89c8f912c7869a

10 years agoMerge "Shorten GF/arf interval in hard scenes."
paulwilkins [Fri, 13 Mar 2015 15:45:52 +0000 (08:45 -0700)]
Merge "Shorten GF/arf interval in hard scenes."

10 years agoSet default encode test driver to 1 column and 1 thread.
Frank Galligan [Mon, 9 Mar 2015 22:52:29 +0000 (15:52 -0700)]
Set default encode test driver to 1 column and 1 thread.

Change-Id: I70ee538609cefad76b8ce9b225bbf8d8447aff23

10 years agoMerge changes Ic54c88ec,I6f120b65
Yaowu Xu [Fri, 13 Mar 2015 04:27:04 +0000 (21:27 -0700)]
Merge changes Ic54c88ec,I6f120b65

* changes:
  Added comment for vp9 only codec controls
  Rename a vp9 only control with vp9e prefix

10 years agoReset src buffer only once in vp9_int_pro_motion_estimation
Jingning Han [Fri, 13 Mar 2015 01:46:40 +0000 (18:46 -0700)]
Reset src buffer only once in vp9_int_pro_motion_estimation

Change-Id: I5c96b6a25f9df60da65b7af7c92a921b611746e3

10 years agoMerge "vp9_pick_inter_mode(): Use single loop to evaluate inter modes"
Yaowu Xu [Fri, 13 Mar 2015 01:43:23 +0000 (18:43 -0700)]
Merge "vp9_pick_inter_mode(): Use single loop to evaluate inter modes"

10 years agoAdded comment for vp9 only codec controls
Yaowu Xu [Fri, 13 Mar 2015 01:14:43 +0000 (18:14 -0700)]
Added comment for vp9 only codec controls

Comments are updated to reflect that these controls apply to VP9 only,
thereby, to insure the document produced by doxygent to reflect the
same fact too.

Change-Id: Ic54c88ec066aa0ec4552d43dd4a7016e1f810f42

10 years agoRename a vp9 only control with vp9e prefix
Yaowu Xu [Fri, 13 Mar 2015 00:59:18 +0000 (17:59 -0700)]
Rename a vp9 only control with vp9e prefix

Also updated comments and doc to make it clear that the control is
supported in VP9 only.

Change-Id: I6f120b65135fc1185695e9e3dc29fbe0d430824b

10 years agoReduce the number of full block SAD calls
Jingning Han [Thu, 12 Mar 2015 23:18:12 +0000 (16:18 -0700)]
Reduce the number of full block SAD calls

This commit uses a 6-point 1-step refine motion search in the
integral projection based full pixel motion estimation, to replace
the current 9-point search.

It reduces runtime cost of speed -6 on some noisy clips, e.g.,
dark720p single thread
33314 b/f, 40.076 dB, 18231 ms ->
33307 b/f, 40.067 dB, 17768 ms

The compression performance for rtc set remains unchanged.

Change-Id: I194ea5a9ce52e5a10baeee36338633adc22f764c

10 years agoMerge "Minorly modify model_rd_for_sb_y function"
Yunqing Wang [Fri, 13 Mar 2015 00:16:48 +0000 (17:16 -0700)]
Merge "Minorly modify model_rd_for_sb_y function"

10 years agoMerge "Fix fdct8x8_quant ssse3 overflow issue"
Jingning Han [Thu, 12 Mar 2015 23:43:09 +0000 (16:43 -0700)]
Merge "Fix fdct8x8_quant ssse3 overflow issue"

10 years agoReconcile active_map and cyclic refresh
Alex Converse [Tue, 10 Mar 2015 23:08:17 +0000 (16:08 -0700)]
Reconcile active_map and cyclic refresh

Change-Id: Id7f8654aeeb20caa402bc822521b1d72c658f4f9

10 years agovp9_pick_inter_mode(): Use single loop to evaluate inter modes
Yaowu Xu [Wed, 11 Mar 2015 17:16:39 +0000 (10:16 -0700)]
vp9_pick_inter_mode(): Use single loop to evaluate inter modes

This commit changes to use single loop to evaluate all inter modes.
There is no impact on compression quality and speed, but allow future
experiment with the order of modes evaluated.

Change-Id: I71696ce1014cbe127e25e98710d835987f5ecc09

10 years agoMinorly modify model_rd_for_sb_y function
Yunqing Wang [Wed, 11 Mar 2015 18:31:47 +0000 (11:31 -0700)]
Minorly modify model_rd_for_sb_y function

Added a skip_dc check. If skip_dc = 1, we could eliminate calling
of vp9_model_rd_from_var_lapndz(). This gave slight PSNR & SSIM
gain(<0.1%), and no speed change.

Change-Id: If5ca733366148c86b98e196a00cc890f50e9a3e5

10 years agoFix fdct8x8_quant ssse3 overflow issue
Jingning Han [Thu, 12 Mar 2015 19:16:27 +0000 (12:16 -0700)]
Fix fdct8x8_quant ssse3 overflow issue

This resolves webm issue 968.

Change-Id: Ieb363129b1e135a561141c68211d413226aba754

10 years agoMerge "Some rate control adjustments to control overshoot"
Deb Mukherjee [Thu, 12 Mar 2015 18:10:59 +0000 (11:10 -0700)]
Merge "Some rate control adjustments to control overshoot"

10 years agoMerge "Prevent integer overflow in choose_partitioning"
Jingning Han [Thu, 12 Mar 2015 16:24:02 +0000 (09:24 -0700)]
Merge "Prevent integer overflow in choose_partitioning"

10 years agoMerge "Remove unnecessary speed feature checking"
Jingning Han [Thu, 12 Mar 2015 16:23:51 +0000 (09:23 -0700)]
Merge "Remove unnecessary speed feature checking"

10 years agoMerge "Apply fast motion search to golden reference frame"
Jingning Han [Thu, 12 Mar 2015 16:23:41 +0000 (09:23 -0700)]
Merge "Apply fast motion search to golden reference frame"

10 years agoMerge "Refactor to remove GLOBAL_MOTION"
Jingning Han [Thu, 12 Mar 2015 16:23:31 +0000 (09:23 -0700)]
Merge "Refactor to remove GLOBAL_MOTION"

10 years agoFix a typo introduced in #94401aff
Yaowu Xu [Thu, 12 Mar 2015 15:01:08 +0000 (08:01 -0700)]
Fix a typo introduced in #94401aff

This fixes all test vector failures

Change-Id: Ie1a9fe0f023f7a0c7e89eb55df1b40ff65302adc

10 years agoMerge "Fix visual studio build failure."
Marco [Thu, 12 Mar 2015 00:19:47 +0000 (17:19 -0700)]
Merge "Fix visual studio build failure."

10 years agoPrevent integer overflow in choose_partitioning
Jingning Han [Wed, 11 Mar 2015 23:29:13 +0000 (16:29 -0700)]
Prevent integer overflow in choose_partitioning

Re-arrange the multiplication and right shift operations to avoid
integer overflow in choose_partitioning.

Change-Id: Ib4005cafb410a67c1960486471d75b6ebe38c4e0

10 years agoMerge "Refactor the block decode code to make it simpler."
hkuang [Wed, 11 Mar 2015 23:19:14 +0000 (16:19 -0700)]
Merge "Refactor the block decode code to make it simpler."

10 years agoFix visual studio build failure.
Marco [Wed, 11 Mar 2015 23:11:35 +0000 (16:11 -0700)]
Fix visual studio build failure.

Change-Id: Ifeb14f945d0f0300eb7b21b38e5720ac1c11a6cf

10 years agoRemove unnecessary speed feature checking
Jingning Han [Wed, 11 Mar 2015 23:08:59 +0000 (16:08 -0700)]
Remove unnecessary speed feature checking

This commit removes the pred_mv_sad comparison from rtc motion
search, given that a stronger comparison has been done at the
mode search level to eliminate unlikely selected reference frames.

Change-Id: I49b8d24b2174303066fd8eff2102c0648f2869df

10 years agoMerge "Clamp rate correction factor after scaling it"
Adrian Grange [Wed, 11 Mar 2015 23:09:49 +0000 (16:09 -0700)]
Merge "Clamp rate correction factor after scaling it"

10 years agoApply fast motion search to golden reference frame
Jingning Han [Tue, 10 Mar 2015 01:55:38 +0000 (18:55 -0700)]
Apply fast motion search to golden reference frame

This commit enables the rtc coding mode to run integral projection
based motion search for golden reference frame. It improves the
speed -6 compression performance by 1.1% on average, 3.46% for
jimred_vga, 6.46% for tacomascmvvga, and 0.5% for vidyo clips. The
speed -6 is about 6% slower.

Change-Id: I0fe402ad2edf0149d0349ad304ab9b2abdf0c804

10 years agoRefactor to remove GLOBAL_MOTION
Jingning Han [Wed, 11 Mar 2015 22:44:26 +0000 (15:44 -0700)]
Refactor to remove GLOBAL_MOTION

Make the vp9_int_pro_motion_estimation() function return zero
motion vector if high bit depth is turned on, instead of removing
it from compiled codes.

Change-Id: Ia48f010eb590b2d517d5678c394110b326a1a95e

10 years agovpx_temporal_svc_encoder: Update some default settings.
Marco [Wed, 11 Mar 2015 21:07:34 +0000 (14:07 -0700)]
vpx_temporal_svc_encoder: Update some default settings.

Set flags=0 if layering_mode=0, and set static_thresh=1.

Change-Id: Id9874923b23966a2b1d0e83965add7d5c9d26d16

10 years agoRefactor the block decode code to make it simpler.
hkuang [Tue, 10 Mar 2015 22:37:12 +0000 (15:37 -0700)]
Refactor the block decode code to make it simpler.

Change-Id: I0f983cb821ad7ec6fbefe7895cb8124a8fa39df6

10 years agoMerge "Separate rd_thresh adaption by ref_frame"
Yaowu Xu [Wed, 11 Mar 2015 17:41:20 +0000 (10:41 -0700)]
Merge "Separate rd_thresh adaption by ref_frame"

10 years agoClamp rate correction factor after scaling it
Adrian Grange [Tue, 10 Mar 2015 19:04:59 +0000 (12:04 -0700)]
Clamp rate correction factor after scaling it

Added clamp on the rate correction factor after
it has been scaled.

Change-Id: I5d4b46a101987b43c5bcfd7e0bd1b7b4d53640a4

10 years agoShorten GF/arf interval in hard scenes.
paulwilkins [Fri, 6 Mar 2015 16:32:20 +0000 (16:32 +0000)]
Shorten GF/arf interval in hard scenes.

This patch accounts in the first pass stats for blocks that
while not coded as intra, are complex and have an intra error /
best error ratio below a threshold.

The modification shortens the GF arf interval for a particular
class of content that contains a lot of blocks matching the
above criteria. (In one short problem test sequence the average
interval dropped from about 14-15 to 10-11)

The change results in small net gains in metrics results for the
Yt(~0.2%) and yt-hd (~0.5%) sets and is approximately neutral
for the other test sets.

The change is currently shielded by a flag and off by default
pending verification that it does not cause other regressions
in tests on a wider YT test set.

Change-Id: I6b803daa6a4ac09a6f428fb3a18be1ecedd974b7

10 years agoSeparate rd_thresh adaption by ref_frame
Yaowu Xu [Wed, 11 Mar 2015 02:06:52 +0000 (19:06 -0700)]
Separate rd_thresh adaption by ref_frame

Only update the rd_thresh factors for modes sharing same reference
frame. This helps overall compression of 6 and 7 by .13% and .19%
respectively without any noticeable speed difference.

Change-Id: Idb3a3879512c5d7d0880034516079949290690c5

10 years agoSome rate control adjustments to control overshoot
Deb Mukherjee [Wed, 11 Mar 2015 00:25:10 +0000 (17:25 -0700)]
Some rate control adjustments to control overshoot

Some rate control adjustments to control overshoot
in the constrained quality mode.

Change-Id: I8907b9a883642d779009d0a138adfa6ba67e7f41

10 years agoMerge "Modify update golden reference update under aq-mode=3 mode."
Marco [Tue, 10 Mar 2015 18:48:10 +0000 (11:48 -0700)]
Merge "Modify update golden reference update under aq-mode=3 mode."

10 years agoModify update golden reference update under aq-mode=3 mode.
Marco [Fri, 6 Mar 2015 01:26:52 +0000 (17:26 -0800)]
Modify update golden reference update under aq-mode=3 mode.

For non-SVC 1 pass CBR: make the GF update interval a multiple of the
cyclic refresh period, and use encoding stats to prevent GF update at certain times.

Change-Id: I4c44cacc2f70f1d27391a47644837e1eaa065017

10 years agoMerge "Accumulate tx_totals counters in multi-threaded encoder"
Yunqing Wang [Tue, 10 Mar 2015 17:52:55 +0000 (10:52 -0700)]
Merge "Accumulate tx_totals counters in multi-threaded encoder"

10 years agoMerge "Enable using Golden reference in choose_partition()"
Yaowu Xu [Tue, 10 Mar 2015 17:48:52 +0000 (10:48 -0700)]
Merge "Enable using Golden reference in choose_partition()"

10 years agoMerge "Allow q adjustment for VPX_CQ and VPX_CBR."
paulwilkins [Tue, 10 Mar 2015 17:45:02 +0000 (10:45 -0700)]
Merge "Allow q adjustment for VPX_CQ and VPX_CBR."

10 years agoAccumulate tx_totals counters in multi-threaded encoder
Yunqing Wang [Tue, 10 Mar 2015 16:53:45 +0000 (09:53 -0700)]
Accumulate tx_totals counters in multi-threaded encoder

Tx_totals counters weren't handled correctly in multi-thread
case, which caused the mismatch while encoding using threads > 1.
This patch fixed that.

Change-Id: Ice9b0386f57175fb92a0bdcd5042686a3106246a

10 years agoFix vp9_compute_qdelta_by_rate loop behavior
Adrian Grange [Tue, 10 Mar 2015 16:14:54 +0000 (09:14 -0700)]
Fix vp9_compute_qdelta_by_rate loop behavior

The return value from vp9_compute_qdelta_by_rate, which is
a delta value for the quantizer, could never be 0 if
(qindex == rc->worst_quality).

This occurs because target_index was setup unconditionally
in the loop and yet the loop counter stopped at
(rc->worst_quality - 1).

Change-Id: I6b59cd9b5811ff33357e71cd7d814c5e53d291f2

10 years agoEnable using Golden reference in choose_partition()
Yaowu Xu [Fri, 6 Mar 2015 21:45:39 +0000 (13:45 -0800)]
Enable using Golden reference in choose_partition()

Choose_partition uses only the last frame as reference frame in making
partition decision, this commit adds the check on how well Golden
frame with (0,0) predicts the current block, and uses GF(0,0) as
basis for partition decision if it produces better prediction.

The commit improves rtc speed 6 and 7 encoding by 0.14% and 0.19%
respectively.

Change-Id: I156acf925bd6e0b586d48155d1940d27270a3915

10 years agoRefactor read_intra_frame_mode_info
Frank Galligan [Mon, 9 Mar 2015 23:25:01 +0000 (16:25 -0700)]
Refactor read_intra_frame_mode_info

Change-Id: I56b0614154408e8ec613784b2007374df00fbf17

10 years agoMerge "Don't waste time partitioning skip superblocks."
Alex Converse [Mon, 9 Mar 2015 20:02:16 +0000 (13:02 -0700)]
Merge "Don't waste time partitioning skip superblocks."

10 years agoMerge "Skip golden ref frame check when it is same as last ref frame"
Jingning Han [Mon, 9 Mar 2015 19:27:19 +0000 (12:27 -0700)]
Merge "Skip golden ref frame check when it is same as last ref frame"

10 years agoSkip golden ref frame check when it is same as last ref frame
Jingning Han [Mon, 9 Mar 2015 17:59:29 +0000 (10:59 -0700)]
Skip golden ref frame check when it is same as last ref frame

When golden reference frame is refreshed, the next frame has both
its last and golden reference frames point to the same reference
frame in real-time coding mode. Experiments suggest that using
two separate reference frames for frames right after golden refresh
frame does not provide further compression performance advantage.
This commit hence retains the current encoder implementation and
shuts off the mode search over golden reference frame in this case.

It makes the encoder run slightly faster at no coding performance
change.

Change-Id: I1561f7799253a10e675d05c63c1749fe9e85b472

10 years agoDon't waste time partitioning skip superblocks.
Alex Converse [Mon, 9 Mar 2015 17:45:38 +0000 (10:45 -0700)]
Don't waste time partitioning skip superblocks.

Force 64x64 partitioning when a whole superblock is SEGMENT_LVL_SKIP. This
drops encode times of screens mostly at rest by 20%.

Change-Id: Ieba554b0b8a0c1679aae784a8bd11f038ab942c3

10 years agoAllow q adjustment for VPX_CQ and VPX_CBR.
paulwilkins [Mon, 9 Mar 2015 17:12:33 +0000 (17:12 +0000)]
Allow q adjustment for VPX_CQ and VPX_CBR.

Adjustment previously only enabled in VBR mode.

This patch allows adjustment of min and max q for CBR
and adjustment of max q only for CQ mode.

Change-Id: Id5e583f3d50453cd544fc57249acacd946457482

10 years agoAdd aq-mode=3 to ethread test.
Marco [Fri, 6 Mar 2015 18:47:09 +0000 (10:47 -0800)]
Add aq-mode=3 to ethread test.

Change-Id: I619a2be502f1d2eb0ae746f7fcb465d19ddae048

10 years agoMerge "vp9_ethread: fix me consts initialization to support aq_mode=3 encoding"
Yunqing Wang [Mon, 9 Mar 2015 16:42:12 +0000 (09:42 -0700)]
Merge "vp9_ethread: fix me consts initialization to support aq_mode=3 encoding"

10 years agoMerge "Move pred_mv assign outside integral projection motion search"
Jingning Han [Mon, 9 Mar 2015 16:34:26 +0000 (09:34 -0700)]
Merge "Move pred_mv assign outside integral projection motion search"

10 years agoMerge "Reduce default overshoot/undershoot params to 25"
Deb Mukherjee [Mon, 9 Mar 2015 16:21:35 +0000 (09:21 -0700)]
Merge "Reduce default overshoot/undershoot params to 25"

10 years agoMerge "Modify the setting of transform skip flags in non-rd mode"
Yunqing Wang [Mon, 9 Mar 2015 15:35:57 +0000 (08:35 -0700)]
Merge "Modify the setting of transform skip flags in non-rd mode"

10 years agovp9_ethread: fix me consts initialization to support aq_mode=3 encoding
Yunqing Wang [Fri, 6 Mar 2015 23:17:59 +0000 (15:17 -0800)]
vp9_ethread: fix me consts initialization to support aq_mode=3 encoding

While turning on "--aq_mode=3", the quantizers are updated by each
thread. Fixed the me consts initialization function to make sure
that the correct thread data are updated.

Change-Id: Ied27bb7bae76fc3fa2cda4f8c35ac0b46271bef4

10 years agoMerge "Cherry pick libyuv VS fix"
Johann [Sat, 7 Mar 2015 00:04:59 +0000 (16:04 -0800)]
Merge "Cherry pick libyuv VS fix"

10 years agoCherry pick libyuv VS fix
Johann [Fri, 6 Mar 2015 20:25:14 +0000 (12:25 -0800)]
Cherry pick libyuv VS fix

Change-Id: I1f2e077af87d29b07eaf7acaec8d955e00da9333

10 years agoRemove some unnecessary code in thread context copy.
hkuang [Tue, 3 Mar 2015 01:15:00 +0000 (17:15 -0800)]
Remove some unnecessary code in thread context copy.

Change-Id: Iddf098e1bae9c10fc2f325f84156f50a0bd0055a

10 years agoMerge "Only wait for previous frame's motion vector if needed."
Hangyu Kuang [Fri, 6 Mar 2015 18:27:26 +0000 (10:27 -0800)]
Merge "Only wait for previous frame's motion vector if needed."

10 years agoMerge "Set the threads/tile_columns in vpx_temporal_svc_encoder."
Marco [Fri, 6 Mar 2015 18:00:18 +0000 (10:00 -0800)]
Merge "Set the threads/tile_columns in vpx_temporal_svc_encoder."

10 years agoSet the threads/tile_columns in vpx_temporal_svc_encoder.
Marco [Fri, 6 Mar 2015 17:51:21 +0000 (09:51 -0800)]
Set the threads/tile_columns in vpx_temporal_svc_encoder.

Change-Id: I794e8b64f26ebe68d7f18c3a11cb7c80e1cd3110

10 years agoModify the setting of transform skip flags in non-rd mode
Yunqing Wang [Thu, 5 Mar 2015 17:44:18 +0000 (09:44 -0800)]
Modify the setting of transform skip flags in non-rd mode

While searching for the best mode in non-rd case, SSE of
a partition block is calculated and the transform size is set.
This patch rewrites the skip checking conditions based on
transform size instead of partition size to be more precise.

Small gains were seen in rtc set borg test (speed 6).
AVG PSNR: 0.087%, overall PSNR: 0.073%, SSIM: 0.146%.
No noticeable speed change.

Change-Id: I5603ca5339c784dfa02263f4005988ccd8c32f6e