1. 21 Jun, 2016 3 commits
    • Hui Su's avatar
      Merge "Add a hardware compatibility feature" · b8ec5dcd
      Hui Su authored
    • Tom Finegan's avatar
    • 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
  2. 20 Jun, 2016 5 commits
  3. 19 Jun, 2016 2 commits
  4. 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
      Change-Id: I513c1c3475c58a746f4df627491bdc392fe21416
    • 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
    • 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
    • Yaowu Xu's avatar
      Fix ubsan warning: vp9/encoder/vp9_encodeframe.c · 40477f1f
      Yaowu Xu authored
      Change-Id: I29b896c7f61abf871d7853b1d8200aa5a9f6a95c
  5. 17 Jun, 2016 15 commits
  6. 16 Jun, 2016 11 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
    • Johann Koenig's avatar
    • Johann Koenig's avatar
      Merge "vp8 stats file: initialize to 0" · f5713fef
      Johann Koenig authored
    • 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
    • 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
    • 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
    • Johann Koenig's avatar
    • Yaowu Xu's avatar
      vpx_dsp/quantize.c: fix ubsan warnings · de3a8f23
      Yaowu Xu authored
      Change-Id: I0c80271c6b78adf40aa7a4cac9e6b431d56958cb
    • Yaowu Xu's avatar
      vpx_dsp/variance.c: change to use correct type · e5e998a6
      Yaowu Xu authored
      This commit change to use int64_t to represent the sum of pixel
      differences, which can be negative.
      This fixes a number of ubsan warnings.
      Change-Id: I885f245ae895ab92ca5f3b9848d37024b07aac98
    • Yaowu Xu's avatar
      Merge "Fix an ubsan warning: vp9_quantizer.c" · 0c1da40e
      Yaowu Xu authored
    • Johann's avatar
      vp8 stats file: initialize to 0 · 3108fbd2
      Johann authored
      Cleans up -Wextra warning:
      missing initializer for field ‘intra_error’ of ‘FIRSTPASS_STATS’
      Change-Id: I42c1413234aba207f8e89f2e040e14a81bca511e