summaryrefslogtreecommitdiff
path: root/libavfilter/formats.c
Commit message (Collapse)AuthorAge
* lavfi: do not exclude hwaccel formats from ff_all_formats()Anton Khirnov2015-09-28
| | | | It should be possible to pass hwaccel frames through lavfi.
* formats: Check memory allocationsVittorio Giovara2015-03-12
|
* lavfi: clean memory on error in ADD_FORMAT()Vittorio Giovara2014-11-21
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1250334
* lavfi/formats: avoid using AV_{PIX,SAMPLE}_FMT_NBAnton Khirnov2014-05-26
| | | | | Thatt hardcodes the number of formats into lavfi and will break when a shared lavu is updated, adding new formats.
* lavfi: rename AVFilterFormats.format_count to nb_formatsAnton Khirnov2013-05-17
| | | | This is more consistent with naming in the rest of Libav.
* pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov2013-05-15
|
* lavfi: do not use av_pix_fmt_descriptors directly.Anton Khirnov2012-10-12
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavfi: remove disabled FF_API_FILTERS_PUBLIC cruftAnton Khirnov2012-06-26
|
* lavfi: replace AVFilterContext.input/output_count with nb_inputs/outputsAnton Khirnov2012-06-13
| | | | This is more consistent with naming in the rest of Libav.
* lavfi: add channelsplit audio filter.Anton Khirnov2012-06-12
|
* lavfi: make formats API private on next bump.Anton Khirnov2012-06-05
| | | | | It is only useful inside filters and we don't allow user filters for now.
* lavfi: remove avfilter_default_* from public API on next bump.Anton Khirnov2012-05-22
| | | | | Those functions are only useful inside filters. It is better to not support user filters until the API is more stable.
* lavfi: move formats-related functions from default.c to formats.cAnton Khirnov2012-05-15
| | | | It's more convenient to have them all in one file.
* lavfi: add types and functions for channel layout/samplerate negotiationAnton Khirnov2012-05-14
|
* lavfi: avfilter_merge_formats: handle case where inputs are sameMina Nagy Zaki2012-05-07
| | | | | | | This fixes a double-free crash if lists are the same due to the two merge_ref() calls at the end of the (useless) merging that happens. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi/formats: use sizeof(var) instead of sizeof(type).Anton Khirnov2012-05-06
|
* cosmetics: Remove extra newlines at EOFAlex Converse2012-01-27
|
* libavfilter: reindent.Ronald S. Bultje2011-11-05
|
* avfilter: don't abort() on zero-size allocations.Ronald S. Bultje2011-11-05
|
* lavfi: add LUT (LookUp Table) generic filtersStefano Sabatini2011-10-17
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavfi: fix realloc size computation in avfilter_add_format()Stefano Sabatini2011-09-28
| | | | | | | | | | | | | Replace sizeof((*avff)->formats) with sizeof(*(*avff)->formats) as the size of the array element is given by the pointed element rather than by its pointer. In particular fix computation with the pending patch when sizeof(int64_t) != sizeof(int64_t *). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* In libavfilter, use consistently "Copyright (c)" in the licenseStefano Sabatini2010-11-28
| | | | | | headers. Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-12
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement libavfilter audio framework.S.N. Hemanth Meenakshisundaram2010-08-17
| | | | | | Patch by S.N. Hemanth Meenakshisundaram * smeenaks * ucsd * edu *. Originally committed as revision 24811 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Generalize pixel format enum fields to int formats.S.N. Hemanth Meenakshisundaram2010-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | This is needed to make the libavfilter framework work with audio filters. In particular add a type field to AVFilterLink, change the field types: enum PixelFormat format -> int format in AVFilterBuffer enum PixelFormat *formats -> int *formats in AVFilterFormats enum PixelFormat *format -> int format in AVFilterLink and change the function signatures: AVFilterFormats *avfilter_make_format_list(const enum PixelFormat *pix_fmts); -> AVFilterFormats *avfilter_make_format_list(const int *fmts); int avfilter_add_colorspace(AVFilterFormats **avff, enum PixelFormat pix_fmt); -> int avfilter_add_format(AVFilterFormats **avff, int fmt); AVFilterFormats *avfilter_all_colorspaces(void); -> AVFilterFormats *avfilter_all_formats(enum AVMediaType type); This change breaks libavfilter API/ABI. Patch by S.N. Hemanth Meenakshisundaram |smeenaks|ucsd|edu|. Originally committed as revision 24424 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation on gcc 2.95.3 (still supported) broken by r21077,Stefano Sabatini2010-01-08
| | | | | | which was due to declaring variable after code. Originally committed as revision 21086 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_formats_unref(AVFilterFormats **ref) handle the caseStefano Sabatini2010-01-07
| | | | | | when *ref is NULL. Originally committed as revision 21077 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change avfilter_add_colorspace() to make it accept **avff rather thanStefano Sabatini2010-01-06
| | | | | | | | | *avff, so that an AVFilterFormats struct is created and returned by the function if *avff is NULL. Make the function use more convenient. Originally committed as revision 21035 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_all_colorspaces() add to the returned list of pixelStefano Sabatini2010-01-04
| | | | | | | formats only the non-HW-accelerated formats, for which there is no sense in filtering. Originally committed as revision 21009 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avfilter_add_colorspace().Stefano Sabatini2010-01-03
| | | | Originally committed as revision 21007 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: prefer "pix_fmts" over "pix_fmt" for the name of theStefano Sabatini2009-10-21
| | | | | | | argument of avfilter_make_format_list(), as the argument represents a list of elements. Originally committed as revision 20341 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make avfilter_make_format_list() take in input a const argument.Stefano Sabatini2009-10-21
| | | | Originally committed as revision 20340 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename avfilter_make_format_list2() to avfilter_make_format_list().Stefano Sabatini2009-10-18
| | | | Originally committed as revision 20302 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove avfilter_make_format_list(), it has been replaced byStefano Sabatini2009-10-18
| | | | | | avfilter_make_format_list2(). Originally committed as revision 20301 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avfilter_make_format_list2(), which is going to replaceStefano Sabatini2009-10-18
| | | | | | | | | avfilter_make_format_list(). See the thread: "[PATCH] Implement avfilter_make_format_list2(enum PixelFormat pix_fmt, ...)". Originally committed as revision 20299 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Better description for merge_ref().Michael Niedermayer2008-02-21
| | | | Originally committed as revision 12173 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Coding style changesVitor Sessak2008-02-10
| | | | Originally committed as revision 11901 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More code factorizationVitor Sessak2008-02-10
| | | | Originally committed as revision 11900 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factor duplicated loopVitor Sessak2008-02-10
| | | | Originally committed as revision 11899 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not hardcode the list of pixel formats and use PIX_FMT_NB instead.Vitor Sessak2008-02-10
| | | | Originally committed as revision 11898 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not hardcode the type of AVFilterFormats.formats in allocationVitor Sessak2008-02-10
| | | | Originally committed as revision 11897 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Oops, my last commit broke compilation...Vitor Sessak2008-02-10
| | | | Originally committed as revision 11896 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make regression tests to pass with libavfilter.Vitor Sessak2008-02-10
| | | | Originally committed as revision 11895 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Need to be careful when dealing with references.Vitor Sessak2008-02-10
| | | | | | Commited in SoC by Bobby Bingham Originally committed as revision 11894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l. parameter was unused and redundant.Vitor Sessak2008-02-10
| | | | | | Commited in SoC by Bobby Bingham Originally committed as revision 11893 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avfilter_formats_unref() should remove the given reference, not the lastVitor Sessak2008-02-10
| | | | | | | | reference. Commited in SoC by Bobby Bingham Originally committed as revision 11892 to svn://svn.ffmpeg.org/ffmpeg/trunk
* First libavfilter commit.Vitor Sessak2008-02-10
Original log message: Forgot to add in the big colorspace commit Commited in SoC by Bobby Bingham Originally committed as revision 11891 to svn://svn.ffmpeg.org/ffmpeg/trunk