]> granicus.if.org Git - libvpx/log
libvpx
8 years agovpx_ve_predictor_4x4_c: quiet unused param warning
James Zern [Fri, 12 Feb 2016 02:31:40 +0000 (18:31 -0800)]
vpx_ve_predictor_4x4_c: quiet unused param warning

Change-Id: I62234260e2d2de94d602c6d8095c8f8124334052

8 years agovp9-resize: Force reference masking off for external dynamic-resizing.
Marco [Thu, 11 Feb 2016 00:59:09 +0000 (16:59 -0800)]
vp9-resize: Force reference masking off for external dynamic-resizing.

An issue exists with reference_masking in non-rd pickmode for spatial
scaling. It was kept off for internal dynamic resizing and svc, this
change is to keep it off also for external dynamic resizing.

Update to external resize test, and update TODO to re-enable this
at frame level when references have same scale as source.

Change-Id: If880a643572127def703ee5b2d16fd41bdbf256c

8 years agovp9 resize_test: Enable resize_allowed in real-time ExternalResize test.
Marco [Wed, 10 Feb 2016 23:18:26 +0000 (15:18 -0800)]
vp9 resize_test: Enable resize_allowed in real-time ExternalResize test.

For dynamic resizing (whether the new codec size is determined internally
or externally set by user), we should for now keep rc.resize_allowed enabled.
This prevent the use of referene_masking for real-time mode
(in set_rt_speed_feature()).

Change-Id: Ibb7c3ff35be88afdf1a3c6db6693521766f177a3

8 years agoVP9: Pass NULL scale_factors ptr when not scaling
Scott LaVarnway [Wed, 10 Feb 2016 19:43:23 +0000 (11:43 -0800)]
VP9: Pass NULL scale_factors ptr when not scaling

to vp9_setup_pre_planes(), preventing the function
unscaled_value() from being called.  unscaled_value()
returns the same value that was passed in.  See
scaled_buffer_offset() in vp9_reconinter.h.

Change-Id: I2a6fbaf07972c2f212834929d29a2cbe72e399c3

8 years agoMerge "VP9: Refactor read_inter_block_mode_info() -- 2"
Scott LaVarnway [Wed, 10 Feb 2016 12:59:41 +0000 (12:59 +0000)]
Merge "VP9: Refactor read_inter_block_mode_info() -- 2"

8 years agoMerge "intrapred/d135: flatten border results before storing"
James Zern [Wed, 10 Feb 2016 02:41:31 +0000 (02:41 +0000)]
Merge "intrapred/d135: flatten border results before storing"

8 years agoMerge "vp8: fix build with mingw+pthreads"
James Zern [Wed, 10 Feb 2016 02:40:12 +0000 (02:40 +0000)]
Merge "vp8: fix build with mingw+pthreads"

8 years agoMerge "Restore previous motion search bit-error scale."
Alex Converse [Wed, 10 Feb 2016 01:21:01 +0000 (01:21 +0000)]
Merge "Restore previous motion search bit-error scale."

8 years agoVP9: Refactor read_inter_block_mode_info() -- 2
Scott LaVarnway [Tue, 9 Feb 2016 23:36:01 +0000 (15:36 -0800)]
VP9: Refactor read_inter_block_mode_info() -- 2

Change-Id: I96d4764523b8d634eafb4cb3ed6eb3aee4052573

8 years agoRestore previous motion search bit-error scale.
Alex Converse [Mon, 1 Feb 2016 18:02:54 +0000 (10:02 -0800)]
Restore previous motion search bit-error scale.

The bit to error transformation got doubled as a result of going from
8-bit to 9-bit costs (change d13385c).

Use defines to derive the scale numbers and comment some of the fields.

derf: -0.023 BDRATE
hevcmr: +0.067 BDRATE
stdhd: +0.098 BDRATE
(These are substantially smaller than than the original gains from 8 to
9 bit costing.)

Change-Id: I6a2b3b029b2f1415e4f90a05709b2333ec0eea9b

8 years agovp9-dynamic resize: Fix bug on releasing scaled reference.
Marco [Mon, 8 Feb 2016 18:41:13 +0000 (10:41 -0800)]
vp9-dynamic resize: Fix bug on releasing scaled reference.

