Commit Graph

20653 Commits

Author SHA1 Message Date
Angie Chiang
93c95bf3e1 Remove USE_PQSORT and CHANGE_MV_SEARCH_ORDER
Remove the feature_score related code to simplify the code.
The feature_score is incorporated in get_local_structure and will
be integrated in later.
The current non_greedy_mv performances are
lowres: -0.239% midres: -0.569% hdres: -0.365%

Change-Id: Ida28bb1baff6932f1c28b24d371a35a1546fa7e9
2019-09-20 11:33:15 -07:00
Marco Paniconi
b8d86733e9 vp9-svc: Fix to forced key frame for spatial layers
Condition to disallow key frames on spatial
enhancement layers should be based on the
first_spatial_layer_to_encode, which need not be
layer 0.

Change-Id: If6bc67568151c38c9c98290e5838a23b3ab18e8a
2019-09-20 08:56:47 -07:00
Angie Chiang
616f02c170 Merge "Remove redundant comment" 2019-09-19 17:47:07 +00:00
Angie Chiang
55564969be Remove redundant comment
Change-Id: I2020d21701ec7a7b018c4063918232098124d033
2019-09-18 15:02:52 -07:00
Angie Chiang
4c79c10416 Merge "Move vp9_alloc_motion_field_info" 2019-09-18 21:52:06 +00:00
Angie Chiang
b3a42feb0c 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
2019-09-18 12:20:51 -07:00
Jerome Jiang
f9ffc19ecb Fix msan on svc tests.
BUG=b/140939146

Change-Id: Ib3e714f01c58fc0452c7e1adfc8fd3f1d9f8e0a0
2019-09-16 11:04:32 -07:00
James Zern
8025696407 Merge "vp9_quantize_sse2: quiet clang-7 integer sanitizer warning" 2019-09-11 18:19:07 +00:00
Jerome Jiang
c094391e95 vpx_clear_system_state after drop due to overshoot
BUG=999780

Change-Id: I096fdc22812eab22a38a33135c0cbe60a6e64add
2019-09-10 19:31:08 -07:00
James Zern
c098cfdce7 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
2019-09-10 15:50:22 -07:00
Marco Paniconi
5a0242ba5c 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
2019-09-06 10:16:57 -07:00
James Zern
bacb32aef5 Merge "Don't generate mv refs that won't be used" 2019-09-06 08:00:46 +00:00
Angie Chiang
2601db8f14 Merge "Upload Motion Field Estimation Unit Test Files" 2019-09-03 18:23:23 +00:00
Angie Chiang
101f370a42 Report failure of vp9_alloc_motion_field_info
Change-Id: I87f2a8dbf4e89b1cc8526307e82812aea6ac137e
2019-08-30 16:20:36 -07:00
Dan Zhu
a3ec6c7fb3 Upload Motion Field Estimation Unit Test Files
Change-Id: Ia8f9e9dca562183ff188cd29dfc7ba3435d77900
2019-08-30 13:21:18 -07:00
Angie Chiang
dbe5a1a111 Free set_mv properly
Change-Id: I9b1830dc16189678121c860e0493ed8b04c512a8
2019-08-29 18:38:53 -07:00
Alex Converse
5cfedb745a 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
2019-08-28 21:46:15 -07:00
Angie Chiang
aa4a3f5759 Merge "Move motion field from TplDepFrame to MotionField" 2019-08-29 00:35:27 +00:00
Jerome Jiang
4baffb97e3 Merge "Add resize test for smaller width bigger size." 2019-08-28 23:41:13 +00:00
Hien Ho
bbb7f55d8c Merge "vpx_dsp/x86/highbd_idct4x4_add_sse2: fix int sanitizer warnings" 2019-08-28 20:41:16 +00:00
Angie Chiang
f6251cc7a8 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
2019-08-28 13:39:33 -07:00
Angie Chiang
f40c00b206 Merge changes I0fad9437,I79fcb1fd,I93660044
* changes:
  Add MACRO MAX_INTER_REF_FRAMES
  Add motion_filed_info in VP9_COMP
  Add free_tpl_buffer
2019-08-28 20:38:20 +00:00
Jerome Jiang
1b6f2e3f99 Add resize test for smaller width bigger size.
Stack trace is the same as that in the bug.

BUG=webm:1642

