]> granicus.if.org Git - libvpx/log
libvpx
5 years agoMerge "Move vp9_alloc_motion_field_info"
Angie Chiang [Wed, 18 Sep 2019 21:52:06 +0000 (21:52 +0000)]
Merge "Move vp9_alloc_motion_field_info"

5 years agoMove vp9_alloc_motion_field_info
Angie Chiang [Wed, 18 Sep 2019 01:11:01 +0000 (18:11 -0700)]
Move vp9_alloc_motion_field_info

Move vp9_alloc_motion_field_info out of init_tpl_buffer, so that
vp9_alloc_motion_field_info will be called even though there is
not alternate reference frame.

This fix the crash with shields_720p50 at bitrate 2000

Change-Id: If2877e8d0b8a834556be12d239b7b58ad1fc8c73

5 years agoFix msan on svc tests.
Jerome Jiang [Fri, 13 Sep 2019 22:20:42 +0000 (15:20 -0700)]
Fix msan on svc tests.

BUG=b/140939146

Change-Id: Ib3e714f01c58fc0452c7e1adfc8fd3f1d9f8e0a0

5 years agoMerge "vp9_quantize_sse2: quiet clang-7 integer sanitizer warning"
James Zern [Wed, 11 Sep 2019 18:19:07 +0000 (18:19 +0000)]
Merge "vp9_quantize_sse2: quiet clang-7 integer sanitizer warning"

5 years agovpx_clear_system_state after drop due to overshoot
Jerome Jiang [Tue, 10 Sep 2019 23:42:32 +0000 (16:42 -0700)]
vpx_clear_system_state after drop due to overshoot

BUG=999780

Change-Id: I096fdc22812eab22a38a33135c0cbe60a6e64add

5 years agovp9_quantize_sse2: quiet clang-7 integer sanitizer warning
James Zern [Tue, 10 Sep 2019 22:48:04 +0000 (15:48 -0700)]
vp9_quantize_sse2: quiet clang-7 integer sanitizer warning

nzflag is used as a boolean, it doesn't need to be a sized type, int is
enough (and _mm_movemask_epi8 returns one)

fixes:
vp9_quantize_sse2.c:136:16: implicit conversion from type
'int' of value 65535 (32-bit, signed) to type 'int16_t' (aka 'short')
changed the value to -1 (16-bit, signed)

BUG=webm:1649

Change-Id: I0e3f5278af49d84760f3dfb607f28099cf02f21d

5 years agovp9-svc: Add new frame drop mode for SVC
Marco Paniconi [Fri, 30 Aug 2019 17:58:15 +0000 (10:58 -0700)]
vp9-svc: Add new frame drop mode for SVC

add SVC framedrop mode: Lower spatial layers
are constrained to drop if current spatial layer
needs to drop.

No change in behavior to other existing modes.

Change-Id: I2d37959caf8c4b453b405904831b550367f716ba

5 years agoMerge "Don't generate mv refs that won't be used"
James Zern [Fri, 6 Sep 2019 08:00:46 +0000 (08:00 +0000)]
Merge "Don't generate mv refs that won't be used"

5 years agoMerge "Upload Motion Field Estimation Unit Test Files"
Angie Chiang [Tue, 3 Sep 2019 18:23:23 +0000 (18:23 +0000)]
Merge "Upload Motion Field Estimation Unit Test Files"

5 years agoReport failure of vp9_alloc_motion_field_info
Angie Chiang [Fri, 30 Aug 2019 23:20:36 +0000 (16:20 -0700)]
Report failure of vp9_alloc_motion_field_info

Change-Id: I87f2a8dbf4e89b1cc8526307e82812aea6ac137e

5 years agoUpload Motion Field Estimation Unit Test Files
Dan Zhu [Fri, 30 Aug 2019 20:20:46 +0000 (13:20 -0700)]
Upload Motion Field Estimation Unit Test Files

Change-Id: Ia8f9e9dca562183ff188cd29dfc7ba3435d77900

5 years agoFree set_mv properly
Angie Chiang [Fri, 30 Aug 2019 01:30:40 +0000 (18:30 -0700)]
Free set_mv properly

Change-Id: I9b1830dc16189678121c860e0493ed8b04c512a8

5 years agoDon't generate mv refs that won't be used
Alex Converse [Fri, 28 Jun 2019 19:26:20 +0000 (12:26 -0700)]
Don't generate mv refs that won't be used

