1. 26 Nov, 2018 11 commits
  2. 23 Nov, 2018 3 commits
  3. 22 Nov, 2018 1 commit
  4. 06 Nov, 2018 2 commits
  5. 28 Oct, 2018 1 commit
  6. 01 Oct, 2018 2 commits
  7. 27 Jul, 2018 1 commit
  8. 04 Jul, 2018 1 commit
  9. 03 Jul, 2018 7 commits
    • Sreerenj Balachandran's avatar
      msdk: Set 16 bit alignment for width · 84c33be0
      Sreerenj Balachandran authored
      According to MediaSDK specification,
      Width must be a multiple of 16 and Height must be a multiple
      of 16 for progressive frame sequence and a multiple of 32 otherwise.
      
      This patch sets a 16 bit alignment for width and 32 bit alignment
      for height as default.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=796566
      84c33be0
    • Sreerenj Balachandran's avatar
      msdkdec: avoid early destruction of frame in dynamic resolution change · d63a1b4e
      Sreerenj Balachandran authored
      In cases where we do hard resest, the current code destroys the frame
      which has new resolution bit early and this causes buffer_unmap
      warnings. Keep an extra ref to the frame internally to avoid this.
      d63a1b4e
    • Sreerenj Balachandran's avatar
      msdkdec: vc1: Fix handling of advanced profile elementary stream · 1250af8f
      Sreerenj Balachandran authored
      Advanced profile elementary streams may not have codec_data
      always. So make sure we don't do anything with null buffer.
      1250af8f
    • Sreerenj Balachandran's avatar
      msdkdec: Fix advanced profile vc1 decode when codec_data presents · ad6162e9
      Sreerenj Balachandran authored
      The gst-msdk decoders only support packetized formats for
      all codecs except VC1. For VC1, it supports codec_data for advanced
      profiles and this codec_data wan't submitting to MSDK's DecodeHeader APIs.
      Make sure the subclass deocders correctly configured so that
      the codec_data buffers are in place in the internal adapter for
      MediaSDK's DecoderHeader usage.
      ad6162e9
    • Sreerenj Balachandran's avatar
      msdkdec: Fix the PTS of output frames · 9efb4c91
      Sreerenj Balachandran authored
      Currently we use the gst_video_decoder_get_oldest_frame()
      to get the old pending frame to output. But this is not correct
      if pts re-ordering required. This patch uses a custom made
      get_old_frame() which accounts the PTS too similar to the
      v4l2decoder.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=796699
      9efb4c91
    • Sreerenj Balachandran's avatar
      msdkdec: Remove dead code · 5c88da4a
      Sreerenj Balachandran authored
      We are not using any ExtendedParams for decoding.
      5c88da4a
    • Sreerenj Balachandran's avatar
      msdk: dec: Add dynamic-configuration change support · 1e95c03c
      Sreerenj Balachandran authored
      The patch adds a serios of changes to support dynamic resolution
      change and efficient utilization of resources.
      Major changes:
      
      -- Use MSDK's apis to retrieve the headers instead of only relying
      on upsteram notification. For eg: avc decoder requires SEI header
      information for dpb count calculation which we don't get from caps.
      
      -- For all codecs other than VP9, we force the reset of decoder
      if resoultion changes to fit with gstreamer flow. VP9 enfource
      the hard reset only if the new resolution is bigger.
      
      -- delay the src caps setting till msdk api's invokation in
      handle_frame to avoid caching multiple configuration values
      
      -- ensure pool negotiation is based on decoder's allocation_caps.
      
      --dynamic resoluttion change use an explicit allocation_query
      to reclaim the buffers before closing the decoder (thanks to v4l2dec)
      
      --In case if we don't get upstream notification of res change (for eg,
      this can can happen for vp9 frames with ivfheader where ivfparse
      is not able to notify the dynamic changes), we handle the the case
      based on MFX_ERR_INCOMPATIBLE_VIDEO_PARAM which is the return value
      of MFXVideoDECODE_DecodeFrameAsync
      
      -- calculate the minimum surfaces to be preallocated based on
      msdk suggestion, downstream requirement, async depth and scratch surface
      count for smooth display.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=796566
      1e95c03c
  10. 24 Jun, 2018 1 commit
  11. 07 Jun, 2018 4 commits
  12. 06 Jun, 2018 1 commit
  13. 31 May, 2018 5 commits