1. 19 Sep, 2014 1 commit
  2. 12 Sep, 2014 2 commits
    • JackyChen's avatar
      Change the control function of VP9 denoiser. · bb1a2365
      JackyChen authored
      Change from VP8E_SET_NOISE_SENSITIVITY to VP9E_SET_NOISE_SENSITIVITY
      
      Change-Id: Ia210a7029b26924e30973f0f9798a338e0412407
      bb1a2365
    • Deb Mukherjee's avatar
      Adds high bitdepth transform functions and tests · 10783d4f
      Deb Mukherjee authored
      Adds various high bitdepth transform functions and tests.
      Much of the changes are related to using typedefs tran_low_t
      and tran_high_t for the final transform cofficients and intermediate
      stages of the transform computation respectively rather than fixed
      types int16_t/int. When vp9_highbitdepth configure flag is off,
      these map tp int16_t/int32_t, but when the flag is on, they map
      to int32_t/int64_t to make space for needed extra precision.
      
      Change-Id: I3c56de79e15b904d6f655b62ffae170729befdd8
      10783d4f
  3. 11 Sep, 2014 1 commit
  4. 04 Sep, 2014 2 commits
  5. 03 Sep, 2014 1 commit
  6. 02 Sep, 2014 2 commits
    • Deb Mukherjee's avatar
      Adds config opt for highbitdepth + misc. vpx · 5acfafb1
      Deb Mukherjee authored
      Adds config parameter vp9_highbitdepth, to support highbitdepth profiles.
      Also includes most vpx level high bit-depth functions. However
      encode/decode in the highbitdepth profiles will not work until
      the rest of the code is in place.
      
      Change-Id: I34c53b253c38873611057a6cbc89a1361b8985a6
      5acfafb1
    • Minghai Shang's avatar
      [svc] Temporal svc with two pass rate control · be3b08da
      Minghai Shang authored
      It's built based on current spatial svc code.
      We only support one spatial two temporal layers at this time.
      Change-Id: I1fdc8584354b910331e626bfae60473b3b701ba1
      be3b08da
  7. 28 Aug, 2014 1 commit
    • Dmitry Kovalev's avatar
      Removing alg_priv from vpx_codec_priv struct. · 73edeb03
      Dmitry Kovalev authored
      In order to understand memory layout consider the declaration of the
      following structs. The first one is a part of our API:
      
      struct vpx_codec_ctx {
        // ...
        struct vpx_codec_priv *priv;
      };
      
      The second one is defined in vpx_codec_internal.h:
      
      struct vpx_codec_priv {
        // ...
      };
      
      The following struct is defined 4 times for encoder/decoder VP8/VP9:
      
      struct vpx_codec_alg_priv {
        struct vpx_codec_priv base;
        // ... 
      };
      
      Private data allocation for the given ctx:
      
      struct vpx_codec_ctx *ctx = <get>
      struct vpx_codec_alg_priv *alg_priv = <allocate>
      ctx->priv = (struct vpx_codec_priv *)alg_priv;
      
      The cast works because vpx_codec_alg_priv has a
      vpx_codec_priv instance as a first member 'base'.
      
      Change-Id: I10d1afc8c9a7dfda50baade8c7b0296678bdb0d0
      73edeb03
  8. 26 Aug, 2014 3 commits
  9. 25 Aug, 2014 1 commit
    • Minghai Shang's avatar
      [spatial svc]Multiple frame context feature · d4a407c0
      Minghai Shang authored
      We can use one frame context for each layer so that we don't have
      to reset the probs every frame. But we can't use prev_mi since we
      may drop enhancement layers. So we have to generate a non vp9
      compatible bitstream and modify it in the player.
      1. We need to code all frames as invisible frame to let prev_mi
         not to be used. But in the bitstream we need to code the
         show_frame flag to 1 so that the publisher will know it's
         supposed to be a visible frame.
      2. In the player we need to change the show_frame flag to 0 for
         all frames. Then add an one byte frame into the super frame
         to tell the decoder which layer we want to show.
      Change-Id: I75b7304cf31f0ab952f043e33c034495e88f01f3
      d4a407c0
  10. 22 Aug, 2014 2 commits
    • Dmitry Kovalev's avatar
      Choosing GOOD mode by default. · 8d363882
      Dmitry Kovalev authored
      This patch fixes slow first pass problem. Mode could only be determined
      from the deadline value during frame encode call. Unfortunately, we use
      mode value before any encode calls during the first pass encoding (see
      set_speed_features() logic). The mode for the first pass must be different
      from BEST to make first pass fast.
      
      Change-Id: I562a7d32004ff631695d91c09a44d8a9076fd6b5
      8d363882
    • Jim Bankoski's avatar
      vp9_cx_iface.c: spatial_svc resolve missing initializer warning · 75290d9b
      Jim Bankoski authored
      Change-Id: I3f56a4d64828a74c370a5b3247a5f00e554a922c
      75290d9b
  11. 21 Aug, 2014 2 commits
  12. 20 Aug, 2014 1 commit
  13. 19 Aug, 2014 3 commits
  14. 12 Aug, 2014 1 commit
  15. 11 Aug, 2014 1 commit
  16. 08 Aug, 2014 3 commits
    • Dmitry Kovalev's avatar
      Moving framerate from VP9EncoderConfig to VP9_COMP. · 5a78c406
      Dmitry Kovalev authored
      Framerate changes over time, VP9EncoderConfig supposed to have static
      read-only data.
      
      Change-Id: I36580a7ee71243c1eabb57691089691731d03e67
      5a78c406
    • Dmitry Kovalev's avatar
      Moving pass from VP9_COMP to VP9EncoderConfig. · 91c2f1e4
      Dmitry Kovalev authored
      We had a very complicated way to initialize cpi->pass from
      cfg->g_pass:
      switch (cfg->g_pass) {
        case VPX_RC_ONE_PASS:
          oxcf->mode = ONE_PASS_GOOD;
          break;
        case VPX_RC_FIRST_PASS:
          oxcf->mode = TWO_PASS_FIRST;
          break;
        case VPX_RC_LAST_PASS:
          oxcf->mode = TWO_PASS_SECOND_BEST;
          break;
      }
      
      cpi->pass = get_pass(oxcf->mode).
      
      Now pass is moved to VP9EncoderConfig and initialization is simple:
      switch (cfg->g_pass) {
        case VPX_RC_ONE_PASS:
          oxcf->pass = 0;
          break;
        case VPX_RC_FIRST_PASS:
          oxcf->pass = 1;
          break;
        case VPX_RC_LAST_PASS:
          oxcf->pass = 2;
          break;
      }
      
      Change-Id: I8f582203a4575f5e39b071598484a8ad2b72e0d9
      91c2f1e4
    • Adrian Grange's avatar
      Common encode/decode function to get reference frame · 1ebf52df
      Adrian Grange authored
      Replaced encoder and decoder functions to get a pointer
      to a reference frame with a common function, vp9_get_ref_frame,
      and simplified it.
      
      Change-Id: Icb206fcce8caace3bfd1db3dbfa318dde79043ee
      1ebf52df
  17. 07 Aug, 2014 1 commit
  18. 06 Aug, 2014 3 commits
  19. 05 Aug, 2014 2 commits
  20. 04 Aug, 2014 1 commit
  21. 31 Jul, 2014 1 commit
  22. 29 Jul, 2014 1 commit
    • James Zern's avatar
      vp9_cx_iface: defer compressed data buffer alloc · c2c02510
      James Zern authored
      currently the only way to know if multiple alt-refs are enabled is to
      inspect the encoder instance.
      this reduces the size of the allocation by 75% when not using multiple
      alt-refs
      
      Change-Id: Ie4baa240c2897e64b766c6ad229674884b5a65b6
      c2c02510
  23. 22 Jul, 2014 1 commit
  24. 15 Jul, 2014 2 commits
  25. 14 Jul, 2014 1 commit
    • Minghai Shang's avatar
      [spatial svc]Implement alt reference frames · e899859c
      Minghai Shang authored
      All changes are for spatial svc only.
      1. Enable encoding hidden frames in each layer and use alt reference idex to reference the hidden frame in each layer
      2. Use golden reference idx for spatial reference
      3. For those layers that don't have hidden frames (caused by lack of frame buffers), reference a hidden frame in lower layers
      4. Add "auto-alt-refs" in svc options
      Change-Id: Idf27d1fd2fb5f3ffd9e86d2119235e3dad36c178
      e899859c