Stefano Sabatini
d3c01751a3
Fix compilation on gcc 2.95.3 (still supported) broken by r21077,
which was due to declaring variable after code.
Originally committed as revision 21086 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
063e769273
Make avfilter_formats_unref(AVFilterFormats **ref) handle the case
when *ref is NULL.
Originally committed as revision 21077 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
c1d662fd88
Change avfilter_add_colorspace() to make it accept **avff rather than
*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
15 years ago
Stefano Sabatini
5ff84183de
Make avfilter_all_colorspaces() add to the returned list of pixel
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
15 years ago
Stefano Sabatini
4fd1f1876a
Implement avfilter_add_colorspace().
Originally committed as revision 21007 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
9abba21ad3
Cosmetics: prefer "pix_fmts" over "pix_fmt" for the name of the
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
15 years ago
Stefano Sabatini
1554fed2d6
Make avfilter_make_format_list() take in input a const argument.
Originally committed as revision 20340 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
6b5dc050a2
Rename avfilter_make_format_list2() to avfilter_make_format_list().
Originally committed as revision 20302 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
e768cb7668
Remove avfilter_make_format_list(), it has been replaced by
avfilter_make_format_list2().
Originally committed as revision 20301 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
f6a1fa850a
Implement avfilter_make_format_list2(), which is going to replace
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
15 years ago
Michael Niedermayer
4c4de9ca49
Better description for merge_ref().
Originally committed as revision 12173 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
9189411bdb
Coding style changes
Originally committed as revision 11901 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
93faa9fad7
More code factorization
Originally committed as revision 11900 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
37e0b997a8
Factor duplicated loop
Originally committed as revision 11899 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
d3a4e41c8a
Do not hardcode the list of pixel formats and use PIX_FMT_NB instead.
Originally committed as revision 11898 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
243370cb4d
Do not hardcode the type of AVFilterFormats.formats in allocation
Originally committed as revision 11897 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
bd8ae4885b
Oops, my last commit broke compilation...
Originally committed as revision 11896 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
5ced2c996d
Make regression tests to pass with libavfilter.
Originally committed as revision 11895 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
eac2495095
Need to be careful when dealing with references.
Commited in SoC by Bobby Bingham
Originally committed as revision 11894 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
30f4baebf8
10l. parameter was unused and redundant.
Commited in SoC by Bobby Bingham
Originally committed as revision 11893 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
88cfb80418
avfilter_formats_unref() should remove the given reference, not the last
reference.
Commited in SoC by Bobby Bingham
Originally committed as revision 11892 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
391354656c
First libavfilter commit.
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
17 years ago