Skip mode search based on reference frame consistency
authorJingning Han <jingning@google.com>
Tue, 12 Aug 2014 01:02:18 +0000 (18:02 -0700)
committerJingning Han <jingning@google.com>
Wed, 13 Aug 2014 21:16:18 +0000 (14:16 -0700)
commit1e30547984e1d80f5b98214efc9f781cbcc85999
treeda1bac5f4b3118c2d058b8478ca7a508e7d18934
parent6e086548cbb7c6802b5f0cfacd60600f6ae6e45b
Skip mode search based on reference frame consistency

This commit enables the encoder to skip NEARMV and ZEROMV if the
above and left blocks have identical reference frame, and the
current reference is different from that. It reduces the runtime
of speed 3 for test sequences:
bus cif at 1000 kbps 10064 ms -> 9823 ms
pedestrian 1080p at 2000 kbps 193078 ms -> 189559 ms

The compression performance is changed by
derf  -0.085%
stdhd -0.103%

Change-Id: If304f26d42e6412152a84c3dd7b02635c38444f4
vp9/encoder/vp9_rdopt.c