1. 06 Dec, 2013 1 commit
    • Dmitry Kovalev's avatar
      Renaming constants. · 0d4b8d7e
      Dmitry Kovalev authored
      NUM_YV12_BUFFERS        => FRAME_BUFFERS
      ALLOWED_REFS_PER_FRAME  => REFS_PER_FRAME
      NUM_REF_FRAMES_LOG2     => REF_FRAMES_LOG2
      NUM_REF_FRAMES          => REF_FRAMES
      NUM_FRAME_CONTEXTS_LOG2 => FRAME_CONTEXTS_LOG2
      NUM_FRAME_CONTEXTS      => FRAME_CONTEXTS
      
      Change-Id: I4e1ada08f25d8fa30fdf03aebe1b1c9df0f87e63
      0d4b8d7e
  2. 26 Nov, 2013 1 commit
  3. 21 Nov, 2013 1 commit
    • Dmitry Kovalev's avatar
      Removing redundant call of vp9_init_mbmode_probs(). · c90b6bb1
      Dmitry Kovalev authored
      This function is called from vp9_setup_past_independence() which is called
      before the modified piece of code. Moving reset of inter_mode_probs  into
      vp9_init_mbmode_probs() for consistency.
      
      Change-Id: Ib188e8798e1fbe15407fd501406761b746fdda95
      c90b6bb1
  4. 05 Nov, 2013 2 commits
    • Dmitry Kovalev's avatar
      Localizing NEARESTMV special cases in the code. · 81518961
      Dmitry Kovalev authored
      Removing special case handling from vp9_tree_probs_from_distribution(),
      tree_merge_probs(), and vp9_tokens_from_tree_offset() functions. Replacing
      inter_mode_offset() function with macro INTER_OFFSET which is used now for
      vp9_inter_mode_tree definition.
      
      Change-Id: Iff75a1499d460beb949ece543389c8754deaf178
      81518961
    • Dmitry Kovalev's avatar
      Unified approach for backward probability update. · c622e1d1
      Dmitry Kovalev authored
      Replacing update_mode_probs() and adapt_probs() with tree_merge_probs().
      
      Change-Id: I50b2c968d67c9265f5216c700cbeba25fb014654
      c622e1d1
  5. 04 Nov, 2013 1 commit
    • Dmitry Kovalev's avatar
      Splitting partition_probs array into two arrays. · dde8069e
      Dmitry Kovalev authored
      We only update partition_probs for inter frames but they are constant
      for key frames. It is not necessary to have constants inside frame
      context and copy them every time. This change reduces FRAME_CONTEXT size
      by at least 48 bytes.
      
      
      Change-Id: If70a53be51043f37fe7d113853217937710932a7
      dde8069e
  6. 01 Nov, 2013 1 commit
    • Dmitry Kovalev's avatar
      Removing 'new' probability calculation from convert_distribution(). · df19c6b6
      Dmitry Kovalev authored
      We don't have to calculate 'new' probability in convert_distribution()
      because it is enough to calculate only 'new' counters which could be used
      to calculate probability if necessary. That's why removing a lot of unused
      temporary probability arrays and reducing number of get_binary_prob()
      calls.
      
      Change-Id: I4e14eb7203d1ace61bbddefd6b9b6326be83ba63
      df19c6b6
  7. 30 Oct, 2013 1 commit
  8. 22 Oct, 2013 1 commit
  9. 19 Oct, 2013 1 commit
    • Dmitry Kovalev's avatar
      Removing NUM_ prefix from constant names. · 6d2a0da7
      Dmitry Kovalev authored
      Renames for consistency with other constants:
        NUM_FRAME_TYPES -> FRAME_TYPES
        NUM_PARTITION_CONTEXTS -> PARTITION_CONTEXTS
      
      Change-Id: I3db30acb2868eb0a424237c831087b2e264ec47f
      6d2a0da7
  10. 11 Oct, 2013 1 commit
    • Dmitry Kovalev's avatar
      Adding TREE_SIZE macro + cleanup. · 860e4676
      Dmitry Kovalev authored
      Using TREE_SIZE for the following trees:
        vp9_intra_mode_tree
        vp9_inter_mode_tree
        vp9_partition_tree
        vp9_switchable_interp_tree
        vp9_mv_joint_tree
        vp9_mv_class_tree
        vp9_mv_class0_tree
        vp9_mv_fp_tree
      
      Change-Id: I0212bb4c1ee6648249f68517e28a67a56591ee1b
      860e4676
  11. 30 Sep, 2013 1 commit
    • Dmitry Kovalev's avatar
      Adding const to function arguments. · c64e2383
      Dmitry Kovalev authored
      Function list:
        tx_counts_to_branch_counts_32x32
        tx_counts_to_branch_counts_8x8
        tx_counts_to_branch_counts_8x8
        update_ct
        update_ct2
        update_mode_probs
      
      Change-Id: I120d8945a34378cf285d6bd415e23de1d522cf2f
      c64e2383
  12. 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
  13. 09 Sep, 2013 1 commit
  14. 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
  15. 24 Aug, 2013 2 commits
  16. 15 Aug, 2013 2 commits
  17. 09 Aug, 2013 2 commits
    • Dmitry Kovalev's avatar
      Moving loopfilter struct to VP9_COMMON. · 816d6c98
      Dmitry Kovalev authored
      Loop filter configuration doesn't belong to macroblock, so moving it from
      MACROBLOCKD to VP9_COMMON. Also moving the declaration of loopfilter struct
      from vp9_blockd.h to vp9_loopfilter.h.
      
      Change-Id: I4b3e34be9623b47cda35f9b1f9951f8c5b1d5d28
      816d6c98
    • Dmitry Kovalev's avatar
      General code cleanup. · 6a8ec3ea
      Dmitry Kovalev authored
      Removing redundant parenthesis and curly braces. Combining declarations
      with initializations. Adding useful intermediate variables instead of
      recalculating expressions every time.
      
      Change-Id: I00106f404afd60bfc189905b0fded881684f941a
      6a8ec3ea
  18. 05 Aug, 2013 1 commit
    • Dmitry Kovalev's avatar
      Changing the order switchable filter enum constants. · 3f611555
      Dmitry Kovalev authored
      This changeset allows to remove vp9_switchable_interp and
      vp9_switchable_interp_map arrays and make code much clear. Actually we
      still have to use these mapping but only inside read_interp_filter_type and
      write_interp_filter_type functions.
      
      Change-Id: I4026c6f8c4acefba6c81421b7bacbaa52cc45f50
      3f611555
  19. 01 Aug, 2013 1 commit
  20. 31 Jul, 2013 1 commit
  21. 29 Jul, 2013 1 commit
  22. 25 Jul, 2013 3 commits
  23. 24 Jul, 2013 1 commit
  24. 23 Jul, 2013 2 commits
  25. 22 Jul, 2013 1 commit
    • Dmitry Kovalev's avatar
      Using update_ct and update_ct2 functions for probability update. · 8c5ca9ff
      Dmitry Kovalev authored
      Update logic for both mode and mvref was the same, so using MODE_COUNT_SAT,
      MODE_MAX_UPDATE_FACTOR, update_ct, update_ct2 for both cases. Removing
      function update_tx_ct because it was identical to update_mode_ct2.
      
      Change-Id: Iff566be27dbd6cde4c2ec04e8d988f207046b8f0
      8c5ca9ff
  26. 20 Jul, 2013 1 commit
  27. 19 Jul, 2013 4 commits
  28. 17 Jul, 2013 1 commit
    • Dmitry Kovalev's avatar
      Removing kf_{y, uv}_mode_prob arrays from VP9Common. · f9f453ec
      Dmitry Kovalev authored
      These arrays have constant values (no any updates). Removing two
      corresponding memcpy calls. Making a little cleanup in vp9_entropymode.h
      as well: removing redundant 'extern' keyword and moving all function
      declarations at the end.
      
      Change-Id: Ia16b38b46aec2e2500f5df29c40a297ae241dede
      f9f453ec
  29. 16 Jul, 2013 1 commit
  30. 13 Jul, 2013 1 commit