1. 14 Jun, 2017 5 commits
    • Jingning Han's avatar
      Integrate level-map with var-tx · aba246dc
      Jingning Han authored
      Make the level-map and var-tx work together.
      
      Change-Id: I5ff80a3cbc43af64b504934209720f387b89dbd8
      aba246dc
    • Jingning Han's avatar
      Make level map coding system support rectangular tx_size · 341d79e1
      Jingning Han authored
      This commit makes the level map coding system support the transform
      coefficients from rectangular transform block sizes.
      
      Change-Id: I5cd6c71d12e41938f942adc98cc1e1f286336f12
      341d79e1
    • Jingning Han's avatar
      Rework get_eob_ctx to support rectangular tx_size · 4cbb3637
      Jingning Han authored
      Explicilty use the transform block size to determine the coeff
      band array. Remove the assumption on square transform block size.
      
      Change-Id: I18e285130465a5eced49304a27a6cb617e297760
      4cbb3637
    • Jingning Han's avatar
      Support rectangular tx_size in level map coding · 48be0e19
      Jingning Han authored
      Map the rectangular transform block size into the bigger square
      transform block size as the context for level map probability
      model.
      
      Change-Id: I20cf2b16daec16172855a78a201b670ff0547bf5
      48be0e19
    • Thomas Davies's avatar
      GLOBAL_MOTION: simplify parameter coding. · b732c1ea
      Thomas Davies authored
      Remove deprecated tree coding for the global motion type.
      Encoding with literals costs at most 0.8 bit per frame or
      tile group for the identity type, and saves bits for other
      types.
      
      AWCY (objective-1-fast): PSNR +0.02%, PSNR-HVS/MSSSIM +0.03%.
      
      Change-Id: I421a39fd8f830b2e40d105ea3c3688099a2b6d15
      b732c1ea
  2. 13 Jun, 2017 3 commits
  3. 12 Jun, 2017 3 commits
    • Fergus Simpson's avatar
      frame_superres: Post encode/decode upscaling · d2bcbb56
      Fergus Simpson authored
      This patch implements the post-encode and post-decode upscaling for the
      frame superresolution experiment to work.
      
      Upscaling happens after cdef and before loop restoration.
      
      For now, this patch forces on random-superres.
      
      The patch also cleans up some broken rate control hooks from VP9
      days, to be brought back later when the resize and superres tools
      are stable.
      
      Change-Id: If0a8f69224dfaa0f4ae7703bd429ea2af953c7a6
      d2bcbb56
    • Yue Chen's avatar
      supertx: code refactoring + resolve conflicts with baseline · 8e689e4b
      Yue Chen authored
      Refactoring: split prediction+extension for each plane, so we can
      handle luma/chroma supertx pred in different ways.
      Compatibility fix: fix conflicts with cb4x4 and chroma_sub8x8, now
      for chroma sub8x8 supertx, only the top-left(basic cb4x4) or the
      the bottom-right(cb4x4 + chroma_sub8x8) predictor will be used
      without any blending within a 8x8 unit.
      
      Change-Id: I6cf7b12768a82d3c7e01811ada02de84af9bd8ac
      8e689e4b
    • Zoe Liu's avatar
      Add encoder/decoder support for var-refs · 7b1ec7a9
      Zoe Liu authored
      Check the availability of the reference frames at the frame level at
      both encoder and decoder, and if a reference frame is not available
      for a specific video frame, remove the signaling of such reference
      frame info at the block level.
      
      This patch adds the consideration of the bit saving inside the RD
      optimization loop.
      
      Change-Id: I4c22f1b843b21c7d2b47e118c99c3ad615a3d4e4
      7b1ec7a9
  4. 08 Jun, 2017 2 commits
    • 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
  5. 07 Jun, 2017 1 commit
  6. 06 Jun, 2017 2 commits
    • 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
    • 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
  7. 02 Jun, 2017 2 commits
    • Alex Converse's avatar
      intrabc: adapt use_intrabc prob · 7c412ea4
      Alex Converse authored
      First keyframe BD-RATE objective-1-fast:
         PSNR | PSNR Cb | PSNR Cr | PSNR HVS |    SSIM | MS SSIM | CIEDE 2000
      -0.3705 | -0.3232 | -0.3812 |  -0.3782 |     N/A | -0.3412 |        N/A
      
      First keyframe BD-RATE twitch-1:
         PSNR | PSNR Cb | PSNR Cr | PSNR HVS |    SSIM | MS SSIM | CIEDE 2000
      -0.2479 | -0.2477 | -0.2467 |  -0.2567 | -0.2486 | -0.2508 |    -0.2487
      
      
      
      Change-Id: Iea6c895c6fe9e9764887a8968f6e5330903969d3
      7c412ea4
    • Fergus Simpson's avatar
      Revert "frame_superres: Send scale every frame" · 7b2d1448
      Fergus Simpson authored
      This reverts commit 846d67dd.
      
      Writing the scale every frame was not the right decision. The correct
      thing to do will be also writing the superres scale when the size is
      set using a previous frame.
      
      Change-Id: I0402e7f6d2b89ac7c386f81e8628198d22db5066
      7b2d1448
  8. 01 Jun, 2017 3 commits
  9. 31 May, 2017 1 commit
    • Jingning Han's avatar
      Rework txfm_above and txfm_left context offset · 331662e9
      Jingning Han authored
      Make the txfm_above and txfm_left be processed in the unit of
      miniumum transform block size. Scale the transform block step
      size with respect to the mode_info step size.
      
      Change-Id: Iee4421e005db742cd4ff7899215560063e5f68e5
      331662e9
  10. 29 May, 2017 1 commit
  11. 26 May, 2017 1 commit
  12. 25 May, 2017 5 commits
  13. 24 May, 2017 4 commits
    • David Michael Barr's avatar
      [CFL] Calculate SSE for distinct alpha before RDO · 84a44dbe
      David Michael Barr authored
      Separate the codes into a table of distinct values
      and an index into that table.
      Pull the SSE calculation of the RDO loop and avoid
      repeating for the same alpha values.
      
      Change-Id: I8c4bd7eab6f8000e6aca9687d9190abc3e270c37
      Signed-off-by: default avatarDavid Michael Barr <b@rr-dav.id.au>
      84a44dbe
    • Thomas Davies's avatar
      AOM_QM: redesign matrices and support CB_4X4 and RECT-TX. · 6675adff
      Thomas Davies authored
      All matrices are derived by subsampling 32x32 and 32x16 matrices.
      Inter and intra matrices now use the same matrix set.
      
      BUG=aomedia:520
      
      AWCY results for default setting (qm-min=5, qm-max=9):
      
        PSNR  | PSNR Cb | PSNR Cr | PSNR HVS | SSIM  | MS SSIM | CIEDE 2000
         2.75 |  7.98   |    -    |  -3.52   |  0.73 |   -2.21 |   4.22
      
      Change-Id: I8414d19eaf50cfe80d4fe2290da6cdf4ebb406cb
      6675adff
    • Nathan E. Egge's avatar
      Fix EC_ADAPT bug introduced in ad66b816. · 9e9682fa
      Nathan E. Egge authored
      When merging NEW_TOKENSET into EC_MULTISYMBOL a bug was introduced when
       EC_MULTISYMBOL == 1 and EC_ADAPT == 0.
      This patch reverts that change and replaces CONFIG_EC_MULTISYMBOL with
       the equivalent flag (CONFIG_DAALA_EC || CONFIG_ANS).
      
      BUG=aomedia:550
      
      Change-Id: I164df42121ca0959247af34e65287b1d230346f7
      9e9682fa
    • Yue Chen's avatar
      Fix assertion failure in var_tx+rect_tx-ext_tx · 3ca7dd98
      Yue Chen authored
      BUG=aomedia:560
      
      Change-Id: Ie399d61162ab33e35fa0cb04206904e3af1bbb2d
      3ca7dd98
  14. 23 May, 2017 1 commit
  15. 21 May, 2017 1 commit
    • Timothy B. Terriberry's avatar
      cb4x4: Fix reset_skip_context() without chroma_2x2 · a2d5cdef
      Timothy B. Terriberry authored
      reset_skip_context() was always clearing the entropy contexts for
      all three color planes, using a block size that corresponded with
      the luma plane.
      
      However, when chroma_2x2 is disabled, then for sub-8x8 luma block
      sizes, the corresponding chroma block size is always 4x4, and the
      skip flag only affects the chroma blocks corresponding to the
      upper-left luma block.
      
      This patch makes reset_skip_context() reset the contexts that
      actually correspond to the chroma blocks that are skipped (if any).
      It also moves reset_skip_context() to av1_reset_skip_context() in
      blockd.c, because blockd.h gets included before onyx_int.h, which
      declares the required is_chroma_reference() function.
      reset_skip_context() was too large and used in too many places to
      be a reasonable candidate for inlining, anyway.
      
      AWCY results on objective-1-fast:
      
      cb4x4-fix-base@2017-05-11T06:26:50.159Z -> cb4x4-fix-reset_skip@2017-05-11T06:28:45.482Z
        PSNR | PSNR Cb | PSNR Cr | PSNR HVS |   SSIM | MS SSIM | CIEDE 2000
      0.0301 |  0.1068 |  0.1463 |   0.0359 | 0.0260 |  0.0347 |     0.0479
      
      A regression (near the noise range), but without this fix, the line
      buffer size required by the entropy contexts will be doubled.
      
      Change-Id: I12fa6e60d9c1c7c85927742775a346ea22b3193f
      a2d5cdef
  16. 20 May, 2017 2 commits
    • hui su's avatar
      DPCM intra coding experiment · b8a6fd6b
      hui su authored
      Encode a block line by line, horizontally or vertically. In the vertical
      mode, each row is predicted by the reconsturcted row above;
      in the horizontal mode, each column is predicted by the reconstructed
      column to the left.
      
      The DPCM modes are enabled automatically for blocks with horizontal or
      vertical prediction mode, and 1D transform types (ext-tx).
      
      Change-Id: I133ab6b537fa24a6e314ee1ef1d2fe9bd9d56c13
      b8a6fd6b
    • Nathan E. Egge's avatar
      Replace EC_MULTISYMBOL with DAALA_EC || ANS. · cd539518
      Nathan E. Egge authored
      Change-Id: Ia0eb3a3694fdbe9d33548ff4014b704b2f3db86a
      cd539518
  17. 19 May, 2017 3 commits