Commit Graph

3171 Commits

Author SHA1 Message Date
Loren Merritt 0c2aaa882d memory leak.
Originally committed as revision 5331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-28 23:16:42 +00:00
Michael Niedermayer 7f12a9780e use previous qscale for intra_dc_threshold check
Originally committed as revision 5329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-28 17:29:07 +00:00
Michael Niedermayer e27b6e62f7 missmatch control for mpeg2 intra dequantization if bitexact=1
Originally committed as revision 5328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-28 17:03:52 +00:00
Benjamin Larsson 6eb1427f0f Revert bad ac3enc commit, the commited code was bigger and slower.
Originally committed as revision 5327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-28 14:19:11 +00:00
Zuxy Meng 392f6da897 Remove unused and unsupported Cyrix's "Extended MMX",
Add SSE3 support.
Patch by Zuxy Meng < zuxy POIS meng AH gmail POIS com >
Original thread:
04/26/06 13:13:
[Ffmpeg-devel] [PATCH] Bug fix,	SSE3 support in i386/cputest.c and dsputil.h

Originally committed as revision 5326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-28 07:46:13 +00:00
Diego Biurrun c4921874f5 Enable AMR_NB decoder/encoder when either AMR_NB or AMR_NB_FIXED is defined.
Originally committed as revision 5325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-27 11:49:15 +00:00
Diego Biurrun 3ed410a6bd Fix amr_nb-fixed build.
Originally committed as revision 5324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-27 03:31:26 +00:00
Diego Biurrun 6eb07e7349 Disentangle dependencies between amr_nb and amr_nb-fixed: amr_nb-fixed does
work even without amr_nb.

Originally committed as revision 5321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-27 02:33:27 +00:00
Diego Biurrun e0fb7e5b0d cosmetics: Group all AMR variables together, add some newlines.
Originally committed as revision 5319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-27 02:23:42 +00:00
Diego Biurrun 90d9a1ba70 Misplaced CLEANAMR.
Originally committed as revision 5318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-27 02:19:42 +00:00
Diego Biurrun 1ea00ed061 CLEANAMRWB --> CLEANAMR typo
Originally committed as revision 5317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-27 02:10:49 +00:00
Luca Barbato 5f22aa3cc0 13% faster inner_add_yblock
Originally committed as revision 5316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-25 19:54:02 +00:00
Luca Barbato f420826c35 40% faster decode
Originally committed as revision 5315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-25 17:29:31 +00:00
Uoti Urpala f267587ece Vorbis specs requires blocksize_1 >= blocksize_0, error if it's false.
Predict buffer size from blocksize_1 and number of channels and make
sure this does not exceed AVCODEC_MAX_AUDIO_FRAME_SIZE

Patch by Uoti Urpala >>> uoti |.| urpala |@| pp1 |.| inet |.| fi <<<

Originally committed as revision 5313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-23 21:11:31 +00:00
Benjamin Larsson 176c142abc Patch to generate the ac3 window, based on code by Justin Ruggles.
Originally committed as revision 5310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-22 21:21:16 +00:00
Loren Merritt c6f9e821c3 10l in h264 vismb/vismv (broke on 2006-03-09)
Originally committed as revision 5309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-21 19:22:14 +00:00
Uoti Urpala 4f26258f84 dtsdec.c copies one input packet at a time to a (static) buffer of size
4096 bytes while the packet can be up to 18726 bytes.
The code also keeps decoding until all input data has been used up,
not respecting AVCODEC_MAX_AUDIO_FRAME_SIZE.

The patch increases the buffer size and return after decoding one frame.
Also fixes dts_decode_init to return -1, not 1, on failure.

Patch by Uoti Urpala  ||| uoti : urpala |!| pp1 : inet : fi |||

Originally committed as revision 5307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-20 19:23:57 +00:00
Reimar Döffinger 2d5545c302 make "size" variable in avpicture_alloc signed, since avpicture_get_size
returns -1 on error which was not detected with previous code.

Originally committed as revision 5304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 19:51:56 +00:00
Wolfram Gloger f42635f558 gcc-2.95 compile fix, patch by Wolfram Gloger <wmglo A dent PIS med PIS uni-muenchen PIS de>
Originally committed as revision 5298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-18 03:48:30 +00:00
Luca Barbato fd925db3c8 typo in the gcc handmade regalloc trigger
Originally committed as revision 5297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-16 03:40:04 +00:00
Diego Biurrun 2cf30841b5 Have EXTRALIBS appear after other link options, fixes shared build on Cygwin.
based on patch by Marcus Engene, ffmpeg AATT engene DDOOTT se

Originally committed as revision 5295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-15 15:05:53 +00:00
Diego Biurrun e1ffc3adb8 Revert Windows "warning" message.
Originally committed as revision 5294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-15 14:15:09 +00:00
Wolfgang Scherer 60dfd14778 Fix SIGSEGV in rv10-null-pointer-500k.rm.
patch by Wolfgang Scherer, Wolfgang__ . __Scherer__ @ __gmx__ . __de