Spends 25% less time in dec_find_mv_refs for
grass_1_1280X768_fr30_bd8_sub8X8_l31.webm saving 0.7% overall.

Change-Id: I658bb5d6dd8ac82a568c7823dea3f4947ad7ed73

5 years agoMerge "Move motion field from TplDepFrame to MotionField"
Angie Chiang [Thu, 29 Aug 2019 00:35:27 +0000 (00:35 +0000)]
Merge "Move motion field from TplDepFrame to MotionField"

5 years agoMerge "Add resize test for smaller width bigger size."
Jerome Jiang [Wed, 28 Aug 2019 23:41:13 +0000 (23:41 +0000)]
Merge "Add resize test for smaller width bigger size."

5 years agoMerge "vpx_dsp/x86/highbd_idct4x4_add_sse2: fix int sanitizer warnings"
Hien Ho [Wed, 28 Aug 2019 20:41:16 +0000 (20:41 +0000)]
Merge "vpx_dsp/x86/highbd_idct4x4_add_sse2: fix int sanitizer warnings"

5 years agoMove motion field from TplDepFrame to MotionField
Angie Chiang [Fri, 23 Aug 2019 00:55:19 +0000 (17:55 -0700)]
Move motion field from TplDepFrame to MotionField

Replace get_pyramid_mv by vp9_motion_field_mi_get_mv.

The goal is to modularize motion field related operations.

Change-Id: I33084e680567ab106659ba9389cc4b507b893c69

5 years agoMerge changes I0fad9437,I79fcb1fd,I93660044
Angie Chiang [Wed, 28 Aug 2019 20:38:20 +0000 (20:38 +0000)]
Merge changes I0fad9437,I79fcb1fd,I93660044

* changes:
  Add MACRO MAX_INTER_REF_FRAMES
  Add motion_filed_info in VP9_COMP
  Add free_tpl_buffer

5 years agoAdd resize test for smaller width bigger size.
Jerome Jiang [Wed, 28 Aug 2019 17:22:04 +0000 (10:22 -0700)]
Add resize test for smaller width bigger size.

Stack trace is the same as that in the bug.

BUG=webm:1642

Change-Id: I9d88c18a40af8df4a679727620070b13f1606f14

5 years agovpx_dsp/x86/highbd_idct4x4_add_sse2: fix int sanitizer warnings
Hien Ho [Wed, 28 Aug 2019 18:18:01 +0000 (11:18 -0700)]
vpx_dsp/x86/highbd_idct4x4_add_sse2: fix int sanitizer warnings

implicit conversion from type 'int' of value 49161 (32-bit, signed) to
type 'int16_t' (aka 'short') changed the value to -16375 (16-bit,
signed)

BUG=webm:1615

Change-Id: I3f18283609ac2ce365202a63ef61a47eb00c155b

5 years agoMerge "vp8/encoder/vp8_quantize: fix int sanitizer warnings"
Hien Ho [Wed, 28 Aug 2019 16:28:41 +0000 (16:28 +0000)]
Merge "vp8/encoder/vp8_quantize: fix int sanitizer warnings"

5 years agoAdd MACRO MAX_INTER_REF_FRAMES
Angie Chiang [Wed, 21 Aug 2019 23:04:40 +0000 (16:04 -0700)]
Add MACRO MAX_INTER_REF_FRAMES

Use MAX_INTER_REF_FRAMES wheneve it's suitable

Change-Id: I0fad94371a6600099313685cbe38faebb44178c4

5 years agoAdd motion_filed_info in VP9_COMP
Angie Chiang [Wed, 21 Aug 2019 22:49:13 +0000 (15:49 -0700)]
Add motion_filed_info in VP9_COMP

Call vp9_alloc_motion_field_info and
vp9_free_motion_field_info properly

Change-Id: I79fcb1fd37ee5e95bf7febb728480583ebd5a065

5 years agoAdd free_tpl_buffer
Angie Chiang [Wed, 21 Aug 2019 01:43:45 +0000 (18:43 -0700)]
Add free_tpl_buffer

Change-Id: I93660044880ec08dc716138d492c757d510e0952

