Remove sample sorting in warped motion sample selection
The original sample selection process involves finding best 8 sorted samples according to motion vector difference(MVD) between neighbor block and current block, and then trimming samples. To reduce the complexity, use the current block width/height as the MVD threshold, and trim the samples without sorting. This gives slightly less gain than the original method. AWCY result: PSNR PSNR HVS SSIM Average -0.07 -0.13 -0.12 Borg test result: avg_psnr ovr_psnr ssim cam_lowres: -0.112 -0.112 -0.180 lowres: -0.068 -0.073 -0.125 Change-Id: Ic2f79a170441d5bcb04ea87dddf490ef7fbba8bc
Showing
- av1/common/mvref_common.c 63 additions, 76 deletionsav1/common/mvref_common.c
- av1/common/mvref_common.h 2 additions, 5 deletionsav1/common/mvref_common.h
- av1/common/warped_motion.h 1 addition, 12 deletionsav1/common/warped_motion.h
- av1/decoder/decodemv.c 2 additions, 10 deletionsav1/decoder/decodemv.c
- av1/encoder/mcomp.c 2 additions, 2 deletionsav1/encoder/mcomp.c
- av1/encoder/mcomp.h 1 addition, 2 deletionsav1/encoder/mcomp.h
- av1/encoder/rdopt.c 9 additions, 15 deletionsav1/encoder/rdopt.c
Loading
Please register or sign in to comment