]> granicus.if.org Git - libvpx/commit
Clamp inferred motion vectors only
authorJingning Han <jingning@google.com>
Sat, 6 Apr 2013 17:00:53 +0000 (10:00 -0700)
committerJingning Han <jingning@google.com>
Mon, 8 Apr 2013 18:37:03 +0000 (11:37 -0700)
commit12bf0796e6a4ad75d9ffb2768c362c584441ea05
tree4c0c50ab8f3a3d33882b969d3bc56a1193951e1e
parent0e7b7e47c299277863c6a3b77635321af1f1ee62
Clamp inferred motion vectors only

Clamp only the motion vectors inferred from neighboring reference
macroblocks. The motion vectors obtained through motion search in
NEWMV mode are constrained during the search process, which allows
a relatively larger referencing region than the inferred mvs.
Hence further clamping the best mv provided by the motion search may
affect the efficacy of NEWMV mode.

Synchronized the decoding process. The decoded mvs in NEWMV modes
should be guaranteed to fit in the effective range. Put a mv range
clamping function there for security purpose.

This improves the coding performance of high motion sequences, e.g.,
derf set:
foreman 0.233%
husky   0.175%
icd     0.135%
mother_daughter 0.337%
pamphlet        0.561%

stdhd set:
blue_sky 0.408%
city     0.455%
also saw sunflower goes down by -0.469%.

Change-Id: I3fcbba669e56dab779857a8126a91b926e899cb5
vp9/common/vp9_findnearmv.h
vp9/decoder/vp9_decodemv.c
vp9/encoder/vp9_rdopt.c
vpxenc.c