Skip to content
Snippets Groups Projects
  1. May 11, 2022
  2. Apr 13, 2022
  3. Oct 09, 2021
  4. Sep 12, 2021
  5. Jul 03, 2020
  6. Dec 01, 2019
  7. Nov 22, 2019
  8. Nov 15, 2019
  9. Mar 28, 2019
  10. Nov 01, 2018
  11. Jul 18, 2018
  12. Jul 08, 2018
  13. Jul 07, 2018
  14. Feb 11, 2018
  15. Jan 31, 2018
  16. Dec 10, 2017
  17. Dec 09, 2017
    • James Cowgill's avatar
      avcodec/decode: reset codec on receiving packet after EOF in compat_decode · d8d1689f
      James Cowgill authored
      
      In commit 061a0c14 ("decode: restructure the core decoding code"), the
      deprecated avcodec_decode_* APIs were reworked so that they called into the
      new avcodec_send_packet / avcodec_receive_frame API. This had the side effect
      of prohibiting sending new packets containing data after a drain
      packet, but in previous versions of FFmpeg this "worked" and some
      applications relied on it.
      
      To restore some compatibility, reset the codec if we receive a new non-drain
      packet using the old API after draining has completed. While this does
      not give the same behaviour as the old API did, in the majority of cases
      it works and it does not require changes to any other part of the decoding
      code.
      
      Fixes ticket #6775
      Signed-off-by: default avatarJames Cowgill <jcowgill@debian.org>
      Signed-off-by: default avatarMarton Balint <cus@passwd.hu>
      (cherry picked from commit 02ba4b91)
      d8d1689f
  18. Dec 08, 2017
  19. Oct 15, 2017
  20. Oct 07, 2017
  21. Sep 30, 2017
  22. Sep 27, 2017
  23. Sep 23, 2017
    • Jorge Ramirez-Ortiz's avatar
      libavcodec: v4l2: add support for v4l2 mem2mem codecs · 1ef7752d
      Jorge Ramirez-Ortiz authored
          This patchset enhances Alexis Ballier's original patch and validates
          it using Qualcomm's Venus hardware (driver recently landed upstream
          [1]).
      
          This has been tested on Qualcomm's DragonBoard 410c and 820c
          Configure/make scripts have been validated on Ubuntu 10.04 and
          16.04.
      
          Tested decoders:
                 - h264
                 - h263
                 - mpeg4
                 - vp8
                 - vp9
                 - hevc
      
          Tested encoders:
                 - h264
                 - h263
                 - mpeg4
      
          Tested transcoding (concurrent encoding/decoding)
      
          Some of the changes introduced:
              - v4l2: code cleanup and abstractions added
              - v4l2: follow the new encode/decode api.
              - v4l2: fix display size for NV12 output pool.
              - v4l2: handle EOS (EPIPE and draining)
              - v4l2: vp8 and mpeg4 decoding and encoding.
              - v4l2: hevc and vp9 support.
              - v4l2: generate EOF on dequeue errors.
              - v4l2: h264_mp4toannexb filtering.
              - v4l2: fixed make install and fate issues.
              - v4l2: codecs enabled/disabled depending on pixfmt defined
              - v4l2: pass timebase/framerate to the context
              - v4l2: runtime decoder reconfiguration.
              - v4l2: add more frame information
              - v4l2: free hardware resources on last reference being released
              - v4l2: encoding: disable b-frames for upstreaming (patch required)
      
          [1] https://lwn.net/Articles/697956/
      
      
      
          System Level view:
              v42l_m2m_enc/dec --> v4l2_m2m --> v4l2_context --> v4l2_buffers
      
      Reviewed-by: default avatarJorge Ramirez <jorge.ramirez-ortiz@linaro.org>
      Reviewed-by: default avatarAlexis Ballier <aballier@gentoo.org>
      Tested-by: default avatarJorge Ramirez <jorge.ramirez-ortiz@linaro.org>
      
      Signed-off-by: default avatarwm4 <nfxjfg@googlemail.com>
      1ef7752d
  24. Sep 22, 2017
  25. Sep 13, 2017
  26. Sep 11, 2017
  27. Sep 09, 2017
  28. Sep 08, 2017
  29. Sep 05, 2017
  30. Sep 04, 2017
  31. Sep 02, 2017
  32. Aug 30, 2017
  33. Aug 29, 2017
  34. Aug 27, 2017
  35. Aug 26, 2017
  36. Aug 24, 2017
  37. Aug 19, 2017
Loading