ref: e9f513d74ae9cfc88f5423cb25bd65000bc32c0d
parent: 35bb74a6bd0cfc626f0b88eb3b854b2d8a080668
author: Adrian Grange <agrange@google.com>
date: Fri Jan 28 09:47:36 EST 2011
Changed condition for using RD in Intra Mode The condition for using RD when selecting the intra coding mode for a MB is that the RD flag is set AND we're not in real-time mode. Previously the code used RD if either the RD flag was set OR we were not using real-time mode. Change-Id: Ic711151298468a3f99babad39ba8375f66d55a08
--- a/vp8/encoder/encodeframe.c
+++ b/vp8/encoder/encodeframe.c
@@ -1160,7 +1160,7 @@
#if !(CONFIG_REALTIME_ONLY)
- if (cpi->sf.RD || cpi->compressor_speed != 2)
+ if (cpi->sf.RD && cpi->compressor_speed != 2)
{
Error4x4 = vp8_rd_pick_intra4x4mby_modes(cpi, x, &rate4x4, &rate4x4_tokenonly, &dist4x4);
--
⑨