Commit Graph

12822 Commits

Author SHA1 Message Date
Aurelien Jacobs
fbd4293df9 remove more useless mpegvideo.h includes
Originally committed as revision 12323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 00:43:11 +00:00
Aurelien Jacobs
cbcd6c8ca9 move EDGE_WIDTH definition allong with draw_edges where it belongs
Originally committed as revision 12322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 00:38:14 +00:00
Aurelien Jacobs
d37f007d54 remove #include "mpegvideo.h" where it is not needed
Originally committed as revision 12321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 00:07:53 +00:00
Aurelien Jacobs
3bfe9260fa move relevant declarations to mpeg12data.h
Originally committed as revision 12320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 00:06:09 +00:00
Aurelien Jacobs
6d93461504 move run length table constants to rl.h
Originally committed as revision 12319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 23:58:12 +00:00
Aurelien Jacobs
288a44fb7a move ff_emulated_edge_mc() to dsputil
Originally committed as revision 12318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 23:10:47 +00:00
Michael Niedermayer
8d4bef64b4 Remove unused elements from tables.
Originally committed as revision 12317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 22:09:54 +00:00
Michael Niedermayer
6a287b739f Detect and prevent reading over the end of counts_*. We pass the error
through a context variable as this is simpler and i think also faster, but
the return value of functions could be used instead of course.
The code also ensures as a side effect that the AC decoder state does not
become invalid.
This fixes all known crashes. And outputs nothing in case of an error instead
of random noise.

Originally committed as revision 12316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 21:58:34 +00:00
Michael Niedermayer
1a2a1d9077 Prevent segfault due to reading over the end of the input buffer.
Originally committed as revision 12315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 21:39:21 +00:00
Aurelien Jacobs
7998988129 fix wmv3 dependencies
Originally committed as revision 12314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 18:38:32 +00:00
Aurelien Jacobs
49c35f16fc Fix compilation on powerpc.
DECLARE_ALIGNED_8 is not defined at that point, but this code is powerpc
only, so it's really equivalent to DECLARE_ALIGNED(16...

Originally committed as revision 12313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 18:35:12 +00:00
Aurelien Jacobs
015d0bb95c remove old draw_edges declaration cruft
Originally committed as revision 12312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 10:54:51 +00:00
Aurelien Jacobs
4c79b95c32 move ff_init_scantable() into dsputil
Originally committed as revision 12311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 10:26:56 +00:00
Michael Niedermayer
675b8390f6 Ignore flags after pts/dts if there are no bytes left.
Fixes decoding of vdr-radio.vdr. (issue198)

Originally committed as revision 12310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 01:31:15 +00:00
Aurelien Jacobs
5a6a9e78ab move draw_edges() into dsputil
Originally committed as revision 12309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-04 00:07:41 +00:00
Aurelien Jacobs
ce7f71a2dd dsputil.h is a local header
Originally committed as revision 12308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 23:14:25 +00:00
Aurelien Jacobs
c8deab7af7 include required header
Originally committed as revision 12307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 23:10:13 +00:00
Aurelien Jacobs
6e196eacc3 include required headers for int64_t and AV_RB16()
Originally committed as revision 12306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 23:00:48 +00:00
Aurelien Jacobs
abf2dc9c9a avi.h does not use anything from avcodec.h.
Originally committed as revision 12305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 22:56:07 +00:00
Måns Rullgård
22f8654776 Fix endian test with grep not handling non-text files
POSIX grep is not required to support non-text files.

Idea by Rich Felker.

Originally committed as revision 12304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 22:01:15 +00:00
Måns Rullgård
0e9fbd35b5 remove invalid free() forgotten in r12300
Originally committed as revision 12303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 21:54:18 +00:00
Måns Rullgård
932ccf398a remove unnecessary backslashes
Originally committed as revision 12302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 21:48:24 +00:00
Vitor Sessak
81124ba0d1 Fix libavfilter compilation and make it more in line
with the other libav*.

Originally committed as revision 12301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 20:53:15 +00:00
Michael Niedermayer
f15e6b869f Provide non null class name to avoid crash with ffmpeg -h.
Originally committed as revision 12300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 19:53:27 +00:00
Ramiro Polla
6548ff57c0 Force DOS users to enable memalign hack when needed,
the same way it's done for MinGW.

