1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
Commit Graph

1432 Commits

Author SHA1 Message Date
Vitor Sessak
7bce27a3a3 Prefix names of filter structs
Commited in SoC by Bobby Bingham on 2007-08-18 18:17:30

Originally committed as revision 12019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:48 +00:00
Vitor Sessak
dd299c681f Rename "buffer" filter to "fifo"
Commited in SoC by Bobby Bingham on 2007-08-18 16:40:31

Originally committed as revision 12018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:45 +00:00
Vitor Sessak
8179953777 Add a filter to output the same video to two outputs
Commited in SoC by Bobby Bingham on 2007-08-18 03:38:40

Originally committed as revision 12017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:40 +00:00
Vitor Sessak
0838e7316b Add a filter to act as a buffer between filters which may output multiple
frames for a single call to request_filter(), and a following filter which
assumes it will only receive one frame per call.

Commited in SoC by Bobby Bingham on 2007-08-18 03:17:52

Originally committed as revision 12016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:35 +00:00
Vitor Sessak
f4cb446216 Use av_freep instead of av_free
Commited in SoC by Bobby Bingham on 2007-08-17 23:43:23

Originally committed as revision 12015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:29 +00:00
Vitor Sessak
44b73497d3 Rename avfilter_create to avfilter_open and remove the wrapper function
avfilter_create_by_name.

Commited in SoC by Bobby Bingham on 2007-08-17 23:39:55

Originally committed as revision 12014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:25 +00:00
Vitor Sessak
6d8c67a778 Change registered filter list to a linked list
Commited in SoC by Bobby Bingham on 2007-08-17 23:24:32

Originally committed as revision 12013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:20 +00:00
Vitor Sessak
e675dccdc0 Be more consistent in style of code for falling back to defaults.
Commited in SoC by Bobby Bingham on 2007-08-17 23:16:38

Originally committed as revision 12012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:17 +00:00
Vitor Sessak
cdf2a3326f replace memcpy with assignment
Commited in SoC by Bobby Bingham on 2007-08-17 23:04:33

Originally committed as revision 12011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:13 +00:00
Vitor Sessak
269b9847ab Revert braindead linked list of permissions
Commited in SoC by Bobby Bingham on 2007-08-17 22:44:03

Originally committed as revision 12010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:10 +00:00
Vitor Sessak
a4af86c878 Track the permissions that have been given out to each picture.
This should make it easier to know what can be done to a buffer once
it's been passed to your filter without falling back to copying it "just
to be safe".

Commited in SoC by Bobby Bingham on 2007-08-17 18:21:07

Originally committed as revision 12009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:06 +00:00
Vitor Sessak
c949d86763 Allow filters to set the requirements on permissions for incoming buffers.
Commited in SoC by Bobby Bingham on 2007-08-17 16:40:26

Originally committed as revision 12008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:57 +00:00
Vitor Sessak
6fb0648d37 Use macros for better readability
Commited in SoC by Bobby Bingham on 2007-08-17 15:18:59

Originally committed as revision 12007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:54 +00:00
Vitor Sessak
ef35d13a84 Remove the data parameter from draw_slice(). It's unneeded and often more
work than it's worth.

Commited in SoC by Bobby Bingham on 2007-08-17 14:39:11

Originally committed as revision 12006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:52 +00:00
Vitor Sessak
7a61cc4d4b Remove test program and test video output module since ffplay can be used
for testing for a while now.

Commited in SoC by Bobby Bingham on 2007-08-14 22:31:51

Originally committed as revision 12005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:49 +00:00
Vitor Sessak
f9285377b2 Allow creation of filter graphs from a graph description structure which
can be created programmatically or loaded from a file.

Commited in SoC by Bobby Bingham on 2007-08-14 22:27:05

Originally committed as revision 12004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:44 +00:00
Vitor Sessak
ef712a3b28 Add a filter to overlay one video on top of another, picture-in-picture style.
Commited in SoC by Bobby Bingham on 2007-08-13 16:53:19

Originally committed as revision 12003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:39 +00:00
Vitor Sessak
49d915cbf5 Add a filter to modify the framerate.
This demonstrates differing number of input and output frames.