5 years agoMerge "Cosmetic changes to vp9_alloc_motion_field_info"
Angie Chiang [Tue, 27 Aug 2019 21:44:26 +0000 (21:44 +0000)]
Merge "Cosmetic changes to vp9_alloc_motion_field_info"

5 years agovp8/encoder/vp8_quantize: fix int sanitizer warnings
Hien Ho [Tue, 13 Aug 2019 23:32:23 +0000 (16:32 -0700)]
vp8/encoder/vp8_quantize: fix int sanitizer warnings

 implicit conversion from type 'int' of value 65536
 (32-bit, signed) to type 'short' changed the value to 0 (16-bit, signed)

 BUG=webm:1615

Change-Id: I6a04e57bd3272934de9c75fab60a1620ff6c3636

5 years agoMerge "test/acm_random.h: int sanitizer warning"
Hien Ho [Tue, 27 Aug 2019 19:05:19 +0000 (19:05 +0000)]
Merge "test/acm_random.h: int sanitizer warning"

5 years agoCosmetic changes to vp9_alloc_motion_field_info
Angie Chiang [Tue, 20 Aug 2019 23:51:47 +0000 (16:51 -0700)]
Cosmetic changes to vp9_alloc_motion_field_info

Change-Id: I6808ac11a9a0f2137b30ae66773f6e3dcccef77d

5 years agotest/acm_random.h: int sanitizer warning
Hien Ho [Fri, 9 Aug 2019 19:21:17 +0000 (12:21 -0700)]
test/acm_random.h: int sanitizer warning

runtime error: implicit conversion from type 'int' of value
-61240 (32-bit, signed) to type 'int16_t' (aka 'short') changed the
value to 4296 (16-bit, signed)

BUG=webm:1615

Change-Id: I213fc153f0df9ea46737a7fb98d909e670125724

5 years agoMerge "Add Search Smooth Models[Adapt/Fix]"
Dan Zhu [Fri, 23 Aug 2019 19:01:00 +0000 (19:01 +0000)]
Merge "Add Search Smooth Models[Adapt/Fix]"

5 years agoMerge "Add Anandan model"
Dan Zhu [Fri, 23 Aug 2019 19:00:54 +0000 (19:00 +0000)]
Merge "Add Anandan model"

5 years agoMerge "Fix some bugs of python code"
Dan Zhu [Fri, 23 Aug 2019 19:00:47 +0000 (19:00 +0000)]
Merge "Fix some bugs of python code"

5 years agoMerge changes I13f59f52,I7441e041,I7441e041
Dan Zhu [Fri, 23 Aug 2019 19:00:32 +0000 (19:00 +0000)]
Merge changes I13f59f52,I7441e041,I7441e041

* changes:
  add unit test for local structure computation
  add unit test for smooth motion field
  modify smooth model(float type mv + normalization)

5 years agoMerge "Let do_motion_search process one ref at at time"
Angie Chiang [Fri, 23 Aug 2019 18:30:58 +0000 (18:30 +0000)]
Merge "Let do_motion_search process one ref at at time"

5 years agoMerge "vpx_dsp/loopfilter.c: fix int sanitizer warnings"
Hien Ho [Fri, 23 Aug 2019 18:20:21 +0000 (18:20 +0000)]
Merge "vpx_dsp/loopfilter.c: fix int sanitizer warnings"

5 years agoAdd Search Smooth Models[Adapt/Fix]
Dan Zhu [Fri, 23 Aug 2019 01:21:27 +0000 (18:21 -0700)]
Add Search Smooth Models[Adapt/Fix]

Change-Id: Ia88d16a14b0525d880ac17a133700431949ece31

5 years agoAdd Anandan model
Dan Zhu [Fri, 23 Aug 2019 01:20:38 +0000 (18:20 -0700)]
Add Anandan model

Change-Id: Ic3450125c83b41e7e4a953093b4d8177f04d220a

5 years agoFix some bugs of python code
Dan Zhu [Fri, 23 Aug 2019 01:15:07 +0000 (18:15 -0700)]
Fix some bugs of python code

Change-Id: I509cbda24d7d0c8dac75209efa40e24c09a107c5

Exhaust: add exhaust search with neighbor constraint
GroundTruth: be able to import motion field variable
MotionEST: use new function names
Util: be able to set the size of image
Change-Id: I36cfdf4b1f28b8190b3ad2be61c241da1347cfc3

