Commit Graph

11783 Commits

Author SHA1 Message Date
Reimar Döffinger 6785e92709 mathematics.h no longer needs config.h, so update tablegen code and
documentation to use it where appropriate.

Originally committed as revision 23680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-21 17:01:22 +00:00
Alex Converse 19ed4b8647 aacdec: cosmetics: (more) whitespace
Originally committed as revision 23676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-21 04:14:20 +00:00
Alex Converse d4e355d5c9 aacdec: cosmetics: whitespace
Originally committed as revision 23675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-21 04:10:18 +00:00
Alex Converse ed99e54d67 aacdec: Factorize if (elem_type < TYPE_DSE).
Originally committed as revision 23674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-21 04:07:19 +00:00
Alex Converse fda36b5944 aacdec: Handle the first frame being empty case.
Originally committed as revision 23673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-21 04:05:09 +00:00
Alex Converse cf3b4d9a78 aacsbr: Make dk signed. There is no point in it being unsigned.
Originally committed as revision 23671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 23:03:32 +00:00
Alex Converse e90e1f558a psdec: IPD/OPD reset is no longer needed by the context initializer.
Originally committed as revision 23670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 22:13:43 +00:00
Alex Converse 5e071f5339 psdec: Simplify filter addressing by incrementing the "in" pointer.
Originally committed as revision 23669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 22:08:33 +00:00
Nick Brereton 63c3b716d7 Fix typo in macro name.
Patch by Nick Brereton, nick nbrereton net

Originally committed as revision 23668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 22:07:32 +00:00
Alex Converse c6b0947171 psdec: Replace a division with a shift.
Originally committed as revision 23667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 22:03:00 +00:00
Alex Converse 3fa1a93265 Rename PS bitstream reading functions to have a read_ prefix.
Originally committed as revision 23666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 21:53:51 +00:00
Alex Converse fd16564b04 Cosmetics: whitespace.
Originally committed as revision 23663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 20:13:11 +00:00
Alex Converse 0d6b3269ea Use memcpy() where appropriate in PS stereo processing remapping.
Originally committed as revision 23662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 20:06:41 +00:00
Alex Converse d23077af56 Allow PS envelope fixup when ps->num_env_old <= 1.
It is already rejected by the "source >= 0 && source != ps->num_env" 0 envelope
case and is perfectly legally for the suppressed final envelope case.

Originally committed as revision 23661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 19:38:08 +00:00
Alex Converse bd9e0e2905 10l: aacsbr: Fix f_master[2] calculation when k2diff == -1.
Originally committed as revision 23660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 19:24:18 +00:00
Alex Converse 78ba1d39d9 Document the PS_BASELINE define.
Originally committed as revision 23659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 17:28:52 +00:00
Alex Converse 284b041b1c Remove iid_mode from the PS context.
Originally committed as revision 23658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 17:15:28 +00:00
Vitor Sessak 4233ce315c Fix breakage in compilation with --disable-mpegaudio-hp introduced in
r23646.

Originally committed as revision 23656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 13:00:24 +00:00
Måns Rullgård 6a74b1272e Remove libfaad wrapper
Originally committed as revision 23653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-20 10:24:05 +00:00
Alex Converse 1076b0d093 psdec: Factorize iid/icc/ipd/opd parameter bitstream reading.
Originally committed as revision 23652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-19 23:53:21 +00:00
Alex Converse a20639017b Add HE-AAC v2 support to the AAC decoder.
Originally committed as revision 23647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-19 14:14:51 +00:00
Vitor Sessak 4d49a5a785 Factorize the mpegaudio windowing code in a function and call it by a
function pointer. Should allow for ASM optimizations.

Originally committed as revision 23646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-19 09:56:05 +00:00
Laurent Aimar 164aab02a0 MPEG-2 DXVA2 implementation
It allows VLD MPEG-2 decoding using DXVA2 (GPU assisted decoding API under
VISTA and Windows 7).
 It is implemented by using AVHWAccel API.

Originally committed as revision 23644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-18 20:07:43 +00:00
Martin Storsjö 1204a13c48 libvorbis: Use memmove instead of memcpy for shifting data
Originally committed as revision 23631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-16 19:03:54 +00:00
Janne Grunau 08943c0bd1 dvbsub: parse display definition segment
The display definition segment is used to properly display SD DVB subtitles in
HD video streams.

