platform/upstream/libav.git
16 years agofix broken indentation
Guillaume Poirier [Tue, 19 Feb 2008 07:20:03 +0000 (07:20 +0000)]
fix broken indentation

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

16 years ago10l: fix always false test: Binary & has lower precedence than ==
Guillaume Poirier [Tue, 19 Feb 2008 07:19:15 +0000 (07:19 +0000)]
10l: fix always false test: Binary & has lower precedence than ==

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

16 years agoRefactor vcprm and vcii macros by using the AVV macro.
Diego Biurrun [Mon, 18 Feb 2008 23:01:26 +0000 (23:01 +0000)]
Refactor vcprm and vcii macros by using the AVV macro.

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

16 years agoRefactor the FOUROF macro using the AVV macro.
Diego Biurrun [Mon, 18 Feb 2008 22:26:46 +0000 (22:26 +0000)]
Refactor the FOUROF macro using the AVV macro.

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

16 years agoRemove stray #undef.
Diego Biurrun [Mon, 18 Feb 2008 22:22:17 +0000 (22:22 +0000)]
Remove stray #undef.

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

16 years agofix crash on non-AltiVec powered machines: MPV_common_init_altivec doesn't check...
Alexander Strange [Mon, 18 Feb 2008 21:35:31 +0000 (21:35 +0000)]
fix crash on non-AltiVec powered machines: MPV_common_init_altivec doesn't check mm_flags
Patch by Alexander Strange %astrange A ithinksw PP com %

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

16 years agoRemove a superfluous call to atoi in ffmpeg.c:opt_verbose
Stefano Sabatini [Mon, 18 Feb 2008 15:30:56 +0000 (15:30 +0000)]
Remove a superfluous call to atoi in ffmpeg.c:opt_verbose

Patch by Stefano Sabatini ( stefano sabatini-lala poste it )
[FFmpeg-devel] [PATCH] Cosmetics: remove a superfluos call to atoi in
ffmpeg.c:opt_verbose

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

16 years agoAdd notes where known timestamp issues remain.
Michael Niedermayer [Sun, 17 Feb 2008 21:31:39 +0000 (21:31 +0000)]
Add notes where known timestamp issues remain.

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

16 years agoSet initial next_pts to unknown, this avoids the nonsense timestamp
Michael Niedermayer [Sun, 17 Feb 2008 20:12:44 +0000 (20:12 +0000)]
Set initial next_pts to unknown, this avoids the nonsense timestamp
discontinuity at the start. I hope this has no sideeffects, if it does
send a bugreport!
fixes issue137

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

16 years agoPrint a warning if a decoder produces more than 1 frame of output for
Michael Niedermayer [Sun, 17 Feb 2008 19:38:47 +0000 (19:38 +0000)]
Print a warning if a decoder produces more than 1 frame of output for
a single frame it got from the demuxer+parser.

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

16 years agoSet next_pts to pts if it is unknown and pkt->dts is not known either. This
Michael Niedermayer [Sun, 17 Feb 2008 19:08:15 +0000 (19:08 +0000)]
Set next_pts to pts if it is unknown and pkt->dts is not known either. This
is needed because next_pts is used to calculate the next pts and adding
to AV_NOPTS_VALUE does not achieve the intended result.

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

16 years agosimplify (next_)pts code
Michael Niedermayer [Sun, 17 Feb 2008 17:55:53 +0000 (17:55 +0000)]
simplify (next_)pts code

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

16 years agoUse next_pts if pkt->dts is unknown. In an ideal world this would not be needed
Michael Niedermayer [Sun, 17 Feb 2008 17:41:32 +0000 (17:41 +0000)]
Use next_pts if pkt->dts is unknown. In an ideal world this would not be needed
but sadly there are cases where the timestamps cannot be found without decoding.

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

16 years agoremove duplicate AV_STRINGIFY() definition
Måns Rullgård [Sun, 17 Feb 2008 03:54:07 +0000 (03:54 +0000)]
remove duplicate AV_STRINGIFY() definition

