Commit Graph

5948 Commits

Author SHA1 Message Date
Luca Barbato
08571377e6 Add C/B == 0 cases, 2% slower on CELL but should address Issue299 eventually
Originally committed as revision 11306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 23:10:02 +00:00
Luca Barbato
4159db8ca3 Reindent
Originally committed as revision 11304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 15:39:32 +00:00
Luca Barbato
e36b639f0f Partially address issue299, no performance change apparently
Originally committed as revision 11303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 15:17:46 +00:00
Luca Barbato
8d8d178dad Avoid a vec_add, directly start with sum
Originally committed as revision 11302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 03:39:53 +00:00
Luca Barbato
c7f66add4c Reindent
Originally committed as revision 11301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 02:53:36 +00:00
Luca Barbato
a75fe63d3e Factorize common code (almost cosmetic)
Originally committed as revision 11300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 02:46:32 +00:00
Luca Barbato
907fc60f31 Cosmetics
Originally committed as revision 11299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-22 02:35:33 +00:00
Christophe Gisquet
9fa3572903 add MMX version for put_no_rnd_h264_chroma_mc8_c, used in VC-1 decoding.
patch by Christophe GISQUET %christophe P gisquet A free P fr%
original thread:
date: Nov 25, 2007 12:35 AM
subject: Re: [FFmpeg-devel] MMX version for put_no_rnd_h264_chroma_mc8_c

Originally committed as revision 11298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 23:11:22 +00:00
Diego Biurrun
9fbd14acb8 Fix typo in macro name: WARPER8_16_SQ --> WRAPPER8_16_SQ.
Originally committed as revision 11296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 12:38:41 +00:00
Diego Biurrun
8bfb108b3e comment typo fixes
Originally committed as revision 11294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 11:50:18 +00:00
Michael Niedermayer
f315b39469 More consistent { placement.
Originally committed as revision 11292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 10:20:10 +00:00
Michael Niedermayer
76abb18ef5 indent
Originally committed as revision 11291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 10:17:25 +00:00
Michael Niedermayer
febdd0b9b4 ~15% faster h264_chroma_mc2/4_c() these also prevent some possible out
of array reads.

Originally committed as revision 11290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 10:16:22 +00:00
Michael Niedermayer
815c81c0a7 30% faster h264_chroma_mc8_c(), this also prevents a possible out of
array read.

Originally committed as revision 11288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 10:01:04 +00:00
Ivo van Poorten
91fd7398f4 typo ;)
Originally committed as revision 11287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-21 00:22:40 +00:00
Michael Niedermayer
ba66ae94a0 Document a few more structure change rules with relation to ABI/API.
Originally committed as revision 11283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 09:59:07 +00:00
Michael Niedermayer
252f17e292 Document structure change rules with relation to ABI/API.
Originally committed as revision 11281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 09:43:01 +00:00
Justin Ruggles
1408352ada Add option for user to scale the amount of dynamic range compression which is
applied by the audio decoder, and use that option in the AC3 decoder.

Originally committed as revision 11280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-20 00:55:08 +00:00
Reinhard Nissl
8293fea57e Fix problem with multithreaded decoding, introduced by r11214.
Patch by Reinhard Nissl: rnissl gmx de

Originally committed as revision 11275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 23:03:52 +00:00
Diego Biurrun
379374ea11 cosmetics: Sort some more entries.
Originally committed as revision 11265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-19 08:14:21 +00:00
Michael Niedermayer
0cd60abf7b A little more doxygenization.
Originally committed as revision 11263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-18 19:40:57 +00:00
Michael Niedermayer
9b4dd1b879 Document Motion_Est_IDs.
Originally committed as revision 11262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-18 19:40:08 +00:00
Michael Niedermayer
3e0b7b5627 Remove old variable with the next major version bump.
Originally committed as revision 11261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-18 14:51:55 +00:00
Baptiste Coudurier
0c39c38b14 add bitrate helper to choose all dnxhd variants
Originally committed as revision 11260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-18 13:52:07 +00:00
Baptiste Coudurier
86404ffba2 avoid infinite loop if pixel format conversion does not exist
Originally committed as revision 11259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-18 13:49:58 +00:00
Michael Niedermayer
1ba8f5ebac another comment ->doxy
Originally committed as revision 11257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 19:29:13 +00:00
Michael Niedermayer
bafc102b60 ME default does not belong to the ME type enum.
Originally committed as revision 11256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 19:26:11 +00:00
Michael Niedermayer
0e373b95b3 change some normal comments to doxy ones
Originally committed as revision 11255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 19:25:13 +00:00
Kostya Shishkov
b0797570df Correct spatial prediction mode in RV30/40 for vertical left direction
and add its version that does not rely on down left neighbour subblock.

