Commit Graph

4630 Commits

Author SHA1 Message Date
Benoit Fouet
db56acd480 Accept only existing bitrates.
patch by Benoit Fouet, benoit.fouet purplelabs com

Originally committed as revision 8543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-29 09:39:20 +00:00
Michael Niedermayer
7ebf5927fd codec id addition guidlines
Originally committed as revision 8534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 11:18:24 +00:00
Kostya Shishkov
351f6b4e91 FASTTX==0 means additional 16 bits in extradata
Originally committed as revision 8533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 07:28:52 +00:00
Kostya Shishkov
6b27f3b87f One more FASTTX-related hack
Originally committed as revision 8532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 07:27:53 +00:00
Kostya Shishkov
9ac421e3c1 Remove redundant assign
Originally committed as revision 8531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-27 05:23:07 +00:00
Michael Niedermayer
adcb72b521 set pict_type to I type during init so parsers which dont set it get all i frames, fixes mp3 seeking
Originally committed as revision 8528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 17:33:45 +00:00
Ivan Kalvachev
d215d07ae0 get rid of unused entries in the middle of xvmc_render struct,
extensions are added to the end of the struct (avoids build issues on 64 bits platform)
add osd extension to be used by mplayer (required by the resent changes in the build system)
breaking the compability, thus bumping minor lavc version number

Originally committed as revision 8527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-26 15:21:19 +00:00
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
Michael Niedermayer
6aaf3abd6d simplify
Originally committed as revision 8514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-25 15:09:16 +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
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
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
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
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
Michael Niedermayer
447caf7941 revert r8469 (increase bits for non default highprecision mode)
it causes overflows with linear interpolated filters coefficients

Originally committed as revision 8476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 03:18:34 +00:00
Michael Niedermayer
55fc0eb174 AUDIOPHILE_KIDDY_MODE
Originally committed as revision 8475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 03:16:02 +00:00
Michael Niedermayer
50df67d3b5 optimize bessel function instead of trusting gcc to do trivial optimizations (as gcc doesnt ...)
Originally committed as revision 8474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 00:52:49 +00:00
Michael Niedermayer
14f887efc6 select more sensible default windows (= attenuation beyond the dynamic range of your input is silly if it negatively affects other parameters)
Originally committed as revision 8473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-22 00:16:41 +00:00
Michael Niedermayer
20cf58c32b make kaiser windows with other beta than 16 available
Originally committed as revision 8472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 23:44:49 +00:00
Tim Chick
f88e7c833b enable iwmmxt support, removing mm_support() stub
patch by Tim Chick, chick at computergeek freeserve co uk

Originally committed as revision 8471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 23:07:24 +00:00
Michael Niedermayer
c252b26d55 make high precision mode accessible at compile time
Originally committed as revision 8470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 22:39:00 +00:00
Michael Niedermayer
ca6940f871 increase bits for non default highprecision mode
Originally committed as revision 8469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 22:38:07 +00:00
Michael Niedermayer
ae232dd740 code for testing the accuracy of the resampler
Originally committed as revision 8468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-21 22:37:05 +00:00