Commit Graph

89 Commits

Author SHA1 Message Date
Johann
652beb6ac1 trivial: fix spelling errors
Found when updating a downstream client.

Change-Id: Ibaa20d883ebfea9410d0252e7a19c7acdb78c907
2020-01-10 15:59:30 -08:00
Hien Ho
47a6c557af remove clang flag for integer sanitizer testing
BUG=webm:1615

Change-Id: Idfc86722e744d0c71ad47e284afb9cf9b8474473
2019-10-24 11:02:41 -07:00
Jerome Jiang
97cd0bd5db Fix python3 format issue
Change-Id: If0fed04c8682baee82efbdf5b4f90bcc8e8ac102
2019-09-27 19:07:20 -07: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
Dan Zhu
4c89f06b3c Change the child classes methods names to align with parent's
Add comments to explain the coordinate system

Change-Id: Ib87ae479e08b4e3c3e7d9a3d1b4ab30718b42cfd
2019-07-23 11:14:18 -07:00
Dan Zhu
c7093c18b0 Add Horn & Schunck Estimator
Add Matrix solver
Fix a little bug in MotionEST

Change-Id: I8513475646f4f02df31b245fa750483449de9407
2019-07-23 09:55:03 -07:00
Dan Zhu
d7a2451d48 Add Exhaust Search (Neighbor Constrain) Estimator
Change-Id: I1e306979a0d308285155c152837125fb2036091a
2019-07-23 09:55:03 -07:00
Dan Zhu
e4096639ff Add Ground Truth Estimator
Change-Id: Iec6c7e49a64610e33a77c7d5d772e6b063a0f1e0
2019-07-23 09:55:03 -07:00
Dan Zhu
3244f4738d Based Class of Motion Field Estimators
Change-Id: Id01ce15273c0cab0cd61d064099d200708360265
2019-07-23 09:49:59 -07:00
Dan Zhu
ee097c75ce add flags for empty blocks
Change-Id: Iedf3bdd87d203db5163d3cc47fcbef1fd002218f
2019-06-28 14:08:45 -07:00
Dan Zhu
7e4b8a86b2 script to compact frames to y4m video
Change-Id: I2d8c3ccf49c172a54181aeb2e2b8169bf5402456
2019-06-24 15:34:44 -07:00
Dan Zhu
729da3df8d add output of frame info
Change-Id: I70d750be13d9a654d1f21d7809d8d44c491ae477
2019-06-24 14:46:28 -07:00
Dan Zhu
a709b69443 Add Ray Tracing
Add braces

Change-Id: I5355ccd8f745dfbd4fe3923a81aa3c9f8fda07b3
2019-06-24 14:44:10 -07:00
Dan Zhu
20103ec897 Add Scene module to manage other objects
and calculation

Add interpolation in the Scene

Delete Color interpolation

Build triangle mesh

Reconstruct the code of depth interpolation

Add new data structure Node for back linking

Change-Id: Ibb1e896a2e3623d4549d628539d81d79827ba684
2019-06-21 23:01:32 -07:00
Dan Zhu
618a7d68f8 3D reconstruction tool build by Processing
(a java based language for data visualization)

add MotionField module

reformat the code by using newest clang-format version

add necessary comments

add new functions

move basic settings to setup

Change-Id: I64a6b2daec06037daa9e54c6b8d1eebe58aa6de0
2019-06-14 10:23:02 -07:00
kyslov
4ba3098ecb Fix static analysis warnings
With switching to clang-7.0.1 we got new warnings. With this change the
warnings are back to 0 for all configurations (excluding warnings in
third_party)

BUG=webm:1616

Change-Id: I25ceb592c425394e8f14d333fb5680144f892213
2019-04-11 17:37:15 -07:00
Angie Chiang
62d33725ec Print mv_mode counts
Change-Id: I9d315e359e384dc0295c3471d8179bd828fddc1b
2019-04-09 17:28:08 -07:00
sdeng
287d1d64ea tiny_ssim: Fix an 'Uninitialized argument value' bug
found by clang-7.0.1 static analysis.
BUG=webm:1616

Change-Id: I2f7d1376e82e35227ad96d34417014ce5680ad96
2019-04-06 02:55:06 +00:00
sdeng
39ce1c0ab1 tiny_ssim: Fix an 'Uninitialized argument value' bug
found by clang-7.0.1 static analysis.
BUG=webm:1616

