Add a guard on intra mode skip control for RTC mode
authorJingning Han <jingning@google.com>
Thu, 18 Dec 2014 19:54:13 +0000 (11:54 -0800)
committerJingning Han <jingning@google.com>
Thu, 18 Dec 2014 20:00:27 +0000 (12:00 -0800)
commit6ec0ef6691d38236de1a2f937351cac1db380640
tree466e50869fb22ad01701b1ef9438a755f42328aa
parentdd0602e01c3dd2098b6fc4be4fe8d8bfccabd0dd
Add a guard on intra mode skip control for RTC mode

This commit adds a guard condition to the intra mode test skip
control in RTC coding mode. If all inter modes are skipped, force
the encoder to check intra mode. It avoids situations where the
encoder processes without properly assigning required mode
information.

Change-Id: Ibb349fee997d6584ce901d08b06e8df3ca9c01b1
vp9/encoder/vp9_pickmode.c