- 28 Oct, 2012 1 commit
-
-
Michael Niedermayer authored
They are essential to be able to use the utils without av_malloc() That is for example use with malloc(), memalign(), some other private allocation function, on the stack or others. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 23 Oct, 2012 2 commits
-
-
Anton Khirnov authored
In addition to the recent tables mess, the AVOption defaults behavior changed, so an old lavc used with a new lavu will get completely messed up defaults.
-
Anton Khirnov authored
-
- 21 Oct, 2012 2 commits
-
-
Nathan Caldwell authored
Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
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:
Thomas Kühnel <kuehnelth@googlemail.com> Signed-off-by:
Clément Bœsch <ubitux@gmail.com>
-
- 12 Oct, 2012 1 commit
-
-
Anton Khirnov authored
Make av_pix_fmt_descriptors table static on next major bump. Making the table public is dangerous, since the caller has no way to know how large it actually is. It also prevents adding new fields to AVPixFmtDescriptor without a major bump.
-
- 11 Oct, 2012 1 commit
-
-
Martin Storsjö authored
The current API where the plain size is exposed is not of much use - in most cases it is allocated dynamically anyway. If allocated e.g. on the stack via an uint8_t array, there's no guarantee that the struct's members are aligned properly (unless the array is overallocated and the opaque pointer within it manually aligned to some unspecified alignment). Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 10 Oct, 2012 1 commit
-
-
Luca Barbato authored
-
- 08 Oct, 2012 1 commit
-
-
Anton Khirnov authored
-
- 05 Oct, 2012 2 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
- 30 Sep, 2012 2 commits
-
-
Clément Bœsch authored
Also fix some dates (use the commit date instead of the author date).
-
Clément Bœsch authored
Note that a lavf bump was missing so I'm using 54.28.100 as a reference.
-
- 28 Sep, 2012 1 commit
-
-
jamal authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 24 Sep, 2012 1 commit
-
-
Anton Khirnov authored
Since an AVFrame now has malloced members (extended_data), it must have a destructor.
-
- 12 Sep, 2012 1 commit
-
-
Tim Walker authored
Can be used by DTS-HD, TrueHD and E-AC-3, among others. Signed-off-by:
Justin Ruggles <justin.ruggles@gmail.com>
-
- 05 Sep, 2012 1 commit
-
-
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.
-
- 04 Sep, 2012 1 commit
-
-
Martin Storsjö authored
Also mention this change in APIchanges. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 30 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 23 Aug, 2012 1 commit
-
-
Anton Khirnov authored
Also fill in missing dates and hashes.
-
- 15 Aug, 2012 1 commit
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 12 Aug, 2012 2 commits
-
-
Stefano Sabatini authored
Allow iteration over filter options.
-
Stefano Sabatini authored
-
- 10 Aug, 2012 2 commits
-
-
Anton Khirnov authored
C++ does not allow to mix different enums, so e.g. code comparing ACodecID with CodecID would fail to compile with gcc. This very evil hack should fix this problem.
-
Mans Rullgard authored
This adds a function to retrieve the number of entries in a dictionary and updates the places directly accessing what should be an opaque struct to use this new function instead. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 07 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 03 Aug, 2012 1 commit
-
-
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.
-
- 31 Jul, 2012 1 commit
-
-
Stefano Sabatini authored
This is required otherwise it is not always possible to guess the number of channels from the layout, for example if the channel layout is unknown.
-
- 30 Jul, 2012 1 commit
-
-
Nicolas George authored
Also bump minor version and add APIchanges entry.
-
- 29 Jul, 2012 1 commit
-
-
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:
Anton Khirnov <anton@khirnov.net>
-
- 21 Jul, 2012 1 commit
-
-
Marton Balint authored
Signed-off-by:
Marton Balint <cus@passwd.hu> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 20 Jul, 2012 2 commits
-
-
Robert Nagy authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Nicolas George authored
The new function is called avformat_match_stream_specifier() and does not include logging the error message.
-
- 14 Jul, 2012 3 commits
-
-
Luca Barbato authored
-
Luca Barbato authored
Both function ease allocating large arrays implementing the overflow check inside it.
-
Thomas Kühnel authored
See thread: Subject: [libav-devel] [PATCH 1/3] avcodec: add metadata to AVFrame Date: Tue, 4 Oct 2011 00:19:51 +0200
-
- 10 Jul, 2012 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 09 Jul, 2012 1 commit
-
-
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
-
- 26 Jun, 2012 1 commit
-
-
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()).
-
- 24 Jun, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-