Commit Graph

3157 Commits

Author SHA1 Message Date
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
Corey Hickey 1005f542b2 - Add new file internal.h for common internal-use-only functions.
- Add new function av_tempfile() for creating temporary files; contains
  workaround for MinGW.
- Make XviD stuff use av_tempfile().

Originally committed as revision 5245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 04:33:05 +00:00
Michael Niedermayer 60f3c0b8fc fix gcc 2.95 compilation
Originally committed as revision 5243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 21:11:57 +00:00
Luca Barbato 085065f0fd Cast cruft in order to support Apple gcc
Originally committed as revision 5242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 18:42:50 +00:00
Diego Biurrun c6b1866b73 Ignore apiexample and test programs.
Originally committed as revision 5241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 11:01:17 +00:00
Diego Biurrun dc9cc5ed85 EXTRALIBS already contains -lm, no need to add it explicitly.
Originally committed as revision 5240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 10:59:09 +00:00
Michael Niedermayer b88a718a11 avoid if(i>=63) check at the end of decode_block()
Originally committed as revision 5239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 09:20:44 +00:00
Michael Niedermayer 415365d225 avoid i++ in decode_block()
Originally committed as revision 5238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 09:13:43 +00:00
Michael Niedermayer 7d2b787daa minor optimization of decode_block()
Originally committed as revision 5237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 08:41:53 +00:00
Michael Niedermayer 22dde0e955 optimizations by arpi
Originally committed as revision 5235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 01:59:24 +00:00
Reimar Döffinger dfca23e361 NuppelVideo/MythTVVideo support, including rtjpeg decoder
Originally committed as revision 5232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 22:22:50 +00:00
Luca Barbato 22b48b85b6 altivec support for snow
Originally committed as revision 5228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 12:51:19 +00:00
Luca Barbato e62c29bf57 altivec support for snow
Originally committed as revision 5227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 12:45:27 +00:00
Benjamin Larsson 5b6638517f Use a more descriptive error message.
Originally committed as revision 5224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-26 17:07:02 +00:00
Kostya Shishkov 76fabb4579 Don't use get_vlc2() when tree is one symbol. This fixes audio decoding
artifacts (chirps instead of silence).

Originally committed as revision 5217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-25 15:37:08 +00:00