Commited in SoC by Bobby Bingham on 2007-08-11 17:50:36

Originally committed as revision 12002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:36 +00:00
Vitor Sessak
3306f8bd15 Let request_frame() indicate success or failure
Commited in SoC by Bobby Bingham on 2007-08-11 17:42:36

Originally committed as revision 12001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:31 +00:00
Vitor Sessak
e2fcb3cb9a Add a vertical flip filter
Commited in SoC by Bobby Bingham on 2007-08-08 17:22:54

Originally committed as revision 12000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:26 +00:00
Vitor Sessak
246184413a Helper functions for adding new pads to filters at runtime
Commited in SoC by Bobby Bingham on 2007-08-07 22:31:56

Originally committed as revision 11999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:22 +00:00
Vitor Sessak
01942f1d90 Separate the process of creating links between filters from that of configuring
the links.

Commited in SoC by Bobby Bingham on 2007-08-07 21:02:18

Originally committed as revision 11998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:18 +00:00
Vitor Sessak
78b0c0bbbf Move default entry point implementations to their own file.
Make them externally visible because they may be useful for filters to use.

Commited in SoC by Bobby Bingham on 2007-08-02 15:14:05

Originally committed as revision 11997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:15 +00:00
Vitor Sessak
d4169dd3a4 Make the filter graph just another normal filter.
Commited in SoC by Bobby Bingham on 2007-07-31 20:08:38

Originally committed as revision 11996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:13 +00:00
Vitor Sessak
c5ef7d7b3e Make input/output pads modifiable on a per-instance basis.
This makes it possible to change filter callbacks (eg. to a SIMD version
on supported processors).  It also allows filters to change their own
input and output pads.

Commited in SoC by Bobby Bingham on 2007-07-31 19:20:54

Originally committed as revision 11995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:07 +00:00
Vitor Sessak
c6b0aa6802 Fix warnings
Commited in SoC by Bobby Bingham on 2007-07-30 18:56:40

Originally committed as revision 11994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:04 +00:00
Vitor Sessak
97fb0c2cb3 Cosmetics: fix indentation
Commited in SoC by Bobby Bingham on 2007-07-30 15:54:16

Originally committed as revision 11993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:00 +00:00
Vitor Sessak
7d0e1392a7 Fix some potential segfaults.
Commited in SoC by Bobby Bingham on 2007-07-30 15:53:33

Originally committed as revision 11992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:57 +00:00
Vitor Sessak
a360f71e3a Allow code to pass data to filters it creates.
Commited in SoC by Bobby Bingham on 2007-07-15 16:45:50

Originally committed as revision 11991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:50 +00:00
Vitor Sessak
e6f560bbaa Split filter graphs out into their own source & header files.
Commited in SoC by Bobby Bingham on 2007-07-14 21:20:21

Originally committed as revision 11990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:46 +00:00
Vitor Sessak
2350e69cee Use av_strdup/av_free instead of strdup/free
Commited in SoC by Bobby Bingham on 2007-07-14 20:13:57

Originally committed as revision 11989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:40 +00:00
Vitor Sessak
f60208f443 Add a simple filter graph structure and functions
Commited in SoC by Bobby Bingham on 2007-07-14 20:12:54

Originally committed as revision 11988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:37 +00:00
Vitor Sessak
6ae82d1ec7 Allow giving filter instances names, in anticipation of the upcoming
AVFilterGraph structure and related functions.

Commited in SoC by Bobby Bingham on 2007-07-14 19:33:28

Originally committed as revision 11987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:33 +00:00
Vitor Sessak
1653c11f23 cosmetics: vertical alignment
Commited in SoC by Bobby Bingham on 2007-07-14 17:34:04

Originally committed as revision 11986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:29 +00:00
Vitor Sessak
af838d4c1e Add pts to frame references
Commited in SoC by Bobby Bingham on 2007-07-14 17:31:40

Originally committed as revision 11985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:25 +00:00
Vitor Sessak
998a7aa3dc Actually fail when colorspaces don't match
Commited in SoC by Bobby Bingham on 2007-07-08 17:58:45

Originally committed as revision 11984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:21 +00:00
Vitor Sessak
9586ba3a13 Provide a default for request_frame() which does the right thing for simple
filters.

