1. 01 Feb, 2014 1 commit
  2. 04 Jan, 2014 1 commit
  3. 06 Dec, 2013 1 commit
  4. 05 Dec, 2013 1 commit
    • Dmitry Kovalev's avatar
      Cleaning up vp9_detokenize.c file. · 934e10d0
      Dmitry Kovalev authored
      Using consistent names (block_idx => block, dqcoeff_ptr => dqcoeff,
      pt => ctx), inlining get_tx_eob() call.
      
      Change-Id: I05208e57df81bbb8f25b8274684a48192e9de464
      934e10d0
  5. 04 Dec, 2013 2 commits
    • Dmitry Kovalev's avatar
      Moving eob array to the encoder. · f00d157c
      Dmitry Kovalev authored
      In the decoder we don't need to save eobs, we can pass eob as an argument.
      That's why removing eob arrays from VP9Decompressor and TileWorkerData,
      and moving eob pointer from macroblockd_plane to macroblock_plane.
      
      Change-Id: I8eb919acc837acfb3abdd8319af63d1bbca8217a
      f00d157c
    • Dmitry Kovalev's avatar
      Cleaning up vp9_entropy.h file. · 8e89e2f2
      Dmitry Kovalev authored
      Renaming constants for consistency:
        DCT_VAL_CATEGORY1 => CATEGORY1_TOKEN
        DCT_VAL_CATEGORY2 => CATEGORY2_TOKEN
        DCT_VAL_CATEGORY3 => CATEGORY3_TOKEN
        DCT_VAL_CATEGORY4 => CATEGORY4_TOKEN
        DCT_VAL_CATEGORY5 => CATEGORY5_TOKEN
        DCT_VAL_CATEGORY6 => CATEGORY6_TOKEN
        DCT_EOB_TOKEN     => EOB_TOKEN
        DCT_EOB_MODEL_TOKEN => EOB_MODEL_TOKEN
        MAX_ENTROPY_TOKENS => ENTROPY_TOKENS
      
      Moving constants:
        INTER_MODE_CONTEXTS from vp9_entropy.h to vp9_blockd.h.
        EOSB_TOKEN from vp9_entropy.h to vp9_tokenize.h
      
      Change-Id: I5fcbf081318e1d365792b6d290a930c6cb0f3fc2
      8e89e2f2
  6. 03 Dec, 2013 1 commit
  7. 02 Dec, 2013 2 commits
    • Dmitry Kovalev's avatar
      Using local variable for token_cache. · 5ab920d2
      Dmitry Kovalev authored
      The difference with the old code is that originally the whole token_cache
      was initialized with zeros at the beginning of decode_coefs() function.
      Now we set several zero values explicitly with "token_cache[scan[c]] = 0".
      
      Change-Id: I88cc5031f01d13012d1a4491739c36cb44f9401e
      5ab920d2
    • Dmitry Kovalev's avatar
      Cleaning up decode_coefs() function. · 91441112
      Dmitry Kovalev authored
      Removing goto and using while loop instead, renaming seg_eob to max_eob,
      moving eob token counter increment.
      
      Change-Id: Idcc4b3a45e4f313596a71776aef56691a6647e5f
      91441112
  8. 26 Nov, 2013 1 commit
    • Dmitry Kovalev's avatar
      Deleting vp9_treereader.h file. · d7efe068
      Dmitry Kovalev authored
      Renaming treed_read() to consistent vp9_read_tree() and moving it from
      deleted vp9_treereader.h to vp9_dboolhuff.h file.
      
      Change-Id: Iedd8655acbe25e4fcf62b79e5a13bdea69b6b004
      d7efe068
  9. 23 Nov, 2013 1 commit
  10. 22 Nov, 2013 1 commit
  11. 21 Nov, 2013 1 commit
  12. 19 Nov, 2013 3 commits
  13. 14 Nov, 2013 2 commits
  14. 12 Nov, 2013 2 commits
  15. 07 Nov, 2013 1 commit
    • Dmitry Kovalev's avatar
      Using pd->dqcoeff instead of pd->qcoeff in the decoder. · a1dc97be
      Dmitry Kovalev authored
      It is more logical to use dqcoeff buffer to put there *dequantized*
      transform coefficients (inside inverse_transform_block and
      decode_coefs functions). Dequantization happens inside WRITE_COEF_CONTINUE
      macro.
      
      qcoeff buffer should be only used in the encoder for *quantized*
      transform coefficients.
      
      Change-Id: Ifd54bef272bbf5311ced6669c4f1079f998af5d7
      a1dc97be
  16. 06 Nov, 2013 1 commit
    • Yaowu Xu's avatar
      Simply a macro · 27885631
      Yaowu Xu authored
      Change-Id: I1c0c1b92aab33b1e4321b8e584a934fe58e0b324
      27885631
  17. 05 Nov, 2013 2 commits
    • Deb Mukherjee's avatar
      Miscelleneous changes in detokenize for speed · 551829d8
      Deb Mukherjee authored
      Changes to reduce branching in detokenization  in order
      to improve decode speed.
      
      Change-Id: I23a74d072cc14d99f6fc054c1e6a72021e777903
      551829d8
    • Deb Mukherjee's avatar
      token_cache changes in decoder · 3a833ea3
      Deb Mukherjee authored
      Removes stack-alocation of token_cache in decode_coefs function
      
      Seems to achieve about 1% decode speed improvement as tested on
      25 480p videos.
      
      Change-Id: I8e7eb3361fa09d9654dfad0677a6d606701fdc6e
      3a833ea3
  18. 31 Oct, 2013 1 commit
    • Dmitry Kovalev's avatar
      Reducing the number of foreach_transformed_block() calls. · 47b6030d
      Dmitry Kovalev authored
      The change doesn't affect the bitstream. It changes the order or function
      calls and affects how we reconstruct intra- and inter-blocks. Speed up is
      about 1...1.5%.
      
      For intra-blocks:
        Before:
          for each transform block read tokens
          for each transform block do prediction
          for each transform block do inverse transform
        Now:
          for each transform block
            read tokens
            do prediction
            do inverse transform
      
      For inter-blocks:
        Before:
          for each transform block read tokens
          for each transform block do inverse transform
        Now:
          for each transform block
            read tokens
            do inverse transform
      
      Change-Id: I12a79bf1aa5a18c351b8010369bd3ff1deae1570
      47b6030d
  19. 21 Oct, 2013 2 commits
  20. 18 Oct, 2013 1 commit
  21. 16 Oct, 2013 2 commits
    • Guillaume Martres's avatar
      Get rid of "this_mi", use "mi_8x8[0]" everywhere instead · acf0d56f
      Guillaume Martres authored
      The only case where they were intentionally pointing to different
      structures was in mbgraph, and this didn't have the expected behavior
      because both of these pointers are used interchangeably through the code
      
      Change-Id: I979251782f90885fe962305bcc845bc05907f80c
      acf0d56f
    • Dmitry Kovalev's avatar
      Adding get_band_translate() function. · 9deb614a
      Dmitry Kovalev authored
      Moving code that gets band_translate array from get_scan_and_band()
      function to get_band_translate() function. Renaming get_scan_and_band() to
      get_scan().
      
      Change-Id: I43047c205a1ca2a6e24be44db39dc04b7a385008
      9deb614a
  22. 15 Oct, 2013 1 commit
  23. 08 Oct, 2013 1 commit
  24. 07 Oct, 2013 1 commit
  25. 29 Sep, 2013 1 commit
  26. 27 Sep, 2013 1 commit
  27. 19 Sep, 2013 1 commit
  28. 11 Sep, 2013 1 commit
    • Scott LaVarnway's avatar
      New mode_info_context storage -- undo revert · ac6093d1
      Scott LaVarnway authored
      mode_info_context was stored as a grid of MODE_INFO structs.
      The grid now constists of pointers to MODE_INFO structs.  The
      MODE_INFO structs are now stored as a stream (decoder only),
      eliminating unnecessary copies and is a little more cache
      friendly.
      
      Change-Id: I031d376284c6eb98a38ad5595b797f048a6cfc0d
      ac6093d1
  29. 09 Sep, 2013 1 commit
  30. 06 Sep, 2013 1 commit
    • Scott LaVarnway's avatar
      New mode_info_context storage · dae17734
      Scott LaVarnway authored
      mode_info_context was stored as a grid of MODE_INFO structs.
      The grid now constists of a pointer to a MODE_INFO struct and
      a "in the image" flag.  The MODE_INFO structs are now stored
      as a stream, eliminating unnecessary copies and is a little
      more cache friendly.
      
      For the test clips used, the decoder performance improved
      by ~4.3% (1080p) and ~9.7% (720p).
      
      Patch Set 2: Re-encoded clips with latest. Now ~1.7% (1080p)
      and 5.9% (720p).
      
      Change-Id: I846f29e88610fce2523ca697a9a9ef2a182e9256
      dae17734
  31. 27 Aug, 2013 1 commit