Originally committed as revision 23626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-16 13:07:12 +00:00
Baptiste Coudurier 891263eff2 Fix svq3 watermark log uncompress on 64bit, probably fixes issue 1263
Originally committed as revision 23620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-15 22:38:16 +00:00
Baptiste Coudurier 9a191b3a21 Support gray16be and rgb48be in mov
Originally committed as revision 23608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-15 09:14:00 +00:00
Martin Storsjö caea217d37 nellymoserdec: Increase the log level of messages when failing to decode data
Originally committed as revision 23606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-14 14:09:00 +00:00
Martin Storsjö 133cd270f8 Reindent
Originally committed as revision 23605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-14 14:07:22 +00:00
Martin Storsjö c5d68fbd49 nellymoserdec: Simplify calculation of numbers of blocks
Originally committed as revision 23604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-14 14:06:38 +00:00
Martin Storsjö f1a12c76cf Reindent
Originally committed as revision 23603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-14 12:35:28 +00:00
Martin Storsjö f7a30c0baa nellymoserdec: Allow using unusual input block sizes
Originally committed as revision 23602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-14 12:34:55 +00:00
Vitor Sessak b046c027a7 Remove filename from doxy comment
Originally committed as revision 23585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-11 14:43:24 +00:00
Vitor Sessak dbe88f40b3 Remove useless include. Should fix compilation in MacOS X.
Originally committed as revision 23584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-11 14:42:39 +00:00
Maxim Poliakovski 07ff7825b6 Move indeo5-specific quant table selection to decode_gop_hdr.
Originally committed as revision 23581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-11 09:49:06 +00:00
Vitor Sessak 36a9b3693b Include float.h to provide FLT_MAX define. Should fix compilation on windows.
Originally committed as revision 23580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-11 09:42:46 +00:00
Francesco Lavra d31ba23185 RealAudio 14.4k encoder.
Patch by Francesco Lavra (firstnamelastname@interfree.it)

Originally committed as revision 23579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-11 09:01:25 +00:00
Maxim Poliakovski c404e783b9 Move transform declarations out of IVIBandDesc so indeo4 can use them as well.
Originally committed as revision 23577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-11 08:49:15 +00:00
Francesco Lavra 756e346798 Split do_output_subblock() into common code and decoder specific parts
Patch by Francesco Lavra (firstnamelastname@interfree.it)

Originally committed as revision 23576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-11 08:05:17 +00:00
Francesco Lavra 5ec29beeb4 Cosmetics: indent
Patch by Francesco Lavra (firstnamelastname@interfree.it)

Originally committed as revision 23575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-11 08:04:22 +00:00
Francesco Lavra 6ea6c8ebcf Add ff_ prefix to non-static functions
Patch by Francesco Lavra (firstnamelastname@interfree.it)

Originally committed as revision 23574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-11 08:03:43 +00:00
Francesco Lavra 0acaf8b0f2 Split ra144.c in common code (to be shared with the future encoder) and
decoder.

Patch by Francesco Lavra (firstnamelastname@interfree.it)

Originally committed as revision 23573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-11 08:01:51 +00:00
Maxim Poliakovski 79d46cbea6 Quant changes only once per MB so move the corresponding scale factor assignment
out of the block decoding loop. Indeo4 doesn't use any scale table but the quant
level itself as scale. Therefore access scale table only if its pointer != NULL.

Originally committed as revision 23569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-10 17:31:12 +00:00
Justin Ruggles 4dbcfa6f95 Set bits_per_raw_sample in the pcm decoder.
Originally committed as revision 23566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-10 16:59:56 +00:00
Maxim Poliakovski 411e859bce Remove unused parameter.
Originally committed as revision 23563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-10 16:52:54 +00:00
Tomas Härdin c1bdc9300b avcodec.h: Clarify AVCodecContext::pix_fmt documentation since its value may be set by the demuxer
rawdec.c: Only perform bits_per_coded_sample -> pix_fmt guesswork if pix_fmt hasn't been set

Originally committed as revision 23561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-10 08:39:05 +00:00
Benoit Fouet bb5cfc48f1 Cosmetics: alignment and long line break.
Originally committed as revision 23559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-10 06:00:37 +00:00
Benoit Fouet 1f7d2f54c5 Cosmetics: use and place braces correctly in if ... else statements.
Originally committed as revision 23558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-10 06:00:06 +00:00
Benoit Fouet 639c697c4f Sanitize av_realloc() use in h264 mp4toannexb bistream filter.
Originally committed as revision 23557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-10 05:59:22 +00:00
Luca Abeni d5cc1ed723 Improve the mp4toannexb BSF to convert the extradata.
Originally committed as revision 23545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-09 06:47:01 +00:00