Change-Id: I7fb318aa7d4c8dd0a96bb20c6f8706ca1a632696
2019-04-05 21:51:41 +00:00
James Zern
e59f78b484 tool/set_analyzer_env: disable implicit-integer-truncation
with clang-7 this causes additional warnings in x86 intrinsics and
elsewhere. disabling for now to unblock new changes.

BUG=webm:1615

Change-Id: Ide9cacee5547ed432f980f6804e1414f32639121
2019-04-01 12:40:53 -07:00
James Zern
d2828f773f set_analyzer_env.sh: improve cfi diagnostics
use -fno-sanitize-trap=cfi to allow a diagnostic to be printed rather
than aborting with a SIGILL.

https://clang.llvm.org/docs/ControlFlowIntegrity.html#trapping-and-diagnostics

Change-Id: I4517cafe3c7b7305ba4845dbadf9fb679c686843
2019-03-14 23:07:23 -07:00
Angie Chiang
cbd966f1ab Include mv_mode_arr info in dump_tpl_stats
Change-Id: Ib8e635fc7522d27ff7fdb62661597115e5bbc9b8
2019-03-05 18:13:45 -08:00
Angie Chiang
e14958ea73 Include gf_frame_offset in dump_tpl_stats
Change-Id: If868f67ccc1c73189bc4c139a807d7341e59b668
2019-03-05 15:13:41 -08:00
Angie Chiang
543aeef873 Refactor dump_tpl_stats
Only dump stats when ref frame exists.
Dump ref_frame_idx

Change-Id: Ibfeae4111697b8ce97d7fe9b56c2487623615748
2019-03-05 11:59:00 -08:00
Johann
850e014a8e tiny_ssim.c: resolve missing declarations
-Wmissing-declarations exposed several unused functions.

BUG=webm:1584

Change-Id: I88dfeb8ffa31253a0fb7674f6fe5fcd496179f96
2018-12-20 17:10:44 +00:00
sdeng
d931eb556b No need to shift in SSIM calculations
We only need to shift in the encoder when the input bit depth
does not equal to the encoder internal bit depth.

Change-Id: If9af62382ac6824f33dc7dcdd3d3ff7802b92e9a
2018-12-18 16:46:29 -08:00
sdeng
9d8122dd72 Disallow the comparison between videos with different bit depth
Change-Id: I1fd8e991f2440925e989d8e7ab33fdf5f6b1d36b
2018-12-17 15:25:37 -08:00
sdeng
de38e2c36f Remove unused code in tiny_ssim
Change-Id: Ife6eb3f8651daa209eeeb8eff85158f00d418647
2018-12-14 08:47:46 -08:00
sdeng
6dc612758c Fix overflow in calculating highbd SSIM
Example internal stats
Before the fix:
Bitrate	AVGPsnr	GLBPsnr	AVPsnrP	GLPsnrP	VPXSSIM	VPSSIMP	FASTSIM	PSNRHVS	WstPsnr	WstSsim	WstFast	WstHVS	AVPsnrY	APsnrCb	APsnrCr	  Block	WstBlck	Consist	WstCons	    Time	RcErr	AbsErr
 153.39	 37.131	 36.420	 37.151	 36.437	716.077	817.445	 10.422	 34.347	 32.980	  0.916	  9.281	 30.208	 36.024	 41.830	 40.581	  0.000	  0.000	100.000	100.000	   55006	   2.26	   2.26
No mismatch detected in recon buffers

After the fix:
Bitrate	AVGPsnr	GLBPsnr	AVPsnrP	GLPsnrP	VPXSSIM	VPSSIMP	FASTSIM	PSNRHVS	WstPsnr	WstSsim	WstFast	WstHVS	AVPsnrY	APsnrCb	APsnrCr	  Block	WstBlck	Consist	WstCons	    Time	RcErr	AbsErr
 153.39	 37.131	 36.420	 37.151	 36.437	 69.808	 70.023	 10.422	 34.347	 32.980	  0.910	  9.281	 30.208	 36.024	 41.830	 40.581	  0.000	  0.000	100.000	100.000	   55067	   2.26	   2.26
No mismatch detected in recon buffers

Change-Id: I820abc498c1543548f193874046582b50afd0238
2018-12-05 00:55:41 +00:00
Angie Chiang
6234256646 Fix scan_build warnings in tiny_ssim.c
BUG=webm:1575

Change-Id: I022794054b494512903d912bdbf3e85461f31665
2018-11-21 11:24:09 -08:00
Angie Chiang
0310ebd8d1 Fix scan_build warnings in tiny_ssim.c
BUG=webm:1575

