Diego Biurrun
d6e0729b24
avfilter: Surround function only used in debug mode by appropriate #ifdef.
...
This fixes the warning:
libavfilter/avfilter.c:219: warning: ‘ff_get_ref_perms_string’ defined but not used
14 years ago
Stefano Sabatini
5dc65a3d03
lavfi: print key-frame and picture type information in ff_dlog_ref()
...
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
(cherry picked from commit f7bdffb09d
)
14 years ago
Ronald S. Bultje
0699dbb847
avfilter: check malloc return values.
14 years ago
Ronald S. Bultje
f8af93ab99
avfilter: don't av_malloc(0).
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Janne Grunau
a03be6e1ba
use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*
14 years ago
Janne Grunau
29ba091136
replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION
...
also update the multiple inclusion guards in config.h|mak
14 years ago
Reinhard Tartler
737eb5976f
Merge libavcore into libavutil
...
It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Stefano Sabatini
70c275f8c3
Make avfilter_config_links() propagate audio information of the source link if it is not explicitely set by the filter.
14 years ago
Michael Niedermayer
910b5b82e8
Add sample_aspect_ratio to AVFilterLink
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
5fce60c3a9
Log debug information in filter_samples().
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Luca Barbato
dfd2a005eb
Replace dprintf with av_dlog
...
dprintf clashes with POSIX.1-2008
14 years ago
Diego Elio Pettenò
eb7ccf8f33
Make the avfilter debug functions and macros static to avfilter.c
...
This removes ff_get_ref_perms_string, ff_dprintf_ref and ff_dprintf_link
fro the interface of libavfilter.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
b1779800c4
Include libavcore/audioconvert.h, required for
...
av_get_channel_layout_string() in ff_dprintf_link.
Fix compilation.
Originally committed as revision 26380 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
1d5b188518
Reindent.
...
Originally committed as revision 26379 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
7986e34db0
Make ff_dprintf_link() print meaningful information for audio links.
...
Originally committed as revision 26378 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
a242ac3620
Rename AVFilterBufferRefAudioProps.samples_nb to nb_samples.
...
More consistent with the rest of FFmpeg and sounds more natural to
English speaking people.
Originally committed as revision 26374 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
6baf4afa99
Make avfilter_unref_buffer() accept a NULL parameter.
...
Originally committed as revision 26373 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
891aeeee72
Check linked pads media type mismatch in avfilter_link().
...
Originally committed as revision 26325 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
36dc00de52
Add w,h,format back into AVFilterBuffer, these are required for direct rendering.
...
These fields are needed to be able to know which area of memory is allocated and
which is off limits.
This reverts 24291 and parts of r24424.
Originally committed as revision 26314 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
0ccabeeaef
Support filters and decoders that dont support negative linesizes.
...
This patch is based on work by stefano.
Originally committed as revision 26108 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
fee0deb61f
Fix avfilter_draw_slice() copy code with alpha planes.
...
Originally committed as revision 26060 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
3fa77bde1b
In libavfilter, use consistently "Copyright (c)" in the license
...
headers.
Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
d38c340fdc
Implement avfilter_get_video_buffer_ref_from_arrays().
...
Originally committed as revision 25827 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
906eaab460
In ff_get_ref_perms_string() use 'u' and 'U' for representing
...
AV_PERM_REUSE and AV_PERM_REUSE2 flags, avoid conflict with the char
'r' used for AV_PERM_READ.
Originally committed as revision 25739 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
5d6e4c160a
Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
...
SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
24de0edbd5
Rename avfilter_destroy() as avfilter_free().
...
The new name is shorter and more consistent with the FFmpeg API, and
sounds less evil.
Originally committed as revision 25707 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
d545aea8f0
100l: remove bogus inclusion of libavcodec/audioconvert.c in
...
avfilter.c.
Originally committed as revision 25565 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
cf5fe8ec9e
Make avfilter_config_links() use the timebase of the first input link
...
of a filter for setting the output timebase, if there is such a link,
rather than always use AV_TIME_BASE_Q.
This fixes configuration for all the filters which do not use the
default config_props for the output link, and do not set explicitely
the timebase.
Originally committed as revision 25456 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
867ae7aa5d
Add a time_base field to AVFilterLink.
...
This is required for allowing a filter to use a time base different
from AV_TIME_BASE_Q, as it was previously assumed.
Originally committed as revision 25441 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
69f73a8928
Make avfilter_config_links() propagate the error code coming from the
...
callee functions.
Originally committed as revision 25433 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
486adc55c0
Use more expressive names for the avfilter_insert_filter() in and out
...
parameters.
Originally committed as revision 25235 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
db9dfa3cc3
Make avfilter_insert_filter() propagate an error code in case the
...
called avfilter_link() fails.
Originally committed as revision 25229 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
acc0490f09
Make AVFilterLink store the pointers to the source and destination
...
pads, rather than their index.
Originally committed as revision 25227 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
b1a05b820e
Make avfilter_destroy() code less convoluted, introducing a temporary
...
variable link.
Originally committed as revision 25217 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
e16f217ceb
Use new imgutils.h API names, fix deprecation warnings.
...
Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
eedca998eb
Implement ff_get_ref_perms_string() and use it for tracing.
...
Originally committed as revision 24900 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
5a9dd3de63
Make avfilter_start_frame() invoke avfilter_get_video_buffer() on the
...
link rather than avfilter_default_get_video_buffer().
This is required as the buffer requested may be greater than the
buffer allocated locally by avfilter_default_get_video_buffer(), for
example if in filterchain there is a pad filter (like in "fifo,pad").
In that case the pad filter will try to write beyond the data of the
allocated buffer, resulting in a crash.
Originally committed as revision 24895 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
014df3a2aa
Make ff_dprintf_ref() print audio related information if available.
...
Originally committed as revision 24849 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
e29b451a51
Cosmetics: merge two lines in ff_dprintf_ref().
...
Originally committed as revision 24848 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
0055b2d11a
Make ff_dprintf_ref() print the information related to the referenced
...
AVFilterBuffer.
Originally committed as revision 24847 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
b5fbb31e55
Rename ff_dprintf_picref() to ff_dprintf_ref().
...
The function is going to be used to represent also audio data.
Originally committed as revision 24846 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
801ab98088
Extend ff_dprintf_picref() to make it print video interlaced and
...
top_field_first information.
Originally committed as revision 24845 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
382ecd3537
Make ff_dprintf_picref() print video properties only if available.
...
Originally committed as revision 24844 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
28c52b1ed9
Only print the pointer to the first plane in ff_dprintf_picref().
...
To display the other planes is usually not useful and add noise to the
output.
Originally committed as revision 24843 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
dc46661ae2
Enable and change the log level to DEBUG for the message printed in
...
case of picref copy.
Originally committed as revision 24831 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
ca8574310f
Cosmetics: apply misc spacing style fixes.
...
Originally committed as revision 24830 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
S.N. Hemanth Meenakshisundaram
ad2c950154
Implement libavfilter audio framework.
...
Patch by S.N. Hemanth Meenakshisundaram * smeenaks * ucsd * edu *.
Originally committed as revision 24811 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
4f9ce3c4c7
Add missing NULL checks in avfilter_ref_buffer().
...
Originally committed as revision 24808 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
81c1ecabab
Deprecate ff_get_plane_bytewidth() in favor of
...
av_get_image_linesize().
Originally committed as revision 24787 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago