1. 13 Sep, 2012 1 commit
  2. 11 Sep, 2012 2 commits
  3. 07 Sep, 2012 1 commit
    • Jim Bankoski's avatar
      valgrind caught uninitialized cond · 2ff6d350
      Jim Bankoski authored
      If the decoder crashes and returned an error before it set up
      block offsets but after it set up frame buffers.   We had a
      problem decoding the next keyframe because the block offsets
      were never set.
      
      Change-Id: Ied2866e9770d80fc66241d5e0d978d4f5f9cdd89
      2ff6d350
  4. 28 Aug, 2012 1 commit
  5. 21 Aug, 2012 1 commit
  6. 20 Aug, 2012 1 commit
  7. 02 Aug, 2012 3 commits
    • Johann's avatar
      Pass B_PREDICTION_MODE to intra4x4_predict · 4b0b4363
      Johann authored
      Use the correct type when calling and inside the function.
      
      Change-Id: Idbaf1bf58b9574f0cba73d78780e9aedd8889dfd
      4b0b4363
    • Scott LaVarnway's avatar
      Removed last_kf_gf_q · 6ce58e84
      Scott LaVarnway authored
      Not used.
      
      Change-Id: I7595cb21db73bd56ee4d9280ecb7ab9b1240f4e2
      6ce58e84
    • Scott LaVarnway's avatar
      Added row based loopfilter · 1746b2ad
      Scott LaVarnway authored
      Interleaved loopfiltering with decode.  For 1080p clips, up to 1%
      performance gain.  For 4k clips, up to 10% seen.  This patch is required
      for better "frame-based" multithreading.
      
      Change-Id: Ic834cf32297cc04f27e8205652fb9f70cbe290db
      1746b2ad
  8. 01 Aug, 2012 3 commits
  9. 20 Jun, 2012 1 commit
  10. 11 Jun, 2012 1 commit
    • John Koleszar's avatar
      Fix pedantic compiler warnings · 0164a1cc
      John Koleszar authored
      Allows building the library with the gcc -pedantic option, for improved
      portabilty. In particular, this commit removes usage of C99/C++ style
      single-line comments and dynamic struct initializers. This is a
      continuation of the work done in commit 97b766a4, which removed most
      of these warnings for decode only builds.
      
      Change-Id: Id453d9c1d9f44cc0381b10c3869fabb0184d5966
      0164a1cc
  11. 04 Jun, 2012 1 commit
    • Johann's avatar
      Remove extra enum · 965d8686
      Johann authored
      VP8_REFFRAME is the same as vpx_ref_frame_type
      
      Change-Id: I63c2ddfb39f6ec87d1e5eb6a8852846464552b1b
      965d8686
  12. 01 Jun, 2012 1 commit
  13. 23 May, 2012 2 commits
    • Attila Nagy's avatar
      Fix another multithreaded encoder loopfilter race condition · 48908530
      Attila Nagy authored
      After a key frame encoding, the frame type could change while
      filtering is still going on. Pass the frame type as parameter to the
      loopfilter function and don't read it from common storage.
      
      vp8cx_set_alt_lf_level has to be done before packing the stream.
      Currently alt_lf_level is not used so there hasn't been any visible
      problem here.
      
      Change-Id: Ia114162158cd833c2b16e3b89303cc9c91f19165
      48908530
    • Attila Nagy's avatar
      Fix another multithreaded encoder loopfilter race condition · ea392d47
      Attila Nagy authored
      After a key frame encoding, the frame type could change while
      filtering is still going on. Pass the frame type as parameter to the
      loopfilter function and don't read it from common storage.
      
      vp8cx_set_alt_lf_level has to be done before packing the stream.
      Currently alt_lf_level is not used so there hasn't been any visible
      problem here.
      
      Change-Id: Ia114162158cd833c2b16e3b89303cc9c91f19165
      ea392d47
  14. 11 May, 2012 1 commit
  15. 04 May, 2012 2 commits
    • John Koleszar's avatar
      fix vp8_ namespace issues · 14d827f4
      John Koleszar authored
      Make functions only referenced from one translation unit static. Other
      symbols with extern linkage get a vp8/vpx prefix.
      
      Change-Id: I928c7e0d0d36e89ac78cb54ff8bb28748727834f
      14d827f4
    • Attila Nagy's avatar
      Make global data const · f039a85f
      Attila Nagy authored
      Removes all runtime initialization of global data. This commit is a
      squashed version of the following series cherry-picked from master.
      This is necessary because of a change that was merged to the tester
      that depends on the scaler being moved to the RTCD framework, which
      is a worthwhile thing to include in Eider anyway.
      
        - a91b42f0 Makes all global data in entropy.c const
        - b35a0db0 Makes all global data in tokenize.c const
        - 441cac8e Makes all mode token tables const
        - 5948a021 Ports vpx_xcaler to new RTCD method
        - 317d4244 Makes all mode token tables const part 2
      
      Change-Id: Ifeaea24df2b731e7c509fa6c6ef6891a374afc26
      f039a85f
  16. 02 May, 2012 1 commit
    • Attila Nagy's avatar
      Fix compiler warnings · 14c9fce8
      Attila Nagy authored
      Fix code for following warnings:
      -Wimplicit-function-declaration
      -Wuninitialized
      -Wunused-but-set-variable
      -Wunused-variable
      
      Change-Id: I2be434f22fdecb903198e8b0711255b4c1a2947a
      14c9fce8
  17. 26 Apr, 2012 1 commit
    • Attila Nagy's avatar
      Moves error concealment allocations from common parts to decoder · 24e7b1b9
      Attila Nagy authored
      The backup MODE_INFO buffer used in the error concealment was
      allocated in the codec common parts allocation even though this is a
      decoder only resource. Moved the allocation to the decoder side.
      No need to update_mode_info_border as mode_info buffers are zero
      allocated.
      
      This fixes also a potential memory leak as the EC overlaps buffer was not
      properly released before reallocation after a frame size change.
      
      Change-Id: I12803d3e012308d95669069980b1c95973fb775f
      24e7b1b9
  18. 24 Apr, 2012 1 commit
    • Attila Nagy's avatar
      Simplifies decoder multithread synching · 0c483d6b
      Attila Nagy authored
      Increment the last_row_mb_col counter by nsync after last MB of row is
      ready. This way we dont need to check for last MB of row when
      synching.
      
      Set last MB of row ready just after row extension is done, This avoids
      o potential race condition whit the processing of last MB of next row.
      
      Change-Id: I19c44fd6041116ee5483be2143b4f4bfcd149eac
      0c483d6b
  19. 23 Apr, 2012 3 commits
    • Scott LaVarnway's avatar
      Removed mcomp_filter_type · 11876faa
      Scott LaVarnway authored
      and replaced with use_bilinear_mc_filter.
      
      Change-Id: Ie9e9f0bccca4ab7d3e23ae045aefed33536103ff
      11876faa
    • Attila Nagy's avatar
      Optimizes precalculated decoder block ptrs&offs · 175495fe
      Attila Nagy authored
      The block pointers and offset do not need to be calculated for every
      frame. Block internal predictors can be update once when decoder is
      allocated. Destination and previous buffer offsets have to be updated
      just when frame size is changing.
      
      Change-Id: I92ca8df0e6aaac4cc35ab890751d446760bf82e2
      175495fe
    • Attila Nagy's avatar
      Removes duplication of key frame mode probabilities · f4126995
      Attila Nagy authored
      Key frame macrobock and block mode probabilities are constant.
      Remove the allocation of tables for each codec instance and use
      instead the default const prob tables.
      
      Change-Id: I8361798ac491f9b3889e86925a494c58647c753f
      f4126995
  20. 19 Apr, 2012 2 commits
    • Attila Nagy's avatar
      Ports vpx_xcaler to new RTCD method · 5948a021
      Attila Nagy authored
      We can get rid of all remaining global initializers now:
       vp8_scale_machine_specific_config()
       vp8_initialize()
       vp8dx_initialize()
      
      Change-Id: I2825cea5d1c01ad9f6c45df49a0f86d803bfeb69
      5948a021
    • Attila Nagy's avatar
      Makes all mode token tables const · 441cac8e
      Attila Nagy authored
      Mode token tabels precalculated in entropymode.c.
      Removes vp8_initialize_common()as all common global data
      is precalculated const now.
      
      Change-Id: I9b2ccc883e4f618069e1bc180dad3a823394eb73
      441cac8e
  21. 10 Apr, 2012 1 commit
    • Deb Mukherjee's avatar
      Fixes to disable MFQE when there is motion. · 6b33ca39
      Deb Mukherjee authored
      This patch includes:
      1. fixes to disable block based termporal mixing when motion
      is detected (because this version of mfqe only handles zero motion).
      2. The criterion used for determining whether to mix or
      not are changed to use squared differences rather than
      absolute differences.
      3. Additional checks on color mismatch and excessive block
      flatness added. If the block as decoded has very low activity
      it is unlikely to yield benefits for mixing.
      
      Change-Id: I07331e5ab5ba64844c56e84b1a4b7de823eac6cb
      6b33ca39
  22. 29 Mar, 2012 2 commits
    • Scott LaVarnway's avatar
      MB_MODE_INFO size reduction · 31322c5f
      Scott LaVarnway authored
      Reduced the size of the struct by 8 bytes, which would be
      a memory savings of 64800 bytes for 1080 resolutions.  Had
      an extra byte, so created an is_4x4 for B_PRED or SPLITMV
      modes.  This simplified the mode checks in
      vp8_reset_mb_tokens_context and vp8_decode_mb_tokens.
      
      Change-Id: Ibec27784139abdc34d4d01f73c09f43e9e10e0f5
      31322c5f
    • Scott LaVarnway's avatar
      Updated vp8_build_intra_predictors_mby_s(sse2/ssse3) · a3377256
      Scott LaVarnway authored
      to work with the latest code.
      
      Patch Set 2: aligned the above_row buffers to fix crash
      
      Change-Id: I7a6992a20ed079ccd302f8c26215cf3057f8b70c
      a3377256
  23. 26 Mar, 2012 1 commit
  24. 23 Mar, 2012 1 commit
    • Scott LaVarnway's avatar
      New vp8_decode_mb_tokens() · 9e9f5f3d
      Scott LaVarnway authored
      This new vp8_decode_mb_tokens() uses a modified version of
      WebP's GetCoeffs function.  For now, the dequant does not
      occur in GetCoeffs.
      Tests showed performance improvements up to 2.5% depending
      on material.
      
      Change-Id: Ia24d78627e16ffee5eb4d777ee8379a9270f07c5
      9e9f5f3d
  25. 08 Mar, 2012 1 commit
    • Scott LaVarnway's avatar
      threading.c refactoring · 9ed87471
      Scott LaVarnway authored
      Added recon above/left to MACROBLOCKD
      Reworked decode_macroblock
      
      Change-Id: I9c26870af75797134f410acbd02942065b3495c1
      9ed87471
  26. 29 Feb, 2012 1 commit
    • Scott LaVarnway's avatar
      Decoder loops refactoring · 2578b767
      Scott LaVarnway authored
      Eliminated some mb branches along with other code cleanups.
      This is part of an ongoing effort to remove cut/paste
      code in the decoder.
      
      Change-Id: Ifabb0f67cafa6922b5a0e89a0d03a9b34e9e5752
      2578b767
  27. 28 Feb, 2012 2 commits
    • Scott LaVarnway's avatar
      Eliminated reconintra_mt.c · bcba86e2
      Scott LaVarnway authored
      Reworked the code to use vp8_build_intra_predictors_mby_s,
      vp8_intra_prediction_down_copy, and vp8_intra4x4_predict_d_c
      functions instead.  vp8_intra4x4_predict_d_c is a decoder-only
      version of vp8_intra4x4_predict.  Future commits will fix this
      code duplication.
      
      Change-Id: Ifb4507103b7c83f8b94a872345191c49240154f5
      bcba86e2
    • Scott LaVarnway's avatar
      Removed duplicate code in threading.c · 9a4052a4
      Scott LaVarnway authored
      Change-Id: Id7e44950ceda67b280e410e541510106ef02f1da
      9a4052a4
  28. 21 Feb, 2012 1 commit