Commited in SoC by Bobby Bingham on 2007-07-08 16:55:09

Originally committed as revision 11983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:17 +00:00
Vitor Sessak
3628fbe092 Adjust the default start_frame() and end_frame() implementations to simplify
the implementation of simple filters.

Commited in SoC by Bobby Bingham on 2007-07-08 16:48:15

Originally committed as revision 11982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:13 +00:00
Vitor Sessak
72e3037a2c Missing semicolon typo
Commited in SoC by Bobby Bingham on 2007-07-08 16:18:21

Originally committed as revision 11981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:10 +00:00
Vitor Sessak
efb36bfc21 Make avfilter_ref_pic also handle removal of permissions for the caller.
Commited in SoC by Bobby Bingham on 2007-07-08 16:14:49

Originally committed as revision 11980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:06 +00:00
Vitor Sessak
426d5c252f Add an RGB24 <-> BGR24 conversion filter
Commited in SoC by Bobby Bingham on 2007-07-08 16:08:15

Originally committed as revision 11979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:03 +00:00
Vitor Sessak
eaf7eb6617 Add a simple video source filter which loads a PPM file and outputs it as
the videos frames.  Useful for testing PRESERVE buffers, and soon automatic
colorspace conversion.

Commited in SoC by Bobby Bingham on 2007-07-08 16:06:30

Originally committed as revision 11978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:59 +00:00
Vitor Sessak
ce356b0980 Add a filter to cut video frames into smaller slices.
Commited in SoC by Bobby Bingham on 2007-07-06 17:57:36

Originally committed as revision 11977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:56 +00:00
Vitor Sessak
102fb0e3ac Provide some default functions to simplify the implementation of common one
input one output video filters.

Commited in SoC by Bobby Bingham on 2007-07-06 15:25:52

Originally committed as revision 11976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:53 +00:00
Vitor Sessak
ba6b903510 cosmetic: more vertical alignment
Commited in SoC by Bobby Bingham on 2007-07-05 21:39:33

Originally committed as revision 11975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:49 +00:00
Vitor Sessak
e0752603a1 Rework filter initialization sequence. Now supports passing user parameters,
querying supported colorspaces, etc.

Commited in SoC by Bobby Bingham on 2007-07-05 20:48:48

Originally committed as revision 11974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:45 +00:00
Vitor Sessak
89e64908a3 Support passing parameters to filters.
Commited in SoC by Bobby Bingham on 2007-07-02 15:17:22

Originally committed as revision 11973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:43 +00:00
Vitor Sessak
92beffdc92 Cosmetic: align arguments to memcpys
Commited in SoC by Bobby Bingham on 2007-07-02 14:34:02

Originally committed as revision 11972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:40 +00:00
Vitor Sessak
a4ca73890e Even better way to pass size to memcpy.
Commited in SoC by Bobby Bingham on 2007-07-02 14:33:18

Originally committed as revision 11971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:35 +00:00
Vitor Sessak
4f770f667f typo
Commited in SoC by Bobby Bingham on 2007-06-30 17:11:22

Originally committed as revision 11970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:31 +00:00
Vitor Sessak
9cc321bd9a Fix a pointer type
Commited in SoC by Bobby Bingham on 2007-06-30 16:17:56

Originally committed as revision 11969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:29 +00:00
Vitor Sessak
c74032b7a8 Make linesize a per-reference property
Commited in SoC by Bobby Bingham on 2007-06-30 16:15:14

Originally committed as revision 11968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:25 +00:00
Vitor Sessak
58a9b20fb6 Use memcpy() to copy an array.
Commited in SoC by Bobby Bingham on 2007-06-30 16:05:03

Originally committed as revision 11967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:34:07 +00:00
Vitor Sessak
d72a138e43 Some simple filters for testing
Commited in SoC by Bobby Bingham on 2007-06-29 17:07:44

Originally committed as revision 11966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:34:04 +00:00
Vitor Sessak
4dbbcdee1e Initial stab at an API
Commited in SoC by Bobby Bingham on 2007-06-29 17:03:03