5 years agotest/vp9_quantize_test: fix int sanitizer warning
Hien Ho [Fri, 16 Aug 2019 22:48:32 +0000 (15:48 -0700)]
test/vp9_quantize_test: fix int sanitizer warning

implicit conversion from type 'int' of value 42126 (32-bit, signed)
to type 'tran_low_t' (aka 'short') changed the value to -23410 (16-bit, signed)

BUG=webm:1615

Change-Id: I339c640fce81e9f2dd73ef9c9bee084b6a5638dc

5 years agovpx_dsp/loopfilter.c: fix int sanitizer warnings
Hien Ho [Mon, 12 Aug 2019 21:20:22 +0000 (14:20 -0700)]
vpx_dsp/loopfilter.c: fix int sanitizer warnings

implicit conversion from type 'int' of value -139 (32-bit, signed)
to type 'int8_t' (aka 'signed char') changed the value to 117 (8-bit, signed)

BUG=webm:1615

Change-Id: Ic64959759f4a188087aa24bedbae5f9fa60674ad

5 years agoMerge "vpx_dsp/x86/fwd_txfm_sse2: fix int sanitizer warnings"
Hien Ho [Thu, 22 Aug 2019 23:11:37 +0000 (23:11 +0000)]
Merge "vpx_dsp/x86/fwd_txfm_sse2: fix int sanitizer warnings"

5 years agoadd unit test for local structure computation
Dan Zhu [Thu, 22 Aug 2019 21:11:20 +0000 (14:11 -0700)]
add unit test for local structure computation

Change-Id: I13f59f529204070faf076144124069c3b1180633

5 years agoadd unit test for smooth motion field
Dan Zhu [Tue, 20 Aug 2019 16:16:17 +0000 (09:16 -0700)]
add unit test for smooth motion field

Change-Id: I7441e04190b8a797f3863166e95b3b6c9924ab51

5 years agomodify smooth model(float type mv + normalization)
Dan Zhu [Tue, 20 Aug 2019 16:16:17 +0000 (09:16 -0700)]
modify smooth model(float type mv + normalization)

Change-Id: I7441e04190b8a797f3863166e95b3b6c9924ab50

5 years agoupdate libwebm to libwebm-1.0.0.27-363-g37d9b86
James Zern [Thu, 22 Aug 2019 19:37:40 +0000 (12:37 -0700)]
update libwebm to libwebm-1.0.0.27-363-g37d9b86

clears a compiler warning

changelog:
https://chromium.googlesource.com/webm/libwebm/+log/81de00c..37d9b86

Change-Id: I7a9cce81cb193305220059b12071019d46155be2

5 years agoMerge "vp8/encoder/bitstream: fix int sanitizer warnings"
Hien Ho [Wed, 21 Aug 2019 22:14:33 +0000 (22:14 +0000)]
Merge "vp8/encoder/bitstream: fix int sanitizer warnings"

5 years agoMerge "test/lpf_test: fix int sanitizer warning"
Hien Ho [Wed, 21 Aug 2019 22:13:35 +0000 (22:13 +0000)]
Merge "test/lpf_test: fix int sanitizer warning"

5 years agovpx_dsp/x86/fwd_txfm_sse2: fix int sanitizer warnings
Hien Ho [Wed, 21 Aug 2019 20:34:14 +0000 (13:34 -0700)]
vpx_dsp/x86/fwd_txfm_sse2: fix int sanitizer warnings

implicit conversion from type 'int' of value 32768 (32-bit, signed)
to type 'short' changed the value to -32768 (16-bit, signed)

BUG=webm:1615

Change-Id: I7cdba7f7e550f62fd3ac31574e49b1909b6ab054

5 years agoUpdate documentation: CRF works with VPX_Q mode
elliottk [Wed, 21 Aug 2019 00:26:54 +0000 (17:26 -0700)]
Update documentation: CRF works with VPX_Q mode

Tested that if VPX_Q is set, this variable will still be used
to pull the CRF value.

Change-Id: I065a219a7acd18b50478d4d0d3dc7ba5e1c90901

5 years agoMerge "Add [full/sub]_pixel_motion_search"
Angie Chiang [Tue, 20 Aug 2019 18:04:42 +0000 (18:04 +0000)]
Merge "Add [full/sub]_pixel_motion_search"

