platform/upstream/libav.git
16 years agoAdd const to silence warnings
Vitor Sessak [Fri, 15 Feb 2008 22:14:41 +0000 (22:14 +0000)]
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

16 years agoImplement poll_frame() method. Fix ffmpeg.c bug with
Vitor Sessak [Fri, 15 Feb 2008 22:14:37 +0000 (22:14 +0000)]
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

16 years agoIndentation
Vitor Sessak [Fri, 15 Feb 2008 22:14:32 +0000 (22:14 +0000)]
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

16 years agoRework link property configuration system.
Vitor Sessak [Fri, 15 Feb 2008 22:14:25 +0000 (22:14 +0000)]
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

16 years agoFix misc. warnings
Vitor Sessak [Fri, 15 Feb 2008 22:14:23 +0000 (22:14 +0000)]
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

16 years agoRewrite colorspace negotiation.
Vitor Sessak [Fri, 15 Feb 2008 22:14:20 +0000 (22:14 +0000)]
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

16 years agoAdd pixel aspect ratio to AVFilterPicRef structure
Vitor Sessak [Fri, 15 Feb 2008 22:14:17 +0000 (22:14 +0000)]
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

16 years agoAdd another "reuse" permission, to distinguish between the case where a
Vitor Sessak [Fri, 15 Feb 2008 22:14:14 +0000 (22:14 +0000)]
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

16 years agouse units of 1/AV_TIME_BASE for pts rather than milliseconds
Vitor Sessak [Fri, 15 Feb 2008 22:14:06 +0000 (22:14 +0000)]
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

16 years agoRename avfilter_create to avfilter_open and remove the wrapper function
Vitor Sessak [Fri, 15 Feb 2008 22:14:02 +0000 (22:14 +0000)]
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

16 years agoRevert braindead linked list of permissions
Vitor Sessak [Fri, 15 Feb 2008 22:13:59 +0000 (22:13 +0000)]
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

16 years agoTrack the permissions that have been given out to each picture.
Vitor Sessak [Fri, 15 Feb 2008 22:13:56 +0000 (22:13 +0000)]
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

16 years agoAllow filters to set the requirements on permissions for incoming buffers.
Vitor Sessak [Fri, 15 Feb 2008 22:13:52 +0000 (22:13 +0000)]
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

16 years agospelling fix
Vitor Sessak [Fri, 15 Feb 2008 22:13:47 +0000 (22:13 +0000)]
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

16 years agoRemove the data parameter from draw_slice(). It's unneeded and often more
Vitor Sessak [Fri, 15 Feb 2008 22:13:44 +0000 (22:13 +0000)]
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

16 years agoAdd many new and improve existing doxy comments.
Vitor Sessak [Fri, 15 Feb 2008 22:13:40 +0000 (22:13 +0000)]
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

16 years agoLet request_frame() indicate success or failure
Vitor Sessak [Fri, 15 Feb 2008 22:13:33 +0000 (22:13 +0000)]
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

16 years agoHelper functions for adding new pads to filters at runtime
Vitor Sessak [Fri, 15 Feb 2008 22:13:30 +0000 (22:13 +0000)]
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

16 years agoSeparate the process of creating links between filters from that of configuring
Vitor Sessak [Fri, 15 Feb 2008 22:13:28 +0000 (22:13 +0000)]
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

16 years agoMove default entry point implementations to their own file.
Vitor Sessak [Fri, 15 Feb 2008 22:13:24 +0000 (22:13 +0000)]
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

16 years agoMake input/output pads modifiable on a per-instance basis.
Vitor Sessak [Fri, 15 Feb 2008 22:13:18 +0000 (22:13 +0000)]
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

16 years agoMake the opaque init parameter non-const.
Vitor Sessak [Fri, 15 Feb 2008 22:13:13 +0000 (22:13 +0000)]
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

16 years agoFix some potential segfaults.
Vitor Sessak [Fri, 15 Feb 2008 22:13:10 +0000 (22:13 +0000)]
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

16 years agoAllow code to pass data to filters it creates.
Vitor Sessak [Fri, 15 Feb 2008 22:13:05 +0000 (22:13 +0000)]
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

16 years agoSplit filter graphs out into their own source & header files.
Vitor Sessak [Fri, 15 Feb 2008 22:13:02 +0000 (22:13 +0000)]
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

16 years agoAdd a simple filter graph structure and functions
Vitor Sessak [Fri, 15 Feb 2008 22:12:59 +0000 (22:12 +0000)]
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

