]> granicus.if.org Git - libvpx/commitdiff
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
index 84c6c75297983e386028befb57660b69c4acd788,13903c66ae67da778ff2dc9c88a85f7c200ba0b8..cd33d1268126380fdb3eef0c8e7a8d571b1b8a25
@@@ -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
index 26f341a49a387a0f1b82fe071b8fba3dbfc1a0d1,eb1b4896e5dc382bfe705de016bcd249ba95ce9f..62f81215cdbb19e90d7c5861d378c1a3fdced5b8
@@@ -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;
index cbe818143507dc506d59df7a5d19311131be8379,1dfb8e08fd2a9657441fd8c9b98a172bbc9e3e30..1296b704a102fe9fea98bab6daecd66070380a0c
@@@ -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