Merge branch 'master' into experimental
authorJohann <johann.koenig@duck.com>
Fri, 26 Apr 2013 18:40:43 +0000 (11:40 -0700)
committerJohann <johann.koenig@duck.com>
Fri, 26 Apr 2013 19:57:10 +0000 (12:57 -0700)
Conflicts:
vp9/common/vp9_findnearmv.c
vp9/common/vp9_rtcd_defs.sh
vp9/decoder/vp9_decodframe.c
vp9/decoder/x86/vp9_dequantize_sse2.c
vp9/encoder/vp9_rdopt.c
vp9/vp9_common.mk

Resolve file name changes in favor of master. Resolve rdopt changes in
favor of experimental, preserving the newer experiments.

Change-Id: If51ed8f457470281c7b20a5c1a2f4ce2cf76c20f

1  2 
build/make/configure.sh
test/acm_random.h
vp8/encoder/onyx_if.c
vp9/decoder/vp9_decodframe.c
vp9/decoder/x86/vp9_dequantize_sse2.c
vp9/encoder/vp9_sad_c.c
vp9/vp9_common.mk
vp9/vp9_dx_iface.c
vp9/vp9cx.mk
vp9/vp9dx.mk

Simple merge
@@@ -32,18 -28,14 +28,21 @@@ class ACMRandom 
    }
  
    uint8_t Rand8(void) {
-     return (rand() >> 8) & 0xff;
+     const uint32_t value =
+         random_.Generate(testing::internal::Random::kMaxRange);
+     // There's a bit more entropy in the upper bits of this implementation.
+     return (value >> 24) & 0xff;
    }
  
 +  uint8_t Rand8Extremes(void) {
 +    // Returns a random value near 0 or near 255, to better exercise
 +    // saturation behavior.
 +    const uint8_t r = Rand8();
 +    return r < 128 ? r << 4 : r >> 4;
 +  }
 +
    int PseudoUniform(int range) {
-     return (rand() >> 8) % range;
+     return random_.Generate(range);
    }
  
    int operator()(int n) {
Simple merge
@@@ -1340,7 -1550,7 +1340,7 @@@ static void decode_tiles(VP9D_COMP *pbi
    if (pbi->oxcf.inv_tile_order) {
      const int n_cols = pc->tile_columns;
      const uint8_t *data_ptr2[4][1 << 6];
-     vp9_reader UNINITIALIZED_IS_SAFE(bc_bak);
 -    BOOL_DECODER bc_bak = {0};
++    vp9_reader bc_bak = {0};
  
      // pre-initialize the offsets, we're going to read in inverse order
      data_ptr2[0][0] = data_ptr;
@@@ -15,9 -15,8 +15,7 @@@
  #include "vp9/common/vp9_common.h"
  #include "vp9/common/vp9_idct.h"
  
- #if HAVE_SSE2
 -void vp9_add_residual_4x4_sse2(const int16_t *diff, const uint8_t *pred,
 -                               int pitch, uint8_t *dest, int stride) {
 +void vp9_add_residual_4x4_sse2(const int16_t *diff, uint8_t *dest, int stride) {
    const int width = 4;
    const __m128i zero = _mm_setzero_si128();
  
Simple merge
Simple merge
Simple merge
diff --cc vp9/vp9cx.mk
Simple merge
diff --cc vp9/vp9dx.mk
Simple merge