1. 20 Jun, 2019 1 commit
  2. 27 Jul, 2015 3 commits
  3. 20 Jul, 2015 3 commits
    • Vittorio Giovara's avatar
      Deprecate avctx.coded_frame · 40cf1bba
      Vittorio Giovara authored
      The rationale is that coded_frame was only used to communicate key_frame,
      pict_type and quality to the caller, as well as a few other random fields,
      in a non predictable, let alone consistent way.
      
      There was agreement that there was no use case for coded_frame, as it is
      a full-sized AVFrame container used for just 2-3 int-sized properties,
      which shouldn't even belong into the AVCodecContext in the first place.
      
      The appropriate AVPacket flag can be used instead of key_frame, while
      quality is exported with the new AVPacketSideData quality factor.
      There is no replacement for the other fields as they were unreliable,
      mishandled or just not used at all.
      Signed-off-by: 's avatarVittorio Giovara <vittorio.giovara@gmail.com>
      40cf1bba
    • Vittorio Giovara's avatar
      Gather all coded_frame allocations and free functions to a single place · d6604b29
      Vittorio Giovara authored
      Allocating coded_frame is what most encoders do anyway, so it makes
      sense to always allocate and free it in a single place. Moreover a lot
      of encoders freed the frame with av_freep() instead of the correct API
      av_frame_free().
      
      This bring uniformity to encoder behaviour and prevents applications
      from erroneusly accessing this field when not allocated. Additionally
      this helps isolating encoders that export information with coded_frame,
      and heavily simplifies its deprecation.
      Signed-off-by: 's avatarVittorio Giovara <vittorio.giovara@gmail.com>
      d6604b29
    • Vittorio Giovara's avatar
      a64multienc: Do not entangle coded_frame · 91767360
      Vittorio Giovara authored
      This change (and the following ones of the same kind) is mainly to
      simplify wrapping this section with an #if FF_API block later on.
      
      No functional changes are applied, the fields of the context coded_frame
      fields are directly initialized, instead of keeping a reference to the
      coded_frame itself.
      Signed-off-by: 's avatarVittorio Giovara <vittorio.giovara@gmail.com>
      91767360
  4. 23 Feb, 2015 5 commits
  5. 22 Feb, 2015 1 commit
  6. 18 Dec, 2014 1 commit
  7. 18 Jul, 2014 2 commits
  8. 08 Apr, 2014 1 commit
  9. 20 Feb, 2014 1 commit
  10. 16 Nov, 2013 1 commit
  11. 13 Nov, 2013 1 commit
  12. 03 Oct, 2013 1 commit
  13. 17 Mar, 2013 1 commit
  14. 08 Oct, 2012 1 commit
  15. 15 Aug, 2012 1 commit
  16. 07 Aug, 2012 1 commit
  17. 17 Jun, 2012 1 commit
  18. 23 Mar, 2012 1 commit
  19. 22 Mar, 2012 1 commit
  20. 01 Mar, 2012 1 commit
  21. 25 Feb, 2012 1 commit
  22. 23 Feb, 2012 2 commits
  23. 02 Jun, 2011 1 commit
  24. 29 May, 2011 1 commit
  25. 02 May, 2011 2 commits
  26. 19 Mar, 2011 1 commit
  27. 28 Jan, 2011 1 commit
  28. 26 Jan, 2011 1 commit
  29. 18 Jan, 2011 1 commit