Originally committed as revision 11965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:33:56 +00:00
Vitor Sessak
0fdf410a3a Remove everything not yet commited to svn
Originally committed as revision 11958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:36:58 +00:00
Vitor Sessak
a1e3e4ba3e Improve conditional compilation of vsrc_movie.c
Commited in SoC by Vitor Sessak on 2008-02-13 17:59:45

Originally committed as revision 11957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:35:06 +00:00
Vitor Sessak
538e94d505 Fix compilation
Commited in SoC by Vitor Sessak on 2008-02-12 20:51:02

Originally committed as revision 11956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:34:54 +00:00
Vitor Sessak
217296130c True conditional compilation
Commited in SoC by Vitor Sessak on 2008-02-12 20:35:37

Originally committed as revision 11955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:34:43 +00:00
Vitor Sessak
0d6423514b Add movie file video source filter.
Commited in SoC by Víctor Paesa on 2008-01-31 20:55:50

Originally committed as revision 11954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:34:10 +00:00
Vitor Sessak
223c84acf4 Cosmetics: split long line
Commited in SoC by Víctor Paesa on 2008-01-12 11:33:59

Originally committed as revision 11953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:33:48 +00:00
Vitor Sessak
b4aa24fdfa Link to libraries in dependency order.
Commited in SoC by Víctor Paesa  on 2008-01-12 11:31:09

Originally committed as revision 11952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:33:36 +00:00
Vitor Sessak
8d990c1914 More targets addition
Merge of several patches in SoC, by various authors.

Originally committed as revision 11951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:33:05 +00:00
Víctor Paesa
bb9cb87ca0 Fix Cygwin compilation.
Patch by Víctor Paesa.

Commited in SoC by Vitor Sessak on 2007-11-10 20:00:16

Originally committed as revision 11950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:31:19 +00:00
Vitor Sessak
9f4a53d1f8 Targets addition and removal
Commited in SoC by Bobby Bingham

Originally committed as revision 11949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:30:58 +00:00
Vitor Sessak
0a46caf92a Remove test program and test video output module since ffplay can be used
for testing for a while now.

Commited in SoC by Bobby Bingham on 2007-08-14 22:31:51

Originally committed as revision 11948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:29:00 +00:00
Vitor Sessak
da84232310 Merge of several revisions that add more targets to the
Makefile.

Commited in SoC by Bobby Bingham on sep. 2007.

Originally committed as revision 11947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:24:25 +00:00
Vitor Sessak
782e83e21b work into the ffmpeg build system
Commited in SoC by Bobby Bingham on 2007-07-24 17:59:16

Originally committed as revision 11946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:21:42 +00:00
Vitor Sessak
52bfefeb45 Add rule for make clean.
Commited in SoC by Bobby Bingham on 2007-07-15 16:16:36

Originally committed as revision 11945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:21:21 +00:00
Vitor Sessak
bc305cc32b Merge of several revisions adding filters
Commited in SoC by Bobby Bingham from 2007-07-06 to
2007-07-08.

Originally committed as revision 11944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:20:46 +00:00
Vitor Sessak
2012358455 First version of libavfilter Makefile
Original commit message:
Simple filter test program

Commited in SoC by Bobby Bingham on 2007-06-29 17:08:49

Originally committed as revision 11943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:18:12 +00:00
Vitor Sessak
9189411bdb Coding style changes
Originally committed as revision 11901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:05:02 +00:00
Vitor Sessak
93faa9fad7 More code factorization
Originally committed as revision 11900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:55 +00:00
Vitor Sessak
37e0b997a8 Factor duplicated loop
Originally committed as revision 11899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:52 +00:00
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
2008-02-10 18:04:49 +00:00
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
2008-02-10 18:04:43 +00:00
Vitor Sessak
bd8ae4885b Oops, my last commit broke compilation...
Originally committed as revision 11896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:38 +00:00
Vitor Sessak
5ced2c996d Make regression tests to pass with libavfilter.
Originally committed as revision 11895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:36 +00:00
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
2008-02-10 18:04:32 +00:00
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
2008-02-10 18:04:27 +00:00
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
2008-02-10 18:03:18 +00:00
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
2008-02-10 18:02:11 +00:00