1. 22 Jun, 2017 3 commits
    • Yi Luo's avatar
      Add avx2 highbd_quantize_b · 193422e7
      Yi Luo authored
      - First pass encoding time reduces ~10.9% on i7-6700
        at 100 frames, 1080p.
      - avx2 works for coeff number >= 8 cases; coeff number < 8
        case will be implemented by sse2.
      - Unit test is added type B/FP/DC.
      
      Change-Id: Ibe5b7807c64e6dfc2d59c470ed50a6e8ca94ef7c
      193422e7
    • Yushin Cho's avatar
      Fix daala-dist, rd tx search · 04eb9594
      Yushin Cho authored
      Previously, for block >=8x8, and tx < 8x8,
      we skipped setting the early-exit flag in block_rd_txfm() because
      distortion for sub8x8 tx block is from MSE but reference (best)
      is from daala-dist.
      However, not setting early-exit flag turned out to be the reason
      for a regression in MSE probe mode of daala-dist because
      it loses the chance to set rd_stats properly.
      
      On the other hand, there is still a small regression, say 0.05% psnr bd-rate,
      which seems to occur in the case that a tx block in a partition has chosen
      the skipped rd_cost since it is smaller than non-skip rd_cost and
      set the early-exit flag to 0 (so, not exit), but the daala-dist applied
      to the whole partition cannot access the same info but can choose from
      two kinds of rd_costs:
      1) all tx blocks are skipped (even if a tx block has non-zero coeff) and 0 bits
      2) sum of final distortion of all tx blocks (i.e. non-zero coeff decoded)
      and bits to encode coeffs.
      
      Change-Id: I2ec69972aa1f22d465293cb9e8d5e18ef2c6f7f3
      04eb9594
    • Yaowu Xu's avatar
      Add missing accumulation cross threads · a0cc9aa8
      Yaowu Xu authored
      BUG=aomedia:618
      
      Change-Id: Ie96ccc363462a28527c99a72e97b7acaf2ab0ff8
      a0cc9aa8
  2. 21 Jun, 2017 18 commits
  3. 20 Jun, 2017 19 commits
    • Yunqing Wang's avatar
      Handle the invalid warped model error · 8657ad75
      Yunqing Wang authored
      Handled the invalid warped model error in the decoder.
      
      BUG=aomedia:610
      
      Change-Id: I8a67a4f6c6fe4dd6c2a71fdef432b3f689e9efcb
      8657ad75
    • James Zern's avatar
      get_min_tx_size: disable -Warray-bounds · 5d61b609
      James Zern authored
      this warning is covered by an assert and other runtime detection.
      expanding the array, adding a conditional or converting the type to int
      are less desirable.
      
      BUG=aomedia:578
      
      Change-Id: Idb6a1dec5f17db85a0e9c1d0ee372e701f4e1aa4
      5d61b609
    • Frederic Barbier's avatar
      Cleanup useless 'else' · fe06cb72
      Frederic Barbier authored
      Change-Id: Ieaa6c453cd2cf9d5e15801a246ac0aebf9f4501a
      fe06cb72
    • Angie Chiang's avatar
      Integrate global_motion with convolve_round in lbd · 4e5b8f7c
      Angie Chiang authored
      The performance of convolve_round on top of
      global_motion and warped_motion is
      lowres 0.899%
      
      Change-Id: I3b4a343bbac8ca14d62cae5bca38f4daa7140f28
      4e5b8f7c
    • Frederic Barbier's avatar
      Replace dead assertion · 237c53e5
      Frederic Barbier authored
      As delta_q_present_flag is set to 0 if segment_quantizer_active is 1,
      previous assert was never evaluated.
      
      Change-Id: Ia89fffc2f82595198acd2630d5d5d5ba22d43633
      237c53e5
    • Yaowu Xu's avatar
      Change left shifts to multiplications · 36b54588
      Yaowu Xu authored
      avoid warnings about left shift of negative numbers.
      
      BUG=aomedia:617
      
      Change-Id: I8793132c562759b0cc9eefb7c7a50fddb3149184
      36b54588
    • Yunqing Wang's avatar
      Declare rate_mv_bmc in warped motion · 562a3937
      Yunqing Wang authored
      A motion refining was added in warped motion, which required the
      declaration of rate_mv_bmc in warped motion.
      
      BUG=aomedia:613
      
      Change-Id: I74dfc396f915a5cc4599bfbdccad758fa630505f
      562a3937
    • Yi Luo's avatar
      Add high bit depth fast path quantizer avx2 · 6faf349a
      Yi Luo authored
      - User level encoder timer reduction ~4.3% with
        following testing: 1080p, 10-bit, 4Mbps, 4 frames,
        profile=2, i7-6700.
      
      Change-Id: Ib4a579d10cbd705cb7b1c4f0d619159a76bb34d7
      6faf349a
    • Tom Finegan's avatar
      Build static libaom without internal deps in CMake. · 78516fca
      Tom Finegan authored
      Change the internal lib targets so that external apps
      need link only libaom instead of all internal library
      targets and libaom.
      
      BUG=aomedia:76,aomedia:609
      
      Change-Id: I38862fcd90cb585300b6b23e8558f78a1934750f
      78516fca
    • Tom Finegan's avatar
      Sync CMake build with the configure build. · b962dbb2
      Tom Finegan authored
      Added: CONFIG_EXT_COMP_REFS
      Changed, 0 => 1: CONFIG_ONE_SIDED_COMPOUND
      
      BUG=aomedia:76
      
      Change-Id: Ibe84d6fe18a58029345b0c06c4e9825f94221dd2
      b962dbb2
    • Tom Finegan's avatar
      Add shared library support to the CMake build. · 84f2d796
      Tom Finegan authored
      This is enabled via:
      $ cmake path/to/aom -DBUILD_SHARED_LIBS=1
      
      Currently supports only Linux and MacOS targets. Symbol visibility
      is handled by exports.cmake and its helpers exports_sources.cmake
      and generate_exports.cmake.
      
      Some sweeping changes were required to properly support shared libs
      and control symbol visibility:
      
      - Object libraries are always linked privately into static
        libraries.
      - Static libraries are always linked privately into eachother
        in the many cases where the CMake build merges multiple library
        targets.
      - aom_dsp.cmake now links all its targets into the aom_dsp static
        library target, and privately links aom_dsp into the aom target.
      - av1.cmake now links all its targets into the aom_av1 static library
        target, and privately links in aom_dsp and aom_scale as well. It
        then privately links aom_av1 into the aom target.
      - The aom_mem, aom_ports, aom_scale, and aom_util targets are now
        static libs that are privately linked into the aom target.
      - In CMakeLists.txt libyuv and libwebm are now privately linked into
        app targets.
      - The ASM and intrinsic library functions in aom_optimization.cmake
        now both require a dependent target argument. This facilitates the
        changes noted above regarding new privately linked static library
        targets for ASM and intrinsics sources.
      
      BUG=aomedia:76,aomedia:556
      
      Change-Id: I4892059880c5de0f479da2e9c21d8ba2fa7390c3
      84f2d796
    • Angie Chiang's avatar
      Pass conv_params into warp-related functions · 81b2e502
      Angie Chiang authored
      This aims at integrate convolve_round/compound_round
      with global_motion
      
      Change-Id: I1d91ff2de6b075f807eaaaa0a7a66edb2036e57b
      81b2e502
    • Yaowu Xu's avatar
      Avoid left shift of negative values · 31d19279
      Yaowu Xu authored
      changes shifts to multiplications
      
      BUG=aomedia:617
      
      Change-Id: I46a7b3b5d566f8c671e54d8cb876cc53fdc5009d
      31d19279
    • David Michael Barr's avatar
      [CFL] drop skip logic, always write alpha · 23198661
      David Michael Barr authored
      
      
      Results on Subset 1 (Compared to a0f8c145 with CfL)
      
        PSNR | PSNR Cb | PSNR Cr | PSNR HVS |   SSIM | MS SSIM | CIEDE 2000
      0.0677 | -0.3359 | -0.2115 |   0.0529 | 0.0735 |  0.0495 |    -0.0907
      
      Change-Id: Ib61ff862e8cfbdf0c693a4eba5f2712a6e9ab819
      Signed-off-by: default avatarDavid Michael Barr <b@rr-dav.id.au>
      23198661
    • Jonathan Matthews's avatar
      Fix compilation for · c6469232
      Jonathan Matthews authored
       CONFIG_DELTA_Q &&
       !CONFIG_EC_ADAPT &&
       !CONFIG_EXT_DELTA_Q
      
      Introduced in
        Ic42f60e19c56db52dd51b3784fd305c7e6b595c7
      
      BUG=aomedia:616
      
      Change-Id: Id0af560914d6b32c467dbb773d9462a089260944
      c6469232
    • Sebastien Alaiwan's avatar
      Use AOMMAX instead of ternary · 0ba49a58
      Sebastien Alaiwan authored
      Change-Id: Icfe43e3eda3dcdf5a6d5209e60b842e950655678
      0ba49a58
    • Sebastien Alaiwan's avatar
      Rename 'size' to 'frame_size' · 918c3c11
      Sebastien Alaiwan authored
      Change-Id: Ie720d1befcfe3c77db56bd3313b6e920fd69945c
      918c3c11
    • Sebastien Alaiwan's avatar
      Reduce scope of local variables · 62fc41ad
      Sebastien Alaiwan authored
      Change-Id: I702240cde0bd3befa196d722311003758b507c04
      62fc41ad
    • Yaowu Xu's avatar
      lpf_8_test: Use static arrays for test params · 1fd71059
      Yaowu Xu authored
      fixes compiler warnings in MSVC related to decorated name truncation
      
      Change-Id: I8a46898ac61d97ba3479268f16a93cc5d3169f4b
      1fd71059