Commit Graph

12781 Commits

Author SHA1 Message Date
Alexander Strange
3518c5a96b 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
2008-02-18 21:35:31 +00:00
Stefano Sabatini
b3574faa06 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
2008-02-18 15:30:56 +00:00
Michael Niedermayer
5bc440e7e8 Add notes where known timestamp issues remain.
Originally committed as revision 12135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 21:31:39 +00:00
Michael Niedermayer
48291040ea 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
2008-02-17 20:12:44 +00:00
Michael Niedermayer
40cb57a287 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
2008-02-17 19:38:47 +00:00
Michael Niedermayer
ed9238593e 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
2008-02-17 19:08:15 +00:00
Michael Niedermayer
b1b818fce8 simplify (next_)pts code
Originally committed as revision 12131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 17:55:53 +00:00
Michael Niedermayer
da0ef2d557 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
2008-02-17 17:41:32 +00:00
Måns Rullgård
1d03e71805 remove duplicate AV_STRINGIFY() definition
Originally committed as revision 26013 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-02-17 03:54:07 +00:00
Måns Rullgård
5ff1b0675f remove duplicate AV_STRINGIFY() definition
Originally committed as revision 12129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 03:44:47 +00:00
Måns Rullgård
719c8e00ef prettify lib* version number extraction
Originally committed as revision 12128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 00:00:10 +00:00
Måns Rullgård
73ef89807e prettify encoder/decoder/muxer/... list extraction
Originally committed as revision 12127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 00:00:06 +00:00
Måns Rullgård
5c319d3334 clean up definition of DECLARE_ALIGNED_8 and STRIDE_ALIGN
Originally committed as revision 12126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-16 19:18:30 +00:00
Mike Frysinger
d2a4ecafbb 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
2008-02-16 15:17:59 +00:00
Mike Frysinger
e44d7c659b 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
2008-02-16 15:17:31 +00:00
Diego Biurrun
2d83fe90e3 This shell script is not bash-specific.
Originally committed as revision 12124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-16 14:42:44 +00:00
Diego Biurrun
989bbe62d0 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
2008-02-16 14:37:23 +00:00
Mike Frysinger
63da080387 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
2008-02-16 14:21:53 +00:00
Måns Rullgård
b147ec08c3 do not run ldconfig after installing shared libraries
Originally committed as revision 12121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-16 14:13:23 +00:00
Vitor Sessak
b6f5794597 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
2008-02-15 22:15:13 +00:00
Vitor Sessak
11de6cac7e 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
2008-02-15 22:15:09 +00:00
Vitor Sessak
e4152452d5 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
2008-02-15 22:15:06 +00:00
Víctor Paesa
a7d4665709 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
2008-02-15 22:15:04 +00:00
Vitor Sessak
765f96c6e1 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
2008-02-15 22:14:58 +00:00
Vitor Sessak
daafdb6eae 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
2008-02-15 22:14:55 +00:00
Vitor Sessak
0155b1a1cc 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
2008-02-15 22:14:52 +00:00
Vitor Sessak
b04c740a18 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
2008-02-15 22:14:49 +00:00
Vitor Sessak
853961a999 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
2008-02-15 22:14:46 +00:00
Vitor Sessak
664f659526 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
2008-02-15 22:14:44 +00:00
Vitor Sessak
2844dd393a 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
2008-02-15 22:14:41 +00:00
Vitor Sessak
d224d73a5d 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
2008-02-15 22:14:37 +00:00
Vitor Sessak
d177bd183f 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
2008-02-15 22:14:32 +00:00
Vitor Sessak
24c4eff657 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
2008-02-15 22:14:25 +00:00
Vitor Sessak
3afcca9dfd 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
2008-02-15 22:14:23 +00:00
Vitor Sessak
35f3fdf48d 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
2008-02-15 22:14:20 +00:00
Vitor Sessak
2621f4a36b 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
2008-02-15 22:14:17 +00:00
Vitor Sessak
b3ab2f7e84 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
2008-02-15 22:14:14 +00:00
Vitor Sessak
056f0431f3 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
2008-02-15 22:14:06 +00:00
Vitor Sessak
fc815c5623 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
2008-02-15 22:14:02 +00:00
Vitor Sessak
16415eafdb Revert braindead linked list of permissions
Commited in SoC by Bobby Bingham on 2007-08-17 22:44:03

Originally committed as revision 12100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:59 +00:00
Vitor Sessak
52f97a0d8d Track the permissions that have been given out to each picture.
This should make it easier to know what can be done to a buffer once
it's been passed to your filter without falling back to copying it "just
to be safe".

Commited in SoC by Bobby Bingham on 2007-08-17 18:21:07

Originally committed as revision 12099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:56 +00:00
Vitor Sessak
60bf6ce3ba Allow filters to set the requirements on permissions for incoming buffers.
Commited in SoC by Bobby Bingham on 2007-08-17 16:40:26

Originally committed as revision 12098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:52 +00:00
Vitor Sessak
b42a6a92ff spelling fix
Commited in SoC by Bobby Bingham on 2007-08-17 14:40:55

Originally committed as revision 12097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:47 +00:00
Vitor Sessak
72f6d6317c Remove the data parameter from draw_slice(). It's unneeded and often more
work than it's worth.

Commited in SoC by Bobby Bingham on 2007-08-17 14:39:11

Originally committed as revision 12096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:44 +00:00
Vitor Sessak
13ff8fd01c Add many new and improve existing doxy comments.
Commited in SoC by Bobby Bingham on 2007-08-14 16:39:26

Originally committed as revision 12095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:40 +00:00
Vitor Sessak
63f64e6f4d Let request_frame() indicate success or failure
Commited in SoC by Bobby Bingham on 2007-08-11 17:42:36

Originally committed as revision 12094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:33 +00:00
Vitor Sessak
a9c81431bd Helper functions for adding new pads to filters at runtime
Commited in SoC by Bobby Bingham on 2007-08-07 22:31:56

Originally committed as revision 12093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:30 +00:00
Vitor Sessak
85322466ef Separate the process of creating links between filters from that of configuring
the links.

Commited in SoC by Bobby Bingham on 2007-08-07 21:02:18

Originally committed as revision 12092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:28 +00:00
Vitor Sessak
901e6b39b0 Move default entry point implementations to their own file.
Make them externally visible because they may be useful for filters to use.

Commited in SoC by Bobby Bingham on 2007-08-02 15:14:05

Originally committed as revision 12091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:24 +00:00
Vitor Sessak
7c9066a3e4 Make input/output pads modifiable on a per-instance basis.
This makes it possible to change filter callbacks (eg. to a SIMD version
on supported processors).  It also allows filters to change their own
input and output pads.

Commited in SoC by Bobby Bingham on 2007-07-31 19:20:54

Originally committed as revision 12090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:18 +00:00