16 years agoAllow giving filter instances names, in anticipation of the upcoming
Vitor Sessak [Fri, 15 Feb 2008 22:12:54 +0000 (22:12 +0000)]
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

16 years agoAdd pts to frame references
Vitor Sessak [Fri, 15 Feb 2008 22:12:50 +0000 (22:12 +0000)]
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

16 years agoAdjust the default start_frame() and end_frame() implementations to simplify
Vitor Sessak [Fri, 15 Feb 2008 22:12:47 +0000 (22:12 +0000)]
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

16 years agoMake avfilter_ref_pic also handle removal of permissions for the caller.
Vitor Sessak [Fri, 15 Feb 2008 22:12:43 +0000 (22:12 +0000)]
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

16 years agoRework filter initialization sequence. Now supports passing user parameters,
Vitor Sessak [Fri, 15 Feb 2008 22:12:41 +0000 (22:12 +0000)]
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

16 years agoSupport passing parameters to filters.
Vitor Sessak [Fri, 15 Feb 2008 22:12:37 +0000 (22:12 +0000)]
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

16 years agoMake linesize a per-reference property
Vitor Sessak [Fri, 15 Feb 2008 22:11:29 +0000 (22:11 +0000)]
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

16 years agoInitial stab at an API
Vitor Sessak [Fri, 15 Feb 2008 22:11:25 +0000 (22:11 +0000)]
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

16 years agoAdd last file of main filter framework
Vitor Sessak [Fri, 15 Feb 2008 22:02:51 +0000 (22:02 +0000)]
Add last file of main filter framework

Originally committed as revision 12076 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoForce alignment of pic->linesize
Vitor Sessak [Fri, 15 Feb 2008 22:00:13 +0000 (22:00 +0000)]
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

16 years agoForce linesize to be a multiple of 16
Vitor Sessak [Fri, 15 Feb 2008 22:00:09 +0000 (22:00 +0000)]
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

16 years agoRework link property configuration system.
Vitor Sessak [Fri, 15 Feb 2008 22:00:07 +0000 (22:00 +0000)]
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

16 years agoRewrite colorspace negotiation.
Vitor Sessak [Fri, 15 Feb 2008 22:00:03 +0000 (22:00 +0000)]
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

16 years agoMake an invalid use of a default callback implementation return an error.
Vitor Sessak [Fri, 15 Feb 2008 22:00:00 +0000 (22:00 +0000)]
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

16 years agoEnsure that buffers returned by the default allocator are readable, or else
Vitor Sessak [Fri, 15 Feb 2008 21:59:57 +0000 (21:59 +0000)]
Ensure that buffers returned by the default allocator are readable, or else
they're useless for outputting.

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

Originally committed as revision 12070 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRevert braindead linked list of permissions
Vitor Sessak [Fri, 15 Feb 2008 21:59:50 +0000 (21:59 +0000)]
Revert braindead linked list of permissions

Commited in SoC by Bobby Bingham on 2007-08-17 22:44:03

Originally committed as revision 12069 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoTrack the permissions that have been given out to each picture.
Vitor Sessak [Fri, 15 Feb 2008 21:59:47 +0000 (21:59 +0000)]
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 12068 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoindentation
Vitor Sessak [Fri, 15 Feb 2008 21:59:44 +0000 (21:59 +0000)]
indentation

Commited in SoC by Bobby Bingham on 2007-08-17 17:09:19

Originally committed as revision 12067 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMake default end_frame() implementation more useful.
Vitor Sessak [Fri, 15 Feb 2008 21:59:41 +0000 (21:59 +0000)]
Make default end_frame() implementation more useful.

Commited in SoC by Bobby Bingham on 2007-08-17 16:45:47

Originally committed as revision 12066 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAllow filters to set the requirements on permissions for incoming buffers.
Vitor Sessak [Fri, 15 Feb 2008 21:59:38 +0000 (21:59 +0000)]
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 12065 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSeparate the process of creating links between filters from that of configuring
Vitor Sessak [Fri, 15 Feb 2008 21:58:29 +0000 (21:58 +0000)]
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 12064 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMove default entry point implementations to their own file.
Vitor Sessak [Fri, 15 Feb 2008 21:58:25 +0000 (21:58 +0000)]
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 12063 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoUpdate ist->pts after decoding a codec frame not after decoding a container
Michael Niedermayer [Fri, 15 Feb 2008 21:45:12 +0000 (21:45 +0000)]
Update ist->pts after decoding a codec frame not after decoding a container
frame.

