Merge remote branch 'origin/master' into experimental
authorJohn Koleszar <jkoleszar@google.com>
Sat, 21 May 2011 04:05:14 +0000 (00:05 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Sat, 21 May 2011 04:05:14 +0000 (00:05 -0400)
Change-Id: I90a1d0095712e0474b0c03773b57376911027fc6

1  2 
vp8/encoder/encodeframe.c
vp8/encoder/firstpass.c
vp8/encoder/onyx_if.c
vp8/encoder/ratectrl.c
vp8/encoder/rdopt.c

Simple merge
Simple merge
Simple merge
Simple merge
@@@ -278,17 -232,13 +278,18 @@@ void vp8_initialize_rd_consts(VP8_COMP 
  
      if (cpi->pass == 2 && (cpi->common.frame_type != KEY_FRAME))
      {
-         if (cpi->next_iiratio > 31)
+         if (cpi->twopass.next_iiratio > 31)
              cpi->RDMULT += (cpi->RDMULT * rd_iifactor[31]) >> 4;
          else
-             cpi->RDMULT += (cpi->RDMULT * rd_iifactor[cpi->next_iiratio]) >> 4;
+             cpi->RDMULT +=
+                 (cpi->RDMULT * rd_iifactor[cpi->twopass.next_iiratio]) >> 4;
      }
  
 +#if !CONFIG_EXTEND_QRANGE
 +#else
 +    if (cpi->RDMULT < 7)
 +        cpi->RDMULT = 7;
 +#endif
      cpi->mb.errorperbit = (cpi->RDMULT / 100);
      cpi->mb.errorperbit += (cpi->mb.errorperbit==0);