Commit Graph

182 Commits

Author SHA1 Message Date
Vitor Sessak b6f5794597 Remove unneeded function.
Commited in SoC by Vitor Sessak on 2008-02-12 20:54:11

Originally committed as revision 12120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:15:13 +00:00
Vitor Sessak 11de6cac7e Oops
Commited in SoC by Vitor Sessak on 2008-02-12 20:43:49

Originally committed as revision 12119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:15:09 +00:00
Vitor Sessak e4152452d5 Missed this file in my conditional compilation patch
Commited in SoC by Vitor Sessak on 2008-02-12 20:40:32

Originally committed as revision 12118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:15:06 +00:00
Víctor Paesa a7d4665709 Add libavfilter_version
Patch by Víctor Paesa

Commited in SoC by Vitor Sessak on 2008-02-12 20:31:53

Originally committed as revision 12117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:15:04 +00:00
Vitor Sessak 765f96c6e1 Remove author field
Suggested by Baptiste Coudurier

Commited in SoC by Vitor Sessak on 2008-02-11 19:56:27

Originally committed as revision 12116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:58 +00:00
Vitor Sessak daafdb6eae Use CodecType for pad type
Commited in SoC by Vitor Sessak on 2008-02-10 20:41:57

Originally committed as revision 12115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:55 +00:00
Vitor Sessak 0155b1a1cc Nit: remove odd whitespace
Commited in SoC by Vitor Sessak on 2008-02-10 20:32:56

Originally committed as revision 12114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:52 +00:00
Vitor Sessak b04c740a18 Group avfilter_poll_frame() with related funcions and add doxygen comment
Commited in SoC by Vitor Sessak on 2008-02-10 20:30:50

Originally committed as revision 12113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:49 +00:00
Vitor Sessak 853961a999 Update comment to match code
Commited in SoC by Vitor Sessak on 2008-02-10 08:55:18

Originally committed as revision 12112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:46 +00:00
Vitor Sessak 664f659526 Nits: punctuation and capitalization
Commited in SoC by Vitor Sessak on 2008-02-09 19:47:46

Originally committed as revision 12111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:44 +00:00
Vitor Sessak 2844dd393a Add const to silence warnings
Commited in SoC by Vitor Sessak on 2008-02-09 15:59:47

Originally committed as revision 12110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:41 +00:00
Vitor Sessak d224d73a5d Implement poll_frame() method. Fix ffmpeg.c bug with
vf_fps filter.

Commited in SoC by Vitor Sessak on 2008-02-06 19:55:36

Originally committed as revision 12109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:37 +00:00
Vitor Sessak d177bd183f Indentation
Commited in SoC by Bobby Bingham on 2007-12-24 03:24:26

Originally committed as revision 12108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:32 +00:00
Vitor Sessak 24c4eff657 Rework link property configuration system.
This can now handle filters which are added to graphs out of order,
including auto-inserted scale filters.  As an added bonus, it can
now detect circular filter chains which wouldn't work anyway.

Commited in SoC by Bobby Bingham on 2007-12-24 03:22:10

Originally committed as revision 12107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:25 +00:00
Vitor Sessak 3afcca9dfd Fix misc. warnings
Commited in SoC by Vitor Sessak on 2007-12-21 10:53:16

Originally committed as revision 12106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:23 +00:00
Vitor Sessak 35f3fdf48d Rewrite colorspace negotiation.
Commited in SoC by Bobby Bingham on 2007-12-20 19:36:26

Originally committed as revision 12105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:20 +00:00
Vitor Sessak 2621f4a36b Add pixel aspect ratio to AVFilterPicRef structure
Commited in SoC by Bobby Bingham on 2007-08-20 14:33:24

Originally committed as revision 12104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:17 +00:00
Vitor Sessak b3ab2f7e84 Add another "reuse" permission, to distinguish between the case where a
source filter will simply want to re-output the same image multiple times
and reuse a buffer to do it, and the case where the source filter will
output multiple image by modifying a single buffer and outputting it multiple
times.

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

Originally committed as revision 12103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:14 +00:00
Vitor Sessak 056f0431f3 use units of 1/AV_TIME_BASE for pts rather than milliseconds
Commited in SoC by Bobby Bingham on 2007-08-18 01:42:42