Originally committed as revision 12062 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoDo not copy more data than needed
Vitor Sessak [Fri, 15 Feb 2008 21:42:01 +0000 (21:42 +0000)]
Do not copy more data than needed
Commited in SoC by Vitor Sessak on 2008-02-15 21:11:35

Originally committed as revision 12061 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove header now made useless
Vitor Sessak [Fri, 15 Feb 2008 21:41:49 +0000 (21:41 +0000)]
Remove header now made useless
Commited in SoC by Vitor Sessak on 2008-02-12 20:59:51

Originally committed as revision 12060 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove unneeded function.
Vitor Sessak [Fri, 15 Feb 2008 21:41:43 +0000 (21:41 +0000)]
Remove unneeded function.

Commited in SoC by Vitor Sessak on 2008-02-12 20:54:11

Originally committed as revision 12059 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMissed this file in my conditional compilation patch
Vitor Sessak [Fri, 15 Feb 2008 21:41:40 +0000 (21:41 +0000)]
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 12058 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSimplify
Vitor Sessak [Fri, 15 Feb 2008 21:41:38 +0000 (21:41 +0000)]
Simplify
Commited in SoC by Vitor Sessak on 2008-02-11 18:19:37

Originally committed as revision 12057 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoSimplify
Vitor Sessak [Fri, 15 Feb 2008 21:41:35 +0000 (21:41 +0000)]
Simplify
Commited in SoC by Vitor Sessak on 2008-02-11 17:35:13

Originally committed as revision 12056 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoIndent after last commit
Vitor Sessak [Fri, 15 Feb 2008 21:41:31 +0000 (21:41 +0000)]
Indent after last commit
Commited in SoC by Vitor Sessak on 2008-02-11 17:29:12

Originally committed as revision 12055 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove unneded else
Vitor Sessak [Fri, 15 Feb 2008 21:41:28 +0000 (21:41 +0000)]
Remove unneded else
Commited in SoC by Vitor Sessak on 2008-02-11 17:18:16

Originally committed as revision 12054 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCosmetical: indentation
Vitor Sessak [Fri, 15 Feb 2008 21:41:23 +0000 (21:41 +0000)]
Cosmetical: indentation
Commited in SoC by Vitor Sessak on 2008-02-11 17:17:15

Originally committed as revision 12053 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoNit: Alignment
Vitor Sessak [Fri, 15 Feb 2008 21:41:19 +0000 (21:41 +0000)]
Nit: Alignment
Commited in SoC by Vitor Sessak on 2008-02-11 17:16:35

Originally committed as revision 12052 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove useless ()
Vitor Sessak [Fri, 15 Feb 2008 21:41:15 +0000 (21:41 +0000)]
Remove useless ()
Commited in SoC by Vitor Sessak on 2008-02-11 17:16:05

Originally committed as revision 12051 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoDo not always fail for circular filter chains
Vitor Sessak [Fri, 15 Feb 2008 21:41:11 +0000 (21:41 +0000)]
Do not always fail for circular filter chains
Commited in SoC by Vitor Sessak on 2008-02-10 16:52:54

Originally committed as revision 12050 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove unused var (dead code leftover?).
Vitor Sessak [Fri, 15 Feb 2008 21:41:08 +0000 (21:41 +0000)]
Remove unused var (dead code leftover?).
Commited in SoC by Vitor Sessak on 2008-02-10 09:55:55

Originally committed as revision 12049 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAvoid link_dpad() overuse in avfilter_start_frame()
Vitor Sessak [Fri, 15 Feb 2008 21:41:03 +0000 (21:41 +0000)]
Avoid link_dpad() overuse in avfilter_start_frame()
Commited in SoC by Vitor Sessak on 2008-02-10 09:53:00

Originally committed as revision 12048 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd context to av_log()
Vitor Sessak [Fri, 15 Feb 2008 21:40:59 +0000 (21:40 +0000)]
Add context to av_log()
Commited in SoC by Vitor Sessak on 2008-02-10 09:05:39

Originally committed as revision 12047 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMerge loops
Vitor Sessak [Fri, 15 Feb 2008 21:40:55 +0000 (21:40 +0000)]
Merge loops
Commited in SoC by Vitor Sessak on 2008-02-10 09:01:31

Originally committed as revision 12046 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCoding style changes
Vitor Sessak [Fri, 15 Feb 2008 21:40:46 +0000 (21:40 +0000)]
Coding style changes
Commited in SoC by Vitor Sessak on 2008-02-09 23:43:45

