1. 17 Feb, 2017 2 commits
    • Urvang Joshi's avatar
      aomenc: Don't print warning in quiet mode. · 51c048eb
      Urvang Joshi authored
      Change-Id: I8a23fcf0839c2c2b1d638c3e0fc9d4e5a09f1269
      51c048eb
    • Rostislav Pehlivanov's avatar
      Implement a new rate control system · 002e7b7a
      Rostislav Pehlivanov authored
      This commit implements a new rate control system which was ported from
      Daala's rate control system (which was based off of Theora's rate
      control system) to the encoder. Its aim is to address the weaknesses of
      the current rate control system and eventually serve as its replacement.
      
      This is still work in progress. So far this commit only implements
      support for single pass encoding for constant quality and bitrate
      targeting.
      Additional commits which implement two-pass support and the rest to
      match the feature set of the current rate control system are coming
      soon.
      
      The rate control system hasn't been fully tuned (and will likely need
      additional tuning as the encoder's development progresses) and does
      contain some "hacks", to convert the quality to a quantizer value
      (empirical) and to tweak the quantizer in between golden frames (which
      uses some code from the current rate control system as well as code
      which attempts to model what that code does), the latter of which is
      only in the constant quality codepath.
      
      Bitrate targeting works much better than the current rate control
      system's targeting and will actually closely match the rate specified by
      the user without the current rate control system's bursty behaviour.
      
      Change-Id: I588fbfd2e80a3d21ce7176903115d6a96ef1700a
      002e7b7a
  2. 16 Feb, 2017 10 commits
    • Thomas Davies's avatar
      NEW_TOKENSET: modify trellis and coeff costs. · ed8e2d2a
      Thomas Davies authored
      Since token coding has changed the relationship
      between EOB values and non-zero values, coeff costs
      and trellis quant need to change to be more accurate.
      
      Change-Id: I27ef400e8290db4c5faa9c21a253575eea7955c4
      ed8e2d2a
    • Joe Young's avatar
      [ext-intra] fix bug in sample interpolation when dy < 0 · e568e6f0
      Joe Young authored
      When the "dy" variable is between -1 and 0 (base2 == -1)
      we should interpolate between the upper-left(-1,-1) and left(-1,0)
      samples, instead of just taking the left sample.
      
      Coding gain improves a bit with this change.
      
      BUG=aomedia:357
      
      Change-Id: If520f71b22115e79120499c21f8d6925c1fa24be
      e568e6f0
    • Yaowu Xu's avatar
      unify the way to count tx_size in encode&decode · 7a08fe59
      Yaowu Xu authored
      This fixes a enc/dec mismatch.
      BUG=aomedia:354
      
      Change-Id: I727c27a412c21695eb3c084f8dd688163615efe3
      7a08fe59
    • Tom Finegan's avatar
      Make 32 bit builds via cmake possible on macos. · f769c4e1
      Tom Finegan authored
      Working with ninja, make, and xcode generators using the
      following args at cmake generation time:
      -DAOM_TARGET_CPU=x86 -DCMAKE_OSX_ARCHITECTURES=i386 -DCONFIG_PIC=1
      
      BUG=https://bugs.chromium.org/p/aomedia/issues/detail?id=76
      
      Change-Id: I830db21f7458417cb8048818e5681a78698a6068
      f769c4e1
    • Nathan E. Egge's avatar
      Rename aom_read_tree_bits() to aom_read_tree_as_bits(). · c4e9e473
      Nathan E. Egge authored
      Rename the aom_read_tree_bits() function to match aom_read_tree_as_cdf().
      
      Change-Id: I779f544615b1c19bb1f781c1f7a0f59dda7bd466
      c4e9e473
    • Nathan E. Egge's avatar
      Allow EC_MULTISYMBOL to be disabled with DAALA_EC. · 912672b6
      Nathan E. Egge authored
      It is now possible to use daala_ec without ec_multisymbol by running:
       ./configure --enable-experimental --disable-ec_mulitsymbol.
      
      Change-Id: I55a0473b887846f01ef832059cdbe31aebebce05
      912672b6
    • Thomas Davies's avatar
      EC_ADAPT: do faster adaptation initially. · 27713d93
      Thomas Davies authored
      Symbol count is maintained in the position after the
      last CDF value.
      
      Change-Id: I1882e48bfb1404ea7b83ef410298484939601796
      27713d93
    • Nathan E. Egge's avatar
      Fix DAALA_EC when EC_MULTISYMBOL disabled. · 0f11c78d
      Nathan E. Egge authored
      When DAALA_EC is enabled, calls to aom_read_tree() and aom_write_tree()
       would automatically convert the aom_tree_index and aom_prob into a CDF
       and call the aom_read_cdf() or aom_write_cdf(), which causes an
       error if DAALA_EC is enabled without EC_MULTISYMBOL.
      This patch moves the conversion functions from daalaboolreader.h and
       daalaboolwriter.h into bitreader.h and bitwriter.h respectively, and
       only calls the conversion functions if EC_MULTISYMBOL is enabled.
      This allows DAALA_EC to be enabled without EC_MULTISYMBOL and is a
       bitstream change when both ANS and EC_MULTISYMBOL are enabled as calls
       to read and write trees will automatically be converted into calls that
       read and write cdfs.
      
      Change-Id: Id2f9aa9b5113292998cadfe69e4ba547324643ac
      0f11c78d
    • clang-format's avatar
      apply clang-format · 55ce9e0f
      clang-format authored
      Change-Id: Ib1b5dde5d4c6479c968cd7d7a4a1d01abae1fcf6
      55ce9e0f
    • James Zern's avatar
      .clang-format: update to 3.9.1 · c107183d
      James Zern authored
      Change-Id: Ia3b00907f98330ecaf28832b2c0a68e42cf93d6e
      c107183d
  3. 15 Feb, 2017 5 commits
    • Zoe Liu's avatar
      Make convolve_round compiled without dual_filter · 1b672d3f
      Zoe Liu authored
      Change-Id: I532e46b3947ca3f5898a2da61fb6b82c2f4bd5c6
      1b672d3f
    • Tom Finegan's avatar
      Add MSVC win32 support to the cmake build. · 1ba9bd89
      Tom Finegan authored
      BUG=https://bugs.chromium.org/p/aomedia/issues/detail?id=76
      
      Change-Id: I3179fe9ec45ff1aab06cc8828d2bb34c141cca55
      1ba9bd89
    • Tom Finegan's avatar
      Correct cmake intrinsic flag translation. · 0b3c9052
      Tom Finegan authored
      MSVC only. Use the AVX/AVX2 flags only for AVX and AVX2. Ignore
      the SSE flags since they're not needed with MSVC.
      
      BUG=https://bugs.chromium.org/p/aomedia/issues/detail?id=76
      
      Change-Id: I0f3ac40ffb1f9c53a16272f0781df176317732f6
      0b3c9052
    • David Barker's avatar
      Speed up global motion determination · 15338d5f
      David Barker authored
      When global-motion is enabled, a considerable amount
      of encoder time is spent in the functions in corner_match.c.
      This patch optimizes those functions to be 3.5-4x as fast,
      leading to an end-to-end encoder speed improvement
      (on 20 frames of tempete_cif.y4m) of:
      
       200kbps: ~26% faster
       800kbps: ~19% faster
      2800kbps: ~12% faster
      
      Change-Id: I04d3f87484c36c41eb5a1e86e814f2accbe86297
      15338d5f
    • Nathan E. Egge's avatar
      Add flag for RAWBITS to use raw bits with DAALA_EC. · 24f1a904
      Nathan E. Egge authored
      The use of raw bits is now disabled by default and can be turned on with:
       ./configure --enable-experimental --enable-rawbits
      This commit has a negligible impact on rate.
      
      subset1:
      
      master@2017-02-14T18:57:22.282Z -> no_rawbits@2017-02-14T18:57:41.977Z
      
         PSNR | PSNR Cb | PSNR Cr | PSNR HVS |    SSIM | MS SSIM | CIEDE 2000
      -0.0000 | -0.0000 | -0.0000 |  -0.0000 | -0.0000 | -0.0000 |    -0.0000
      
      objective-1-fast:
      
      master@2017-02-14T18:52:48.425Z -> no_rawbits@2017-02-14T18:52:04.489Z
      
         PSNR | PSNR Cb | PSNR Cr | PSNR HVS |    SSIM | MS SSIM | CIEDE 2000
      -0.0001 | -0.0001 | -0.0001 |  -0.0001 | -0.0001 | -0.0001 |    -0.0001
      
      Change-Id: I01e79e9f314565a64b224ca41047f7bd7fe33f70
      24f1a904
  4. 14 Feb, 2017 10 commits
  5. 13 Feb, 2017 13 commits