Commit Graph

424 Commits

Author SHA1 Message Date
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