Originally committed as revision 12045 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove unneded headers
Vitor Sessak [Fri, 15 Feb 2008 21:40:43 +0000 (21:40 +0000)]
Remove unneded headers
Commited in SoC by Vitor Sessak on 2008-02-09 23:35:19

Originally committed as revision 12044 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoNits: more punctuation and capitalization
Vitor Sessak [Fri, 15 Feb 2008 21:40:40 +0000 (21:40 +0000)]
Nits: more punctuation and capitalization
Commited in SoC by Vitor Sessak on 2008-02-09 20:02:29

Originally committed as revision 12043 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMove setting the pts of the copied frame to a more adequated place.
Vitor Sessak [Fri, 15 Feb 2008 21:40:36 +0000 (21:40 +0000)]
Move setting the pts of the copied frame to a more adequated place.
Suggested by Bobby Bingham.

Commited in SoC by Vitor Sessak on 2008-02-09 16:56:55

Originally committed as revision 12042 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd const to silence warnings
Vitor Sessak [Fri, 15 Feb 2008 21:40:33 +0000 (21:40 +0000)]
Add const to silence warnings
Commited in SoC by Vitor Sessak on 2008-02-09 15:59:47

Originally committed as revision 12041 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoThe filter framework as is hangs with filters that
Vitor Sessak [Fri, 15 Feb 2008 21:40:30 +0000 (21:40 +0000)]
The filter framework as is hangs with filters that
modify the input buffer, even if it asks for the right
permission. This is a fix for that.
See "Box blurring with libavfilter" thread in libav-user.

Commited in SoC by Vitor Sessak on 2008-02-09 11:03:35

Originally committed as revision 12040 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoImplement poll_frame() method. Fix ffmpeg.c bug with
Vitor Sessak [Fri, 15 Feb 2008 21:40:26 +0000 (21:40 +0000)]
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 12039 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd movie file video source filter.
Vitor Sessak [Fri, 15 Feb 2008 21:40:23 +0000 (21:40 +0000)]
Add movie file video source filter.

Commited in SoC by  on 2008-01-31 20:55:50

Originally committed as revision 12038 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoPresentation timestamp (PTS) modification filter
Vitor Sessak [Fri, 15 Feb 2008 21:40:20 +0000 (21:40 +0000)]
Presentation timestamp (PTS) modification filter

Commited in SoC by  on 2008-01-12 00:35:29

Originally committed as revision 12037 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRename filter
Vitor Sessak [Fri, 15 Feb 2008 21:40:06 +0000 (21:40 +0000)]
Rename filter
Commited in SoC by Vitor Sessak on 2008-01-06 17:03:21

Originally committed as revision 12036 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years ago90 degrees counter-clockwise rotation filter
Vitor Sessak [Fri, 15 Feb 2008 21:40:02 +0000 (21:40 +0000)]
90 degrees counter-clockwise rotation filter
Commited in SoC by Vitor Sessak on 2008-01-06 13:19:12

Originally committed as revision 12035 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd an equivalent to the mplayer format filter
Vitor Sessak [Fri, 15 Feb 2008 21:39:55 +0000 (21:39 +0000)]
Add an equivalent to the mplayer format filter

Commited in SoC by Bobby Bingham on 2007-12-24 21:53:10

Originally committed as revision 12034 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoChange the passthrough filter to a noformat filter. It's now similar to
Vitor Sessak [Fri, 15 Feb 2008 21:39:51 +0000 (21:39 +0000)]
Change the passthrough filter to a noformat filter.  It's now similar to
the mplayer noformat filter except that the default behavior if no formats
are specified is to allow allow all formats (ie. virtually the same as the
old passthrough behavior)

Commited in SoC by Bobby Bingham on 2007-12-24 21:42:56

Originally committed as revision 12033 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoIndentation
Vitor Sessak [Fri, 15 Feb 2008 21:39:47 +0000 (21:39 +0000)]
Indentation

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

Originally committed as revision 12032 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRework link property configuration system.
Vitor Sessak [Fri, 15 Feb 2008 21:39:41 +0000 (21:39 +0000)]
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 12031 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd horizontal flip filter.
Vitor Sessak [Fri, 15 Feb 2008 21:39:36 +0000 (21:39 +0000)]
Add horizontal flip filter.

Commited in SoC by  on 2007-12-21 09:21:29

Originally committed as revision 12030 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoNeed to be careful when dealing with references.
Vitor Sessak [Fri, 15 Feb 2008 21:39:32 +0000 (21:39 +0000)]
Need to be careful when dealing with references.

