platform/upstream/libav.git
16 years agoBetter description for merge_ref().
Michael Niedermayer [Thu, 21 Feb 2008 22:10:11 +0000 (22:10 +0000)]
Better description for merge_ref().

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

16 years agoDocument avfilter_formats_ref() with some ascii art.
Michael Niedermayer [Thu, 21 Feb 2008 22:02:53 +0000 (22:02 +0000)]
Document avfilter_formats_ref() with some ascii art.

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

16 years agominor English corrections
Mike Melanson [Thu, 21 Feb 2008 18:46:49 +0000 (18:46 +0000)]
minor English corrections

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

16 years agotypos
Michael Niedermayer [Thu, 21 Feb 2008 18:42:33 +0000 (18:42 +0000)]
typos

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

16 years agoExplain that libavcodec/i386/idct_mmx.c is GPLed.
Diego Biurrun [Thu, 21 Feb 2008 15:48:58 +0000 (15:48 +0000)]
Explain that libavcodec/i386/idct_mmx.c is GPLed.

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

16 years ago"General Tips" section
Michael Niedermayer [Thu, 21 Feb 2008 13:02:31 +0000 (13:02 +0000)]
"General Tips" section

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

16 years agoparse_number_or_die()
Michael Niedermayer [Thu, 21 Feb 2008 12:24:37 +0000 (12:24 +0000)]
parse_number_or_die()
Based on a patch by Stefano Sabatini.

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

16 years agoindent
Loren Merritt [Thu, 21 Feb 2008 07:55:42 +0000 (07:55 +0000)]
indent

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

16 years agopseudo-simd add_bytes and diff_bytes
Loren Merritt [Thu, 21 Feb 2008 07:54:46 +0000 (07:54 +0000)]
pseudo-simd add_bytes and diff_bytes
2x faster than scalar in 32bit, 4x faster in 64bit (as opposed to 8x in mmx)

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

16 years agosimd and unroll png_filter_row
Loren Merritt [Thu, 21 Feb 2008 07:10:46 +0000 (07:10 +0000)]
simd and unroll png_filter_row
cycles per 1000 pixels on core2:
left: 9211->5170
top: 9283->2138
avg: 12215->7611
paeth: 64024->17360
overall rgb png decoding speed: +45%
overall greyscale png decoding speed: +6%

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

16 years agoDisabling all SSE* code for old gcc to avoid alignment issues.
Michael Niedermayer [Thu, 21 Feb 2008 00:06:07 +0000 (00:06 +0000)]
Disabling all SSE* code for old gcc to avoid alignment issues.

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

16 years agorevert 12156
Michael Niedermayer [Wed, 20 Feb 2008 20:24:38 +0000 (20:24 +0000)]
revert 12156

Log:
Make timestamp interpolation work with mpeg2 field pictures.
Cleaner/simpler solutions are welcome.
----
A IMHO cleaner solution has been implemented.

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

16 years agoForgot this, which is needed for merging field pics too.
Michael Niedermayer [Wed, 20 Feb 2008 19:48:25 +0000 (19:48 +0000)]
Forgot this, which is needed for merging field pics too.

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

16 years agoMake find_frame_end() merge 2 mpeg2 field pictures. This should make mpeg2
Michael Niedermayer [Wed, 20 Feb 2008 19:45:38 +0000 (19:45 +0000)]
Make find_frame_end() merge 2 mpeg2 field pictures. This should make mpeg2
field pictures much more digestable.

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

16 years ago10l: Correctly use preprocessor conditionals.
Eddie Pang [Wed, 20 Feb 2008 18:48:49 +0000 (18:48 +0000)]
10l: Correctly use preprocessor conditionals.
patch by Eddie Pang, eddpang gmail com

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

16 years agoFix computation of the "NTP time" field in RTCP SR packets, and do not
Luca Abeni [Wed, 20 Feb 2008 10:19:35 +0000 (10:19 +0000)]
Fix computation of the "NTP time" field in RTCP SR packets, and do not
export times with microsecond precision

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