When the codec frame size is the same as the reference frame size,
release the scaled reference before assigning it a new buf_idx.
Only affects 1 pass non-svc mode, where the scaled references are
release only under certain conditions (to prevent un-needed scaling
of the references every frame).

Modified a unittest that can trigger this bug without this change.

https://code.google.com/p/chromium/issues/detail?id=582598

Change-Id: I9a884e36ebd7608b1641ec2a469e20a4f829cf43

8 years agovp9-aq-mode=3: Reset cyclic refresh under config/external size change.
Marco [Mon, 8 Feb 2016 22:28:41 +0000 (14:28 -0800)]
vp9-aq-mode=3: Reset cyclic refresh under config/external size change.

If the application changes frame size (external size changes),
and aq-mode=3 is on, reset the cyclic refresh.

Modify the TestExternalResize unittest (longer run with more resize
actions). Without this change an assert would be triggered on this
longer test.

Change-Id: I0eefd2cd7ffa0c557cca96ae30d607034a2599ce

8 years agoMerge "Set use_highbitdepth flag to either 1 or 0"
Yaowu Xu [Tue, 9 Feb 2016 16:57:28 +0000 (16:57 +0000)]
Merge "Set use_highbitdepth flag to either 1 or 0"

8 years agoMerge "BUG FIX: undefined reference to `vp9_scale_and_extend_frame_c'"
Scott LaVarnway [Tue, 9 Feb 2016 14:52:03 +0000 (14:52 +0000)]
Merge "BUG FIX: undefined reference to `vp9_scale_and_extend_frame_c'"

8 years agoSet use_highbitdepth flag to either 1 or 0
Yaowu Xu [Tue, 9 Feb 2016 04:13:19 +0000 (20:13 -0800)]
Set use_highbitdepth flag to either 1 or 0

This reduces the buffer allocation size for high bit depth buffers by
more than 70%.

Change-Id: Iab9007d9684e8ac30ce7fa94e61f038f01792fc5

8 years agoExplicitly set tx_type for sub8x8 blocks
Debargha Mukherjee [Mon, 8 Feb 2016 23:59:17 +0000 (15:59 -0800)]
Explicitly set tx_type for sub8x8 blocks

Fixes an issue where the tx_type was not set correctly for
sub8x8 inter and intra blocks. In the current syntax, for
sub8x8 blocks, there is still a single tx_type that is
transmitted. Ideally, this should be searched for the best
rd performance, albeit at the expense of encode speed.
For now, we just set it to DCT_DCT. Previously it was left
incorrectly as what was used for the previous non sub8x8
block.

derflr: BDRATE -0.277%

Change-Id: If76ba903bfbfd4d374cf1ac7d1daee50e92f0edd

8 years agoBUG FIX: undefined reference to `vp9_scale_and_extend_frame_c'
Scott LaVarnway [Mon, 8 Feb 2016 21:42:56 +0000 (13:42 -0800)]
BUG FIX: undefined reference to `vp9_scale_and_extend_frame_c'

See https://bugs.chromium.org/p/webm/issues/detail?id=1145

Change-Id: I778ee07dc39a524e3f729bef47a7abeed51e0cee

8 years agovp9-denoiser: Allow for checking skin for bsize <=32x32.
Marco [Mon, 8 Feb 2016 20:59:54 +0000 (12:59 -0800)]
vp9-denoiser: Allow for checking skin for bsize <=32x32.

Change-Id: I6c99ac6fd3735e24cf668479c55bff313c0b4970

8 years agoMerge "Account for sub8x8 block skip mode cost in RD decision"
Jingning Han [Mon, 8 Feb 2016 19:40:01 +0000 (19:40 +0000)]
Merge "Account for sub8x8 block skip mode cost in RD decision"

8 years agoAccount for sub8x8 block skip mode cost in RD decision
Jingning Han [Mon, 8 Feb 2016 17:56:34 +0000 (09:56 -0800)]
Account for sub8x8 block skip mode cost in RD decision

Make this consistent with regular block size rate-distortion
optimization. It improves the compression performance:
derf    0.055%
hevcmr  0.129%