5 years agoMerge "Add 6:1:1 weighted PSNR to opsnr.stt"
Yue Chen [Tue, 20 Aug 2019 17:38:25 +0000 (17:38 +0000)]
Merge "Add 6:1:1 weighted PSNR to opsnr.stt"

5 years agoLet do_motion_search process one ref at at time
Angie Chiang [Tue, 20 Aug 2019 00:50:55 +0000 (17:50 -0700)]
Let do_motion_search process one ref at at time

Change-Id: Iee3f2d1fbeddeee27400edb6fe1519c39352901d

5 years agoAdd [full/sub]_pixel_motion_search
Angie Chiang [Fri, 16 Aug 2019 22:40:35 +0000 (15:40 -0700)]
Add [full/sub]_pixel_motion_search

Change-Id: Idcd3c3178f583b8584e2b34ca2fbe96337feaadd

5 years agoAdd MotionField and MotionFieldInfo
Angie Chiang [Fri, 16 Aug 2019 21:17:18 +0000 (14:17 -0700)]
Add MotionField and MotionFieldInfo

Also add related buffer alloc/free functions.

Change-Id: I77dde3dd991f6b21b5c2c1ffa72300ce7738fd50

5 years agoAdd temporary motion_compensated_prediction_new
Angie Chiang [Fri, 16 Aug 2019 18:01:28 +0000 (11:01 -0700)]
Add temporary motion_compensated_prediction_new

Temporarily add motion_compensated_prediction_new() to
decouple non_greedy_mv's motion search from baseline.

We need to decouple non_greedy_mv's full pixel motion search and
sub pixel motion search

Change-Id: I1a0e4a170c19b5b718e9d19b62268b520105a0ef

5 years agoMerge "estimate local variation of reference frame"
Dan Zhu [Fri, 16 Aug 2019 17:52:34 +0000 (17:52 +0000)]
Merge "estimate local variation of reference frame"

5 years agoMerge "smooth motion field"
Dan Zhu [Fri, 16 Aug 2019 17:52:10 +0000 (17:52 +0000)]
Merge "smooth motion field"

5 years agoestimate local variation of reference frame
Dan Zhu [Wed, 14 Aug 2019 20:51:29 +0000 (13:51 -0700)]
estimate local variation of reference frame

Change-Id: I4218057403ad4f565ee2dcb5403ecaae17af7e26

5 years agosmooth motion field
Dan Zhu [Wed, 14 Aug 2019 20:55:08 +0000 (13:55 -0700)]
smooth motion field

Change-Id: I1e8273fa65f7655e49f626863fe457efef23fb54

5 years agoAdd test_non_greedy_mv.cc
Angie Chiang [Thu, 15 Aug 2019 23:00:18 +0000 (16:00 -0700)]
Add test_non_greedy_mv.cc

Change-Id: I7862d39ae52ab016bf6c3ba3aa4b8b1d9760cf27

5 years agoAdd 6:1:1 weighted PSNR to opsnr.stt
Yue Chen [Mon, 12 Aug 2019 23:56:24 +0000 (16:56 -0700)]
Add 6:1:1 weighted PSNR to opsnr.stt

Change-Id: I6f519ff99bacbe6968d9271a224cc2cbc0958cd8

5 years agovp8/encoder/bitstream: fix int sanitizer warnings
Hien Ho [Mon, 12 Aug 2019 22:26:43 +0000 (15:26 -0700)]
vp8/encoder/bitstream: fix int sanitizer warnings

implicit conversion from type 'unsigned int' of value 256
(32-bit, unsigned) to type 'unsigned char' changed the value to
0 (8-bit, unsigned)

BUG=webm:1615

Change-Id: I2b630bf22cad28b5a7a8a37f6938e6ebe12bc64e

5 years agotest/lpf_test: fix int sanitizer warning
Hien Ho [Fri, 9 Aug 2019 23:33:57 +0000 (16:33 -0700)]
test/lpf_test: fix int sanitizer warning

runtime error: implicit conversion from type 'int' of value 65594 (32-bit, signed)
to type 'uint16_t' (aka 'unsigned short') changed the value to 58 (16-bit, unsigned)

BUG=webm:1615

Change-Id: I6046a4a4fc0a108c337153f2c59d5cef5c8dcbd6

