1. 28 Oct, 2012 1 commit
  2. 23 Oct, 2012 2 commits
  3. 21 Oct, 2012 2 commits
    • Nathan Caldwell's avatar
      avutil: Add AVERROR_EXPERIMENTAL · a893655b
      Nathan Caldwell authored
      Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
      a893655b
    • Clément Bœsch's avatar
      lavc: add lavfi metadata support. · 6fb2fd89
      Clément Bœsch authored
      This commit introduces a new AVPacket side data type:
      AV_PKT_DATA_STRINGS_METADATA. Its main goal is to provide a way to
      transmit the metadata from the AVFilterBufferRef up to the AVFrame. This
      is at the moment "only" useful for lavfi input from libavdevice:
      lavd/lavfi only outputs packets, and the metadata from the buffer ref
      kept in its context needs to be transmitted from the packet to the frame
      by the decoders. The buffer ref can be destroyed at any time (along with
      the metadata), and a duplication of the AVPacket needs to duplicate the
      metadata as well, so the choice of using the side data to store them was
      selected.
      
      Making sure lavd/lavfi raises the metadata is useful to allow tools like
      ffprobe to access the filters metadata (it is at the moment the only
      way); ffprobe will now automatically show the AVFrame metadata in any
      customizable output format for users. API users will also be able to
      access the AVFrame->metadata pointer the same way ffprobe does
      (av_frame_get_metadata).
      
      All the changes are done in this single commit to avoid some memory
      leaks: for instances, the changes in lavfi/avcodec.c are meant to
      duplicate the metadata from the buffer ref into the AVFrame. Unless we
      have an internal way of freeing the AVFrame->metadata automatically, it
      will leak in most of the user apps. To fix this problem, we introduce
      AVCodecContext->metadata and link avctx->metadata to the current
      frame->metadata and free it at each decode frame call (and in the codec
      closing callback for the last one). But doing this also means to update
      the way the tiff decoder already handles the AVFrame->metadata (it's the
      only one decoder with frame metadata at the moment), by making sure it
      is not trying to free a pointer already freed by the lavc internals.
      
      The lavfi/avcodec.c buffer ref code is based on an old Thomas Kühnel
      work, the rest of the code belongs to the commit author.
      Signed-off-by: 's avatarThomas Kühnel <kuehnelth@googlemail.com>
      Signed-off-by: 's avatarClément Bœsch <ubitux@gmail.com>
      6fb2fd89
  4. 12 Oct, 2012 1 commit
  5. 11 Oct, 2012 1 commit
  6. 10 Oct, 2012 1 commit
  7. 08 Oct, 2012 1 commit
  8. 05 Oct, 2012 2 commits
  9. 30 Sep, 2012 2 commits
  10. 28 Sep, 2012 1 commit
  11. 24 Sep, 2012 1 commit
  12. 12 Sep, 2012 1 commit
  13. 05 Sep, 2012 1 commit
    • Stefano Sabatini's avatar
      lavu/parseutils: add av_small_strptime() · 29e972f6
      Stefano Sabatini authored
      Make internal small_strptime() function public, and use it in place of
      strptime().
      This allows to avoid a dependency on strptime() on systems which do not
      support it.
      
      In particular, fix trac ticket #992.
      29e972f6
  14. 04 Sep, 2012 1 commit
  15. 30 Aug, 2012 1 commit
  16. 23 Aug, 2012 1 commit
  17. 15 Aug, 2012 1 commit
  18. 12 Aug, 2012 2 commits
  19. 10 Aug, 2012 2 commits
  20. 07 Aug, 2012 1 commit
  21. 03 Aug, 2012 1 commit
    • Diego Biurrun's avatar
      x86: build: replace mmx2 by mmxext · 239fdf1b
      Diego Biurrun authored
      Refactoring mmx2/mmxext YASM code with cpuflags will force renames.
      So switching to a consistent naming scheme beforehand is sensible.
      The name "mmxext" is more official and widespread and also the name
      of the CPU flag, as reported e.g. by the Linux kernel.
      239fdf1b
  22. 31 Jul, 2012 1 commit
  23. 30 Jul, 2012 1 commit
  24. 29 Jul, 2012 1 commit
    • Luca Barbato's avatar
      avf: introduce nobuffer option · 681ed000
      Luca Barbato authored
      Useful in cases where a significant analyzeduration is
      still needed, while minimizing buffering before output.
      
      An example is processing low-latency streams where all
      media types won't necessarily come in if the
      analyzeduration is small.
      
      Additional changes by Josh Allmann <joshua.allmann@gmail.com>
      Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
      681ed000
  25. 21 Jul, 2012 1 commit
  26. 20 Jul, 2012 2 commits
  27. 14 Jul, 2012 3 commits
  28. 10 Jul, 2012 1 commit
  29. 09 Jul, 2012 1 commit
    • Stefano Sabatini's avatar
      lavfi: add init_opaque callback · 21d56098
      Stefano Sabatini authored
      This will be used by filters which require an opaque field to be passed
      in input. Should be required only for filters which imply a programmatic
      use.
      
      This is possibly a temporary solution, to be removed when we'll have a
      clearer and better agreememnt of how/if to pass binary data for
      initializing a filter.
      
      See thread:
      Subject: [FFmpeg-devel][PATCH] lavfi: add init2 callback
      Date: Fri,  6 Jul 2012 01:22:17 +0200
      21d56098
  30. 26 Jun, 2012 1 commit
    • Stefano Sabatini's avatar
      lavu/imgutils: create misc functions for dealing with buffers · e6674e46
      Stefano Sabatini authored
      Move the lavc/imgconvert functions and rename them as follows:
      avpicture_get_size -> av_image_get_buffer_size()
      avpicture_fill     -> av_image_fill_arrays()
      avpicture_layout   -> av_image_copy_to_buffer()
      
      The new functions have an align parameter, which allows to define the
      linesize alignment assumed in the buffer (which is set or read).
      
      The names of the functions are consistent with the lavu/samples API
      (av_samples_get_buffer_size(), av_samples_fill_arrays()).
      e6674e46
  31. 24 Jun, 2012 1 commit