Change-Id: I112fe734f592c21bc7aa6efb7e3f269c4214ee7b

8 years agoClean up in vp9_rd_pick_inter_mode_sb
Jingning Han [Mon, 8 Feb 2016 17:30:50 +0000 (09:30 -0800)]
Clean up in vp9_rd_pick_inter_mode_sb

Use local variable.

Change-Id: I0d3df36cf4536958a0cda422f6c30da50f0e0bbf

8 years agovp8: fix build with mingw+pthreads
James Zern [Sat, 6 Feb 2016 05:08:45 +0000 (21:08 -0800)]
vp8: fix build with mingw+pthreads

Change-Id: Icc34a00759c95b7b8ac356cdcc4adae848b61431

8 years agovp9-dynamic resize: On a resize trigger frame refresh alt_ref.
Marco [Fri, 5 Feb 2016 23:43:42 +0000 (15:43 -0800)]
vp9-dynamic resize: On a resize trigger frame refresh alt_ref.

For 1 pass real-time mode. No change in behavior as only last
and golden are used as references in 1 pass real-time mode.

Change-Id: Ie4655014eee1a8b271542f29d74b2c6f7fed54c9

8 years agointrapred/d135: flatten border results before storing
James Zern [Fri, 5 Feb 2016 20:31:48 +0000 (12:31 -0800)]
intrapred/d135: flatten border results before storing

the results along the top and left border are then stored with a moving
window into the vector.
~40-67% faster on ARM, ~40-77+% on x86 depending on the block size.

Change-Id: Iab369aa2946a3ae4eb7290d512868fe5db92dbc8

8 years agoFix an uninitialized warning.
Alex Converse [Fri, 5 Feb 2016 17:52:53 +0000 (09:52 -0800)]
Fix an uninitialized warning.

Change-Id: I3ac1070df2948f6d8637ade7192400be53a7675c

8 years agovp9_aq_cyclicrefresh: fix unused-function warning
James Zern [Fri, 5 Feb 2016 19:44:57 +0000 (11:44 -0800)]
vp9_aq_cyclicrefresh: fix unused-function warning

delete apply_cyclic_refresh_bitrate(). unused since:
3472cbb vp9 aq-mode=3: Keep it on even at low bitrates.

Change-Id: I0fac9a31b59504e31000ac3a8f0b68e8d4320113

8 years agoMerge "vp9 aq-mode=3: Keep it on even at low bitrates."
Marco Paniconi [Fri, 5 Feb 2016 16:38:41 +0000 (16:38 +0000)]
Merge "vp9 aq-mode=3: Keep it on even at low bitrates."

8 years agoMerge "configure: enable -Wunused-function by default"
James Zern [Fri, 5 Feb 2016 02:45:56 +0000 (02:45 +0000)]
Merge "configure: enable -Wunused-function by default"

8 years agoMerge "Vidyo patch: Optimization for 1-to-2 downsampling and upsampling."
James Zern [Fri, 5 Feb 2016 02:36:03 +0000 (02:36 +0000)]
Merge "Vidyo patch: Optimization for 1-to-2 downsampling and upsampling."

8 years agovp9 aq-mode=3: Keep it on even at low bitrates.
Marco [Fri, 5 Feb 2016 01:10:25 +0000 (17:10 -0800)]
vp9 aq-mode=3: Keep it on even at low bitrates.

Change-Id: I6a27db6b9dbe3d8cb3d47ef30fbd52557171cadd

8 years agoVidyo patch: Optimization for 1-to-2 downsampling and upsampling.
Scott LaVarnway [Thu, 4 Feb 2016 22:50:26 +0000 (14:50 -0800)]
Vidyo patch: Optimization for 1-to-2 downsampling and upsampling.

Change-Id: I9cc9780f506e025aea57485a9e21f0835faf173c

8 years agoDefine a macro to replace hardcoded values
Zoe Liu [Thu, 4 Feb 2016 13:33:22 +0000 (05:33 -0800)]
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

8 years agoconfigure: enable -Wunused-function by default
James Zern [Tue, 2 Feb 2016 04:52:16 +0000 (20:52 -0800)]
configure: enable -Wunused-function by default

when INLINE is defined and mips is not being targeted. otherwise keep
the old --enable-extra-warnings behavior

