Mans Rullgard
7c29377b70
lavfi: reclassify showfiltfmts as a TESTPROG
...
This tool uses lavfi internal symbols not accessible in shared
libraries. TESTPROGS are linked statically to allow them use of
library internals not normally exported.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
2047e40e6e
Clarify Doxygen comment for FF_API_* #defines.
13 years ago
Carl Eugen Hoyos
71e5a14028
Suggest aresample filter if it was not compiled but requested.
13 years ago
Diego Biurrun
1a068bfefd
cosmetics: Consistently use C-style comments with multiple inclusion guards
13 years ago
Diego Biurrun
09f211987c
misc typo and wording fixes
13 years ago
Mans Rullgard
fb93e61e2b
x86: lavfi: fix gradfun/yadif build with mmx/sse disabled
...
These functions are defined conditionally so any uses need to have
preprocessor guards.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
c9de83fefd
yadif/x86: add prototypes for functions, make code valid C again.
...
Broken by: libav (a87b17f328
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
bb6effe059
lavfi: remove vsrc_buffer.h API
...
The vsrc_buffer.h is not installed since commit 0b3b958135
, so there is
no point into keeping it around.
The buffersrc.h API, which is more powerful, should be used instead.
13 years ago
Michael Niedermayer
b6851d34c0
x86/gradfun: fix compilation failure on open solaris
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
a87b17f328
vf_yadif: move x86 init code to x86/yadif.c
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
2f0accf103
vf_gradfun: move x86 init code to x86/gradfun.c
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Nicolas George
1f5c1333a7
sink_buffer: implement fixed frame size.
13 years ago
Nicolas George
0689d5e17a
lavfi: implement samples framing on links.
...
Links can be set up to group samples into buffers of
specified minimum and maximum size.
13 years ago
Michael Niedermayer
be4ffb28b3
vf_ass: fix table name to refer to correct lib.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c83ed18d45
formats.h: fix project reference in comment
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
b0fdd3489a
lavfi: deprecate av_buffersrc_buffer() function
...
Favor av_buffersrc_add_ref() instead, which is more powerful.
13 years ago
Nicolas George
fcf8706ed9
sink_buffer: warn when there are too many buffers.
13 years ago
Nicolas George
05d6cc116e
buffersrc: warn when there are too many buffers.
13 years ago
Paul B Mahol
3f59bbf5b6
lavfi/amerge: silence warnings
...
The warning silenced was: libavfilter/af_amerge.c:144:29: warning: conversion specifies type 'long long' but the argument has type 'int' [-Wformat]
The warning was introduced after FF_API_SAMPLERATE64 removal.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Anton Khirnov
61d158c321
avfiltergraph: shut up uninitialized variable warning.
...
The warning silenced was:
libavfilter/avfiltergraph.c: In function ‘avfilter_graph_config’:
libavfilter/avfiltergraph.c:500:13: warning: ‘best_idx’ may be used uninitialized in this function [-Wuninitialized]
13 years ago
Anton Khirnov
fd2784c3b5
af_join: initialize a variable to shut up gcc warning.
...
The warning silenced was:
libavfilter/af_join.c: In function ‘join_request_frame’:
libavfilter/af_join.c:451:9: warning: ‘nb_samples’ may be used uninitialized in this function [-Wuninitialized]
13 years ago
Anton Khirnov
422008ac63
amix: fix format specifier for AVFilterLink.sample_rate.
...
It is a plain int now.
13 years ago
Anton Khirnov
1a49a169eb
lavfi: make filters less verbose.
13 years ago
Anton Khirnov
83ba22392d
lavfi: reorder AVFilterLink fields.
...
Move private fields to the private section, remove holes.
13 years ago
Anton Khirnov
f892013ac4
lavfi: reorder AVFilterContext fields.
...
Place related fields together, remove holes.
13 years ago
Anton Khirnov
9618080512
lavfi: reorder AVFilter fields.
...
Place related fields together, remove holes, move private fields to the
end and mark them as private.
13 years ago
Anton Khirnov
f14e685609
lavfi: reorder AVFilterBufferRef fields.
...
Place related fields together, remove holes.
13 years ago
Anton Khirnov
cb81e29138
lavfi: reorder AVFilterBuffer fields.
...
Place related fields together, remove holes.
13 years ago
Anton Khirnov
1961e46c15
lavfi: remove disabled FF_API_FILTERS_PUBLIC cruft
13 years ago
Anton Khirnov
5e88b96f37
lavfi: remove disabled FF_API_DEFAULT_CONFIG_OUTPUT_LINK cruft
13 years ago
Anton Khirnov
205e90249a
lavfi: use proper FF_API guards for different deprecated functions
13 years ago
Nicolas George
784675ca91
sink_buffer: make opaque argument optional.
13 years ago
Nicolas George
a2bd8a9384
buffersink: group libav API functions.
13 years ago
Anton Khirnov
0b3b958135
lavfi: remove disabled FF_API_VSRC_BUFFER_ADD_FRAME cruft
13 years ago
Anton Khirnov
6c1e065bd4
lavfi: remove disabled FF_API_SAMPLERATE64 cruft
13 years ago
Anton Khirnov
8d900aa4d0
lavfi: remove disabled FF_API_GRAPH_AVCLASS cruft
13 years ago
Anton Khirnov
a5e8c41c28
lavfi: remove 'opaque' parameter from AVFilter.init()
...
It is not used in any filters currently and is inherently evil. If
passing binary data to filters is required in the future, it should be
done with some AVOptions-based system.
13 years ago
Stefano Sabatini
720ec62012
lavfi: drop deprecated and disabled packing API
...
It was deprecated and removed after the recent 2->3 major bump.
13 years ago
Stefano Sabatini
8dd0e87d7b
lavfi: remove old video sink API
...
It was deprecated since a long time and removed after the 2->3 major
bump.
13 years ago
Stefano Sabatini
9b41ec4b9e
lavfi/drawtext: use av_opt_free() to free private context
...
Simplify code.
13 years ago
Stefano Sabatini
6be8cfa034
lavfi/abuffer: increase logging level of the log showing initial parameters
...
Also show them in a more parsable/consistent fashion.
13 years ago
Stefano Sabatini
8a3544149f
lavfi/avfilter.h: reorganize headers disposition
...
Group lavfi headers together, slightly improve readability.
13 years ago
Stefano Sabatini
43583fb85c
lavfi/avcodec: deprecate avfilter_fill_frame_from_*_buffer_ref API
...
Deprecate functions:
avfilter_fill_frame_from_buffer_ref
avfilter_fill_frame_from_audio_buffer_ref
avfilter_fill_frame_from_video_buffer_ref
and schedule to drop them at the next API major bump.
The function avfilter_copy_buf_props() should be used instead.
13 years ago
Stefano Sabatini
972cad77fa
lavfi: remove unnecessary inclusion of libavcodec/avcodec.h in avfilter.h
...
libavfilter API was designed in order to be clarly distinguished from the
libavcodec API, including avcodec.h in avfilter.h is not going to help to
stick to this principle.
The inclusion of libavutil/audioconvert.h in many files was required
because avcodec.h includes audioconvert.h.
libavfilter/avcodec.h is where the lavc/lavfi interface should be
entirely placed.
13 years ago
Stefano Sabatini
a31ab50712
lavfi: move some FF_API_ definitions from avfilter.h to version.h
...
version.h seems the right place for FF_API_ definitions.
13 years ago
Michael Niedermayer
62975afa68
af_aresample: fix sample_rate type.
...
should fix fate failures on 32bit x86 linux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3013722c13
sink_buffer: assert that functions and sinks arent mixed
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
6fd0b55ab2
showwaves: fix PTS computation.
13 years ago
Nicolas George
6d627eae3c
showwaves: fix first sample of frame test.
...
Avoids a huge memleak when n != 1.
13 years ago
Nicolas George
bd9939f495
lavfi: display pad type with mismatch error message.
13 years ago