Change-Id: I3ad3af49d778f102e9152dcb1eb9d5c048756cdf
2018-11-19 18:45:23 -08:00
Jingning Han
794b033f78 Minor clean-up in tiny_ssim.c
Report the correct filename in error message.
Explicitly assign floating point value to double type.

Change-Id: I42fd2da6e16b1e3e7ec221d5d562a728a93c0196
2018-10-02 10:22:56 -07:00
Angie Chiang
d4789c7304 Merge changes I93308a09,If85c36b4,I918eb36a
* changes:
  Add vpx_clear_system_state to new mv search func
  Change mv color to red
  Call vp9_full_pixel_diamond_new in tpl mv search
2018-09-28 23:09:19 +00:00
Angie Chiang
b9ce3304de Change mv color to red
Change-Id: If85c36b44b41e8cf025a5e08d7055ec32a14d26b
2018-09-26 18:04:40 -07:00
Johann
39ee898f89 add cfi sanitizer
Change-Id: I4262bb631c248ad188f09a37d774d1759695b0d7
2018-09-26 16:52:54 -07:00
Angie Chiang
4c6e284dc5 Use different corner detection score
This corner detection score is better at measuring the level of
details in each block.

Change-Id: I16327a7664144ddc463c29babd11d0ca2fbb54a0
2018-09-20 16:44:39 -07:00
Angie Chiang
8f26f74ab9 Merge changes Ibbe7a1c1,I4333a207
* changes:
  Add feature score for each block
  Correct mv rows/cols bug in read_frame_dpl_stats
2018-09-20 18:15:48 +00:00
Angie Chiang
4c1434e88c Add feature score for each block
The feature score is used to indicate whether a block's mv is reliable
or not.
Now we use Harris Corner Detector method to compute the score.

Change-Id: Ibbe7a1c1f3391d0bf4b03307eaabb5cc3cfb1360
2018-09-19 17:41:16 -07:00
Angie Chiang
bb0e75463c Correct mv rows/cols bug in read_frame_dpl_stats
When the frame size is not multiples of mv search bsize,
the fractional part will increment the mv rows/cols by 1

Change-Id: I4333a207406610c540059a9356a82084832ca85b
2018-09-19 15:43:54 -07:00
Liu Peng
cb671194c9 fix a bug of tiny_ssim to handle odd frame sizes
Change-Id: Id8ef0eb211517a8f8ec764ec398d16efb9320540
2018-09-14 21:51:40 +00:00
Liu Peng
e196a6ae71 fix a bug of tiny_ssim when the bit depth is 8
Change-Id: I2563e661c71b474fe04b70cd9b713d478a27ac5f
2018-09-14 20:10:15 +00:00
Angie Chiang
7fccd0bef5 Dump tpl mvs for mv search block
Change-Id: Ibe14a02391b960e030c4a48e61718e43a5a65788
2018-09-13 12:27:15 -07:00
Angie Chiang
39c02a7eb1 Dump ref frame when DUMP_TPL_STATS is on
Also add a python script to parse the dumped results.

Change-Id: I1abea5a7c04d852ec40ce37d758af21960b6e589
2018-09-12 16:36:28 -07:00
Jim Bankoski
eb012d74f8 tiny_ssim: fix for odd image sizes.
Change-Id: I7dd1e37c5de3efccc07fcdc877653d4873a88266
2018-05-30 19:00:36 +00:00
Johann
20521c394c helper script for sanitizer testing
source tools/set_analyzer_env.sh <sanitizer>
will set the compiler, flag, and sanitizer variables necessary to build
and run a variety of sanitizers.

Change-Id: I5dd2ae947cb337d5ccf2a11e9fe87991bc8ba0c8
2018-03-29 06:58:30 -07:00
Johann
920ba82409 remove unused tools
all_builds.py has been more or less replaced by Jenkins.

author_first_release.sh is unused.

ftfy.sh has been obviated by having the whole tree clang-format clean.

Change-Id: I741315ad9042e6e901f07410e93f28371db703b2
2017-12-14 20:34:14 +00:00
Scott LaVarnway
8d471fcee2 tiny_ssim.c : clang compile error fix
Change-Id: Ic10ba580fd5da7d6ff7fa0f33db72fb0c1a97801
2017-11-14 04:38:00 -08:00
Jim Bankoski
becab42eee add 10 and 12 bit to tiny_ssim
Change-Id: I92e4dba2d1682a0d77ad9a214ec4312b1cf4d42e
2017-11-13 10:56:42 -08:00