1. 09 Jun, 2017 3 commits
    • Urvang Joshi's avatar
      Enable greedy version of av1_optimize_b(). · 09302f5a
      Urvang Joshi authored
      This has been found to be better than the original version in both ways:
      (1) Better compression: lowres -0.229, midres -0.147
      (2) Faster too in my quick test over 5 different clips with 30
      frames: 2.7% to 10.5% faster.
      
      Change-Id: I4d46e0915d6e4b8e7bfc03d0c8b88cbe3351ca20
      09302f5a
    • Thomas Davies's avatar
      AOM_QM: Use 8-bit matrices and fix 2x2 transform sizes. · 92aa22a8
      Thomas Davies authored
      2x2 transforms are now hidden behind the CHROMA_2X2 macro,
      not the CB4X4 macro.
      
      Change-Id: I5d73c679fba486ccda98fa8dbb804a3902df6c8d
      92aa22a8
    • Tom Finegan's avatar
      Fix example test incompatibilites with CMake build. · 747cf985
      Tom Finegan authored
      Minor updates in test/tools_common.sh to enable use of
      test/examples.sh with CMake make builds while continuing
      to support configure builds.
      
      BUG=aomedia:76,aomedia:589
      
      Change-Id: I841aef3b61a0c9baa8ad7356fc5b51ffb0902907
      747cf985
  2. 08 Jun, 2017 11 commits
    • Sebastien Alaiwan's avatar
      Avoid #if inside macro arguments · fadc7cbc
      Sebastien Alaiwan authored and James Zern's avatar James Zern committed
      Visual Studio doesn't support it.
      
      Change-Id: Ie7bd21e6d9a8a30b7b89e9fca6b82dd2aa406a89
      fadc7cbc
    • Alex Converse's avatar
      intrabc: Use max mesh range (256) at speed zero · cc54efdd
      Alex Converse authored
      BD-RATE PSNR twitch-1 1st KF: -0.1334
      BD-RATE PSNR wikipedia 1st KF: -8.8791
      
      Change-Id: I882af1d317ebdd3017c23fb884fc624282a2a55f
      cc54efdd
    • Sebastien Alaiwan's avatar
      Remove --test-16bit-internal option · 0b2e4039
      Sebastien Alaiwan authored
      This option is obsolete and confusing now that the LBD coding path
      can be disabled at build time (--disable-lowbitdepth).
      Removing it makes the encoder/decoder behaviours symmetric, and
      prevents the "--test-16bit-internal --test-decode=fatal" mismatch.
      
      BUG=aomedia:528
      
      Change-Id: Ia2d9857629b789b11d37fc75433b2cecc27d6642
      0b2e4039
    • Angie Chiang's avatar
      Copy ctx in get_entropy_contexts_plane for lv_map · fb42c7fa
      Angie Chiang authored
      This will fix Assertion in get_txb_ctx() for invalid sign value
      
      After fixing this bug, we have around 0.2% gain on lowres.
      
      With cb4x4 on only, lv_map provides 1.538% gain on lowres.
      
      With cb4x4 + chroma_sub8x8, lv_map provides 1.468% gain on lowres.
      
      Change-Id: I06f996ec5af0d5e79e377a3dc8c012862fc4b9c7
      fb42c7fa
    • Yushin Cho's avatar
      Refactor sub8x8 tx size RD for daala-dist · 30a2c5f2
      Yushin Cho authored
      For a tx size RD search with partition size >= 8x8 and tx size < 8x8,
      daala-dist function is applied to the whole partition after all tx blocks are encoded
      instead of each 8x8 sub block of the partition.
      
      Change-Id: I27d9e2960aa641f550096e32ebcdf8dfb4de79a6
      30a2c5f2
    • Sebastien Alaiwan's avatar
      In verbose mode, display the coding path in use · 2751192a
      Sebastien Alaiwan authored
      Change-Id: Id926529b11f859aebed43fdcfcdedba9ce26b1a7
      2751192a
    • Frederic Barbier's avatar
      Cleanup dead fwd transform functions · d405f8a6
      Frederic Barbier authored
      Cleanup related wrappers and unit-tests.
      
      Change-Id: I2d37a8c80de63dbeaef584e3d5fa842c0b2ee6db
      d405f8a6
    • Sebastien Alaiwan's avatar
      Revert "Enable one_sided_compound by default" · 8e3da097
      Sebastien Alaiwan authored
      This reverts commit bf3813a1.
      
      Reason for revert: feature not ready.
      Incompatible with lossless under some circumstances,
      causes the following assertion failure:
      Assertion `(!is_compound) == (cm->reference_mode == SINGLE_REFERENCE)' failed
      
      BUG=aomedia:575
      
      Change-Id: I63a2b38ce3b7cb50108ac559cca0768b4579c9ae
      8e3da097
    • Nathan E. Egge's avatar
      Remove unused av1_inter_mode_tree ind/inv arrays. · 50484232
      Nathan E. Egge authored
      Change-Id: If00a0bdf239b2c9e355cffd2e472708acb189f16
      50484232
    • Sarah Parker's avatar
      Remove deprecated high-bitdepth functions · 31c66502
      Sarah Parker authored
      This unifies the codepath for high-bitdepth transforms and deletes
      all calls to the old deprecated versions. This required reworking
      the way 1d configurations are combined in order to support rectangular
      transforms.
      
      There is one remaining codepath that calls the deprecated 4x4 hbd
      transform from encoder/encodemb.c. I need to take a closer look
      at what is happening there and will leave that for a followup
      since this change has already gotten so large.
      
      lowres 10 bit: -0.035%
      lowres 12 bit: 0.021%
      
      BUG=aomedia:524
      
      Change-Id: I34cdeaed2461ed7942364147cef10d7d21e3779c
      31c66502
    • Angie Chiang's avatar
      Fix conflict between lv_map and cb4x4 · ee4a34c2
      Angie Chiang authored
      Change-Id: I0512000554ef74d397332e5ed135fe20e2c4a37e
      ee4a34c2
  3. 07 Jun, 2017 7 commits
  4. 06 Jun, 2017 10 commits
    • Yi Luo's avatar
      Misc quantize unit test fix to conform coding style · 7e2dce03
      Yi Luo authored
      Change-Id: I4e9e6dc6c86de24c6a33d7078c29a853e142c062
      7e2dce03
    • Alex Converse's avatar
      intrabc: Fix mode and MV cost · d5d9b6ca
      Alex Converse authored
      objective-1-fast 1st KF: -0.07 BDRATE-PSNR
      twitch-1 1st KF: -0.04 BDRATE-PSNR
      
      Change-Id: I089900514c40f3b8b77708dac2c8bfbce2f540ff
      d5d9b6ca
    • Alex Converse's avatar
      intrabc: Elide subpel bits · 6b2584c6
      Alex Converse authored
      objective-1-fast 1st KF: -0.04 BDRATE-PSNR
      twitch-1 1st KF: -0.04 BDRATE-PSNR
      
      Change-Id: I74e8e43278a3d228f9b0a9af014e69f80aa90a0f
      6b2584c6
    • Tom Finegan's avatar
      Add doxygen template to CMake docs target. · 746a7853
      Tom Finegan authored
      - Adds the template file to the target enabling easy
        edit via IDE editor.
      - Drop a generated file comment at the beginning of
        the generated doxyfile in hopes of informing users it
        should not be modified.
      
      BUG=aomedia:76,aomedia:559
      
      Change-Id: Id4e2762a5dae145927e7b7f1f6689744150ba090
      746a7853
    • David Barker's avatar
      Fix some UBSan warnings · 185575a7
      David Barker authored
      * Make intermediate arrays in av1(_highbd)_warp_affine_c signed,
        to avoid integer overflow when multiplying an 'unsigned int'
        by a negative 'int' value.
      
      * Pad out arrays in masked_variance_test.cc so that the array
        stride is a multiple of 16 bytes.
        This fixes some UBSan errors in masked_variance_intrin_ssse3.c
        related to unaligned loads of 32-bit values.
      
      BUG=aomedia:572
      
      Change-Id: I0cf786c94870ff128c883bed8e900b0686afc3f7
      185575a7
    • David Barker's avatar
      Fix warp filter test with --disable-ssse3 · c2d500aa
      David Barker authored
      Put the test cases for av1_warp_affine_ssse3 behind a
      "#if HAVE_SSSE3" condition
      
      BUG=aomedia:582
      
      Change-Id: Ide55dc1cf6a1d1b0c37db6d17488ac3f8e113888
      c2d500aa
    • Urvang Joshi's avatar
      Add a new experiment "rect-intra-pred". · 766a389b
      Urvang Joshi authored
      Earlier, intra prediction for rectangular blocks was performed by
      running two steps of prediction on square sub-blocks.
      
      With this experiment, we do proper intra prediction for rectangular
      blocks. This ensures that we make use of all available neighboring
      pixels especially for directional modes. For this, all the intra
      predictors were updated to work with rectangular transform block sizes.
      
      Performance improvements are small but free of cost:
      
      All Intra frames:
      lowres: -0.126
      midres: -0.154
      
      Video Overall:
      lowres: -0.043
      midres: -0.100
      
      [Could not get AWCY results due to a backlog.]
      
      BUG=aomedia:551
      
      Change-Id: I7936e91b171d5c246cb0a4ea470a981a013892e6
      766a389b
    • Luc Trudeau's avatar
      [CFL] Get subsampling from AV1 common · dac5e391
      Luc Trudeau authored
      This change does not impact the bitstream
        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
      
      Change-Id: I6e131e91bad5efa345ed2542ae970eb6122eff51
      dac5e391
    • Luc Trudeau's avatar
      Move FrameContext out of plane loop · e2ac9855
      Luc Trudeau authored
      Change-Id: Ideaeb52dbaf87e5a68da90cb94b0517760cb9d5c
      e2ac9855
    • Debargha Mukherjee's avatar
      Make loop-restoration compatible w/ frame_superres · 2dd982e4
      Debargha Mukherjee authored
      When frame_superres is on, loop-restoration should work
      on the size of the upscaled frame and not on the internal
      width and height in the common structure. This patch
      makes the necessary changes on the encoder and decoder
      side to enable that.
      
      Change-Id: I1d1c024ac6f95944169d90647b4c5a61354a5cc6
      2dd982e4
  5. 05 Jun, 2017 6 commits
    • Luc Trudeau's avatar
      fix for zeromv[1] might be uninitialized · d28e91de
      Luc Trudeau authored
      This resolves issue #581.
      
      Also moves the mode if statement out of frame loop
      
      Change-Id: I673bc9196ee56f7612b3aa943bb1ceb31c659b28
      d28e91de
    • Tom Finegan's avatar
      CMake test target tweaks. · 375ee849
      Tom Finegan authored
      Exclude the test targets from Visual Studio and Xcode generation
      runs unless explicitly requested. The test run takes hours, and
      default behavior in the IDEs is to build all targets.
      
      BUG=aomedia:76
      
      Change-Id: I37e9904bd8d373a399d7d5fa49fe02771011f9d2
      375ee849
    • Urvang Joshi's avatar
      is_directional_mode: Check for directional modes directly. · 875a6675
      Urvang Joshi authored
      Earlier, the condition was negating all non-directional modes to check
      if a mode is directional. This was error-prone, e.g. when a new
      non-directional mode is added.
      
      By checking for directional modes directly, we avoid such errors.
      
      Change-Id: Ia4a62e278cd73078c53ed5096db646eff77f054e
      875a6675
    • Yue Chen's avatar
      Fix the rd loop for interinter compound types · e251825e
      Yue Chen authored
      Will enable COMPOUND_SEGMENT for blocks > 32x32, which does not
      support COMPOUND_WEDGE
      
      Change-Id: I7373ed3875393a4eac31e1292e26677d159f5d95
      e251825e
    • Angie Chiang's avatar
      Revert "Copy ctx in get_entropy_contexts_plane for lv_map" · 9fb7aad9
      Angie Chiang authored
      This reverts commit 90dad2e4.
      
      Reason for revert: Checked this in by accident
      
      Change-Id: Icbf8e6a76e5f0da8cee6365d03c41dea5b94775d
      9fb7aad9
    • Sarah Parker's avatar
      Early termination for warp error computation · 81f6ecd1
      Sarah Parker authored
      This terminates the computation for the warp error once
      the frame error exceeds the best frame error found
      so far to avoid unneccessary computation.
      
      Change-Id: I094a0b3e13f8b91610e051cb91d20a815879dd80
      81f6ecd1
  6. 03 Jun, 2017 1 commit
  7. 02 Jun, 2017 2 commits