5 years agoMerge "vp9_rdopt: fix integer sanitizer warnings"
Hien Ho [Mon, 12 Aug 2019 18:28:11 +0000 (18:28 +0000)]
Merge "vp9_rdopt: fix integer sanitizer warnings"

5 years agoMerge "Fix vp9_quantize_fp(_32x32)_neon for HBD"
Jerome Jiang [Tue, 6 Aug 2019 04:07:16 +0000 (04:07 +0000)]
Merge "Fix vp9_quantize_fp(_32x32)_neon for HBD"

5 years agoFix vp9_quantize_fp(_32x32)_neon for HBD
Jerome Jiang [Mon, 5 Aug 2019 22:38:39 +0000 (15:38 -0700)]
Fix vp9_quantize_fp(_32x32)_neon for HBD

In high bitdepth build, Neon code would outrange because of use of
int16x8_t and vmulq_s16.
C code always truncate outrange values.

Change-Id: I33a968b8d812e3c8477f3a61d84482758a3f8b21

5 years agoMerge "vp8/encoder/boolhuff: fix integer sanitizer warnings"
Hien Ho [Fri, 2 Aug 2019 20:34:03 +0000 (20:34 +0000)]
Merge "vp8/encoder/boolhuff: fix integer sanitizer warnings"

5 years agoMerge "Fix saturation issue in vp9_quantize_fp_neon"
Jerome Jiang [Fri, 2 Aug 2019 17:04:44 +0000 (17:04 +0000)]
Merge "Fix saturation issue in vp9_quantize_fp_neon"

5 years agoMerge "vp9_svc_layercontext.c: fix integer sanitizer warnings"
Hien Ho [Fri, 2 Aug 2019 15:41:17 +0000 (15:41 +0000)]
Merge "vp9_svc_layercontext.c: fix integer sanitizer warnings"

5 years agoMerge "vpx_dsp/bitwriter.h: fix clang integer sanitizer warning"
Hien Ho [Fri, 2 Aug 2019 15:40:47 +0000 (15:40 +0000)]
Merge "vpx_dsp/bitwriter.h: fix clang integer sanitizer warning"

5 years agoFix saturation issue in vp9_quantize_fp_neon
Jerome Jiang [Thu, 1 Aug 2019 17:48:35 +0000 (10:48 -0700)]
Fix saturation issue in vp9_quantize_fp_neon

Change-Id: I7850a5c5aea3633e50e9a2efc8116b9e16383a8f

5 years agoReduce call num of exhaustive search
Angie Chiang [Mon, 22 Jul 2019 22:16:08 +0000 (15:16 -0700)]
Reduce call num of exhaustive search

The encoding time difference between non_greedy_mv and baseline
is reduced from 51% to 13%

However, there is also a performance impact.

non_greedy_mv performance:
Before this CL
lowres 0.395% midres 0.716% hdres 0.533%
After this CL
lowres 0.242% midres 0.429% hdres 0.305%

Change-Id: I047d6509df504b264981c0b903c0cc955f45b273

5 years agoMerge "Cosmetic changes of vp9_nb_mvs_inconsistency"
Angie Chiang [Wed, 31 Jul 2019 22:03:27 +0000 (22:03 +0000)]
Merge "Cosmetic changes of vp9_nb_mvs_inconsistency"

5 years agoMerge "Change the child classes methods names to align with parent's"
Angie Chiang [Wed, 31 Jul 2019 19:55:29 +0000 (19:55 +0000)]
Merge "Change the child classes methods names to align with parent's"

5 years agovpx_dsp/bitwriter.h: fix clang integer sanitizer warning
Hien Ho [Thu, 20 Jun 2019 16:40:46 +0000 (09:40 -0700)]
vpx_dsp/bitwriter.h: fix clang integer sanitizer warning

implicit conversion from type 'unsigned int' of value 256 (32-bit, unsigned)
to type 'uint8_t' (aka 'unsigned char') changed the value to 0 (8-bit, unsigned)

BUG=webm:1615

Change-Id: Ia9ac3772021ae492368c650a73846e7d22c8fdfc

5 years agovp9_svc_layercontext.c: fix integer sanitizer warnings
Hien Ho [Tue, 30 Jul 2019 18:28:03 +0000 (11:28 -0700)]
vp9_svc_layercontext.c: fix integer sanitizer warnings

