Commit Graph

6928 Commits

Author SHA1 Message Date
Michael Niedermayer
8b470cc542 Print sane error message for channels != 1.
Originally committed as revision 13786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-16 23:20:11 +00:00
Michael Niedermayer
35d0e16ba1 Check number of bits so we do not try to use table entries which do not exist.
Originally committed as revision 13785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-16 23:16:44 +00:00
Michael Niedermayer
8161c28c67 Support decoding of sample_g726.asf.
Originally committed as revision 13784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-16 23:12:50 +00:00
Michael Niedermayer
6dfcdc00b3 get_bits() outputs exactly as many bits as requested no need to mask them.
Originally committed as revision 13782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-16 20:42:54 +00:00
Michael Niedermayer
f6ec220cb5 Remove dead code.
Originally committed as revision 13781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-16 20:40:44 +00:00
Diego Biurrun
b11829a9d9 Add missing #includes to fix 'make checkheaders'.
Originally committed as revision 13776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-16 08:25:48 +00:00
Jai Menon
66b26265f8 fix verbatim mode decoding. patch by Jai Menon (realityman gmx net).
Originally committed as revision 13775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-15 18:01:25 +00:00
Michael Niedermayer
5171fd9dd5 -0x8000 == 0x8000 with int16
fixes segfault / issue491

Originally committed as revision 13767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-13 19:30:27 +00:00
Stefano Sabatini
a74dc5b914 Cosmetics: s/Id/id/ in libavcodec/roqvideodec.c when Id refers to id Software
Originally committed as revision 13762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-13 09:30:42 +00:00
Stefano Sabatini
fe4bf37455 Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-12 21:50:13 +00:00
Baptiste Coudurier
39883fffa7 remove useless wrapper func
Originally committed as revision 13738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-10 19:21:40 +00:00
Reimar Döffinger
eeb2815003 Remove the START_TIMER/STOP_TIMER from vp3.c, they clutter the output and
might cost CPU.

Originally committed as revision 13730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 16:30:59 +00:00
Reimar Döffinger
36e1625396 Almost-cosmetics: split out coeff_count from all_fragments struct into
a separate array.
For the OGG version at http://www.bigbuckbunny.org/index.php/download/
this results in about 50% speedup of unpack_vlcs, resulting in ca. 20% faster
overall speed.