Originally committed as revision 11252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 18:43:34 +00:00
Michael Niedermayer
5492209aa9 clarify FIXME
Originally committed as revision 11251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 18:23:18 +00:00
Reimar Döffinger
841f39a7f3 Add FF_OPT_TYPE_BINARY and use it to add a cryptokey option
Originally committed as revision 11250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 17:41:24 +00:00
wg
3426d575bf Fix crash in PCM decoder when number of channels is not set.
Patch by "wg": video06 malloc de
See Issue298

Originally committed as revision 11249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 10:41:47 +00:00
Justin Ruggles
03726b7042 Skip dialog normalization. It shouldn't be used by the decoder, and there is
not currently a clean way to pass the value to the user.

Originally committed as revision 11246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 01:09:00 +00:00
Justin Ruggles
224bc440b2 Revert commit made in revision 11228. I'm getting some strange results in the
downmixed output that I can't quite figure out.

Originally committed as revision 11245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-17 01:03:19 +00:00
Aurelien Jacobs
407c50a024 move FLAC mmx dsp to its own file
Originally committed as revision 11244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 22:20:47 +00:00
Diego Biurrun
5d81d64175 cosmetics: comment typo fixes
Originally committed as revision 11232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 17:22:09 +00:00
Luca Barbato
c49e23e2a4 Make strict altivec parsers happy (gcc-4.3 and others)
Originally committed as revision 11231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 14:31:38 +00:00
Kostya Shishkov
6cd1500d39 RV40 decoder should use availability cache
Originally committed as revision 11230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 12:45:38 +00:00
Kostya Shishkov
a52ef6a894 RV30/40 decoding core
Originally committed as revision 11229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 12:44:25 +00:00
Justin Ruggles
b40211ff67 downmix before the IMDCT if no block switching is used
Originally committed as revision 11228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-16 04:25:50 +00:00
Reimar Döffinger
15c57ced2f Add 'l' suffix where it is necessary because type can not always be
inferred from arguments. Fixes compilation with Intel compiler

Originally committed as revision 11227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 23:08:15 +00:00
Andreas Öman
30dc554153 Add missing '\n' to log format text
Originally committed as revision 11224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 10:03:49 +00:00
Andreas Öman
79328e9cc7 Make DCA decoder honor avctx->request_channels in a more advisory way.
Originally committed as revision 11221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 07:01:33 +00:00
Andreas Öman
6708eefe55 Make AC3 decoder honor avctx->request_channels
Originally committed as revision 11220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 07:00:19 +00:00
Kostya Shishkov
626464fb53 Make fill_rectangle() available for other decoders
Originally committed as revision 11219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-15 06:06:16 +00:00
Jeff Downs
9a1feb8608 Fix brain-dead parts of r11216, specifically:
Actually unreference removed pics
And check for too many reference frames as originally intended, not equal
to max reference frames.

Originally committed as revision 11218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-14 22:49:30 +00:00
Jeff Downs
aeb59e839f Ensure that our total reference frame count does not exceed the SPS
max frame count, which is limited to less than the size of the
reference buffers, thereby preventing overflow.
Part of fix for issue 281.

Originally committed as revision 11216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-14 06:25:23 +00:00
Jeff Downs
41f7e2d11d Actually return with an error condition if we're being asked to deal with too
many reference frames. Also check max num ref frames against our internal
ref buffer sizes.
Part of fix for roundup issue 281

Originally committed as revision 11215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-14 05:48:27 +00:00
Jeff Downs
33e0073129 Make h264 decoder conform to requirements of mpegvideo's MPV_frame_start.
Namely, that it should not be called if you are starting to decode a B
frame without any reference pictures.
Prevents an endless allocation cycle in MPV_frame_start that will end in
picture buffer overflow and abort.
Fixes roundup issue 216.

Originally committed as revision 11214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-14 05:37:23 +00:00
Reimar Döffinger
603972fc53 Add a missing break, before av_set_number would always return NULL for
FF_OPT_TYPE_RATIONAL options instead of the corresponding AVOption

Originally committed as revision 11213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-13 19:00:53 +00:00