Commited in SoC by Bobby Bingham on 2007-12-20 23:38:49

Originally committed as revision 12029 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoWhen inserting a filter, don't lose any information we may already have
Vitor Sessak [Fri, 15 Feb 2008 21:39:28 +0000 (21:39 +0000)]
When inserting a filter, don't lose any information we may already have
about the colorspaces supported across the link.

Commited in SoC by Bobby Bingham on 2007-12-20 20:47:11

Originally committed as revision 12028 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRewrite colorspace negotiation.
Vitor Sessak [Fri, 15 Feb 2008 21:39:24 +0000 (21:39 +0000)]
Rewrite colorspace negotiation.

Commited in SoC by Bobby Bingham on 2007-12-20 19:36:26

Originally committed as revision 12027 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMake filter auto-insertion code its own function.
Vitor Sessak [Fri, 15 Feb 2008 21:39:19 +0000 (21:39 +0000)]
Make filter auto-insertion code its own function.

Commited in SoC by Bobby Bingham on 2007-11-04 22:03:14

Originally committed as revision 12026 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove no-longer accurate comment
Vitor Sessak [Fri, 15 Feb 2008 21:39:16 +0000 (21:39 +0000)]
Remove no-longer accurate comment

Commited in SoC by Bobby Bingham on 2007-11-04 21:21:25

Originally committed as revision 12025 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoCheck for error so that
Vitor Sessak [Fri, 15 Feb 2008 21:39:12 +0000 (21:39 +0000)]
Check for error so that
avfilter_open(av_filter_get_by_name(...etc...)) fails
gracefully.

Commited in SoC by Vitor Sessak on 2007-10-29 16:00:27

Originally committed as revision 12024 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove dummy and ppm filters which were only for testing.
Vitor Sessak [Fri, 15 Feb 2008 21:39:05 +0000 (21:39 +0000)]
Remove dummy and ppm filters which were only for testing.
Remove rgb2bgr filter now that there is a proper colorspace conversion filter.

Commited in SoC by Bobby Bingham on 2007-08-20 18:01:34

Originally committed as revision 12023 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoImage negating filter
Vitor Sessak [Fri, 15 Feb 2008 21:39:02 +0000 (21:39 +0000)]
Image negating filter

Commited in SoC by Bobby Bingham on 2007-08-20 05:27:17

Originally committed as revision 12022 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAuto insert scale filter to convert colrospaces when needed
Vitor Sessak [Fri, 15 Feb 2008 21:38:58 +0000 (21:38 +0000)]
Auto insert scale filter to convert colrospaces when needed

Commited in SoC by Bobby Bingham on 2007-08-20 05:24:57

Originally committed as revision 12021 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd scale/colorspace conversion filter
Vitor Sessak [Fri, 15 Feb 2008 21:38:52 +0000 (21:38 +0000)]
Add scale/colorspace conversion filter

Commited in SoC by Bobby Bingham on 2007-08-19 17:35:59

Originally committed as revision 12020 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoPrefix names of filter structs
Vitor Sessak [Fri, 15 Feb 2008 21:38:48 +0000 (21:38 +0000)]
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

16 years agoRename "buffer" filter to "fifo"
Vitor Sessak [Fri, 15 Feb 2008 21:38:45 +0000 (21:38 +0000)]
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

16 years agoAdd a filter to output the same video to two outputs
Vitor Sessak [Fri, 15 Feb 2008 21:38:40 +0000 (21:38 +0000)]
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

16 years agoAdd a filter to act as a buffer between filters which may output multiple
Vitor Sessak [Fri, 15 Feb 2008 21:38:35 +0000 (21:38 +0000)]
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

16 years agoUse av_freep instead of av_free
Vitor Sessak [Fri, 15 Feb 2008 21:38:29 +0000 (21:38 +0000)]
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

16 years agoRename avfilter_create to avfilter_open and remove the wrapper function
Vitor Sessak [Fri, 15 Feb 2008 21:38:25 +0000 (21:38 +0000)]
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

16 years agoChange registered filter list to a linked list
Vitor Sessak [Fri, 15 Feb 2008 21:38:20 +0000 (21:38 +0000)]
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

16 years agoBe more consistent in style of code for falling back to defaults.
Vitor Sessak [Fri, 15 Feb 2008 21:38:17 +0000 (21:38 +0000)]
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

16 years agoreplace memcpy with assignment
Vitor Sessak [Fri, 15 Feb 2008 21:38:13 +0000 (21:38 +0000)]
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