Change-Id: Iba576edbe5fca03efa56ce99eee11f9cafc573ad

8 years agofdct8x8_test:: quiet unused-function warning
James Zern [Thu, 4 Feb 2016 07:04:42 +0000 (23:04 -0800)]
fdct8x8_test:: quiet unused-function warning

in non-x86 builds

Change-Id: I9f6fa40d27f95a4afe92444f71c23dc9a15db466

8 years agoMerge changes from topic 'dead-code'
James Zern [Thu, 4 Feb 2016 06:25:44 +0000 (06:25 +0000)]
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

8 years agoMerge changes I1171e9c7,I77292e11,I1678ab48,Id7a2c345
James Zern [Thu, 4 Feb 2016 03:43:49 +0000 (03:43 +0000)]
Merge changes I1171e9c7,I77292e11,I1678ab48,Id7a2c345

* changes:
  dct16x16_test: quiet unused-function warning
  intrapred: protect functions w/CONFIG check x2
  dct32x32_test: remove unused function
  tests: quiet some warnings w/--disable-webm-io

8 years agoMerge "vp9-skinmap. Some adjustments for model=1."
Marco Paniconi [Wed, 3 Feb 2016 23:34:07 +0000 (23:34 +0000)]
Merge "vp9-skinmap. Some adjustments for model=1."

8 years agovp9-skinmap. Some adjustments for model=1.
Marco [Wed, 3 Feb 2016 22:21:59 +0000 (14:21 -0800)]
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

8 years agoMerge "Use precise rate cost estimate for skip block mode"
Jingning Han [Wed, 3 Feb 2016 20:40:10 +0000 (20:40 +0000)]
Merge "Use precise rate cost estimate for skip block mode"

8 years agoUse precise rate cost estimate for skip block mode
Jingning Han [Wed, 3 Feb 2016 19:07:43 +0000 (11:07 -0800)]
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

8 years agoMerge "Fix some interger overflow errors"
Hui Su [Wed, 3 Feb 2016 18:12:26 +0000 (18:12 +0000)]
Merge "Fix some interger overflow errors"

8 years agoMerge "Add high bit depth args to arg list"
Hui Su [Wed, 3 Feb 2016 05:49:35 +0000 (05:49 +0000)]
Merge "Add high bit depth args to arg list"

8 years agodct16x16_test: quiet unused-function warning
James Zern [Wed, 3 Feb 2016 03:42:19 +0000 (19:42 -0800)]
dct16x16_test: quiet unused-function warning

in non-x86 builds

Change-Id: I1171e9c7e7ea5bcdea70bf5e3d28b07d6bb5578f

8 years agointrapred: protect functions w/CONFIG check x2
James Zern [Wed, 3 Feb 2016 03:38:37 +0000 (19:38 -0800)]
intrapred: protect functions w/CONFIG check x2

high-bitdepth version
d207e, d63e, d45e are only used with CONFIG_MISC_FIXES

Change-Id: I77292e11f51fd76d4127fd0027f876866bcf8675

8 years agodct32x32_test: remove unused function
James Zern [Wed, 3 Feb 2016 03:37:22 +0000 (19:37 -0800)]
dct32x32_test: remove unused function

idct32x32_8

Change-Id: I1678ab48639cc54be4c9294479de01beced9e1e9

8 years agotests: quiet some warnings w/--disable-webm-io
James Zern [Wed, 3 Feb 2016 03:32:25 +0000 (19:32 -0800)]
tests: quiet some warnings w/--disable-webm-io

unused-functions/variables

Change-Id: Id7a2c345442129d84ec1482e38fcdc4bc9eaad7d

8 years agoAdd high bit depth args to arg list
hui su [Wed, 3 Feb 2016 02:03:39 +0000 (18:03 -0800)]
Add high bit depth args to arg list

So that their usage info. will show up with --help.

Change-Id: I8542240dcc98e8be29ac63d081f5abb932627cbf

8 years agoyv12config.c: remove dead CONFIG_ALPHA code
James Zern [Wed, 3 Feb 2016 02:06:05 +0000 (18:06 -0800)]
yv12config.c: remove dead CONFIG_ALPHA code