Originally committed as revision 13729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 16:26:28 +00:00
Baptiste Coudurier
8983aa337c enable global_header flag for audio and video encoding, was wrongly part of commit r13722
Originally committed as revision 13724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 01:21:57 +00:00
Baptiste Coudurier
02226bc8a5 revert wrong part of r13722 commit
Originally committed as revision 13723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 01:20:14 +00:00
Baptiste Coudurier
febea2f2e1 uniformize trellis quant option
Originally committed as revision 13722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 00:43:07 +00:00
Justin Ruggles
227322b837 move rematrixing band table to ac3dec_data.c
Originally committed as revision 13716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08 21:09:02 +00:00
Justin Ruggles
7ed9a2ea50 add ac3dec_data.[c,h]
Originally committed as revision 13715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08 21:08:57 +00:00
Justin Ruggles
bddadace8d add fields needed for E-AC-3 decoding to decode context
Originally committed as revision 13714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08 21:08:53 +00:00
Bartlomiej Wolowiec
681f5c1271 Separating from nellymoserdec.c parts required by encoder
Originally committed as revision 13713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08 20:45:18 +00:00
Benjamin Larsson
b339f0c6be Oma demuxer
Originally committed as revision 13712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08 17:12:25 +00:00
Justin Ruggles
4397d95ce0 split up header parsing function
Originally committed as revision 13705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:51 +00:00
Justin Ruggles
da04be10a2 store exp_strategy for all blocks in decode context
Originally committed as revision 13704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:47 +00:00
Justin Ruggles
54624396fc store cpl_in_use for all blocks in decode context
Originally committed as revision 13703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:43 +00:00
Justin Ruggles
be594ae4b4 cosmetics: add and align references to spec variable names
Originally committed as revision 13702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:39 +00:00
Justin Ruggles
d7a0ae079c cosmetics: vertical align
Originally committed as revision 13701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:35 +00:00
Justin Ruggles
83ce7ff6ca use macro constants for array sizes in decode context
Originally committed as revision 13700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:31 +00:00
Justin Ruggles
2288596074 cosmetics: vertical align
Originally committed as revision 13699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:26 +00:00
Justin Ruggles
2c4c2afaca cosmetics: reorder decode context fields into logical groups
Originally committed as revision 13698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:22 +00:00
Justin Ruggles
58ce349f0a move the decode context and some macro constants to a new file, ac3dec.h
Originally committed as revision 13697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:16 +00:00
Justin Ruggles
30f71adc46 move mix level tables from parser to decoder. have parser read bitstream value instead of using an index to a table in the decoder.
Originally committed as revision 13696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:09 +00:00
Justin Ruggles
caf0fbc889 add more gain levels and adjust mix level tables accordingly.
Originally committed as revision 13695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:30:03 +00:00
Justin Ruggles
687671f03b pass bap table to ff_ac3_bit_alloc_calc_bap()
Originally committed as revision 13694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:29:54 +00:00
Justin Ruggles
30cc3ac20e set default mix levels regardless of bitstream id
Originally committed as revision 13693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:29:45 +00:00
Justin Ruggles
4921bbbae5 cosmetics: indent
Originally committed as revision 13692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:29:38 +00:00
Justin Ruggles
aa5d6be8df skip unsupported frame types and substream id's
Originally committed as revision 13691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:29:27 +00:00
Justin Ruggles
be5f17b96b read frame type from header info into decode context
Originally committed as revision 13690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:29:19 +00:00
Justin Ruggles
3596aa6fe6 get substreamid from ac3 parser
Originally committed as revision 13689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:29:11 +00:00
Justin Ruggles
6730e9f300 get the number of blocks from the ac3 parser and use in the ac3 decoder.
Originally committed as revision 13688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 22:29:03 +00:00
Roberto Togni
467ec3c120 Remove my old email address
Originally committed as revision 13687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 13:21:24 +00:00
Roberto Togni
0f6feb5f26 Remove my old email address.
This also fixes the "rtogni is not a valid tag" doxygen warning
Based on a patch by Stefano Sabatini, stefano sabatini lala poste it

Originally committed as revision 13686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 13:14:49 +00:00
Diego Biurrun
969f949300 Remove Fabrice's copyright from the Makefiles. They have been entirely
rewritten since they were originally created.

Originally committed as revision 13675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-06 17:50:32 +00:00
Diego Biurrun
890f6fd3ec minor spelling/grammar fixes
Originally committed as revision 13669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-06 07:00:42 +00:00
Michael Niedermayer
aee7cf8752 Fix reading an element after the array.
Fixes CID27 RUN2

Originally committed as revision 13668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-06 00:32:31 +00:00
Vitor Sessak
218e453a6f Remove *lpc_refl from the context. Only the value
calculated in rms() is actually needed. It also avoid
recalculating it later.

Originally committed as revision 13664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 16:15:44 +00:00
Vitor Sessak
11bb2eb003 Split function rms() in two (it does two unrelated things)
Originally committed as revision 13663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 16:11:51 +00:00
Loren Merritt
359bbdabf3 rename me=tesa
Originally committed as revision 13661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 02:20:15 +00:00
Baptiste Coudurier
89223ef698 add esa/dia compat me options and new tesa for libx264
Originally committed as revision 13660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-05 01:57:35 +00:00
Baptiste Coudurier
d9e5c9b718 x264 interlaced encoding option
Originally committed as revision 13656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-04 00:56:36 +00:00
Baptiste Coudurier
682a48a107 cleanup, remove useless parentheses
Originally committed as revision 13655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-04 00:44:43 +00:00