Originally committed as revision 12102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:06 +00:00
Vitor Sessak fc815c5623 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 12101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:02 +00:00
Vitor Sessak 16415eafdb Revert braindead linked list of permissions
Commited in SoC by Bobby Bingham on 2007-08-17 22:44:03

Originally committed as revision 12100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:59 +00:00
Vitor Sessak 52f97a0d8d 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 12099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:56 +00:00
Vitor Sessak 60bf6ce3ba 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 12098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:52 +00:00
Vitor Sessak b42a6a92ff spelling fix
Commited in SoC by Bobby Bingham on 2007-08-17 14:40:55

Originally committed as revision 12097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:47 +00:00
Vitor Sessak 72f6d6317c 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 12096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:44 +00:00
Vitor Sessak 13ff8fd01c Add many new and improve existing doxy comments.
Commited in SoC by Bobby Bingham on 2007-08-14 16:39:26

Originally committed as revision 12095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:40 +00:00
Vitor Sessak 63f64e6f4d Let request_frame() indicate success or failure
Commited in SoC by Bobby Bingham on 2007-08-11 17:42:36

Originally committed as revision 12094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:33 +00:00
Vitor Sessak a9c81431bd 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 12093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:30 +00:00
Vitor Sessak 85322466ef 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 12092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:28 +00:00
Vitor Sessak 901e6b39b0 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 12091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:24 +00:00
Vitor Sessak 7c9066a3e4 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 12090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:18 +00:00
Vitor Sessak 95bcf49885 Make the opaque init parameter non-const.
Commited in SoC by Bobby Bingham on 2007-07-30 18:53:17

Originally committed as revision 12089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:13 +00:00
Vitor Sessak 25f8e6014a Fix some potential segfaults.
Commited in SoC by Bobby Bingham on 2007-07-30 15:53:33

Originally committed as revision 12088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:10 +00:00
Vitor Sessak 6e365c5720 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 12087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:05 +00:00
Vitor Sessak 443e73f08f 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 12086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:02 +00:00
Vitor Sessak 13a75d5a76 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 12085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:59 +00:00
Vitor Sessak dcea24825f 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 12084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:54 +00:00
Vitor Sessak 1a18860a8f Add pts to frame references
Commited in SoC by Bobby Bingham on 2007-07-14 17:31:40

Originally committed as revision 12083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:50 +00:00
Vitor Sessak 462f57dbd8 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 12082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:47 +00:00
Vitor Sessak 8fb48e7c44 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 12081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:43 +00:00
Vitor Sessak d3e57c15cf 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 12080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:41 +00:00
Vitor Sessak 4d96a914f9 Support passing parameters to filters.
Commited in SoC by Bobby Bingham on 2007-07-02 15:17:22

Originally committed as revision 12079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:37 +00:00
Vitor Sessak bbf42679c5 Make linesize a per-reference property
Commited in SoC by Bobby Bingham on 2007-06-30 16:15:14

Originally committed as revision 12078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:11:29 +00:00
Vitor Sessak a5cbb2f4cb Initial stab at an API
Commited in SoC by Bobby Bingham on 2007-06-29 17:03:03

Originally committed as revision 12077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:11:25 +00:00
Vitor Sessak 5c212e6fbc Add last file of main filter framework
Originally committed as revision 12076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:02:51 +00:00
Vitor Sessak 790a03d701 Force alignment of pic->linesize
Commited in SoC by Vitor Sessak on 2008-02-15 21:05:06

Originally committed as revision 12075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:00:13 +00:00
Vitor Sessak 4cf48782f8 Force linesize to be a multiple of 16
Commited in SoC by Vitor Sessak on 2008-02-10 20:51:58

Originally committed as revision 12074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:00:09 +00:00
Vitor Sessak 459821c533 Rework link property configuration system.
This can now handle filters which are added to graphs out of order,
including auto-inserted scale filters.  As an added bonus, it can
now detect circular filter chains which wouldn't work anyway.

Commited in SoC by Bobby Bingham on 2007-12-24 03:22:10

Originally committed as revision 12073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:00:07 +00:00
Vitor Sessak e363730c01 Rewrite colorspace negotiation.
Commited in SoC by Bobby Bingham on 2007-12-20 19:36:26

Originally committed as revision 12072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:00:03 +00:00
Vitor Sessak d0e4eba57c Make an invalid use of a default callback implementation return an error.
Commited in SoC by Bobby Bingham on 2007-08-18 01:45:42

Originally committed as revision 12071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:00:00 +00:00