Michael Niedermayer
e3331706fc
Fix design of the pad filter.
...
Previously the pad filter just drawed borders in the surrounding of the input
without checking if this area was allocated or writeable. Now we check and
allocate a new buffer if the input is unsuitable.
Originally committed as revision 26315 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
Baptiste Coudurier
69057b70f7
In pad filter, update new ref w/h in start_frame, fix chaining
...
Originally committed as revision 26217 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
d34a77fb09
In crop filter, update new ref w/h instead of old one, fix chaining
...
Originally committed as revision 26216 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
b59dd1ea4f
Fix style nits in avfiltergraph.c.
...
Originally committed as revision 26116 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
b567020943
Add copy filter, useful for testing the avfilter_draw_slice() copy
...
code.
Originally committed as revision 26112 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
28e5d45c68
Bump lavfi minor and add an entry after r26108 (which added
...
AV_PERM_NEG_LINESIZES to avfilter.h).
Originally committed as revision 26111 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
b4356e4118
In the crop filter, put under ifdef DEBUG the trace logs for the
...
evaluated crop area coordinates.
Prevent debug log spamming, define the DEBUG symbol for enabling them.
Originally committed as revision 26110 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
17fc94933b
Add erode libopencv filter.
...
Originally committed as revision 26097 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
91cbb6ba53
Add dilate libopencv filter.
...
Originally committed as revision 26096 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
cf69ad35c5
Redesign the libopencv wrapper to make it more generic. Accept both
...
FILTERNAME=ARGS and FILTERNAME:ARGS syntax.
The same filter class will be used for managing all the libopencv
filtering functions.
Originally committed as revision 26079 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
2609ad3e40
Revert commit r22596.
...
commit ab8610aa176c13b5e25a2d8770df28a14665e169
Author: koorogi <koorogi@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Date: Thu Mar 18 23:13:04 2010 +0000
The vflip filter does not need to keep ownership of a picture reference.
Avoid creating and releasing useless extra picture references in the
start_frame and end_frame callbacks.
Originally committed as revision 22596 to svn://svn.ffmpeg.org/ffmpeg/trunk
The new reference creation is required when the linesizes are used by the
previous filters in the filterchain, for example as in "pad=W:H:X:Y,vflip".
Originally committed as revision 26059 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
69b8d83ecf
Fix crash in gradfun:end_frame() when inpic == outpic, so it has to be
...
freed just once.
Originally committed as revision 26058 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Nolan L
d5f187fd33
Add gradfun filter, ported from MPlayer.
...
Patch by Nolan L nol888 <=> gmail >=< com.
See thread:
Subject: [FFmpeg-devel] [PATCH] Port gradfun to libavfilter (GCI)
Date: Mon, 29 Nov 2010 07:18:14 -0500
Originally committed as revision 25942 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
9241cd2095
Make avfilter_parse_graph() output a more meaningful message when an
...
invalid filterchain is detected.
Originally committed as revision 25936 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
c61cdd0afb
Move AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols from
...
libavcodec to libavcore.
Remove another compile-time dependancy of libavfilter on libavcodec.
Originally committed as revision 25923 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
90f1f3bf00
In yadif filter, declare asm constants directly to avoid dependency on libavcodec
...
Originally committed as revision 25895 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
a4dc7aa5b5
Port libmpcodecs hqdn3d filter.
...
Patch by Baptiste with some fixes by me.
Originally committed as revision 25880 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
4da12e3b13
Implement av_image_alloc() and use it in
...
avfilter_default_get_video_buffer().
Originally committed as revision 25878 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
bf799f686f
Declare sse2 and ssse2 function in yadif header
...
Originally committed as revision 25877 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
1ef64490e1
yadif sse2/ssse3 optimizations
...
Originally committed as revision 25874 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
037be76e15
Add avfilter_graph_create_filter().
...
Originally committed as revision 25862 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
f51aeedd41
Extend the frei0r filter syntax.
...
Make it accept the frei0r=filtername=params as alternative to
frei0r=filtername:params.
Originally committed as revision 25856 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
f8608dcac3
Implement frei0r source.
...
Originally committed as revision 25855 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
2467997c8c
Fix crash in uninit.
...
Originally committed as revision 25829 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
9b195435b3
Fix timestamp scaling in the overlay filter.
...
Compute the outpicref PTS in start_frame(), since it is required for
comparing that value with the value of the overpicref.
Originally committed as revision 25828 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
4723bc2868
Make avfilter_default_free_buffer() an internal shared symbol, so that
...
it can be referenced outside defaults.c.
Originally committed as revision 25826 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
459b06610c
0.123l: remove unused arguments in av_log(), fix warning.
...
Originally committed as revision 25820 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
6fd2b8bd0a
In aspect filter, fix display for input resolution
...
Originally committed as revision 25819 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
3ff9995350
In crop filter, reference picref after updating w/h, fix issue #2377
...
Originally committed as revision 25818 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
16d14d641c
Add informative log message in the crop filter.
...
Originally committed as revision 25817 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
b7be04f3c0
Reindent.
...
Originally committed as revision 25803 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
7de19a3264
Implement robust parsing in aspect filters.
...
Originally committed as revision 25802 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
eee0ef5e4f
Add informative log messages to the set aspect filters.
...
Originally committed as revision 25801 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
2fb21bf4ff
Give more explicit/less confusing names to the filters dealing with
...
aspect ratio.
Originally committed as revision 25800 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
902d49eef7
In yadif filter, copy video props to output picture.
...
Fix issue #2269 .
Interpolate pts for the second frame when using field output mode.
Originally committed as revision 25798 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
63e8d9760f
Use the new libavcore audio channel API.
...
This also allows to remove a linking dependency of libavfilter on
libavcodec.
Originally committed as revision 25789 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
58935b25d0
Port overlay filter from the libavfilter repo (with many fixes),
...
adopting Baptiste variant which is simpler and faster.
Originally committed as revision 25784 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
9abf34411a
Log error message in case of invalid parsing.
...
Originally committed as revision 25765 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
bdb47f3a2c
Fix style: if( -> if (.
...
Originally committed as revision 25764 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
cef4b74bf2
Remove redundant information in header.
...
Originally committed as revision 25763 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
0985e1a3ca
move the av_parse_color() function from libavfilter to libavcore
...
Originally committed as revision 25761 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Baptiste Coudurier
c71e9640db
100L fix get_video_buffer in pad filter, get_video_buffer will store wrong values for w and h
...
Originally committed as revision 25759 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
f6c182a0c3
Fix frei0r filter after av_parse_color() syntax change.
...
Originally committed as revision 25748 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
2722dd6ebf
improve av_parse_color() to allow for non-null terminated color string
...
Originally committed as revision 25744 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
521b860748
improve av_parse_color() to support html formatting
...
Originally committed as revision 25743 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago