1. 12 Mar, 2013 1 commit
    • Dmitry Kovalev's avatar
      Code cleanup. · 2891d70b
      Dmitry Kovalev authored
      Removing redundant code, introducing new functions for better
      decomposition, adding 'clamp' function to vp9_common.h.
      
      Change-Id: Ic3b8ca13bbc38f60f0c9c43910b5802005e31aaf
      2891d70b
  2. 11 Mar, 2013 6 commits
  3. 10 Mar, 2013 1 commit
    • John Koleszar's avatar
      Optimize vp9_tree_probs_from_distribution · bd84685f
      John Koleszar authored
      The previous implementation visited each node in the tree multiple times
      because it used each symbol's encoding to revisit the branches taken and
      increment its count. Instead, we can traverse the tree depth first and
      calculate the probabilities and branch counts as we walk back up. The
      complexity goes from somewhere between O(nlogn) and O(n^2) (depending on
      how balanced the tree is) to O(n).
      
      Only tested one clip (256kbps, CIF), saw 13% decoding perf improvement.
      
      Note that this optimization should port trivially to VP8 as well. In VP8,
      the decoder doesn't use this function, but it does routinely show up
      on the profile for realtime encoding.
      
      Change-Id: I4f2848e4f41dc9a7694f73f3e75034bce08d1b12
      bd84685f
  4. 09 Mar, 2013 2 commits
  5. 08 Mar, 2013 6 commits
  6. 07 Mar, 2013 9 commits
  7. 06 Mar, 2013 4 commits
  8. 05 Mar, 2013 5 commits
    • Dmitry Kovalev's avatar
      Code cleanup. · 7f99c3c5
      Dmitry Kovalev authored
      Removing redundant 'extern' keywords, fixing formatting and #include order,
      code simplification.
      
      Change-Id: I0e5fdc8009010f3f885f13b5d76859b9da511758
      7f99c3c5
    • Ronald S. Bultje's avatar
      Merge changes Ifacbf5a0,Ibad7c3dd into experimental · 4209bba4
      Ronald S. Bultje authored
      * changes:
        vpxenc: actually report mismatch on stderr.
        Make superblocks independent of macroblock code and data.
      4209bba4
    • Dmitry Kovalev's avatar
    • Ronald S. Bultje's avatar
      vpxenc: actually report mismatch on stderr. · 97dd7342
      Ronald S. Bultje authored
      Because ctx->err is not set in that case, it will not report the error
      on stderr.
      
      Change-Id: Ifacbf5a03e676fd56522b03c0281d6c723c563ee
      97dd7342
    • Ronald S. Bultje's avatar
      Make superblocks independent of macroblock code and data. · 111ca421
      Ronald S. Bultje authored
      Split macroblock and superblock tokenization and detokenization
      functions and coefficient-related data structs so that the bitstream
      layout and related code of superblock coefficients looks less like it's
      a hack to fit macroblocks in superblocks.
      
      In addition, unify chroma transform size selection from luma transform
      size (i.e. always use the same size, as long as it fits the predictor);
      in practice, this means 32x32 and 64x64 superblocks using the 16x16 luma
      transform will now use the 16x16 (instead of the 8x8) chroma transform,
      and 64x64 superblocks using the 32x32 luma transform will now use the
      32x32 (instead of the 16x16) chroma transform.
      
      Lastly, add a trellis optimize function for 32x32 transform blocks.
      
      HD gains about 0.3%, STDHD about 0.15% and derf about 0.1%. There's
      a few negative points here and there that I might want to analyze
      a little closer.
      
      Change-Id: Ibad7c3ddfe1acfc52771dfc27c03e9783e054430
      111ca421
  9. 04 Mar, 2013 6 commits