1. 01 Dec, 2016 1 commit
  2. 02 Nov, 2016 10 commits
  3. 12 Oct, 2016 2 commits
    • Philip Langdale's avatar
      crystalhd: Use mpeg4_unpack_bframes to avoid buggy crystalhd handling · 03d6d5f3
      Philip Langdale authored
      The hardware handling of packed bframes was always questionable but
      it used to ok with my workaround. Today, not so much. But today we
      have a bsf to unpack the bframes, so let's just use that and be
      done with it.
      03d6d5f3
    • Philip Langdale's avatar
      crystalhd: Fix handling of PTS · b5f45208
      Philip Langdale authored
      With all the various refactorings that have happened over the years,
      the current pts logic is very broken for non-trivial cases (ie: ones
      where not every frame/field has a meaningful pts assocated with it).
      
      Generally, we do not want to write AV_NOPTS_VALUE as the output
      timestamp, regardless of anything else. It's better to pass zero
      if there's no other information.
      
      Additionally, interlaced content where the decoder returns each field
      separately can result in the first field carrying the timestamp and
      the second having AV_NOPTS_VALUE. It's clearly wrong to overwrite
      the valid timestamp.
      
      So, let's just never write AV_NOPTS_VALUE into an output frame.
      
      Empirically, this fixed playback of interlaced mpeg2 and h.264 and
      mpeg4-asp with packed b-frames in an avi container.
      b5f45208
  4. 21 Sep, 2016 1 commit
  5. 30 Oct, 2014 1 commit
  6. 08 Jul, 2014 1 commit
  7. 18 May, 2014 1 commit
  8. 04 Oct, 2013 1 commit
  9. 13 Mar, 2013 3 commits
  10. 05 Dec, 2012 1 commit
  11. 03 Nov, 2012 1 commit
  12. 07 Aug, 2012 1 commit
  13. 03 Aug, 2012 1 commit
  14. 29 Jun, 2012 1 commit
  15. 06 May, 2012 1 commit
  16. 17 Apr, 2012 2 commits
  17. 25 Mar, 2012 1 commit
  18. 22 Jan, 2012 2 commits
  19. 17 Oct, 2011 1 commit
  20. 22 Jun, 2011 3 commits
  21. 14 Jun, 2011 2 commits
  22. 30 Apr, 2011 1 commit
    • Philip Langdale's avatar
      CrystalHD: Add auto-detection of packed b-frame bug. · 8de45adb
      Philip Langdale authored
      I still don't fully understand the cause but the difference between
      the samples that trigger the bug and the samples that don't is
      that the former uses delay frames and the later uses drop frames
      as placeholders for the packed frame. So, if we see the one type
      of frame, we can assume the bug will or won't be present.
      
      Right now, I'm detecting the frame types by size, which may not be
      safe in general, but given the specific codec and file type, I
      expect any scenario where we encounter these frames where they
      aren't being used for b-frame packing won't care one way or
      another whether the work around is in effect or not.
      Signed-off-by: 's avatarPhilip Langdale <philipl@overt.org>
      8de45adb
  23. 24 Apr, 2011 1 commit
    • Philip Langdale's avatar
      CrystalHD: Add AVOption to configure hardware downscaling. · e4253b1a
      Philip Langdale authored
      The CrystalHD hardware can do scaling, which is particularly
      desirable when dealing with some high resolution clips that take
      so long to decode and copy out that they end up playing back
      slower than realtime. By using scaling, we can make the output
      frames smaller and reduce the copy out time.
      
      This option takes the desired horizontal width in pixels, and
      the hardware will do an aspect-scale. Upscaling is not supported
      and the hardware will simply ignore any request to do so.
      Signed-off-by: 's avatarPhilip Langdale <philipl@overt.org>
      e4253b1a