Marco
3472cbbd88
vp9 aq-mode=3: Keep it on even at low bitrates.
...
Change-Id: I6a27db6b9dbe3d8cb3d47ef30fbd52557171cadd
2016-02-04 17:31:10 -08:00
Zoe Liu
0f7dd40324
Define a macro to replace hardcoded values
...
The definition is for the number of frames to check to determine the
recent decay rate, further to determine the next key frame in the
first pass of the encoder.
Change-Id: Ic696d6eb518a86fa296842273cf8767ef0b0e27a
2016-02-04 05:33:22 -08:00
James Zern
497b6744ea
Merge changes from topic 'dead-code'
...
* changes:
yv12config.c: remove dead CONFIG_ALPHA code
vp9_encoder.c: remove unused macro
vpx_mem.c: remove unused macro
vp9_svc_layercontext.c: relocate a macro definition
vp9_encoder.c: protect SNPRINT* macros w/CONFIG check
vp9_aq_360.c: remove some unused macros
vp9_diamond_search_sad_avx.c: rename (un)likely macros
vp9_resize.c: add missing include
vp9_aq_complexity.c: remove unused macros
vp9_detokenize.c: remove unused macros
2016-02-04 06:25:44 +00:00
Marco Paniconi
37c8f57318
Merge "vp9-skinmap. Some adjustments for model=1."
2016-02-03 23:34:07 +00:00
Marco
82148c02c1
vp9-skinmap. Some adjustments for model=1.
...
-use larger threshold on y (as in vp8).
-add distance threshold for each cluster
-use larger skin distance threshold for first cluster
-add some early exist checks.
Keep default setting to model=0.
Change-Id: I1044b99ade4bb1f215a860a019a4d84cee2f7715
2016-02-03 14:47:15 -08:00
Jingning Han
6f49e8a186
Merge "Use precise rate cost estimate for skip block mode"
2016-02-03 20:40:10 +00:00
Jingning Han
bcce658d31
Use precise rate cost estimate for skip block mode
...
It improves the compression performance of VP9 by 0.1% across all
test sets. No speed change is observed.
Change-Id: I59338c5c9e67bae22188f35fc3afbfe2a6bba6b0
2016-02-03 11:09:16 -08:00
Hui Su
2231d1063c
Merge "Fix some interger overflow errors"
2016-02-03 18:12:26 +00:00
James Zern
fc110235ad
vp9_encoder.c: remove unused macro
...
SHARP_FILTER_QTHRESH
unused since:
5373119 Merging in the Switchable interp experiment
Change-Id: I9ccc1883828babffd1886810b59aa16aca4766bf
2016-02-02 18:03:26 -08:00
James Zern
c9e057a9a0
vp9_svc_layercontext.c: relocate a macro definition
...
move SMALL_FRAME_FB_IDX closer to its first use. this is only used with
CONFIG_SPATIAL_SVC.
Change-Id: Ibf2b3e59a3aab2be2c3b3f89b4380ebe272e0ed6
2016-02-02 18:02:33 -08:00
James Zern
d6c66d4691
vp9_encoder.c: protect SNPRINT* macros w/CONFIG check
...
these are only used with CONFIG_INTERNAL_STATS
Change-Id: Ibbcefbdc1db79d93f75e5865289f9960a8c2358a
2016-02-02 18:02:32 -08:00
James Zern
d78ebb82f5
vp9_aq_360.c: remove some unused macros
...
ENERGY_MIN
ENERGY_MAX
ENERGY_SPAN
ENERGY_IN_BOUNDS
unused since first commit
Change-Id: I5507d36487aaee3e64f7a5fba582791ef9a533b0
2016-02-02 18:01:49 -08:00
James Zern
8647792975
vp9_diamond_search_sad_avx.c: rename (un)likely macros
...
avoid using '__' this is a reserved namespace for the compiler
Change-Id: I7d2be4dba2bdddc6f1010a16ad9e59a2e211b064
2016-02-02 18:01:49 -08:00
James Zern
8a515c16fd
vp9_resize.c: add missing include
...
Change-Id: I429e3c80216102ed0a85ce348ecac0bf1e1e28eb
2016-02-02 18:01:49 -08:00
James Zern
59b560acef
vp9_aq_complexity.c: remove unused macros
...
DEFAULT_COMPLEXITY
VAR_STRENGTH_STEP
unused since first commit
Change-Id: I4a47544098caf0d72e571633b7776146be88237c
2016-02-02 18:01:30 -08:00
James Zern
8ec0159159
vp9_detokenize.c: remove unused macros
...
LOW_VAL_CONTEXT_NODE
TWO_CONTEXT_NODE
THREE_CONTEXT_NODE
HIGH_LOW_CONTEXT_NODE
CAT_ONE_CONTEXT_NODE
CAT_THREEFOUR_CONTEXT_NODE
CAT_THREE_CONTEXT_NODE
CAT_FIVE_CONTEXT_NODE
unused since:
adaec4d Speeding up decode_coeffs().
Change-Id: Id07d2b0b76ff0ee6ef40d1b7a8e085e5e9e4aa8d
2016-02-02 18:00:46 -08:00
hui su
1c9b0918b3
Fix some interger overflow errors
...
Change-Id: I7e44bd952f28ce9925e8bdf6ee8ca2bb13de1b49
2016-02-02 17:32:15 -08:00
James Zern
dee831c484
Merge changes I4a365757,I14a3b328
...
* changes:
vp10: remove unused (read|write)_uniform
vp9_denoiser: mark total_adj_strong_thresh inline
2016-02-03 00:51:42 +00:00
Alex Converse
614f0727e4
Merge "Fix a signed overflow in vp9 motion cost."
2016-02-02 21:12:49 +00:00
Paul Wilkins
e062eb16fb
Merge "Loop filter search resets on overlay frame."
2016-02-02 14:44:47 +00:00
James Zern
724ba02f1b
vp9_denoiser: mark total_adj_strong_thresh inline
...
avoids -Wunused-function warnings when INLINE is set
Change-Id: I14a3b32837d358516b7702a2fb804bec010bb5c6
2016-02-01 23:47:02 -08:00
Alex Converse
ad43a73883
Fix a signed overflow in vp9 motion cost.
...
Change-Id: I5975e3aede62202d8ee6ced33889350c0a56554a
2016-02-01 14:27:32 -08:00
Marco
734dc36173
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
2016-02-01 11:57:56 -08:00
Marco Paniconi
f51dd8c2ac
Merge "vp9 non-rd partition: Update condition on force_split for skin area."
2016-02-01 18:48:46 +00:00
Marco
9248689645
vp9 non-rd partition: Update condition on force_split for skin area.
...
Avoid low resolutions for now.
Change-Id: Ib3a7bb8716a033449b2afb216edd70897a280df9
2016-02-01 09:50:53 -08:00
Marco
dc2e97c900
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
2016-02-01 09:08:28 -08:00
Marco Paniconi
0a3593a555
Merge "vp9-noise estimate: Put check to avoid possible out of bounds."
2016-02-01 15:18:16 +00:00
Scott LaVarnway
0c60282786
Merge "VP9: Refactor read_inter_block_mode_info()"
2016-02-01 12:52:15 +00:00
Marco
9b24251c91
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
2016-01-31 22:29:51 -08:00
James Zern
8faccb709a
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
2016-01-30 00:17:16 +00:00
Scott LaVarnway
d12f87cd07
VP9: Refactor read_inter_block_mode_info()
...
Change-Id: I8e6a1a1b6eec17d0076660b559f6fc120a78c538
2016-01-29 15:30:27 -08:00
hui su
580e815f3b
Refactor prob_diff_update_savings_search_model
...
Change-Id: Icfab58e880285d5af00985dc20db2174a67d1fe8
2016-01-29 12:51:10 -08:00
Marco Paniconi
432136ef56
Merge "Fix failure with libvpx__unit_tests-multi-target"
2016-01-29 18:55:13 +00:00
Marco Paniconi
b9723c4be9
Merge "vp9-denoiser: Force increase_denoising = 0 for skin block."
2016-01-29 18:43:27 +00:00
Marco
72e3b5b2c5
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
2016-01-29 10:05:08 -08:00
Marco
c9e984a858
vp9-denoiser: Force increase_denoising = 0 for skin block.
...
Change-Id: Ic5af41db58a3daad4103175b4b4b9300675020c0
2016-01-29 08:37:02 -08:00
Zoe Liu
bca1a350c9
Merge "Cleaned code in firstpass related to altref frame"
2016-01-29 16:31:41 +00:00
Marco Paniconi
35b878ca25
Merge "vp9: encoder-breakout: Modify UV thresholds."
2016-01-29 01:19:30 +00:00
Zoe Liu
b6f1f369af
Cleaned code in firstpass related to altref frame
...
Change-Id: I6dbddf500fd4f64216774685700efea972165470
2016-01-28 16:37:17 -08:00
James Zern
4f780e94a1
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
2016-01-28 12:53:41 -08:00
Marco
1c2df9cd48
vp9: encoder-breakout: Modify UV thresholds.
...
Set UV thresholds to 0 for encoder breakout if
block is detected as skin.
Change-Id: Iaaa30b5cc8bae4cf611f8ea8eba693b730e32a3f
2016-01-28 12:12:40 -08:00
JackyChen
d1e3d0467c
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
2016-01-28 10:38:14 -08:00
Marco Paniconi
aa3fb7e1b5
Merge "vp9 non-rd mode: Modification for detected skin areas."
2016-01-28 17:01:19 +00:00
Scott LaVarnway
66129c7214
Merge "VP9: Refactor dec_build_inter_predictors_sb()"
2016-01-28 12:31:22 +00:00
Marco
b39a599cef
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
2016-01-27 17:38:58 -08:00
Hui Su
cdb141dd94
Merge "Fix some typos."
2016-01-28 01:04:50 +00:00
hui su
5afc4e4c77
Fix some typos.
...
Change-Id: I32aacd014df6c927cf2893dc096cbe6ec7604b9b
2016-01-27 16:12:49 -08:00
Marco Paniconi
ced5cea41c
Merge "vp9-aqmode=3: Limit on period for golden update."
2016-01-27 21:38:35 +00:00
Marco
fab630fac9
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
2016-01-27 12:07:49 -08:00
Alex Converse
d13385cee7
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
2016-01-27 19:34:30 +00:00