Change-Id: I9d88c18a40af8df4a679727620070b13f1606f14
2019-08-28 11:30:20 -07:00
Hien Ho
4973c57fe1 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
2019-08-28 11:20:05 -07:00
Hien Ho
c5f298b71f Merge "vp8/encoder/vp8_quantize: fix int sanitizer warnings" 2019-08-28 16:28:41 +00:00
Angie Chiang
efd02817da Add MACRO MAX_INTER_REF_FRAMES
Use MAX_INTER_REF_FRAMES wheneve it's suitable

Change-Id: I0fad94371a6600099313685cbe38faebb44178c4
2019-08-27 15:57:25 -07:00
Angie Chiang
2981cfac00 Add motion_filed_info in VP9_COMP
Call vp9_alloc_motion_field_info and
vp9_free_motion_field_info properly

Change-Id: I79fcb1fd37ee5e95bf7febb728480583ebd5a065
2019-08-27 15:57:21 -07:00
Angie Chiang
d0e5b82084 Add free_tpl_buffer
Change-Id: I93660044880ec08dc716138d492c757d510e0952
2019-08-27 14:46:51 -07:00
Angie Chiang
fa2509d729 Merge "Cosmetic changes to vp9_alloc_motion_field_info" 2019-08-27 21:44:26 +00:00
Hien Ho
ccc5a6c29a 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
2019-08-27 19:05:53 +00:00
Hien Ho
70041462c8 Merge "test/acm_random.h: int sanitizer warning" 2019-08-27 19:05:19 +00:00
Angie Chiang
305a5283c5 Cosmetic changes to vp9_alloc_motion_field_info
Change-Id: I6808ac11a9a0f2137b30ae66773f6e3dcccef77d
2019-08-26 16:30:57 -07:00
Hien Ho
ebadd5287a 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
2019-08-26 13:46:08 -07:00
Dan Zhu
1d66ec91da Merge "Add Search Smooth Models[Adapt/Fix]" 2019-08-23 19:01:00 +00:00
Dan Zhu
9931730340 Merge "Add Anandan model" 2019-08-23 19:00:54 +00:00
Dan Zhu
2c62f4002b Merge "Fix some bugs of python code" 2019-08-23 19:00:47 +00:00
Dan Zhu
7fd6a8f186 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)
2019-08-23 19:00:32 +00:00
Angie Chiang
9e2229ec08 Merge "Let do_motion_search process one ref at at time" 2019-08-23 18:30:58 +00:00
Hien Ho
d180c3b477 Merge "vpx_dsp/loopfilter.c: fix int sanitizer warnings" 2019-08-23 18:20:21 +00:00
Dan Zhu
e436930c39 Add Search Smooth Models[Adapt/Fix]
Change-Id: Ia88d16a14b0525d880ac17a133700431949ece31
2019-08-22 18:21:27 -07:00
Dan Zhu
7f73dee0e5 Add Anandan model
Change-Id: Ic3450125c83b41e7e4a953093b4d8177f04d220a
2019-08-22 18:20:38 -07:00
Dan Zhu
e2d0e7fe01 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
2019-08-22 18:15:18 -07:00
Hien Ho
2f52ae2384 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
2019-08-22 23:15:17 +00:00
Hien Ho
e6aa05171e 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
2019-08-22 23:13:59 +00:00
Hien Ho
232ff9361e Merge "vpx_dsp/x86/fwd_txfm_sse2: fix int sanitizer warnings" 2019-08-22 23:11:37 +00:00
Dan Zhu
0ad301e5b0 add unit test for local structure computation
Change-Id: I13f59f529204070faf076144124069c3b1180633
2019-08-22 15:07:28 -07:00
Dan Zhu
08012eceef add unit test for smooth motion field
Change-Id: I7441e04190b8a797f3863166e95b3b6c9924ab51
2019-08-22 14:58:55 -07:00
Dan Zhu
0859579d4d modify smooth model(float type mv + normalization)
Change-Id: I7441e04190b8a797f3863166e95b3b6c9924ab50
2019-08-22 14:51:29 -07:00
James Zern
f8f496fc1f update libwebm to libwebm-1.0.0.27-363-g37d9b86
clears a compiler warning

changelog:
81de00c..37d9b86

Change-Id: I7a9cce81cb193305220059b12071019d46155be2
2019-08-22 12:37:40 -07:00
Hien Ho
da7c5beded Merge "vp8/encoder/bitstream: fix int sanitizer warnings" 2019-08-21 22:14:33 +00:00