Commit Graph

9185 Commits

Author SHA1 Message Date
Ian Braithwaite
1890c2acf4 Optimize by building the mdct window and multipying/adding at the same time.
Patch by Ian Braithwaite ian .. braithwaite . dk

[Ffmpeg-devel] WMA decoder speedup 2007-03-22 22:56

Originally committed as revision 8526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 10:03:57 +00:00
Michael Niedermayer
f39c3c8855 factorize &
Originally committed as revision 8525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 00:54:29 +00:00
Michael Niedermayer
0abfd53344 simplify
Originally committed as revision 8524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 00:44:42 +00:00
Aurelien Jacobs
ed18643199 properly set *data_size when returning >= 0 values in shorten_decode_frame()
Original thread:
Date: Sat, 24 Mar 2007 04:04:53 +0100
Subject: [Ffmpeg-devel] Shorten file playback broken in SVN trunk

Originally committed as revision 8523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 00:00:43 +00:00
Michael Niedermayer
0cb7f8a260 check input validity, this prevents a few variables from reachin odd values which might have lead to out of array writes and thus might have been exploitable
Originally committed as revision 8522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 23:37:38 +00:00
Michael Niedermayer
34a370cb0c simplify
Originally committed as revision 8521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 23:22:11 +00:00
Baptiste Coudurier
f0cb03e9f2 increment subminor version due to r8502 and r8504, those revisions make dnxhd and gif decoders in line with libavcodec API
Originally committed as revision 8520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 20:52:45 +00:00
Baptiste Coudurier
04f7136bfe remove TODO, its done now
Originally committed as revision 8519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 16:43:59 +00:00
Baptiste Coudurier
10d4899c01 pass correct buffer size to lzw decode init
Originally committed as revision 8518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 16:29:11 +00:00
Michael Niedermayer
5f01beb548 move eob_reached logic into ff_lzw_decode_tail() which simplifies the code, avoids some checks in the innermost loop and also gets rid of the controversal break while hopefully retaining the last byte in a valid bytestream, invalid bytestreams still can have very significant overread
Originally committed as revision 8517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:43:46 +00:00
Baptiste Coudurier
c59f24e657 activate parser on MP3 id, fix [A-Destiny]_Konjiki_no_Gash_Bell_-_65_[71EE362C].mp4
Originally committed as revision 8516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:15:35 +00:00
Baptiste Coudurier
0174f51470 prefer MP3 id
Originally committed as revision 8515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:12:27 +00:00
Michael Niedermayer
6aaf3abd6d simplify
Originally committed as revision 8514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:09:16 +00:00
Baptiste Coudurier
db6d109da2 use MKTAG
Originally committed as revision 8513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:09:02 +00:00
Baptiste Coudurier
b0c17f7776 dont fail immediately when a somehow broken track is detected, some tracks might be good, fix mi2_vorbis51.mp4
Originally committed as revision 8512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:06:50 +00:00
Michael Niedermayer
2975ca0ab6 lzw maintainer
Originally committed as revision 8511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 14:33:03 +00:00
Michael Niedermayer
bf7709619b factorize
Originally committed as revision 8510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 14:02:54 +00:00
Michael Niedermayer
62ef8925c5 simplify
Originally committed as revision 8509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 13:41:14 +00:00
Kostya Shishkov
b666151045 1000l to myself - get correct quantization for blocks 1 and 2
P.S.  This condition could be also written as if(n==3 || n==(2-dc_pred_dir))