the rest was removed with:
5926e7c Remove unfinished VP9 alpha channel.

Change-Id: I0c1d92765e5334e1380ad027b069b401e4ae9b8f

8 years agovp9_encoder.c: remove unused macro
James Zern [Wed, 3 Feb 2016 01:56:50 +0000 (17:56 -0800)]
vp9_encoder.c: remove unused macro

SHARP_FILTER_QTHRESH

unused since:
5373119 Merging in the Switchable interp experiment

Change-Id: I9ccc1883828babffd1886810b59aa16aca4766bf

8 years agovpx_mem.c: remove unused macro
James Zern [Wed, 3 Feb 2016 01:56:04 +0000 (17:56 -0800)]
vpx_mem.c: remove unused macro

__VPX_MEM_C__

unused since:
f58011a vpx_mem: remove vpx_memset

Change-Id: I820c972c4165275ddf21c1687748409818a7f2af

8 years agovp9_svc_layercontext.c: relocate a macro definition
James Zern [Wed, 3 Feb 2016 01:51:25 +0000 (17:51 -0800)]
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

8 years agovp9_encoder.c: protect SNPRINT* macros w/CONFIG check
James Zern [Wed, 3 Feb 2016 01:50:42 +0000 (17:50 -0800)]
vp9_encoder.c: protect SNPRINT* macros w/CONFIG check

these are only used with CONFIG_INTERNAL_STATS

Change-Id: Ibbcefbdc1db79d93f75e5865289f9960a8c2358a

8 years agovp9_aq_360.c: remove some unused macros
James Zern [Wed, 3 Feb 2016 01:46:44 +0000 (17:46 -0800)]
vp9_aq_360.c: remove some unused macros

ENERGY_MIN
ENERGY_MAX
ENERGY_SPAN
ENERGY_IN_BOUNDS

unused since first commit

Change-Id: I5507d36487aaee3e64f7a5fba582791ef9a533b0

8 years agovp9_diamond_search_sad_avx.c: rename (un)likely macros
James Zern [Wed, 3 Feb 2016 01:44:02 +0000 (17:44 -0800)]
vp9_diamond_search_sad_avx.c: rename (un)likely macros

avoid using '__' this is a reserved namespace for the compiler

Change-Id: I7d2be4dba2bdddc6f1010a16ad9e59a2e211b064

8 years agovp9_resize.c: add missing include
James Zern [Wed, 3 Feb 2016 01:43:33 +0000 (17:43 -0800)]
vp9_resize.c: add missing include

Change-Id: I429e3c80216102ed0a85ce348ecac0bf1e1e28eb

8 years agovp9_aq_complexity.c: remove unused macros
James Zern [Wed, 3 Feb 2016 01:42:07 +0000 (17:42 -0800)]
vp9_aq_complexity.c: remove unused macros

DEFAULT_COMPLEXITY
VAR_STRENGTH_STEP

unused since first commit

Change-Id: I4a47544098caf0d72e571633b7776146be88237c

8 years agovp9_detokenize.c: remove unused macros
James Zern [Wed, 3 Feb 2016 01:41:17 +0000 (17:41 -0800)]
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

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 changes I4a365757,I14a3b328
James Zern [Wed, 3 Feb 2016 00:51:42 +0000 (00:51 +0000)]
Merge changes I4a365757,I14a3b328

* changes:
  vp10: remove unused (read|write)_uniform
  vp9_denoiser: mark total_adj_strong_thresh inline

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 agovp10: remove unused (read|write)_uniform
James Zern [Tue, 2 Feb 2016 07:47:35 +0000 (23:47 -0800)]
vp10: remove unused (read|write)_uniform

dead code since:
5d3327e Remove palette from VP10

Change-Id: I4a36575706ea6fffefe5bc778595112ef6ff37d8

8 years agovp9_denoiser: mark total_adj_strong_thresh inline
James Zern [Tue, 2 Feb 2016 07:47:02 +0000 (23:47 -0800)]
vp9_denoiser: mark total_adj_strong_thresh inline

avoids -Wunused-function warnings when INLINE is set

Change-Id: I14a3b32837d358516b7702a2fb804bec010bb5c6

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