1. 22 Jun, 2016 4 commits
  2. 21 Jun, 2016 4 commits
    • Yaowu Xu's avatar
      Fix ubsan warnings: vp9/encoder/vp9_mcomp.c · 87bf1a14
      Yaowu Xu authored
      This commit fixes a number of ubsan warnings in HBD build.
      
      BUG=webm:1219
      
      Change-Id: I05f0fd0ef50e93db4ba34205005c54af1ed32acc
      87bf1a14
    • Hui Su's avatar
      Merge "Add a hardware compatibility feature" · b8ec5dcd
      Hui Su authored
      b8ec5dcd
    • Tom Finegan's avatar
      cb1d1527
    • hui su's avatar
      Add a hardware compatibility feature · a5af392a
      hui su authored
      This commit adds an encoder workaround to support better
      compatibility with a non-compliant hardware vp9 profile 2 decoder.
      
      The known issue with this decoder is:
      The decoder assumes a wrong value, 127 instead of the correct
      value of 511 and 2047, for any assumed top-left corner pixel in
      UV planes for 10 and 12 bit, respectively. Such assumed
      top-left corner pixel is used for INTRA prediction when a real
      decoded/reconstructed pixel is not avalable, e.g. when it is
      located inside the row above the top row or inside the column
      left to the leftest column of a video image.
      
      Change-Id: Ic15a938a3107e1b85e96cb7903a5c4220986b99d
      a5af392a
  3. 20 Jun, 2016 5 commits
  4. 19 Jun, 2016 2 commits
  5. 18 Jun, 2016 4 commits
    • James Zern's avatar
      realtime_test: remove decoded frame count check · 4d9e876b
      James Zern authored
      decoding is done if the decoder is available, with errors handled
      accordingly. the encoded frame count should be sufficient for this test.
      
      + remove HandleDecodeResult() as it's redundant given the base
        implementation
      
      BUG=webm:1233
      
      Change-Id: I513c1c3475c58a746f4df627491bdc392fe21416
      4d9e876b
    • Jingning Han's avatar
      Refactor optimize_b for speed performance · 9e185ed1
      Jingning Han authored
      This commit refactors the trellis coefficient optimization process.
      It saves multiplications used to generate the final dequantized
      coefficients. It removes two memset operations on quantized
      and dequantized coefficient sets. This improves the unit speed
      by 10%.
      
      Change-Id: I23f47c6e14582520a7f952f03ce8f72183e7f0e6
      9e185ed1
    • Jingning Han's avatar
      Port optimize_b speed-up from vp10 · dba1d1a6
      Jingning Han authored
      This commit back ports the speed-up from vp10. It improves the
      unit speed by 15%.
      
      Change-Id: Ibe8c0e0974b03266d6abd16a41e89c3b91d8db2a
      dba1d1a6
    • Yaowu Xu's avatar
      Fix ubsan warning: vp9/encoder/vp9_encodeframe.c · 40477f1f
      Yaowu Xu authored
      BUG=webm:1219
      
      Change-Id: I29b896c7f61abf871d7853b1d8200aa5a9f6a95c
      40477f1f
  6. 17 Jun, 2016 15 commits
  7. 16 Jun, 2016 6 commits
    • Johann's avatar
      Remove ios-version.sh · b29ebfe9
      Johann authored
      The logic can be incorporated into configure.sh
      
      Removes a dependency on ios-version.sh which was not part of DIST-SRCS
      and removes a warning from 'make dist' sub builds:
      
      ../src/build/make/configure.sh: line 787:
      ../src/build/make/ios-version.sh: No such file or directory
      
      Change-Id: Ic38314708eb278dd9d2a9769a670da32f6126637
      b29ebfe9
    • Johann Koenig's avatar
      ee30cf14
    • Johann Koenig's avatar
      Merge "vp8 stats file: initialize to 0" · f5713fef
      Johann Koenig authored
      f5713fef
    • Johann's avatar
      vp8_[cd]x_iface.c: Initialize structures to 0 · 6f9982e3
      Johann authored
      Use vp8_zero() or specify every element.
      
      Cleans warning in Android build:
      missing field 'deblocking_level' initializer
      vp8_ppflags_t flags = {0};
                              ^
      missing field 'sz' initializer
      {0},                /* rc_twopass_stats_in */
        ^
      missing field 'sz' initializer
      {0},                /* rc_firstpass_mb_stats_in */
        ^
      missing field 'layer_target_bitrate' initializer
      }},
      ^
      missing field 'deblocking_level' initializer
      vp8_ppflags_t flags = {0};
                              ^
      missing field 'mr_get_mem_loc' initializer
      }
      ^
      
      Change-Id: Iaedde9a77faac7a40316aee67d60d02ba7313500
      6f9982e3
    • Johann's avatar
      VP8_COMP: make frames_since_golden signed · f4b5330c
      Johann authored
      This value is signed in vp9/10
      
      Cleans warning in Android build:
      comparison of integers of different signs: 'unsigned int' and 'int'
      if (cpi->frames_since_golden == (cpi->current_gf_interval >> 1))
          ~~~~~~~~~~~~~~~~~~~~~~~~ ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      Change-Id: Ie137724982f3a46c8c1820548c1960d62a4e96f2
      f4b5330c
    • Johann's avatar
      vp8: correct function return types · bd0c9817
      Johann authored
      left_above_mv and above_block_mv return as_int
      
      as_int is defined as uint32_t in vp8/common/mv.h
      
      Cleans up -Wextra warnings:
      signed and unsigned type in conditional expression
      this_mv->as_int = col ? d[-1].bmi.mv.as_int : left_block_mv(mic, i);
                                                  ^
      this_mv->as_int = row ? d[-4].bmi.mv.as_int : above_block_mv(mic, i, mis);
                                                  ^
      left_mv.as_int = col ? d[-1].bmi.mv.as_int :
                                                 ^
      
      Change-Id: Ia043764e4ce93d2152d2269b1c7b28b5d5f814cf
      bd0c9817