platform/upstream/libav.git
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

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

16 years agoTrack the permissions that have been given out to each picture.
Vitor Sessak [Fri, 15 Feb 2008 21:38:06 +0000 (21:38 +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 12009 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:37:57 +0000 (21:37 +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 12008 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoUse macros for better readability
Vitor Sessak [Fri, 15 Feb 2008 21:37:54 +0000 (21:37 +0000)]
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

16 years agoRemove the data parameter from draw_slice(). It's unneeded and often more
Vitor Sessak [Fri, 15 Feb 2008 21:37:52 +0000 (21:37 +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 12006 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoRemove test program and test video output module since ffplay can be used
Vitor Sessak [Fri, 15 Feb 2008 21:37:49 +0000 (21:37 +0000)]
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

16 years agoAllow creation of filter graphs from a graph description structure which
Vitor Sessak [Fri, 15 Feb 2008 21:37:44 +0000 (21:37 +0000)]
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

16 years agoAdd a filter to overlay one video on top of another, picture-in-picture style.
Vitor Sessak [Fri, 15 Feb 2008 21:37:39 +0000 (21:37 +0000)]
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

16 years agoAdd a filter to modify the framerate.
Vitor Sessak [Fri, 15 Feb 2008 21:37:36 +0000 (21:37 +0000)]
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

16 years agoLet request_frame() indicate success or failure
Vitor Sessak [Fri, 15 Feb 2008 21:37:31 +0000 (21:37 +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 12001 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd a vertical flip filter
Vitor Sessak [Fri, 15 Feb 2008 21:37:26 +0000 (21:37 +0000)]
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

16 years agoHelper functions for adding new pads to filters at runtime
Vitor Sessak [Fri, 15 Feb 2008 21:37:22 +0000 (21:37 +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 11999 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:37:18 +0000 (21:37 +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 11998 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:37:15 +0000 (21:37 +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 11997 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMake the filter graph just another normal filter.
Vitor Sessak [Fri, 15 Feb 2008 21:37:13 +0000 (21:37 +0000)]
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

16 years agoMake input/output pads modifiable on a per-instance basis.
Vitor Sessak [Fri, 15 Feb 2008 21:37:07 +0000 (21:37 +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 11995 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoFix warnings
Vitor Sessak [Fri, 15 Feb 2008 21:37:04 +0000 (21:37 +0000)]
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

16 years agoCosmetics: fix indentation
Vitor Sessak [Fri, 15 Feb 2008 21:37:00 +0000 (21:37 +0000)]
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

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

16 years agoAllow code to pass data to filters it creates.
Vitor Sessak [Fri, 15 Feb 2008 21:36:50 +0000 (21:36 +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 11991 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 21:36:46 +0000 (21:36 +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 11990 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoUse av_strdup/av_free instead of strdup/free
Vitor Sessak [Fri, 15 Feb 2008 21:36:40 +0000 (21:36 +0000)]
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

16 years agoAdd a simple filter graph structure and functions
Vitor Sessak [Fri, 15 Feb 2008 21:36:37 +0000 (21:36 +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 11988 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 21:36:33 +0000 (21:36 +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 11987 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agocosmetics: vertical alignment
Vitor Sessak [Fri, 15 Feb 2008 21:36:29 +0000 (21:36 +0000)]
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

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

16 years agoActually fail when colorspaces don't match
Vitor Sessak [Fri, 15 Feb 2008 21:36:21 +0000 (21:36 +0000)]
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

16 years agoProvide a default for request_frame() which does the right thing for simple
Vitor Sessak [Fri, 15 Feb 2008 21:36:17 +0000 (21:36 +0000)]
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

16 years agoAdjust the default start_frame() and end_frame() implementations to simplify
Vitor Sessak [Fri, 15 Feb 2008 21:36:13 +0000 (21:36 +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 11982 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoMissing semicolon typo
Vitor Sessak [Fri, 15 Feb 2008 21:36:10 +0000 (21:36 +0000)]
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

16 years agoMake avfilter_ref_pic also handle removal of permissions for the caller.
Vitor Sessak [Fri, 15 Feb 2008 21:36:06 +0000 (21:36 +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 11980 to svn://svn.ffmpeg.org/ffmpeg/trunk

16 years agoAdd an RGB24 <-> BGR24 conversion filter
Vitor Sessak [Fri, 15 Feb 2008 21:36:03 +0000 (21:36 +0000)]
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

16 years agoAdd a simple video source filter which loads a PPM file and outputs it as
Vitor Sessak [Fri, 15 Feb 2008 21:35:59 +0000 (21:35 +0000)]
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

16 years agoAdd a filter to cut video frames into smaller slices.
Vitor Sessak [Fri, 15 Feb 2008 21:35:56 +0000 (21:35 +0000)]
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

16 years agoProvide some default functions to simplify the implementation of common one
Vitor Sessak [Fri, 15 Feb 2008 21:35:53 +0000 (21:35 +0000)]
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

16 years agocosmetic: more vertical alignment
Vitor Sessak [Fri, 15 Feb 2008 21:35:49 +0000 (21:35 +0000)]
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

16 years agoRework filter initialization sequence. Now supports passing user parameters,
Vitor Sessak [Fri, 15 Feb 2008 21:35:45 +0000 (21:35 +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 11974 to svn://svn.ffmpeg.org/ffmpeg/trunk

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

16 years agoCosmetic: align arguments to memcpys
Vitor Sessak [Fri, 15 Feb 2008 21:35:40 +0000 (21:35 +0000)]
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

16 years agoEven better way to pass size to memcpy.
Vitor Sessak [Fri, 15 Feb 2008 21:35:35 +0000 (21:35 +0000)]
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

16 years agotypo
Vitor Sessak [Fri, 15 Feb 2008 21:35:31 +0000 (21:35 +0000)]
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

16 years agoFix a pointer type
Vitor Sessak [Fri, 15 Feb 2008 21:35:29 +0000 (21:35 +0000)]
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

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

16 years agoUse memcpy() to copy an array.
Vitor Sessak [Fri, 15 Feb 2008 21:34:07 +0000 (21:34 +0000)]
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

16 years agoSome simple filters for testing
Vitor Sessak [Fri, 15 Feb 2008 21:34:04 +0000 (21:34 +0000)]
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

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

16 years ago100l
Vitor Sessak [Fri, 15 Feb 2008 21:01:10 +0000 (21:01 +0000)]
100l

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

16 years agoFix timestamps and durations if the first packets have no durations nor timestamps,
Michael Niedermayer [Fri, 15 Feb 2008 20:32:32 +0000 (20:32 +0000)]
Fix timestamps and durations if the first packets have no durations nor timestamps,
and the information needed to guess the duration only becomes known at a later packet.

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