implicit conversion from type 'int' of value -1
(32-bit, signed) to type 'uint8_t' (aka 'unsigned char') changed the
value to 255 (8-bit, unsigned

BUG=webm:1615

Change-Id: If507e73aea4dccd3914b6470f8d15db3b67300ce

5 years agovp9_rdopt: fix integer sanitizer warnings
Hien Ho [Fri, 28 Jun 2019 17:49:05 +0000 (10:49 -0700)]
vp9_rdopt: fix integer sanitizer warnings

implicit conversion from type 'int' of value -9 (32-bit, signed) to type
'uint8_t' (aka 'unsigned char') changed the value to 247 (8-bit, unsigned)

BUG=webm:1615

Change-Id: Ic2254ef4312f349ee38ec6e12a56b2cd5714b101

5 years agosad_test: align exp_sad[]
James Zern [Sat, 27 Jul 2019 17:40:11 +0000 (10:40 -0700)]
sad_test: align exp_sad[]

fixes a crash on win32 in SSE4_1/SAD*

BUG=webm:1637

Change-Id: I9838915dccf8ed435d1326bc43465edd89687c18

5 years agoCosmetic changes of vp9_nb_mvs_inconsistency
Angie Chiang [Wed, 24 Jul 2019 21:04:08 +0000 (14:04 -0700)]
Cosmetic changes of vp9_nb_mvs_inconsistency

Change-Id: I41022a2dca996657b64ffb0ede4df3ab6a466ab6

5 years agoMerge "Add vp9_non_greedy_mv.c/h"
Angie Chiang [Wed, 24 Jul 2019 21:01:42 +0000 (21:01 +0000)]
Merge "Add vp9_non_greedy_mv.c/h"

5 years agoMerge "vp9-rtc: Add intra speed feature for speed >= 8"
Marco Paniconi [Tue, 23 Jul 2019 18:29:48 +0000 (18:29 +0000)]
Merge "vp9-rtc: Add intra speed feature for speed >= 8"

5 years agoMerge "Add Horn & Schunck Estimator"
Dan Zhu [Tue, 23 Jul 2019 18:16:37 +0000 (18:16 +0000)]
Merge "Add Horn & Schunck Estimator"

5 years agoMerge "Add Exhaust Search (Neighbor Constrain) Estimator"
Dan Zhu [Tue, 23 Jul 2019 18:16:24 +0000 (18:16 +0000)]
Merge "Add Exhaust Search (Neighbor Constrain) Estimator"

5 years agoMerge "Add Ground Truth Estimator"
Dan Zhu [Tue, 23 Jul 2019 18:16:11 +0000 (18:16 +0000)]
Merge "Add Ground Truth Estimator"

5 years agoChange the child classes methods names to align with parent's
Dan Zhu [Tue, 23 Jul 2019 17:03:15 +0000 (10:03 -0700)]
Change the child classes methods names to align with parent's

Add comments to explain the coordinate system

Change-Id: Ib87ae479e08b4e3c3e7d9a3d1b4ab30718b42cfd

5 years agoMerge "Based Class of Motion Field Estimators"
Dan Zhu [Tue, 23 Jul 2019 18:09:56 +0000 (18:09 +0000)]
Merge "Based Class of Motion Field Estimators"

5 years agoAdd Horn & Schunck Estimator
Dan Zhu [Thu, 18 Jul 2019 02:44:52 +0000 (19:44 -0700)]
Add Horn & Schunck Estimator

Add Matrix solver
Fix a little bug in MotionEST

Change-Id: I8513475646f4f02df31b245fa750483449de9407

5 years agoAdd Exhaust Search (Neighbor Constrain) Estimator
Dan Zhu [Thu, 18 Jul 2019 02:43:56 +0000 (19:43 -0700)]
Add Exhaust Search (Neighbor Constrain) Estimator

Change-Id: I1e306979a0d308285155c152837125fb2036091a

5 years agoAdd Ground Truth Estimator
Dan Zhu [Thu, 18 Jul 2019 02:36:32 +0000 (19:36 -0700)]
Add Ground Truth Estimator

Change-Id: Iec6c7e49a64610e33a77c7d5d772e6b063a0f1e0

5 years agoBased Class of Motion Field Estimators
Dan Zhu [Wed, 17 Jul 2019 22:20:27 +0000 (15:20 -0700)]
Based Class of Motion Field Estimators

Change-Id: Id01ce15273c0cab0cd61d064099d200708360265

5 years agovp9-rtc: Add intra speed feature for speed >= 8
Marco Paniconi [Mon, 22 Jul 2019 16:49:02 +0000 (09:49 -0700)]
vp9-rtc: Add intra speed feature for speed >= 8

Add intra speed feature to force DC only under intra mode
testing when source sad for superblock is not high.
Feature is only enable at speed >=8. With this feature
enabled at speed 8 we now allow for H/V intra check as
well for speed 8.

This helps to redude artifacts for speed 8, by allowing H/V mode
to be checked for blocks when the superblock has high
source sad/content change.

Change-Id: I0495ce96b4cc844e8c625b5183eef180dbaaaa72

5 years agoMerge "Remove unused fb_cb related fields from VP9_COMMON"
Wan-Teh Chang [Fri, 19 Jul 2019 15:45:55 +0000 (15:45 +0000)]
Merge "Remove unused fb_cb related fields from VP9_COMMON"

5 years agoAdd vp9_non_greedy_mv.c/h
Angie Chiang [Thu, 18 Jul 2019 22:08:02 +0000 (15:08 -0700)]
Add vp9_non_greedy_mv.c/h

Move vp9_nb_mvs_inconsistency to vp9_non_greedy_mv.c
This is to facilitate following SIMD optimizations.

Change-Id: I8eb8f820368928e0c4fb287e557cddf0bd2c763e

5 years agoMerge changes I3216c984,I70d40060
Angie Chiang [Thu, 18 Jul 2019 22:12:12 +0000 (22:12 +0000)]
Merge changes I3216c984,I70d40060

* changes:
  Make vp9_prepare_nb_full_mvs only return valid mvs
  Let vp9_nb_mvs_inconsistency call log2 just once

5 years agoRemove unused fb_cb related fields from VP9_COMMON
Wan-Teh Chang [Thu, 18 Jul 2019 21:37:32 +0000 (14:37 -0700)]
Remove unused fb_cb related fields from VP9_COMMON

Remove the cb_priv, get_fb_cb, release_fb_cb, and int_frame_buffers
fields from the VP9_COMMON struct. They are not being used.

Change-Id: I235194aa8b315cd8ec9405bbba5feb3bee69f7e0

5 years agoMake vp9_prepare_nb_full_mvs only return valid mvs
Angie Chiang [Wed, 17 Jul 2019 19:36:14 +0000 (12:36 -0700)]
Make vp9_prepare_nb_full_mvs only return valid mvs

In this case, vp9_nb_mvs_inconsistency doesn't need to check
whether each neighbor mv is valid or not.

non_greedy_mv encoding time is reduced by 1.5%

Change-Id: I3216c98481e777d5e0b917ea20ee39b7ca9c9d23

5 years agoLet vp9_nb_mvs_inconsistency call log2 just once
Angie Chiang [Wed, 17 Jul 2019 00:49:22 +0000 (17:49 -0700)]
Let vp9_nb_mvs_inconsistency call log2 just once

The bahavior of this function is to compute log2 of mv difference,
i.e. min log2(1 + row_diff * row_diff + col_diff * col_diff)
against available neghbor mvs.
Since the log2 is monotonic increasing, we can compute
min row_diff * row_diff + col_diff * col_diff first
then apply log2 in the end

non_greedy_mv encoding time is reduced by 1.5%

Change-Id: I70d40060e2621daec27229f1f6d9fea0286aa04e

5 years agoMerge "Fix comment typos."
Wan-Teh Chang [Wed, 17 Jul 2019 20:13:10 +0000 (20:13 +0000)]
Merge "Fix comment typos."

5 years agoFix comment typos.
Wan-Teh Chang [Wed, 17 Jul 2019 18:09:55 +0000 (11:09 -0700)]
Fix comment typos.

Fix comment typos in transpose_s16_4x4q() and transpose_u16_4x4q().

Change-Id: I21bcc1fb3fb880798e5a3927c3dbe81dd518c83b

5 years agoAdd vpx_sad32x32x8_c/avx2
Angie Chiang [Sun, 14 Jul 2019 16:20:58 +0000 (09:20 -0700)]
Add vpx_sad32x32x8_c/avx2

Change-Id: I4dbb7b6c8979c39eb6ffb97750e3cca0f4b7921f