Originally committed as revision 5293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-15 12:52:01 +00:00
Michael Niedermayer 37921ffde8 fix "concealing 0 DC, 0 AC, 0 MV errors" bug
Originally committed as revision 5290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 20:45:08 +00:00
Michael Niedermayer b548f2b91b ffv1 and ffvhuff havnt changed since a long time and noone proposed any
changes within 1 month after my warning so they are officially no longer
experimental and we will gurantee decodeability of files encoded with
the currenzt ffv1/ffvhuff in the future

Originally committed as revision 5288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 10:37:40 +00:00
Benjamin Larsson f1f7807abd AC3 encoding volume fix, by Justin Ruggles jruggle earthlink net.
Originally committed as revision 5281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-10 12:12:26 +00:00
Luca Abeni 5341c20954 Baptiste COUDURIER's padding patch (reworked by me a little bit).
Moves padding code to imgconvert.c, and enables padding colorspaces != YUV420P.

Originally committed as revision 5278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-10 07:45:29 +00:00
D Richard Felker III 7b98bcbd0f signedness error caused broken decoding
Originally committed as revision 5277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-09 06:53:40 +00:00
D Richard Felker III c4e2a535b3 100l to loren. at least this fixes the compile error, but the code is still broken (decoding buggy/crashing)
Originally committed as revision 5276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-09 06:04:00 +00:00
Roberto Togni 0c35eb1c69 Add missing external declaration for kmvc codec
Originally committed as revision 5274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-07 21:08:34 +00:00
Kostya Shishkov fd7b199199 KMVC (used in Worms games) decoder. Works fine with samples from MPHQ
Originally committed as revision 5273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-07 16:59:57 +00:00
Luca Barbato a01e08ee5c hadamard8_diff* enabled on linux/ppc
Originally committed as revision 5272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-07 12:40:28 +00:00
Måns Rullgård 9076fee4f5 s/SAMPLT_FMT_NONE/SAMPLE_FMT_NONE/
typo spotted by Brian Brice <bbrice at newtek com>

Originally committed as revision 5270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-05 18:56:22 +00:00
Loren Merritt 75ca1a5f70 gmc_mmx tweaks
Originally committed as revision 5269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-05 04:13:41 +00:00
Luca Abeni 7b748aff2c Introduce swscale interface in libavcodec
Originally committed as revision 5266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-04 12:35:55 +00:00
Loren Merritt 703c8195a8 mmx implementation of 3-point GMC. (5x faster than C)
Originally committed as revision 5265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-04 09:23:45 +00:00
Loren Merritt 841f65f25a 2x faster ff_mpeg4_set_direct_mv
Originally committed as revision 5264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-03 07:52:24 +00:00
Justin Ruggles f760b70fbe AC3: support encoding fractional frame sizes
Patch by Justin Ruggles, jruggle <<at>> earthlink <<dot>> net

Originally committed as revision 5263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-03 00:51:09 +00:00
Michael Niedermayer 54009d4295 remove mpegvideo.c img resample dependancy
Originally committed as revision 5258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 20:43:37 +00:00
Michael Niedermayer 6b250e4725 get_xbits() optimization
Originally committed as revision 5257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 20:40:22 +00:00
Michael Niedermayer ad8812be8f remove useless code
Originally committed as revision 5256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 18:22:35 +00:00
Michael Niedermayer 002a7414b5 simplify loop a little
Originally committed as revision 5255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 18:04:36 +00:00
Michael Niedermayer 78d2d4e111 do UPDATE_CACHE only when needed (which should be VERY rare)
Originally committed as revision 5254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 17:43:28 +00:00
Michael Niedermayer e7e2025a53 + (sign&1) -> -sign (1 instruction less)
Originally committed as revision 5253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 17:01:58 +00:00
Michael Niedermayer ac2549b583 avoid hard to predict branch (idea by arpi)
Originally committed as revision 5252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 16:50:43 +00:00
Steve L'Homme 9296d45d29 warn user about crappy OS patch by (Steve Lhomme <steve.lhomme@free.fr>)
trailing whitespace and init=1 nonsense removed by me
AV_LOG_ERROR -> AV_LOG_INFO (yes steve even though many like you think its an error to use such a OS i cant apply that to cvs, sorry)

Originally committed as revision 5251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 13:06:24 +00:00
Luca Barbato 46641a135c Proper typecast for vector bool
Originally committed as revision 5250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 09:59:53 +00:00
Luca Abeni 5d6ed7c141 move enum PixelFormat from libavcodec to libavutil
----------------------------------------------------------------------

Originally committed as revision 5248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 16:24:38 +00:00
Michael Niedermayer d30ba3bb34 reverting 1.31->1.33
fix coverity warning CID: 255 (uninitalized variable used to build tables which arent used, well there is a slight change of a FPU exception maybe ...)
(by michael)
Init simplification and 2% faster wma_decode_block on amd64 with tables use
instead of pow(). (by banan)

the init simplifictaion is not correct its not binary identical
the pow optimization breaks decoding of http://klif-e.mos.net.au/videos/extr.wmv

Originally committed as revision 5247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 14:58:36 +00:00
Michael Niedermayer 1adc29eedb dont forget table_size in the decode_frame return value
Originally committed as revision 5246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 14:13:03 +00:00