Originally committed as revision 26013 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoremove duplicate AV_STRINGIFY() definition
Måns Rullgård [Sun, 17 Feb 2008 03:44:47 +0000 (03:44 +0000)]
remove duplicate AV_STRINGIFY() definition

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

16 years agoprettify lib* version number extraction
Måns Rullgård [Sun, 17 Feb 2008 00:00:10 +0000 (00:00 +0000)]
prettify lib* version number extraction

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

16 years agoprettify encoder/decoder/muxer/... list extraction
Måns Rullgård [Sun, 17 Feb 2008 00:00:06 +0000 (00:00 +0000)]
prettify encoder/decoder/muxer/... list extraction

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

16 years agoclean up definition of DECLARE_ALIGNED_8 and STRIDE_ALIGN
Måns Rullgård [Sat, 16 Feb 2008 19:18:30 +0000 (19:18 +0000)]
clean up definition of DECLARE_ALIGNED_8 and STRIDE_ALIGN

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

16 years agoFLAT objects cannot have multiple sections, so using the L1 attributes breaks
Mike Frysinger [Sat, 16 Feb 2008 15:17:59 +0000 (15:17 +0000)]
FLAT objects cannot have multiple sections, so using the L1 attributes breaks
linking. The FDPIC relocs also break for any other format. Thus check the
compiler environment and select the appropriate sections/relocs.
patch by Mike Frysinger, vapier.adi a gmail d com

Originally committed as revision 26010 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

16 years agoFLAT objects cannot have multiple sections, so using the L1 attributes breaks
Mike Frysinger [Sat, 16 Feb 2008 15:17:31 +0000 (15:17 +0000)]
FLAT objects cannot have multiple sections, so using the L1 attributes breaks
linking. The FDPIC relocs also break for any other format. Thus check the
compiler environment and select the appropriate sections/relocs.
patch by Mike Frysinger, vapier.adi a gmail d com

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

16 years agoThis shell script is not bash-specific.
Diego Biurrun [Sat, 16 Feb 2008 14:42:44 +0000 (14:42 +0000)]
This shell script is not bash-specific.

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

16 years agoRemove check for the availability of the -u diff flag, we require it in
Diego Biurrun [Sat, 16 Feb 2008 14:37:23 +0000 (14:37 +0000)]
Remove check for the availability of the -u diff flag, we require it in
other places without checking for its availability already.

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

16 years agoThe Blackfin toolchains will automatically select FDPIC according to the
Mike Frysinger [Sat, 16 Feb 2008 14:21:53 +0000 (14:21 +0000)]
The Blackfin toolchains will automatically select FDPIC according to the
toolchain/tuple, so there is no need (and indeed this is unwanted)
to force -mfdpic into the compile/linker flags.
patch by Mike Frysinger, vapier.adi a gmail d com

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

16 years agodo not run ldconfig after installing shared libraries
Måns Rullgård [Sat, 16 Feb 2008 14:13:23 +0000 (14:13 +0000)]
do not run ldconfig after installing shared libraries

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

16 years agoRemove unneeded function.
Vitor Sessak [Fri, 15 Feb 2008 22:15:13 +0000 (22:15 +0000)]
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

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

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

16 years agoAdd libavfilter_version
Víctor Paesa [Fri, 15 Feb 2008 22:15:04 +0000 (22:15 +0000)]
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

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

16 years agoUse CodecType for pad type
Vitor Sessak [Fri, 15 Feb 2008 22:14:55 +0000 (22:14 +0000)]
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

16 years agoNit: remove odd whitespace
Vitor Sessak [Fri, 15 Feb 2008 22:14:52 +0000 (22:14 +0000)]
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

16 years agoGroup avfilter_poll_frame() with related funcions and add doxygen comment
Vitor Sessak [Fri, 15 Feb 2008 22:14:49 +0000 (22:14 +0000)]
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

16 years agoUpdate comment to match code
Vitor Sessak [Fri, 15 Feb 2008 22:14:46 +0000 (22:14 +0000)]
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

16 years agoNits: punctuation and capitalization
Vitor Sessak [Fri, 15 Feb 2008 22:14:44 +0000 (22:14 +0000)]
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

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