diff options
author | Jingning Han <jingning@google.com> | 2015-02-13 11:23:45 -0800 |
---|---|---|
committer | Jingning Han <jingning@google.com> | 2015-02-19 13:47:19 -0800 |
commit | ed2dc59c1b363ab510344b28ee0367c50c5080c4 (patch) | |
tree | deaa58a76b1294616e0563b89b514f31f8d6baed /vp9/common | |
parent | 5041aa0fbe225631547066211ee1c02a553ed1ae (diff) | |
download | libvpx-ed2dc59c1b363ab510344b28ee0367c50c5080c4.tar libvpx-ed2dc59c1b363ab510344b28ee0367c50c5080c4.tar.gz libvpx-ed2dc59c1b363ab510344b28ee0367c50c5080c4.tar.bz2 libvpx-ed2dc59c1b363ab510344b28ee0367c50c5080c4.zip |
Integral projection based motion estimation
This commit introduces a new block match motion estimation
using integral projection measurement. The 2-D block and the nearby
region is projected onto the horizontal and vertical 1-D vectors,
respectively. It then runs vector match, instead of block match,
over the two separate 1-D vectors to locate the motion compensated
reference block.
This process is run per 64x64 block to align the reference before
choosing partitioning in speed 6. The overall CPU cycle cost due
to this additional 64x64 block match (SSE2 version) takes around 2%
at low bit-rate rtc speed 6. When strong motion activities exist in
the video sequence, it substantially improves the partition
selection accuracy, thereby achieving better compression performance
and lower CPU cycles.
The experiments were tested in RTC speed -6 setting:
cloud 1080p 500 kbps
17006 b/f, 37.086 dB, 5386 ms ->
16669 b/f, 37.970 dB, 5085 ms (>0.9dB gain and 6% faster)
pedestrian_area 1080p 500 kbps
53537 b/f, 36.771 dB, 18706 ms ->
51897 b/f, 36.792 dB, 18585 ms (4% bit-rate savings)
blue_sky 1080p 500 kbps
70214 b/f, 33.600 dB, 13979 ms ->
53885 b/f, 33.645 dB, 10878 ms (30% bit-rate savings, 25% faster)
jimred 400 kbps
13380 b/f, 36.014 dB, 5723 ms ->
13377 b/f, 36.087 dB, 5831 ms (2% bit-rate savings, 2% slower)
Change-Id: Iffdb6ea5b16b77016bfa3dd3904d284168ae649c
Diffstat (limited to 'vp9/common')
-rw-r--r-- | vp9/common/vp9_rtcd_defs.pl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vp9/common/vp9_rtcd_defs.pl b/vp9/common/vp9_rtcd_defs.pl index a1b15e8c3..c6b6d46d8 100644 --- a/vp9/common/vp9_rtcd_defs.pl +++ b/vp9/common/vp9_rtcd_defs.pl @@ -1109,6 +1109,15 @@ specialize qw/vp9_avg_8x8 sse2 neon/; add_proto qw/unsigned int vp9_avg_4x4/, "const uint8_t *, int p"; specialize qw/vp9_avg_4x4 sse2/; +add_proto qw/void vp9_int_pro_row/, "int16_t *hbuf, uint8_t const *ref, const int ref_stride, const int height"; +specialize qw/vp9_int_pro_row sse2/; + +add_proto qw/int16_t vp9_int_pro_col/, "uint8_t const *ref, const int width"; +specialize qw/vp9_int_pro_col sse2/; + +add_proto qw/int vp9_vector_sad/, "int16_t const *ref, int16_t const *src, const int width"; +specialize qw/vp9_vector_sad sse2/; + if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") { add_proto qw/unsigned int vp9_highbd_avg_8x8/, "const uint8_t *, int p"; specialize qw/vp9_highbd_avg_8x8/; |