Originally committed as revision 8508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 06:00:06 +00:00
Aurelien Jacobs
8509fc7b13 add support for V_THEORA into Matroska
Original thread:
Date: Thu, 22 Mar 2007 20:23:08 -0400
Subject: [Ffmpeg-devel] [PATCH] Theora in MKV (GSoC '07 Qualification)

Originally committed as revision 8507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 01:11:00 +00:00
Aurelien Jacobs
da91ed594e use generic xiph header spliting func to split theora headers
Original thread:
Date: Thu, 22 Mar 2007 20:23:08 -0400
Subject: [Ffmpeg-devel] [PATCH] Theora in MKV (GSoC '07 Qualification)

Originally committed as revision 8506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 01:09:26 +00:00
Aurelien Jacobs
5bb127a98f extract vorbis header spliting code into a reusable function
Original thread:
Date: Thu, 22 Mar 2007 20:23:08 -0400
Subject: [Ffmpeg-devel] [PATCH] Theora in MKV (GSoC '07 Qualification)

Originally committed as revision 8505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 01:06:45 +00:00
Baptiste Coudurier
239e1b6f8f actually return bytes read
Originally committed as revision 8504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 00:16:30 +00:00
Baptiste Coudurier
ea82552c09 return error if loop has ended before decoding image
Originally committed as revision 8503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 00:12:24 +00:00
Baptiste Coudurier
877519f550 actually return bytes read
Originally committed as revision 8502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 00:00:56 +00:00
Baptiste Coudurier
7a28b7714e add some length checks
Originally committed as revision 8501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 23:57:42 +00:00
Baptiste Coudurier
5f7ab90a0c simplify
Originally committed as revision 8500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 23:53:34 +00:00
Baptiste Coudurier
93e91145b4 fix indentation
Originally committed as revision 8499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 23:23:51 +00:00
Baptiste Coudurier
36376fa3ba break if eob is reached to avoid reading one too much byte
Originally committed as revision 8498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 23:23:05 +00:00
Baptiste Coudurier
ccba88d764 cosmectics, mov -> mp4
Originally committed as revision 8497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 15:24:36 +00:00
Baptiste Coudurier
295b7dc367 sort
Originally committed as revision 8496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 15:17:30 +00:00
Baptiste Coudurier
2b4162f0ae add some codec object type ids
Originally committed as revision 8495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 15:16:03 +00:00
Baptiste Coudurier
b41899c66c prefer MP3 id as mentioned in avcodec.h line 210
Originally committed as revision 8494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 15:11:47 +00:00
Baptiste Coudurier
7555d2e633 add specifications reference comments
Originally committed as revision 8493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 15:10:12 +00:00
Limin Wang
e2f3d94786 Fix H.264 8x8 transform selection
It seems that it's opt parse bug, it can't process the flags which start by
digit. After change 8x8dct to dct8x8, I can set it without problem. I guess
nobody will use it since it can't work as expected, so the quick fix is change
the option name.

Patch by Limin Wang lance dot lmwang at gmail com

Originally committed as revision 8492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 12:07:07 +00:00
Michael Niedermayer
199c6e3cf1 md5 test for the image formats
Originally committed as revision 8491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 02:14:34 +00:00
Michael Niedermayer
1e358f039f bmp and tga image regression test
Originally committed as revision 8490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 02:03:20 +00:00
Michael Niedermayer
1c87ed3a34 1000000l for me ive misstakely reverted the regression checksum change from r8444 in r8486
how did i succeed doing such a ridiculously silly thing? well i think it happened like:
1. verifying that the regression tests pass with old resample2.c
2. updating the regressions to the new resample2.c ... failed svn complained
3. svn up
4. updating the regressions to the new resample2.c success (r8485)

at that point everything was still ok

5. some more resample2.c work update regressions, read diff, commit (r8486)

my misstake was that the svn up at point 3 was run in tests/  -> iam an idiot

Originally committed as revision 8489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24 01:48:40 +00:00
François Revol
c9fdab0dab Some more BeOS cleanup: check for arpa/inet.h; declare the prototype for inet_aton if not found; remove barpainet.h as it's not longer needed.
Originally committed as revision 8488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-23 22:01:37 +00:00
Tim Chick
56cc42664a iwmmxt ffmpeg code does not implement dct_unquantize_h263_inter_iwmmxt, but
armv5t does - use the armv5t function rather than default c code.
patch by Tim Chick chick at computergeek freeserve co uk

Originally committed as revision 8487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-23 00:05:45 +00:00
Michael Niedermayer
8ec04d344a set more reasonable cutoff for audio rate conversion
Originally committed as revision 8486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 14:27:16 +00:00
Michael Niedermayer
4ba67eeed5 update resgression tests after the resampler changes
Originally committed as revision 8485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 13:52:24 +00:00
Michael Niedermayer
47bbf8a71d clarify codec_tag
Originally committed as revision 8484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 13:27:11 +00:00
Michael Niedermayer
89cff671f4 clarify sub_id
Originally committed as revision 8483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 13:17:03 +00:00
Michael Niedermayer
7e068841cb replace long double in the audiophile kiddy mode with doubles, its faster (and more portable) and the audiophile placebo 120db stopband attenuation isnt affected
Originally committed as revision 8482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 11:23:38 +00:00
Michael Niedermayer
d6fead9089 change high precision mode to 30 bits again after making the code less overflow sensitive
Originally committed as revision 8481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 11:13:13 +00:00
Michael Niedermayer
303bd95cd2 optimize linear filter coeff interpolation code, this also makes the code less prone to overflows
Originally committed as revision 8480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 11:10:30 +00:00
Justin Ruggles
d971a5fa81 cosmetics. align and condense.
Originally committed as revision 8479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 05:39:20 +00:00
Justin Ruggles
319708da02 simplify
Originally committed as revision 8478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 05:38:00 +00:00
Justin Ruggles
bbd16dea67 utilize multi-stage AC-3 bit allocation. speeds up encoding by 25-30%
Originally committed as revision 8477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 05:34:26 +00:00