This commit adds #ifdef __cpluscplus guard in odintrin.h to enable
the build of related test in C++.
Change-Id: I89ddbdd56b10657ac7e4c71e2f26ed791550b493
Replaces an approximate unsigned integer division with the bit exact
OD_ILOG() implementation.
Removes the need to call vp10_temporal_filter_init() before calling
vp10_temporal_filter_apply_c() by using a static table of constants.
ntt-short-1:
MEDIUM (%) HIGH (%)
PSNR -0.023045 0.115705
PSNRHVS 0.023327 0.110230
SSIM -0.039964 0.083594
FASTSSIM 0.037416 -0.100936
subset1:
RATE (%) DSNR (dB)
PSNR 0.00000 0.00000
PSNRHVS 0.00000 0.00000
SSIM 0.00000 0.00000
FASTSSIM 0.00000 0.00000
Change-Id: I97c5817463fcd8cb557c403a143b9cfaee4f102c
This ports the OD_DIVU_SMALL code from Daala to AOM so that divides by
constants smaller than OD_DIVU_DMAX (1024) are done using a multiply.
Added a unit test for OD_DIVU_SMALL in test/divu_small_test.cc.
Change-Id: Id9fee172d54477355571c5d6c12c584fb65769e5
Instead of dividing the squared partial sums by the number n of pixels in the
line, we multiply by 840/n, where 840=3*5*7*8. This not only avoids the
divisions, but it also makes the optimization exact as there is no more
rounding.
ntt-short1 resuts:
MEDIUM (%) HIGH (%)
PSNR -0.012070 -0.059644
PSNRHVS -0.016845 -0.020871
SSIM -0.026984 -0.031257
FASTSSIM -0.026078 0.414901
Change-Id: Ie553d5e3a545dee860a00879d724ecfc00f0a974
This fixes VP10/ActiveMapRefreshTest.Test/*.
Bring commits 575e81f and 3d6b8a6 to aom/vp10. These changes predate
the creation of the active map cyclic refresh test.
Change-Id: I3559b6933ffa5649926a4b214e45ed0fae523a25
This reduces the deringing worst-case number of "latency" lines from 10 to 8.
ntt-short1 results:
MEDIUM (%) HIGH (%)
PSNR -0.063681 -0.027661
PSNRHVS -0.063628 -0.007841
SSIM -0.007828 -0.048415
FASTSSIM 0.139420 -0.183910
Change-Id: I006544ab748b76c0334e406300b3eda20e125846
The Daala implementation of OD_ILOG(x) computes the number of bits
necessary to represent the unsigned integer x in two's compliment.
We adjust the computation in od_dering.c to better approximate the
log base 2 and match the previous OD_ILOG() definition.
This commit makes no change to the bitstream.
Change-Id: Ib75c2f47dca7027b3cfc40b110f2d493f9690c9c
The deringing filter documentation is in:
J.-M. Valin, The Daala Directional Deringing Filter, arXiv:1602.05975 [cs.MM],
2016.
http://arxiv.org/pdf/1602.05975.pdf
ntt-short1 results:
MEDIUM (%) HIGH (%)
PSNR -2.488088 -2.003235
PSNRHVS -1.588932 -0.797850
SSIM -1.522767 -1.287861
FASTSSIM 4.307822 3.983496
subset1 improvement is around 2-3% on PSNR (but the rate is mostly outside
the AWCY testing range)
Change-Id: Ic02344ce9faa509f5c3a50a0fb7a7b84a7977e72
This commit adds the constrained low-pass filter. For details, please
see document here: https://goo.gl/VUzEED
Change-Id: Idc21d62052071e6c939c91c0cc8246eed768e6b0
high-bitdepth version
d207e, d63e, d45e are only used with CONFIG_MISC_FIXES
cherry-picked from libvpx:
cdf1077 intrapred: protect functions w/CONFIG check x2
Change-Id: I77292e11f51fd76d4127fd0027f876866bcf8675
d207e, d63e, d45e are only used with CONFIG_MISC_FIXES
cherry-picked from libvpx:
fea27cc intrapred: protect functions w/CONFIG check
Change-Id: If13946e483c4d0ccaa3e1d60dc14216c06d5a219