Originally committed as revision 12299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 17:06:48 +00:00
Benjamin Larsson
40bcf4c780 Support setting the debuglevel (-g level) with --enable-debug=#
Originally committed as revision 12298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 16:59:53 +00:00
Reimar Döffinger
e7a5e2f626 Fix decoding of interlaced gif, e.g. http://samples.mplayerhq.hu/GIF/7up.gif
Originally committed as revision 12297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 13:16:29 +00:00
Michael Niedermayer
78db672cae Use block_align as the avi spec says.
fix issue274

Originally committed as revision 12296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 01:27:15 +00:00
Michael Niedermayer
143b082044 Print slightly more useful info.
Originally committed as revision 12295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 01:23:18 +00:00
Michael Niedermayer
a7805e2983 Fallback to sample rate if bit rate is 0. This avoids 0 timebases in nut.
Originally committed as revision 12294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-02 23:47:30 +00:00
Michael Niedermayer
9fdfd21c77 factorize
Originally committed as revision 12293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-02 23:13:07 +00:00
Michael Niedermayer
a048febdc4 subtitles (codec tag tables still missing ...)
Originally committed as revision 12292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-02 23:11:36 +00:00
Ramiro Polla
c6eed369d2 Use "disable" helper function
Originally committed as revision 12291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-02 20:13:47 +00:00
Michael Niedermayer
5b08754912 Store aspect ratio in avis.
Originally committed as revision 12290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-02 19:51:31 +00:00
Michael Niedermayer
1f3d74d39b Remove INFINITY as suggested by rich.
Originally committed as revision 12289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 23:59:14 +00:00
Michael Niedermayer
3948c74f80 Remove INFINITY.
Originally committed as revision 12288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 23:36:27 +00:00
Justin Ruggles
d8870f120e use scale factor instead of sum for downmix level adjustment. avoids division
inside downmix loop. 7% faster 5.1-to-stereo downmixing.

Originally committed as revision 12287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 16:10:19 +00:00
Justin Ruggles
9d10e6e6c0 pre-calculate downmix coefficient sums. 2% faster 5.1-to-stereo downmixing.
Originally committed as revision 12286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 15:48:18 +00:00
İsmail Dönmez
8541cc274c Do not add deprecated -no-cpp-precomp to CFLAGS on Darwin.
patch by İsmail Dönmez, ismail namtrac org

Originally committed as revision 12285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 11:56:09 +00:00
Justin Ruggles
a4de6dd2c1 Use 24-bit fixed-point transform coefficients until just before MDCT. This
gives 7% faster decoding on average.

Originally committed as revision 12284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 04:39:39 +00:00
Mike Melanson
74e21d0352 fix wc3movie demuxer to conform to the PTS API
Originally committed as revision 12283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 02:28:47 +00:00
Loren Merritt
be0995b166 more aspect ratios added in one of the ammendments
Originally committed as revision 12282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 01:58:25 +00:00
Mike Melanson
40e8e49700 fix the id CIN demuxer by using the pts API correctly
Originally committed as revision 12281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 01:43:19 +00:00
Aurelien Jacobs
73260a11e1 simplification proposed by Rich
Originally committed as revision 12280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-01 00:26:19 +00:00
Michael Niedermayer
2401daaf39 add cdvc
(from a patch by Dmitry Vassiliev // slydiman mail ru)

Originally committed as revision 12279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-29 11:41:57 +00:00
Benoit Fouet
79aeec0839 Make AMR-NB block size const and 8 bits.
Originally committed as revision 12278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-29 08:01:01 +00:00
Benoit Fouet
675bc0bccb Define block size for AMR-WB (use IF2 table).
Spotted by John Fitzgerald: jjfitzgerald gmail com

Originally committed as revision 12277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-29 07:59:29 +00:00
Michael Niedermayer
b5a33ff124 suppress the second warning
Originally committed as revision 12276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-28 23:44:52 +00:00
Reimar Döffinger
7e14b8082d Use cltd instead of cdq asm mnemonic, ICC and gcc support both, but
SunStudio 12 only supports the former.

Originally committed as revision 12275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-28 17:01:35 +00:00
Baptiste Coudurier
48026fbef6 1000l parenthesis
Originally committed as revision 12274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-28 16:11:56 +00:00