16 years agoGet rid of a fake timestamp discontinuity at the begin of V.VOB.
Michael Niedermayer [Wed, 20 Feb 2008 03:40:07 +0000 (03:40 +0000)]
Get rid of a fake timestamp discontinuity at the begin of V.VOB.
This solution is not really correct but it is quite simple. Correct would
be to do a second pass over the packets after all the headers have been
collected.

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

16 years agoMake timestamp interpolation work with mpeg2 field pictures.
Michael Niedermayer [Wed, 20 Feb 2008 03:20:06 +0000 (03:20 +0000)]
Make timestamp interpolation work with mpeg2 field pictures.
Cleaner/simpler solutions are welcome.

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

16 years ago#include avutil.h in postprocess.h
Måns Rullgård [Wed, 20 Feb 2008 01:23:04 +0000 (01:23 +0000)]
#include avutil.h in postprocess.h

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

16 years agoClean up lib* version definitions
Måns Rullgård [Tue, 19 Feb 2008 22:52:28 +0000 (22:52 +0000)]
Clean up lib* version definitions

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

16 years agoClean up lib* version definitions
Måns Rullgård [Tue, 19 Feb 2008 22:50:28 +0000 (22:50 +0000)]
Clean up lib* version definitions

Updating version numbers now requires changing only one place.

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

16 years agoFix ;;
Michael Niedermayer [Tue, 19 Feb 2008 22:09:08 +0000 (22:09 +0000)]
Fix  ;;

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

16 years agoAdd some const, fixes warnings:
Reimar Döffinger [Tue, 19 Feb 2008 22:07:48 +0000 (22:07 +0000)]
Add some const, fixes warnings:
rtpenc_h264.c:69: warning: assignment discards qualifiers from pointer target type
rtpenc_h264.c:74: warning: assignment discards qualifiers from pointer target type

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

16 years agoMissing const, fix warnings:
Reimar Döffinger [Tue, 19 Feb 2008 21:58:54 +0000 (21:58 +0000)]
Missing const, fix warnings:
sdp.c:115: warning: assignment discards qualifiers from pointer target type
sdp.c:120: warning: assignment discards qualifiers from pointer target type

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

16 years agoFix warnings:
Reimar Döffinger [Tue, 19 Feb 2008 21:55:13 +0000 (21:55 +0000)]
Fix warnings:
i386/vp3dsp_sse2.c:805: warning: cast discards qualifiers from pointer target type
i386/vp3dsp_sse2.c:806: warning: cast discards qualifiers from pointer target type

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

16 years agoRemove duplicate ;
Reimar Döffinger [Tue, 19 Feb 2008 21:46:40 +0000 (21:46 +0000)]
Remove duplicate ;

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

16 years agoAdd casts to avoid warnings:
Reimar Döffinger [Tue, 19 Feb 2008 21:42:10 +0000 (21:42 +0000)]
Add casts to avoid warnings:
fraps.c:102: warning: passing argument 1 of ‘s->dsp.bswap_buf’ from incompatible pointer type
fraps.c:102: warning: passing argument 2 of ‘s->dsp.bswap_buf’ from incompatible pointer type

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

16 years agoMissing const
Reimar Döffinger [Tue, 19 Feb 2008 21:37:53 +0000 (21:37 +0000)]
Missing const

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

16 years agoFix misplaced const, avoids a cast-discards-qualifiers warning
Reimar Döffinger [Tue, 19 Feb 2008 16:18:17 +0000 (16:18 +0000)]
Fix misplaced const, avoids a cast-discards-qualifiers warning

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

16 years agoconst
Michael Niedermayer [Tue, 19 Feb 2008 16:08:52 +0000 (16:08 +0000)]
const

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

16 years agoReduce the number of senselessly scanned bytes.
Michael Niedermayer [Tue, 19 Feb 2008 15:55:14 +0000 (15:55 +0000)]
Reduce the number of senselessly scanned bytes.

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

16 years agoarg 10000l. Fix wrong fix committed in r12141
Guillaume Poirier [Tue, 19 Feb 2008 07:24:00 +0000 (07:24 +0000)]
arg 10000l. Fix wrong fix committed in r12141

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

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