Commit Graph

7591 Commits

Author SHA1 Message Date
Vitor Sessak
536ee17499 Move factor multiplication out of irms()
Originally committed as revision 13926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:35:02 +00:00
Vitor Sessak
498cb53163 This should be signed
Originally committed as revision 13925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:33:31 +00:00
Vitor Sessak
94be3bb50a More comments removal/fixes
Originally committed as revision 13924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:28:00 +00:00
Vitor Sessak
42b1459439 Remove useless comment
Originally committed as revision 13923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:26:57 +00:00
Vitor Sessak
d1024e0719 More comments improvement
Originally committed as revision 13922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:26:24 +00:00
Vitor Sessak
c17fd98cdc Document defines better
Originally committed as revision 13921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:24:06 +00:00
Vitor Sessak
c31333e107 Remove useless define
Originally committed as revision 13920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:20:29 +00:00
Vitor Sessak
51062b926b Rename rotate_buffer() to copy_and_dup() and doxy it
Originally committed as revision 13919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:18:51 +00:00
Vitor Sessak
70e708677e Simplify t_sqrt()
Originally committed as revision 13918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:13:07 +00:00
Vitor Sessak
89a2713e66 Add doxy comment
Originally committed as revision 13917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:12:12 +00:00
Vitor Sessak
3890a13173 Rename var
Originally committed as revision 13916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:06:36 +00:00
Vitor Sessak
d5d3536dcb Move code unrelated to lpc filtering out of lpc_filter()
Originally committed as revision 13915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 20:05:42 +00:00
Vitor Sessak
5983d1c480 Simplify rotate_buffer()
Originally committed as revision 13914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 19:59:42 +00:00
Stefano Sabatini
a33a6eb2ce Fix typo in libavcodec/opt.h.
Originally committed as revision 13912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 19:47:10 +00:00
Art Clarke
51f90867ea Allocate static tables on stack, not heap.
Patch by Art Clarke: aclarke vlideshow com

Originally committed as revision 13907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-23 07:33:15 +00:00
Vitor Sessak
9acd41a4e2 Cosmetics
Originally committed as revision 13898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 20:10:16 +00:00
Vitor Sessak
d488e906f2 Avoid a memcpy. Code is also simpler now in my opinion.
The downside is making the context bigger.

Originally committed as revision 13897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 20:09:13 +00:00
Robert Swain
f5048aaf69 Remove now unused variable
Originally committed as revision 13889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 15:26:00 +00:00
Robert Swain
9146e4d61c Add generic ff_sine_window_init function and implement in codecs appropriately
Originally committed as revision 13888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 15:12:27 +00:00
Peter Ross
d47f16074f vp6: ensure that huffman decoding table is sorted with descending symbol order
Previous code worked by pure luck with glibc qsort implementation.
patch by Peter Ross   pross _at_ xvid _dot_ org

Originally committed as revision 13887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 13:20:41 +00:00
Diego Biurrun
d43cf68898 cosmetics: alignment
Originally committed as revision 13886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 13:01:24 +00:00
Diego Biurrun
4e882caf51 Add missing entry for PCM_DVD_ENCODER.
Originally committed as revision 13885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 12:56:30 +00:00
Peter Ross
4198efe83f Add missing mpegvideo.o to list of vc1.o dependencies.
patch by Peter Ross, pross xvid org

Originally committed as revision 13884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 12:52:26 +00:00
Peter Ross
c183033f77 Add missing entry for ADPCM_IMA_QT_ENCODER.
patch by Peter Ross, pross xvid org

Originally committed as revision 13883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 12:48:39 +00:00
Peter Ross
cc6c2befa9 Add missing entry for ADPCM_EA_MAXIS_XA_DECODER.
patch by Peter Ross, pross xvid org

Originally committed as revision 13882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 12:47:39 +00:00
Reimar Döffinger
00eebe3d6a Fix add_bytes_mmx and add_bytes_l2_mmx for w < 16
Originally committed as revision 13877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 07:05:40 +00:00
Stefano Sabatini
b453924f3c Extend documentation for AVOption.
Originally committed as revision 13854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-21 09:15:49 +00:00
Vitor Sessak
072f66c980 Do not write junk in the end of truncated files. FATE
ra144 test will probably need to be updated.

Originally committed as revision 13839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-20 20:46:07 +00:00
Vitor Sessak
5116b92d71 Misc cosmetics
Originally committed as revision 13830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 20:51:56 +00:00
Vitor Sessak
e77825786e Remove useless comment
Originally committed as revision 13829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 20:48:00 +00:00
Vitor Sessak
509f8ea270 Last table renaming
Originally committed as revision 13828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 20:43:34 +00:00
Vitor Sessak
b845df113c Yet more table renaming
Originally committed as revision 13827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 20:36:23 +00:00
Vitor Sessak
6e05a76640 10l: fix typo
Originally committed as revision 13826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 20:34:29 +00:00
Vitor Sessak
a632f44e81 More table renaming
Originally committed as revision 13825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 20:31:34 +00:00
Vitor Sessak
a2d10dd8d8 Rename table
Originally committed as revision 13824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 20:28:28 +00:00
Vitor Sessak
98cc8e184a Rename vars: s/decsp/out/
Originally committed as revision 13823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 19:37:51 +00:00
Vitor Sessak
ea4b696605 Rename function
Originally committed as revision 13822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 19:35:59 +00:00
Vitor Sessak
bba35fda77 Rename var
Originally committed as revision 13821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 19:34:38 +00:00
Michael Niedermayer
74d9441715 Do not shift F[I] twice, it is also clearer and smaller now.
Originally committed as revision 13818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 11:04:31 +00:00
Michael Niedermayer
50c52d2250 Factorize c->ap += (-c->ap) >> 4 out
Originally committed as revision 13817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 11:00:17 +00:00
Michael Niedermayer
0e0d6cfd48 Get rid of G726Tables.bits.
Originally committed as revision 13816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 10:52:47 +00:00
Michael Niedermayer
05c9f3516c Copy 4 pointers to avid dozends of ptr dereferences.
Originally committed as revision 13815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 10:49:30 +00:00
Michael Niedermayer
fc234250b4 Does not need to be int16.
Originally committed as revision 13814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 10:38:20 +00:00
Michael Niedermayer
cb26c9d664 Factorize I >> (c->tbls->bits - 1) out.
Originally committed as revision 13812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 10:29:36 +00:00
Stefano Sabatini
747d1b87e2 Improve an lclenc.c error message in case of unsupported input pixel
format.

Originally committed as revision 13811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 10:12:15 +00:00
Michael Niedermayer
73ff4f8344 1 abs() less
Originally committed as revision 13810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-19 10:02:39 +00:00
Michael Niedermayer
4714776b6a simplify
Originally committed as revision 13807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-18 21:09:36 +00:00
Michael Niedermayer
673a64b89b useless ()
Originally committed as revision 13806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-18 21:05:07 +00:00
Michael Niedermayer
428c82cbac remove unneeded tr == 0
Originally committed as revision 13805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-18 21:00:44 +00:00
Michael Niedermayer
e079a1c94f simplify
Originally committed as revision 13804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-18 20:54:21 +00:00
Michael Niedermayer
c79c1a01a7 Get rid of the redundant AVG726Context.
Originally committed as revision 13803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-18 20:51:12 +00:00
Michael Niedermayer
ef4c5c6dba Remove the truncated bitstream handling from our g726 decoder.
The stuff belongs in a parser.

Originally committed as revision 13802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-18 19:18:32 +00:00
Guillaume Poirier
28215b3700 convert DOS-style carriage return to Unix-style
Originally committed as revision 13799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-17 14:42:51 +00:00
Michael Niedermayer
a0e5830ac5 Change iquant tables to int16.
Originally committed as revision 13798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-17 14:03:00 +00:00
Michael Niedermayer
6aa37bcf19 simplify
Originally committed as revision 13797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-17 13:46:59 +00:00
Michael Niedermayer
cf409a6fec Get rid of useless wrapper function.
Originally committed as revision 13796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-17 13:40:40 +00:00
Michael Niedermayer
170efe1f9d Do not inline g726_iterate() the function is big so its inlining will
not help speedwise IMHO.
.o size changes from 70k -> 49k

Originally committed as revision 13793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-17 00:09:42 +00:00
Michael Niedermayer
aeaa7c3d00 Replace i2f(0) by the actual thing done, gcc is not an optimizing compiler.
a little over 1kb smaller .o

Originally committed as revision 13792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-16 23:57:12 +00:00
Michael Niedermayer
8112075415 Remove redundant zeroing (the context is memset(0)).
Originally committed as revision 13791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-16 23:53:34 +00:00
Michael Niedermayer
e3cafac638 Use smaller data types for tables.
Originally committed as revision 13790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-16 23:51:07 +00:00
Michael Niedermayer
deec52ccf2 Float11 does not need int, .o file becomes smaller and the code might
be faster.

Originally committed as revision 13789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-16 23:34:15 +00:00
Michael Niedermayer
7d7a9e7f37 simplify
Originally committed as revision 13788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-16 23:31:23 +00:00
Michael Niedermayer
aca490777f Correct validity checks.
Originally committed as revision 13787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-16 23:23:56 +00:00
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
Justin Ruggles
7af26d14ac return error on frame sync error
Originally committed as revision 13654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-04 00:31:20 +00:00
Justin Ruggles
31bc6b4549 prevent crash when dba params are invalid
Originally committed as revision 13653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 23:34:26 +00:00
Benjamin Larsson
17125bd9da Sample tested and the code worked so the comment is removed
Originally committed as revision 13650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 16:46:38 +00:00
Diego Biurrun
e85754cc36 small spelling/wording fixes
Originally committed as revision 13645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 11:56:09 +00:00
Michael Niedermayer
ee3509d94e ff_fetch_timestamp() prototype
Originally committed as revision 13644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 03:12:56 +00:00
Michael Niedermayer
d59591fb02 In mpeg1/2 timestamps are associated with the access unit which
contains the first picture startcode that commences in the PES
packet, instead of the first access unit that commences in the
PES packet. Fix the parser to
handle that properly. This was a very long standing bug ...
The change to the seek regressions is because the mpeg ts muxer
stores too many invalid and randomized timestamps which overflow
the 4 entry buffer we use in the parser.

Originally committed as revision 13643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 02:43:17 +00:00
Aurelien Jacobs
9b85e378bf bump micro version after commit r13615
Originally committed as revision 13632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 23:00:04 +00:00
Baptiste Coudurier
ce8f4fb388 print correct mpeg-2 broken_link value, and print closed_gop
Originally committed as revision 13630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 19:04:14 +00:00
Vitor Sessak
27ee9bcf36 Remove warning that could never be triggered.
Thanks Mkhodor for pointing it out.

Originally committed as revision 13629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 18:29:04 +00:00
Michael Niedermayer
44b79c6022 indent
Originally committed as revision 13628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 14:54:19 +00:00
Michael Niedermayer
e4e3230ea5 Only store timestamps when there are timestamps.
Originally committed as revision 13627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 14:53:54 +00:00
Michael Niedermayer
05d1d160bc Our MPEG-TS demuxer does not send complete PES packets but sends them
piecewise, thus the end values cannot be used for associating timestamps.

Originally committed as revision 13626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 14:40:27 +00:00
Michael Niedermayer
5c027f8866 Move new field to the end to avoid ABI breakage, I thought this struct
is not used from the outside but after rethinking it of course has to be
used if someone wants to use a parser without a lavf demuxer.

Originally committed as revision 13625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 14:23:25 +00:00
Michael Niedermayer
ebdd73778c cosmetic
Originally committed as revision 13624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 13:14:01 +00:00
Michael Niedermayer
ec0c5d482e Allow matching timestamps to be removed by fetch_timestamp().
Originally committed as revision 13623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 13:12:54 +00:00
Michael Niedermayer
21e305891c Add off argument so that fetch_timestamp can search for timestamps
not associated with the first byte of access units.

Originally committed as revision 13622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 13:09:56 +00:00
Michael Niedermayer
cd6144948a Factorize fetch_timestamp() into its own function
Originally committed as revision 13621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 13:05:38 +00:00
Michael Niedermayer
4791778579 unused variable
Originally committed as revision 13620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 13:01:23 +00:00
Baptiste Coudurier
b73e868b4e cosmetics, remove table_ prefix
Originally committed as revision 13617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 03:12:43 +00:00
Michael Niedermayer
591569b596 indent
Originally committed as revision 13616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 03:10:40 +00:00
Michael Niedermayer
26f237254d Rename last_frame_offset to next_frame_offset.
(it was and is the next not the last)

Originally committed as revision 13615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 03:10:00 +00:00
Baptiste Coudurier
556eec43ef optimize, merge offset bits in vlc code
Originally committed as revision 13614 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 03:07:32 +00:00
Michael Niedermayer
cb63a4b37c Simplify parser core.
Originally committed as revision 13613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 02:55:30 +00:00
Justin Ruggles
406113721f move some AC3HeaderInfo struct fields to the Coded elements group.
Originally committed as revision 13612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 02:54:46 +00:00
Baptiste Coudurier
892d226857 return if bitrate is not specified or too low
Originally committed as revision 13611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 21:29:45 +00:00
Baptiste Coudurier
778346e3da add context_to_name func for logging
Originally committed as revision 13610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 20:51:44 +00:00
Vitor Sessak
2d73e6c8d7 Replace comments by error messages.
Thanks to Mkhodor for the tip.

Originally committed as revision 13609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:51:33 +00:00
Vitor Sessak
c2a14bd72e Cosmetics
Originally committed as revision 13608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:36:54 +00:00
Vitor Sessak
a00dc25547 Rename dec2() function
Originally committed as revision 13607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:36:43 +00:00
Vitor Sessak
07aee1a1f9 Rename var
Originally committed as revision 13606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:35:04 +00:00
Vitor Sessak
aa3aaacb07 Rename dec1() to a more descriptive name
Originally committed as revision 13605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:33:17 +00:00
Vitor Sessak
50b8f2cf1c The function dec1() do two completly unrelated things. Split the rms calculation out of it.
Originally committed as revision 13604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 19:30:07 +00:00
Vitor Sessak
a94701d03c Yet more variable renaming
Originally committed as revision 13599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 13:30:15 +00:00
Vitor Sessak
d4f0cc1c9f More variable renaming
Originally committed as revision 13598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 13:28:41 +00:00
Vitor Sessak
907892ee19 Rename functions
Originally committed as revision 13597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 13:17:22 +00:00
Vitor Sessak
d981252c27 Rename variables
Originally committed as revision 13596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 13:16:13 +00:00
Baptiste Coudurier
1be97a218e memcpy considering output width, not src linesize, fix segv with av_picture_pad
Originally committed as revision 13594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 02:28:33 +00:00
Baptiste Coudurier
64e3e66175 give context to av_log
Originally committed as revision 13593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 02:21:53 +00:00
Michael Niedermayer
2453f40602 Prevent scalefactors from overflowing.
fixes issue351

Originally committed as revision 13591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-01 01:07:59 +00:00
Justin Ruggles
fb2b88a816 cosmetics: add a comment, remove a comment
Originally committed as revision 13590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 22:12:49 +00:00
Justin Ruggles
9b57545934 simplify
Originally committed as revision 13589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 22:12:01 +00:00
Justin Ruggles
6e74513a48 set lfe params at frame init instead of in every block
Originally committed as revision 13588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 21:57:45 +00:00
Justin Ruggles
b85a15fe73 only calculate number of exponent groups when exponents are not reused.
Originally committed as revision 13587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 21:53:31 +00:00
Justin Ruggles
aa148649a4 cosmetics: remove unneeded braces
Originally committed as revision 13586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 21:37:28 +00:00
Justin Ruggles
7e13b31c19 10l: cosmetics
Originally committed as revision 13585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 19:59:10 +00:00
Justin Ruggles
e25973a1fd new dba values requires running last 2 bit allocation stages
Originally committed as revision 13584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 19:56:54 +00:00
Justin Ruggles
ff5d419e2f get_transform_coeffs() never returns an error, so make the function and its children return void.
Originally committed as revision 13582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 16:04:41 +00:00
Vitor Sessak
2f7d6835b6 Add doxy comments to eq() and do_voice()
Originally committed as revision 13581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 15:37:41 +00:00
Justin Ruggles
fbe52e4188 use enum value for CRC error
Originally committed as revision 13580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 15:31:57 +00:00
Justin Ruggles
c78c6d6c58 move header error logging to after CRC check
Originally committed as revision 13579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 15:30:55 +00:00
Vitor Sessak
4dc471c30c Minor simplification
Originally committed as revision 13578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 14:38:34 +00:00
Vitor Sessak
9765b44c50 Rename variable
Originally committed as revision 13577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 14:36:46 +00:00
Vitor Sessak
208a2a60b9 Remove useless intermediate variable
Originally committed as revision 13576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 14:34:35 +00:00
Vitor Sessak
9d283aee83 Remove ra144.o dependency added in revision r13500, now reverted
Originally committed as revision 13575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-31 14:32:11 +00:00
Michael Niedermayer
b13ddb3bca unused
Originally committed as revision 13572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 23:27:21 +00:00
Michael Niedermayer
b9c8388710 As *_static are not deallocated anymore except on program termination
we do not need to keep track of them anymore.
Fixes CID117 RUN2 and various race conditions.

Originally committed as revision 13571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 23:26:09 +00:00
Michael Niedermayer
83422c1940 unused
Originally committed as revision 13570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:17:10 +00:00
Michael Niedermayer
65de23d1b6 Remove non C code.
Originally committed as revision 13569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:15:34 +00:00
Michael Niedermayer
09dafaeba1 Move *_static to bitstream.c which is the only file left which needs
them.

Originally committed as revision 13568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:12:33 +00:00
Michael Niedermayer
ceaaf78bb7 Change init_vlc_rl() so it does not use *alloc_static() anymore.
Originally committed as revision 13567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:08:41 +00:00
Michael Niedermayer
2d80ce2bdf Change init_2d_vlc_rl() to not use *alloc_static().
Originally committed as revision 13566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 21:06:40 +00:00
Michael Niedermayer
9ef3193df1 Remove constant argument.
Originally committed as revision 13564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 20:06:08 +00:00
Michael Niedermayer
f76605e880 Switch to INIT_VLC_USE_NEW_STATIC.
Note, if code you maintain still uses INIT_VLC_USE_STATIC please change
it as well! Iam not volunteering to clean all codecs up ...

Originally committed as revision 13563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 20:02:59 +00:00
Michael Niedermayer
d05b24ff89 Little helper macro to make the use of INIT_VLC_USE_NEW_STATIC easier.
Originally committed as revision 13562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 20:00:19 +00:00
Michael Niedermayer
ccc54864fe Make init_vlc* support proper static tables instead of this broken beyond
imagination alloc_static() trash.

Originally committed as revision 13561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 19:48:02 +00:00
Vitor Sessak
27f19ed501 Revert r13499, log:
Make lpc coefficients 16 bit wide

Only one of my samples didn't decode bit-exact after this change,
but better be safe than sorry.

Originally committed as revision 13560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 19:46:43 +00:00
Carl Eugen Hoyos
7e14f14584 Warn about unimplemented H264 feature.
Originally committed as revision 13542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 23:16:12 +00:00
Pascal Massimino
ae899d12ae in TRUNCATED mode, use residual fragments in ParseContext
for decoding the very last frame.

Originally committed as revision 13538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 20:09:45 +00:00
Stefano Sabatini
09d9087d26 Add ASUS V1/V2 decoder codec long names.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-29 11:04:42 +00:00
Baptiste Coudurier
390b25aeda set avctx time_base in dv decoder
Originally committed as revision 13515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 23:56:25 +00:00
Michael Niedermayer
161dab177f ILP64 fix
Originally committed as revision 13513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 22:36:08 +00:00
Vitor Sessak
659094cb6b Rename variable
Originally committed as revision 13510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 21:25:18 +00:00
Vitor Sessak
5e8782dddf More intermediate vars removal
Originally committed as revision 13508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 21:17:32 +00:00
Vitor Sessak
408f43cb36 Remove unused var
Originally committed as revision 13506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 21:04:42 +00:00
Vitor Sessak
7019f1a510 Remove useless intermediate var
Originally committed as revision 13505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 21:02:51 +00:00
Vitor Sessak
e05f96285e Remove dec1() function
Originally committed as revision 13504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 20:36:11 +00:00
Vitor Sessak
31e15894d5 Use ff_acelp_weighted_vector_sum() instead of reimplementing it
Originally committed as revision 13500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 19:04:34 +00:00
Vitor Sessak
594409a25c Make lpc coefficients 16 bit wide
Originally committed as revision 13499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 19:02:16 +00:00
Vitor Sessak
121ec9e55a Simplify implementation and use of dec2()
Originally committed as revision 13498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 18:59:09 +00:00
Michael Niedermayer
909a9ad08d Prevent 128*1<<trellis from becoming 0 and creating 0 sized arrays.
fixes CID84 RUN2
      CID85 RUN2
      CID86 RUN2
      CID87 RUN2
      CID88 RUN2
      CID89 RUN2
      CID90 RUN2
      CID91 RUN2
      CID92 RUN2
      CID93 RUN2
      CID94 RUN2
      CID95 RUN2
      CID96 RUN2
      CID97 RUN2
      CID98 RUN2
      CID99 RUN2
      CID100 RUN2
      CID101 RUN2
      CID102 RUN2
      CID103 RUN2
      CID104 RUN2
      CID105 RUN2
      CID106 RUN2

Originally committed as revision 13495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 11:59:41 +00:00
Michael Niedermayer
e2d09b65e8 set coded_frame
Originally committed as revision 13492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 11:33:28 +00:00
Diego Biurrun
9c852bcf58 cosmetics: spelling typo fixes
Originally committed as revision 13489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 09:20:59 +00:00
Michael Niedermayer
c192426fd8 Fix return type of ff_init_me().
Originally committed as revision 13487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 01:54:09 +00:00
Michael Niedermayer
dd72228e53 minor simplification
Originally committed as revision 13485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 01:34:46 +00:00
Michael Niedermayer
8403c543de redundant
Originally committed as revision 13484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 01:30:59 +00:00
Michael Niedermayer
540c5220ff Check dia size a little more. Fixes CID80.
Originally committed as revision 13481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 23:41:10 +00:00
Michael Niedermayer
6138ed777d Arrays where one element too small, fixes CID114.
this was possibly exploitable

Originally committed as revision 13475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 22:10:17 +00:00
Michael Niedermayer
c1815c3700 memleak / fixes CID118
Originally committed as revision 13473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 21:12:28 +00:00
Michael Niedermayer
8e6f8869ab Do not read from prior the array, fix CID 127.
Originally committed as revision 13471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 19:44:56 +00:00
Vitor Sessak
d26a180fd6 Add comment
Originally committed as revision 13469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 16:50:48 +00:00
Vitor Sessak
1fe50db3f2 Fix doxy comments
Originally committed as revision 13468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 16:14:31 +00:00
Diego Biurrun
842eabc5f9 cosmetics: XviD is now called Xvid.
Originally committed as revision 13465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 12:32:59 +00:00
Diego Biurrun
ae52bbe5de cosmetics: typo fixes
Originally committed as revision 13464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 10:51:23 +00:00
Justin Ruggles
bd98e9e230 zero the upper frequencies of the correct coefficients
Originally committed as revision 13452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-27 00:43:39 +00:00
Diego Biurrun
1384e27054 consistency cosmetics: indices --> indexes in variable names
Originally committed as revision 13446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:36:05 +00:00
Stefano Sabatini
5231f101d1 Clarify avcodec_encode_audio() vs. PCM audio.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:19:26 +00:00
Diego Biurrun
f4433de9ef consistency cosmetics: indices --> indexes
Originally committed as revision 13444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:14:25 +00:00
Diego Biurrun
30bd40f2f1 cosmetics: typo
Originally committed as revision 13443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:11:24 +00:00
Diego Biurrun
756a01f522 cosmetics: Use C-style comments in #endif directives.
Originally committed as revision 13442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:09:46 +00:00
Vitor Sessak
6286924461 Rename var: add read coefficients a decent name
Originally committed as revision 13435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 18:26:47 +00:00
Vitor Sessak
e9655b3dcd Update comment
Originally committed as revision 13434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 18:21:09 +00:00
Vitor Sessak
2a7b6f251c Rename var: val -> energy
Originally committed as revision 13433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 18:18:33 +00:00
Vitor Sessak
e037baf797 Rename var: swapbuf* are LPC related
Originally committed as revision 13432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 18:16:05 +00:00
Vitor Sessak
f000bfad3d Rename var: buffer_2 is an adaptive codebook
Originally committed as revision 13431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 17:10:00 +00:00
Vitor Sessak
17a7fc8ceb Context vars are not global vars. glob is a bad name for it.
Originally committed as revision 13430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 16:59:39 +00:00
Vitor Sessak
fc9fcbaed5 Rename context struct to be more consistent with the rest of ffmpeg
Originally committed as revision 13429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 16:55:22 +00:00
Michael Niedermayer
bc545029bf Warn about packed B-frames. (especially useful if the file in question is
not an avi ...)

Originally committed as revision 13428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 11:32:42 +00:00
Michael Niedermayer
87b6ea8458 indent
Originally committed as revision 13411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 02:00:18 +00:00
Michael Niedermayer
99c1c3887d allow av_parser_close(NULL)
fixes issue300

Originally committed as revision 13410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 01:58:47 +00:00
Michael Niedermayer
4806b9226c print direct_spatial_mv_pred
Originally committed as revision 13409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 01:06:15 +00:00
Justin Ruggles
eccba2bc4b safer solution for setting audio parameters
Originally committed as revision 13402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 20:02:24 +00:00
Vitor Sessak
5012cf88a3 Merge two if's
Originally committed as revision 13401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 19:48:03 +00:00
Vitor Sessak
9d3c35fcfc Use (u)int16_t instead of (unsigned) short
Originally committed as revision 13400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 19:00:13 +00:00
Justin Ruggles
cf03a8173a set audio parameters if frame header is ok, even if crc fails
Originally committed as revision 13399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 18:54:17 +00:00
Justin Ruggles
3336110acf cosmetics: indent
Originally committed as revision 13398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 18:06:01 +00:00
Justin Ruggles
ecfe94b294 add error concealment
Originally committed as revision 13397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 18:05:15 +00:00
Vitor Sessak
6477a940f6 Yet more cosmetics
Originally committed as revision 13396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 17:06:14 +00:00
Vitor Sessak
6fc4fac06c More cosmetics
Originally committed as revision 13395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 17:04:42 +00:00
Vitor Sessak
b906a5e3b7 Cosmetics
Originally committed as revision 13394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:58:25 +00:00
Vitor Sessak
f8b5f7c71d Rename var
Originally committed as revision 13393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:53:55 +00:00
Vitor Sessak
ac1c27b21c Minor simplification of dec1()
Originally committed as revision 13392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:52:14 +00:00
Vitor Sessak
4bf8f3029b Minor simplification of dec2()
Originally committed as revision 13391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:50:08 +00:00
Vitor Sessak
c62c628fb3 Remove useless variable
Originally committed as revision 13390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:46:05 +00:00
Vitor Sessak
14ff7cceeb Cosmetics: merge declaration and initialization
Originally committed as revision 13389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:44:56 +00:00
Vitor Sessak
cdc15adf16 Cosmetics: braces removal
Originally committed as revision 13388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:42:31 +00:00
Vitor Sessak
58e23a5f21 Move evaluation of variable a to where it is trivial
Originally committed as revision 13387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:29:07 +00:00
Vitor Sessak
d6ff684b12 Make add_wav() receive a vector instead of three integers
Originally committed as revision 13386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:27:33 +00:00
Justin Ruggles
93a2c8c14f cosmetics: indent
Originally committed as revision 13385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:20:06 +00:00
Justin Ruggles
43ad93a4f1 10l: fix error in commit r13382
Originally committed as revision 13384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:19:44 +00:00
Vitor Sessak
8916d922fc Remove gbuf2 from context
Originally committed as revision 13383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:10:08 +00:00
Justin Ruggles
82a591d8d1 add checks for missing information in the first block
Originally committed as revision 13382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 15:34:48 +00:00
Justin Ruggles
3af9131398 add check for invalid channel mode when coupling is used
Originally committed as revision 13381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 15:23:03 +00:00
Michael Niedermayer
5b0e7dacd8 Fix MB skipping with droppable frames.
Fixes issue323.

Originally committed as revision 13378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 14:07:35 +00:00
Michael Niedermayer
16e30b7a04 Do not reject odd width/height.
Fixes issue371.

Originally committed as revision 13377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:31:07 +00:00
Vitor Sessak
d7dc90e42d Use (u)int16_t instead of short for tables
Originally committed as revision 13376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:26:04 +00:00
Vitor Sessak
0a08273542 Make tables that fit in one byte (u)int8_t
Originally committed as revision 13375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:25:10 +00:00
Vitor Sessak
cb24827f4d Remove yet another val (gbuf1) from context
Originally committed as revision 13374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:23:27 +00:00
Vitor Sessak
94e79f0949 Parameter n of dec functions is always 3. Hardcode it.
Originally committed as revision 13373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:22:56 +00:00
Michael Niedermayer
0c5421585a Move const *pow2tab out of context.
Originally committed as revision 13366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 22:31:44 +00:00
Michael Niedermayer
158bf33e36 simplify init_pow2table
Originally committed as revision 13365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 22:28:33 +00:00
Michael Niedermayer
40756c172c Merge init_rootpow2table and init_pow2table.
Originally committed as revision 13364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 22:23:16 +00:00
Vitor Sessak
a6072fdc18 Indent
Originally committed as revision 13362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:52:50 +00:00
Vitor Sessak
ae76c49908 Remove another useless variable from context
Originally committed as revision 13361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:51:56 +00:00
Vladimir Voroshilov
d347a046e2 Move pitch vector interpolation code to acelp_filters
and convert it to a generic interpolation routine.

Originally committed as revision 13284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 17:18:42 +00:00
Vitor Sessak
13b6729361 Use an intermediate variable for overflow testing
Originally committed as revision 13283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 16:38:48 +00:00
Vitor Sessak
84490b744e Handle the case where we do not have enough input
Originally committed as revision 13282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 16:20:37 +00:00
Michael Niedermayer
9d2e6e84ce Anoter try to make +- behave sanely.
Originally committed as revision 13281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 12:58:20 +00:00
Vitor Sessak
be2c232f43 Simplify eq()
Originally committed as revision 13278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 12:33:00 +00:00
Vitor Sessak
2279dd9e41 Simplify final()
Originally committed as revision 13277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 09:20:09 +00:00
Vitor Sessak
0853393979 Simplify rms()
Originally committed as revision 13276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 09:19:21 +00:00
Vitor Sessak
c2c237a0d5 More simplifications of ra144_decode_frame()
Originally committed as revision 13275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 09:17:30 +00:00
Vitor Sessak
d548f09ff6 Make wavtable a table instead of an array
Originally committed as revision 13274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 09:15:01 +00:00
Carl Eugen Hoyos
d1845b4c84 Fix compilation for buggy icc.
Originally committed as revision 13273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 07:19:12 +00:00
Vladimir Voroshilov
5b2729cd0b adaptive and fixed codebook vector operations for ACELP-based codecs
Originally committed as revision 13244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 03:10:27 +00:00
Michael Niedermayer
4a13a2d4f7 Fix + - bug with non flags.
Originally committed as revision 13243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 00:29:21 +00:00
Benjamin Larsson
d311f8f3e3 Update copyright and text
Originally committed as revision 13239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-22 19:42:02 +00:00
Maxim Poliakovski
9d278d8859 Fix decoding of 01-Untitled(1).oma, patch by Maxim Poliakovski
Originally committed as revision 13238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-22 19:16:28 +00:00
Vitor Sessak
afe359c110 Make gbuf2 a table instead of an array
Originally committed as revision 13221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 19:24:17 +00:00
Vitor Sessak
53da3f5f92 Remove unneeded var from context
Originally committed as revision 13220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 19:23:15 +00:00
Stefano Sabatini
cad2af9760 Improve parse_primary() error message.
Patch by Stefano Sabatini and Michael Niedermayer

Originally committed as revision 13218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 17:50:42 +00:00
Vitor Sessak
3ceac114ee Cosmetics: indentation
Originally committed as revision 13216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 16:53:20 +00:00
Vitor Sessak
c32985829a Simplify irms()
Originally committed as revision 13215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 16:43:33 +00:00
Vitor Sessak
bf6497e911 Simplify add_wav()
Originally committed as revision 13214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 16:43:05 +00:00
Vitor Sessak
c7666095fa Only one out of two values of gbuf1 is actually used. Make it half the size.
Originally committed as revision 13213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 16:41:58 +00:00
Vitor Sessak
65189c6cac Make etable1 and etable2 tables instead of arrays.
Originally committed as revision 13212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 16:38:44 +00:00
Vitor Sessak
59ffb6e2cc Simplify ra144_decode_frame() by unrolling a senseless
loop.

Thanks mkhdor for suggesting this patch.

Originally committed as revision 13211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 16:36:19 +00:00
Vitor Sessak
432a54ef80 Use ff_sqrt() function instead of using a table
Originally committed as revision 13210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 16:33:49 +00:00
Vitor Sessak
47abbd3eb9 Cosmetics: move function to remove forward declarations
Originally committed as revision 13198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:51:49 +00:00
Vitor Sessak
f1bf6ba3db Minor simplification of rotate_block()
Originally committed as revision 13197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:42:55 +00:00
Vitor Sessak
f54b42736d Cosmetics: indentation
Originally committed as revision 13196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:40:36 +00:00
Vitor Sessak
0c62d04e00 Cosmetics: rename variable
Originally committed as revision 13195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:39:47 +00:00
Vitor Sessak
37e77035f2 Simplify ra144_decode_frame()
Originally committed as revision 13194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:38:12 +00:00
Michael Niedermayer
0bd134abd3 Simplify vsad16_mmx2().
Originally committed as revision 13193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:36:44 +00:00
Vitor Sessak
e1a51a578e Remove a useless temporary buffer
Originally committed as revision 13192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:35:45 +00:00
Michael Niedermayer
6bf6a9301b Simplify vsad16_mmx().
Originally committed as revision 13191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:35:14 +00:00
Vitor Sessak
b8caf9bf28 Convert ra144.h tables from hex to decimal
Originally committed as revision 13190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:34:55 +00:00
Michael Niedermayer
e13810223a Simplify vsad_intra16_mmx2()
Originally committed as revision 13189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:33:01 +00:00
Michael Niedermayer
06bb35f94c Simplify vsad_intra16_mmx()
Originally committed as revision 13188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:31:10 +00:00
Lars Täuber
1472b7dd28 LPCM 24 bits support, patch by Lars Täuber, lars.taeuber gmx net
Originally committed as revision 13187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 11:42:03 +00:00
Diego Biurrun
8f89843475 The MPEG4AAC codec is provided by an external library and will be disabled
with the next libavcodec major version bump.

Originally committed as revision 13186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 11:38:30 +00:00
Diego Biurrun
9f4aa35359 missing codec long names by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 10:20:01 +00:00
Michael Niedermayer
ee83232aa9 Avoid using log2() freebsd does not support it.
Originally committed as revision 13184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-16 21:28:55 +00:00
Diego Biurrun
51c86db57b Fix big-endian vs. little-endian typo.
Originally committed as revision 13181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-16 13:12:56 +00:00
Diego Biurrun
6823d427c6 consistent codec name by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-16 00:28:22 +00:00
Diego Biurrun
44caa86d68 Add PCM codec long names; by Stefano Sabatini, stefano.sabatini-lala poste it.
Originally committed as revision 13179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-16 00:26:02 +00:00
Diego Biurrun
26c5202173 cosmetics: Use C-style comment delimiters with #endif directives.
Originally committed as revision 13174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 23:03:55 +00:00
Diego Biurrun
bcdab7e547 cosmetics: Fix typos in ADPCM codec long names.
Originally committed as revision 13173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 23:02:43 +00:00
Stefano Sabatini
88c5216261 cosmetics: s/Id/id/ in libavcodec where Id refers to id Software.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 22:51:38 +00:00
Vitor Sessak
0ba20fa566 Remove useless buffers
Originally committed as revision 13168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 18:49:50 +00:00
Vitor Sessak
be4488dcbe Simplify rotate_block()
Originally committed as revision 13167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 18:42:05 +00:00
Vitor Sessak
177fa453db Do not pass the context to functions that do not use it
Originally committed as revision 13166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 18:41:04 +00:00
Vitor Sessak
e9de4f5640 Declare vars as const when possible
Originally committed as revision 13165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 18:39:07 +00:00
Vitor Sessak
4aa485a3f6 Do not copy tables to a context var, use them directly
Originally committed as revision 13164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 18:36:12 +00:00
Vitor Sessak
bd0d10c2f1 Remove unneeded fields from the decoder context
Originally committed as revision 13163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 18:34:31 +00:00
Vitor Sessak
ae9b8019ec Read the bitstream where the data is actually needed instead of doing it in unpack_input()
Originally committed as revision 13162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 18:31:55 +00:00
Vitor Sessak
ab5e6526a3 Use correct type in FFSWAP (thanks to Benoit Fouet for pointing it out)
Originally committed as revision 13161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 18:30:05 +00:00
Vitor Sessak
cf408d8873 Cosmetics: remove useless parenthesis
Originally committed as revision 13160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 18:29:05 +00:00
Vitor Sessak
dbef8b1c84 The first table of decodetable[] is unrelated to the other. Rename it.
Originally committed as revision 13159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 18:28:24 +00:00
Diego Biurrun
d349334abc ADPCM codec long names by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 11:35:19 +00:00
Stefano Sabatini
0f3af710de DPCM codec long names, patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 11:31:14 +00:00
Stefano Sabatini
5cec11b612 Make av_set_string() fail when number could not be set.
Patch by Stefano Sabatini stefano§sabatini-lalaATposte§it

Originally committed as revision 13155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 01:03:48 +00:00
Stefano Sabatini
7c55e71d51 Add codec long name, patch by Stefano Sabatini, stefano.sabatini-lala poste it.
Originally committed as revision 13154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-14 16:30:37 +00:00
Stefano Sabatini
9203741a46 Update offset in the option string later, to have a better error message.
Patch by Stefano Sabatini stefanoTODsabatini-lalaCHEZposteTODit

Originally committed as revision 13153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-14 02:14:11 +00:00
Måns Rullgård
40a655e306 acelp_filters.h needs stdint.h
Originally committed as revision 13150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-13 18:10:15 +00:00
Carl Eugen Hoyos
738a89b93a Add VP56_FRAME_NONE and use VP56_FRAME_CURRENT.
Fixes icc warning #188: enumerated type mixed with another type

Originally committed as revision 13145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-13 15:56:45 +00:00
Stefano Sabatini
0be2f1e3f0 Fix a typo.
Patch by Stefano Sabatini stefanoDOTsabatini-lalaATpostePOINTit

Originally committed as revision 13140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-13 00:49:38 +00:00
Carl Eugen Hoyos
3f8adf26a4 Correct type for pcx_rle_decode().
Fixes icc warning #120: return value type does not match the function
type

Originally committed as revision 13139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-12 19:04:08 +00:00
Carl Eugen Hoyos
88a50f6c92 Replace one more occurrence of -1 with PIX_FMT_NONE.
Fixes icc warning #188: enumerated type mixed with another type

Originally committed as revision 13136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-12 10:31:52 +00:00
Guillaume Poirier
d9481eb7f3 armv4l/float_arm_vfp.o must be added to OBJS-$(HAVE_ARMVFP) list since
it's build out of a C file, not an ASM file

Originally committed as revision 13134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-12 09:18:32 +00:00
Carl Eugen Hoyos
b1d966a088 Do not use variable frame_info before its value is set.
Originally committed as revision 13133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-12 06:51:30 +00:00
Alexander Strange
5da1ab1ae1 Previous commit missed an initialization - this fixes FATE's test sample.
Originally committed as revision 13131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 23:39:55 +00:00
Carl Eugen Hoyos
eacced45c4 Replace some occurrences of -1 with PIX_FMT_NONE.
Fixes icc warning #188: enumerated type mixed with another type

Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 22:28:43 +00:00
Alexander Strange
488aca9b1e Set and use h->mb_xy in SVQ3 too.
Originally committed as revision 13129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 20:26:35 +00:00
Siarhei Siamashka
e6303192c7 Add some initial optimizations for ARM VFP (floating
point coprocessor available in some ARM11 cores).
Patch by Siarhei Siamashka % siarhei.siamashka@gmail.com %
Original thread:
date: Apr 20, 2008 5:41 PM
subject: [FFmpeg-devel] [PATCH] Some ARM VFP optimizations (vector_fmul, vector_fmul_reverse, float_to_int16)

Originally committed as revision 13128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 20:06:03 +00:00
Alexander Strange
bff2266a7f Remove newly unused variables.
Originally committed as revision 13127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 19:22:28 +00:00
Alexander Strange
d2b54ec801 Use h->mb_xy directly in decode_cabac_residual().
Originally committed as revision 13126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 19:18:39 +00:00
Alexander Strange
64514ee8de Store mb_xy in H264Context and only calculate it once per MB.
Originally committed as revision 13125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 19:16:21 +00:00
Vitor Sessak
1d46ba661c Simplify do_voice().
Patch by Vitor Sessak (vitor1001 gmail com)

Originally committed as revision 13124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 18:47:16 +00:00
Vitor Sessak
0d493edd0b Replace some hardcoded swapping with FFSWAP.
Patch by Vitor Sessak (vitor1001 gmail com)

Originally committed as revision 13123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 18:43:11 +00:00
Vitor Sessak
cd780422e1 Remove unused defines from ra144.
Patch by Vitor Sessak (vitor1001 gmail com)

Originally committed as revision 13122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 18:39:13 +00:00
Matthieu Castet
6827f6f216 cosmetics: indent after last commit. patch by matthieu castet <castet matthieu free fr>.
Originally committed as revision 13121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 18:14:30 +00:00
Matthieu Castet
e5838c90ee simplify decoding of uncompressed samples. patch by matthieu castet <castet matthieu free fr>.
Originally committed as revision 13120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 18:13:30 +00:00
Vladimir Voroshilov
ce9eac7913 Implement bidirectional (positive offset - left, negative - right)
signed shift for ACELP-based codecs.

Originally committed as revision 13117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 11:49:25 +00:00
Stefano Sabatini
5fcc4a236b Document AVCodecContext channels field.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 11:15:18 +00:00
Vladimir Voroshilov
542c064d1b Update comment to version, negotiated with Diego, and
fix missing period (not latest revision of patch
was wrongly committed).

Originally committed as revision 13113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 10:07:11 +00:00
Vladimir Voroshilov
7c96587c17 Fix compilation error.
It was introduced after changing input parameter and
overlooked during review process.

Originally committed as revision 13112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 05:28:29 +00:00
Justin Ruggles
59d598b923 fix reading of samples-per-frame
Originally committed as revision 13111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 04:25:34 +00:00
Vladimir Voroshilov
a52000f291 various filters for ACELP-based codecs
Originally committed as revision 13110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 03:42:53 +00:00
Vitor Sessak
f863bee841 Simplify a list of array allocations with a loop.
patch by Vitor Sessak, vitor1001 gmail com

Originally committed as revision 13109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 03:40:14 +00:00
Vladimir Voroshilov
3f3865d30b Replace hardcoded LP filter order with parameter.
This will allow to reuse the code in the SIPR decoder.

Originally committed as revision 13108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 03:18:18 +00:00
Vitor Sessak
bf21a10f1c Remove useless memset, patch by Vitor Sessak, vitor1001 gmail com.
Originally committed as revision 13107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-10 16:05:12 +00:00
Vitor Sessak
57ecbbbb1e Rewrite unpack_input() completely, patch by Vitor Sessak, vitor1001 gmail com.
Originally committed as revision 13106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-10 16:02:38 +00:00
Vitor Sessak
47eb818713 cosmetics: Reindent file, patch by Vitor Sessak, vitor1001 gmail com,
some further prettyprinting by myself.

Originally committed as revision 13105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-10 15:59:08 +00:00
Diego Biurrun
a12b44d7fb Add missing required header directly.
Originally committed as revision 13103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 14:34:52 +00:00
Diego Biurrun
20cd685ae8 Add missing path to #include.
Originally committed as revision 13102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 14:33:55 +00:00
Diego Biurrun
223d678a3f Add missing path to #include statement.
Originally committed as revision 13101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 14:29:37 +00:00
Diego Biurrun
245976da2a Use full path for #includes from another directory.
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Michael Niedermayer
def1e277b9 Little fix for block sizes <16
Originally committed as revision 13095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 10:44:12 +00:00
Diego Biurrun
a1fe4604d4 Revert previous mistaken commit.
Originally committed as revision 13094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 10:18:58 +00:00
Diego Biurrun
81f46d5ac9 ipp.h is a system header, use <> when #including it.
Originally committed as revision 13093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 10:06:51 +00:00
Diego Biurrun
22700471a9 dsputil.h is not a system header, use "" when #including it.
Originally committed as revision 13092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 09:48:49 +00:00
Michael Niedermayer
058aae3ce7 Improve motion estimation metric.
Patch by Michael Niedermayer

Originally committed as revision 13090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 09:02:41 +00:00
Aurelien Jacobs
931141055b remove useless comment
Originally committed as revision 13086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 23:15:39 +00:00
Aurelien Jacobs
5210529e2d ensure vp56_decode_frame always return unchanged buf_size
Originally committed as revision 13083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 21:59:51 +00:00
Ramiro Polla
40d0e665d0 Do not misuse long as the size of a register in x86.
typedef x86_reg as the appropriate size and use it instead.

Originally committed as revision 13081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 21:11:24 +00:00
Carl Eugen Hoyos
35027eddf3 Do not return -1 from void functions.
Originally committed as revision 13080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 14:02:35 +00:00
Carl Eugen Hoyos
e0a0c85dbd One const per declaration is enough.
Originally committed as revision 13079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 14:01:44 +00:00
Baptiste Coudurier
6650c4c3a8 export dnxhd encoded picture quality
Originally committed as revision 13071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 17:18:41 +00:00
Diego Biurrun
a5c0969a33 Remove one more set of useless parentheses from a return call.
Originally committed as revision 13070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 09:20:50 +00:00
Diego Biurrun
ccd425e799 Remove unnecessary parentheses from return calls.
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-06 09:16:36 +00:00
Jason Garrett-Glaser
144783887c Use a state machine to reduce branching logic in decode_cabac_residual.
Patch by Jason Garrett-Glaser (darkshikari gmail com)

Originally committed as revision 13060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-04 22:39:12 +00:00
Ramiro Polla
d010a2d5be Prevent targaenc.c from outputting trash byte.
Originally committed as revision 13059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-04 20:04:00 +00:00
Sisir Koppaka
9db5bdfaa5 Add complete multimedia Wiki URL, patch by Sisir Koppaka.
Originally committed as revision 13055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-04 09:58:22 +00:00
Ramiro Polla
1f4fa6a4ef Indent.
Originally committed as revision 13054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-04 01:08:40 +00:00
Ramiro Polla
0ec7b71de8 Do not read out of array bounds.
Originally committed as revision 13053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-04 01:07:46 +00:00
Michael Niedermayer
f7739f3708 Output buffer overflow.
Originally committed as revision 13052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 21:06:55 +00:00
Michael Niedermayer
494e353179 Heap buffer overflow.
Originally committed as revision 13051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 21:01:47 +00:00
Michael Niedermayer
83e9a67d7c Fix memset(0) based buffer overflow.
Originally committed as revision 13050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 20:56:57 +00:00
Michael Niedermayer
3df9ce75b5 Move declaration a little.
Originally committed as revision 13049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 17:28:25 +00:00
Michael Niedermayer
8f51f55564 Setting i to 0 once should do.
Originally committed as revision 13048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 17:26:13 +00:00
Diego Biurrun
20c9c8eec8 cosmetics: Consistently use C-style comments in #endif preprocessor directives.
Originally committed as revision 13047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 14:15:29 +00:00
Anuradha Suraparaju
f7cd9eed5d Add Dirac support through libschroedinger.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 13046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 13:59:45 +00:00
Diego Biurrun
34499963e3 10l: Unbreak libdirac compilation; CONFIG_LIBDIRAC is defined in config.h, so
include the header before using parts from it.

Originally committed as revision 13045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 13:55:31 +00:00
Måns Rullgård
0852e30b53 fix checkheaders when libdirac not installed
Originally committed as revision 13044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 13:29:44 +00:00
Måns Rullgård
7c43009358 add necessary #includes in headers
Originally committed as revision 13043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 13:29:39 +00:00
Anuradha Suraparaju
690bfceb20 Dirac decoding/encoding support via libdirac.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 13042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 03:47:26 +00:00
Diego Biurrun
575e696ce4 Add Dirac parser from SoC; written by Marco Gerards;
submitted by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 13041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-03 03:33:21 +00:00
Justin Ruggles
97085fa154 include avcodec.h
Originally committed as revision 13039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 23:20:29 +00:00
Benjamin Larsson
c401efdefe Long name spelling fixes
Originally committed as revision 13038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 22:58:16 +00:00
Justin Ruggles
512b37bb28 move call to init_get_bits inside conditional
Originally committed as revision 13037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:35:32 +00:00
Justin Ruggles
9482171bbd share streaminfo parsing function
Originally committed as revision 13036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:34:34 +00:00
Justin Ruggles
9d48410f14 split out some decoder context params to a shared macro
Originally committed as revision 13035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:33:14 +00:00
Justin Ruggles
4bc07e78b8 change function parameters for dump_headers()
Originally committed as revision 13034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:30:32 +00:00
Justin Ruggles
a128cc91f3 change function parameters for metadata_streaminfo()
Originally committed as revision 13033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:29:49 +00:00
Diego Pettenò
53e85f5fa4 Mark symbol as static, patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com.
Originally committed as revision 13027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-01 15:20:57 +00:00
Diego Biurrun
cdfec9c02a Comment out unused ff_vc1_norm6_spec table.
Originally committed as revision 13024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-30 16:33:58 +00:00
Stefano Sabatini
3bb82f3da5 Transform codec short name into a single word.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-30 09:29:15 +00:00
Stefano Sabatini
bcdb2378f7 Add long names to some AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 21:31:21 +00:00
Michael Niedermayer
0dfea024e1 indent
Originally committed as revision 13021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 18:32:06 +00:00
Michael Niedermayer
ef79ef3c11 Fix decoding of:
http://samples.mplayerhq.hu/A-codecs/msgsm/levis.avi
http://samples.mplayerhq.hu/A-codecs/msgsm/wernfried_1.avi

partially fix decoding of:
http://samples.mplayerhq.hu/A-codecs/GSM/sample-gsm-8000.gsm

Allow the user to encode non standard samplerates by using -strict

Originally committed as revision 13020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 18:31:29 +00:00
Ramiro Polla
e6dba5dfab Typo: distoration -> distortion.
Originally committed as revision 13019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 14:08:01 +00:00
Robert Swain
34d71ebe94 Remove leading whitespace in long codec name that was committed in r13017
Originally committed as revision 13018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 08:37:40 +00:00
Stefano Sabatini
6140271f54 Add some long names to AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 07:24:44 +00:00
Stefano Sabatini
9d82d6cbba Transform codec names into single words.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 07:11:59 +00:00
Justin Ruggles
b88e657628 remove unused variable, min_framesize
Originally committed as revision 13015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 01:29:35 +00:00
Kostya Shishkov
39902a8c93 Calculate motion vector information based on PTS provided in slice header
Originally committed as revision 13011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-28 13:37:36 +00:00
Stefano Sabatini
038f846e41 Add long names to some AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-28 10:21:58 +00:00
Stefano Sabatini
162d4fc99d Add long names to AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-27 22:39:51 +00:00
Stefano Sabatini
99e3913d39 Make 8SVX codec names just a single word for consistency with other codec names.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-27 22:19:02 +00:00
Stefano Sabatini
d5202e4fda Add long names to many AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-27 10:52:44 +00:00
Diego Biurrun
3ddf7fe945 Use filename as multiple inclusion guard.
Originally committed as revision 13004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-27 10:01:07 +00:00
Diego Biurrun
57105ddd03 Rename i386/cputest.c --> i386/cpuid.c.
Originally committed as revision 13002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 16:02:22 +00:00
Diego Biurrun
8033ba57b9 Remove unnecessary test program dependency declarations.
Originally committed as revision 13001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 15:38:00 +00:00
Robert Swain
80b1e6cc1f Grammar fixes and improvements for the new ACELP code
Originally committed as revision 13000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 15:20:06 +00:00
Baptiste Coudurier
169203c1d9 break if error in header so it can output already decoded frames
Originally committed as revision 12999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:41:29 +00:00
Baptiste Coudurier
41b8800f88 merge init with declaration
Originally committed as revision 12998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:36:34 +00:00
Baptiste Coudurier
f91c089812 cosmetics: merge decls
Originally committed as revision 12997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:34:01 +00:00
Baptiste Coudurier
5fd7a9fcdf simplify: merge loops
Originally committed as revision 12996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:33:09 +00:00
Baptiste Coudurier
8da8970d01 simplify
Originally committed as revision 12995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:30:06 +00:00
Baptiste Coudurier
0d5b2eb445 simplify: remove useless fields and vars
Originally committed as revision 12994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:28:18 +00:00
Baptiste Coudurier
676e26ab6d move MP3On4DecodeContext def near the code and under ifdef
Originally committed as revision 12993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:22:43 +00:00
Baptiste Coudurier
9f95bfe2b9 correctly patch syncword for samples rates < 16000, decoder now fully support all iso ref files
Originally committed as revision 12992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:18:29 +00:00
Baptiste Coudurier
f0f53c83ba fix 1 frame config decoding
Originally committed as revision 12991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:10:31 +00:00
Baptiste Coudurier
60dfa0b8d4 remove old draft last case not present anymore in iso specs
Originally committed as revision 12990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:08:34 +00:00
Baptiste Coudurier
9a53eb7ce7 mp3on4 decoder now depends on mpeg4audio code
Originally committed as revision 12989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 14:00:27 +00:00
Baptiste Coudurier
b61d2782f3 use mpeg4audio common code
Originally committed as revision 12988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 13:56:52 +00:00
Kostya Shishkov
86c90cc7a6 Skip blocks in B-frames reuse motion vectors from next reference frame.
So if referenced blocks is 16x8, 8x16 or 8x8 partitions, skip block
will have them too.

Originally committed as revision 12987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 13:09:36 +00:00
Baptiste Coudurier
ec39f7d855 simplify
Originally committed as revision 12986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 13:08:16 +00:00
Baptiste Coudurier
9708d52ee8 correctly compute out_size and samples number
Originally committed as revision 12985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 13:03:41 +00:00
Baptiste Coudurier
cd3289650a fsize is 12 bits according to specs
Originally committed as revision 12984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 12:59:46 +00:00
Baptiste Coudurier
5be25fc133 simplify using FFMIN3
Originally committed as revision 12983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 12:51:52 +00:00
Baptiste Coudurier
a82dcdffb2 return error if buf_size is too small
Originally committed as revision 12981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 12:39:45 +00:00
Baptiste Coudurier
dfcd6d91fe values can fit uint8_t
Originally committed as revision 12980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 12:34:37 +00:00
Baptiste Coudurier
183fceaafd add const
Originally committed as revision 12979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 12:33:02 +00:00
Vladimir Voroshilov
8726882993 Fixed-point LSP and LPC decoding routines for ACELP-based codecs
Originally committed as revision 12978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 11:52:33 +00:00
Ramiro Polla
630e1b27c2 get_vlc2() only gets up to three levels in the tables. The last codes weren't being read properly.
Originally committed as revision 12976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 05:03:36 +00:00
Kostya Shishkov
a9f1d8cdf6 Correct company name
Originally committed as revision 12975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-26 04:14:33 +00:00
Vladimir Voroshilov
1cf3ee2d1c Fixed-point implementation of ff_cos, ff_log2, ff_exp2.
Also implemented routine for calculating sum(a[i] * a[i-offset]>>shift)

Originally committed as revision 12974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 17:14:47 +00:00
Baptiste Coudurier
bf52a72023 10l, alphabetical order
Originally committed as revision 12973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 16:54:53 +00:00
Baptiste Coudurier
3b4eccabae identation
Originally committed as revision 12969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 15:15:56 +00:00
Baptiste Coudurier
e67fe90c40 remove no more needed field
Originally committed as revision 12968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 15:11:39 +00:00
Baptiste Coudurier
62377fec30 remove unused var
Originally committed as revision 12967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 15:10:33 +00:00
Baptiste Coudurier
9ff8976dad remove ima qt decoding hack, decode whole frame at once
Originally committed as revision 12966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 15:09:26 +00:00
Baptiste Coudurier
d29ee34ce3 fix adpcm ima qt decoding, channel at init is 0, correct stereo out since samples += avctx->channels
Originally committed as revision 12965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 15:06:07 +00:00
Baptiste Coudurier
45a97d3018 set channels and sample rate from mpeg4audio config
Originally committed as revision 12964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 14:09:42 +00:00
Baptiste Coudurier
4afaffca9e mov demuxer depends on mpeg4audio code now
Originally committed as revision 12963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 14:05:32 +00:00
Michel Bardiaux
202aca676f Make sure some value is always returned via data_size
Originally committed as revision 12955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 13:25:11 +00:00
Michel Bardiaux
96ddaff5ec Allow bitrates zero and 13200 (needed for decoding mov and aiff)
Originally committed as revision 12953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-25 13:05:15 +00:00
Bartlomiej Wolowiec
0c79b1402a add a ff_ac3_parse_header_full() which calls ff_ac3_parse_header()
and then reads the channel_map stuff

Originally committed as revision 12944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-24 22:27:13 +00:00
Thorsten Jordan
3fd6b3368a Set pixel aspect ratio for libxvid wrapper.
Patch by Thorsten Jordan tjordanATmacrosystem de

Originally committed as revision 12936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-24 12:39:25 +00:00
Ramiro Polla
a960000304 Fix regression introduced by r12929.
num_coeffs is just one byte.
It would make no sense for num_coeffs to be as high as 2^32.

Originally committed as revision 12931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 23:24:47 +00:00
Ramiro Polla
9ed0cff98e The code now is pretty self explanatory about the header structure.
Remove the big comment and add comments about the skipped fields.

Originally committed as revision 12930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 20:30:50 +00:00
Ramiro Polla
fc22c00935 Use bytestream functions for reading frame header.
Originally committed as revision 12929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 20:24:07 +00:00
Thorsten Jordan
904bc6b80a Make Xvid wrapper use threads (with support for newest CVS Xvid only)
Patch by Thorsten Jordan ( tjordan macrosystem de )

Originally committed as revision 12928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 20:21:21 +00:00
Stefano Sabatini
3ade5d56d0 Add supported_samplerates field to AVCodec
Patch by Stefano Sabatini ( stefano sabatini-lala poste it )

Originally committed as revision 12925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 20:06:20 +00:00
Diego Biurrun
9fa58f19ff Rename diracschro_common.[ch] to libdirac_libschro.[ch], external library
glue code should have a lib prefix in its name.

Originally committed as revision 12924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 16:26:15 +00:00
Luca Barbato
6ef4ba3fb3 libdirac and libschro common code, patch from Anuradha Suraparaju anuradhaAtrdDoTbbcDoTcoDotuk
Originally committed as revision 12923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 13:22:21 +00:00
Bartlomiej Wolowiec
55736cfbd2 change ff_ac3_parse_header() to take a GetBitContext instead of const char*
Originally committed as revision 12922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 11:14:01 +00:00
Sisir Koppaka
0ec1eb6906 Add .longname to bfi_decoder declaration.
patch by Sisir Koppaka, sisir.koppaka gmail com

Originally committed as revision 12921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-22 09:16:05 +00:00
Keiji Costantini
b1d31e2f12 Force inlining of MPV_motion_internal.
Patch by strites: strites gmail com
Original thread: [FFmpeg-devel] [PATCH] Patch cleanup for MPEG 1 & 2 optimizations
Date: 04/06/2008 11:32 PM

Originally committed as revision 12918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-21 08:32:11 +00:00
Keiji Costantini
bd7c626ad0 Unroll codepath
Patch by strites: strites gmail com
Original thread: [FFmpeg-devel] [PATCH] Patch cleanup for MPEG 1 & 2 optimizations
Date: 04/06/2008 11:32 PM

Originally committed as revision 12917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-21 08:30:54 +00:00
Reimar Döffinger
b189e6705a Simplify ff_split_xiph_headers
Originally committed as revision 12914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-20 23:54:40 +00:00
Reimar Döffinger
58720ebd9e Add checks to ff_split_xiph_headers to ensure that returned header_len and
header_start values are always valid.
Fixes a crash with http://samples.mplayerhq.hu/ogg/mmw-deadzy.ogg
(still does not play though).

Originally committed as revision 12913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-20 23:33:49 +00:00
Vladimir Voroshilov
159ef4b02a Implement FFMAX3(a,b,c) - maximum over three arguments.
Originally committed as revision 12910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 17:07:58 +00:00
Ramiro Polla
bebfc16a31 Do not pass dct_block to vlc_decode_block().
The function uses dct_block from the context anyways.

Originally committed as revision 12908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 13:03:12 +00:00
Ramiro Polla
399e46527a Cosmetics and style.
Originally committed as revision 12907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 12:34:48 +00:00
Ramiro Polla
c9108634c4 Rename vlc1 to vlc.
There is no vlc2, so there is no point in numbering it.

Originally committed as revision 12906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 12:28:32 +00:00
Michael Niedermayer
144b5bdc70 Make most of E-AC-3 work without breaking regression tests.
Originally committed as revision 12903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 12:04:33 +00:00
Michael Niedermayer
8870cf8277 This fixes the code so it is correct on both sides of the if().
Originally committed as revision 12902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 11:14:55 +00:00
Michael Niedermayer
7bc5f6e53e indent
Originally committed as revision 12901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 10:48:50 +00:00
Diego Biurrun
12eef728bf Fix build of cputest test program.
Originally committed as revision 12899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 09:18:25 +00:00
Michael Niedermayer
e4d5a18558 100l I broke AC3 in MPEG seeking.
Originally committed as revision 12898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 02:58:36 +00:00
Michael Niedermayer
c087748f26 Part 2 of EAC3 support, this is still disabled as it breaks regressions
due to bugs elsewhere.

Originally committed as revision 12897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 02:29:27 +00:00
Michael Niedermayer
8629e7562d part 1 of EAC3 support
Originally committed as revision 12896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 02:28:24 +00:00
Michael Niedermayer
133ac890fb Add new_frame_start and need_next_header.
based on a patch by Bartlomiej

Originally committed as revision 12895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 01:59:55 +00:00
Michael Niedermayer
454064ad1e Change aac and ac3 parsers to use ff_combine_frame().
Originally committed as revision 12894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-19 01:50:40 +00:00
Matthieu Castet
e5ab737950 check alac EOF marker
Patch by Matthieu Castet castet matthieu free fr

Originally committed as revision 12891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-18 08:58:18 +00:00
Sisir Koppaka
2003d3da1a BFI video decoder.
Patch by Sisir Koppaka sisir koppaka gmail
Original thread: [FFmpeg-devel] BFI video decoder
Date: 04/17/2008 04:25 PM

Originally committed as revision 12890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-18 08:43:11 +00:00
Michael Niedermayer
8c731c9743 remove AACAC3FrameFlag
Originally committed as revision 12888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-18 03:09:01 +00:00
Diego Biurrun
37ff38c69f cosmetics: spelling
Originally committed as revision 12887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 22:06:06 +00:00
Diego Biurrun
0ddfbc73cc cosmetics: Sort some lists alphabetically.
Originally committed as revision 12886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 22:04:34 +00:00
Diego Biurrun
c88c253d8b cosmetics: __asm__ __volatile__ --> asm volatile
Originally committed as revision 12885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 21:57:52 +00:00
Vitor Sessak
010db10393 Remove another unneeded var from context
Originally committed as revision 12884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 21:03:26 +00:00
Vitor Sessak
4c63c597d8 10l: my last commit broke compilation and introduced warnings
Originally committed as revision 12883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 19:48:02 +00:00
Vitor Sessak
db08882e74 Remove unneeded variables from context
Originally committed as revision 12882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 19:45:14 +00:00
Vitor Sessak
8431603a51 Remove wrapper around av_log2()
Originally committed as revision 12881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 18:50:31 +00:00
Alexander Strange
f1ae14d20d Xvid IDCTs are not under CONFIG_GPL, so don't require it when using them.
Originally committed as revision 12880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 15:41:25 +00:00
Benoit Fouet
1beb670a2d fix a typo
Originally committed as revision 12879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 07:38:30 +00:00
Stefano Sabatini
716e31ea1a Make two comments doxygen compatible.
Patch by Stefano Sabatini stefano sabatini-lala poste it

Originally committed as revision 12878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 07:37:02 +00:00
Stefano Sabatini
56cce5bbff Add descriptive long_name to AVCodec
Patch by: stefano sabatini-lala poste it

Originally committed as revision 12876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 06:07:27 +00:00
Michael Niedermayer
1f655c4fe4 indent
Originally committed as revision 12875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 03:22:35 +00:00
Michael Niedermayer
5eeba07ec9 Factorize more code.
Originally committed as revision 12874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 03:21:15 +00:00
Michael Niedermayer
5a5a27c5de Factorize decode_postfix() out.
Originally committed as revision 12873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 03:08:25 +00:00
Michael Niedermayer
c49c5e23dc Change k limiting code, i think the code was buggy.
If you have ALAC files TEST them! Mine produce the same md5 but the new
code is not identical if limiting does happen.

Originally committed as revision 12872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 03:00:08 +00:00
Michael Niedermayer
59b377ac86 more senseless code
One wonders how such stuff gets past the reviews ...

Originally committed as revision 12871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 02:40:50 +00:00
Michael Niedermayer
26df3ba28c senseless code
Originally committed as revision 12870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 02:38:41 +00:00
Michael Niedermayer
ec04a74e70 useless variable
Originally committed as revision 12869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 02:35:00 +00:00
Michael Niedermayer
ea3372a256 simplify
Originally committed as revision 12868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-17 02:30:00 +00:00
Måns Rullgård
b153c68b8a fix building of test programs (make tests)
Originally committed as revision 12867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 21:50:41 +00:00
Diego Biurrun
80465c7eed cosmetics: Fix nonstandard indentation.
Originally committed as revision 12863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 20:51:39 +00:00
Jeff Downs
591d87babe Cosmetics:
Break long lines.
Correct spelling in comment (duplicatin -> duplicating)

Originally committed as revision 12862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 20:43:37 +00:00
Michael Niedermayer
efe6079d2d unused
Originally committed as revision 12859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 15:33:30 +00:00
Michael Niedermayer
3d00125645 cosmetic
Originally committed as revision 12858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 15:33:09 +00:00
Michael Niedermayer
a1b914b20d Move the *-1 to a more sane place as well.
Originally committed as revision 12857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 15:30:04 +00:00
Michael Niedermayer
5d32325a7b Move scale_bias to a more sane place. I am starting to wonder how this
trash got into svn ...

Originally committed as revision 12856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 15:28:11 +00:00
Michael Niedermayer
687550d35e simplify
Originally committed as revision 12855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 15:03:07 +00:00
Michael Niedermayer
5c65660506 Avoid reverse addressing, not sure if this is faster or slower but people
maybe are confused by it. The code needs to be optimized anyway.

Originally committed as revision 12854 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 14:59:23 +00:00
Michael Niedermayer
2f75d26c10 commutative law based cleanup
Originally committed as revision 12853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 14:55:11 +00:00
Michael Niedermayer
dcafb28d01 do the -1 outside of the transform
Originally committed as revision 12852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 14:49:10 +00:00
Michael Niedermayer
6fab025d30 normalize signs
Originally committed as revision 12851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 14:46:25 +00:00
Michael Niedermayer
115682e598 100l lost add_bias
Originally committed as revision 12849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 13:29:35 +00:00
Michael Niedermayer
e616c6d612 simplify transform
Originally committed as revision 12848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 13:28:13 +00:00
Jeff Downs
52cb7981e2 Redo r12838, this time using svn copy to create h264_i386.h from cabac.h.
Move decode_significance_x86() and decode_significance_8x8_x86() to
i386-specific file from cabac.h.
New file is h264-oriented and only included from h264.c
Resolves compilation when configured with --disable-optimizations due to
decode_significance_8x8_x86 using last_coeff_flag_offset_8x8, which is
only defined in h264.c

Originally committed as revision 12846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 04:40:21 +00:00
Jeff Downs
3aa9ede400 Revert 12838 to redo it the right way (use svn copy to create new
file based on old).

Originally committed as revision 12845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 04:26:52 +00:00
Alexander Strange
ad246860fa Test idct_xvid_sse2() in dct-test.
Originally committed as revision 12844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 01:54:16 +00:00
Alexander Strange
f73a6393e7 Add a new xvid-style IDCT using SSE2.
Originally committed as revision 12843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 01:36:14 +00:00
Alexander Strange
0e956ba277 Add a new IDCT permutation, used in xvid_sse2 and possibly future similar IDCTs.
Originally committed as revision 12842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-16 01:34:55 +00:00
Jeff Downs
e6cfd8fffb Move decode_significance_x86() and decode_significance_8x8_x86() to
i386-specific file from cabac.h.
New file is h264-oriented and only included from h264.c
Resolves compilation when configured with --disable-optimizations due to
decode_significance_8x8_x86 using last_coeff_flag_offset_8x8, which is
only defined in h264.c

Originally committed as revision 12838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-15 13:51:41 +00:00
Kostya Shishkov
f4bcc857cb DCA frame size is constant
Originally committed as revision 12835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-15 13:36:56 +00:00
Luca Barbato
3fbe711832 Eliminate movdqu in vp3dsp_sse2, patch from Alexander Strange astrangeAtithinkswDoTcom
Originally committed as revision 12824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 20:54:23 +00:00
Robert Marston
861c63a216 Maxis XA demuxer and decoder.
Patch by Robert Marston rmarston (\at/) gmail point com
Original thread: [FFmpeg-soc] [Patch] Maxis EA XA decoder - GSoC Task
Date: 04/08/2008 01:36 AM

Originally committed as revision 12817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 14:31:43 +00:00
Benoit Fouet
6f7b915a0d Indentation
Originally committed as revision 12816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 13:15:16 +00:00
Benoit Fouet
b65213c021 Support for BMP os2v1.
Originally committed as revision 12815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-14 13:13:08 +00:00
Sisir Koppaka
b64c096be9 BFI demuxer
Patch by Sisir Koppaka (sisir.koppaka at G.M!A.I!L.com)

Originally committed as revision 12808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-13 21:06:31 +00:00
Michael Niedermayer
8c2a4ddca3 ILP64 fixes (untested)
Originally committed as revision 12807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-13 16:11:36 +00:00
Diego Biurrun
e825656f1d Clear DIRS variable in common.mak, so it does not have to be cleared in
each subdirectory Makefile.

Originally committed as revision 12803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-13 10:37:30 +00:00
Diego Biurrun
7b1b3dc128 Unset DIRS after including subdir.mak so that the variable is not used
in the other subdirectory Makefiles.

Originally committed as revision 12801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-13 10:22:46 +00:00
Diego Biurrun
adc393503f Generate the list of files to clean in subdirectories in common.mak.
This way, it can be used from all directories.

Originally committed as revision 12800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-13 10:09:47 +00:00
Diego Biurrun
77405bb879 Simplify CLEANFILES generation.
Originally committed as revision 12798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-13 09:44:42 +00:00
Diego Biurrun
ba0dabbf1f Add explanatory comments to enum CodecID.
Originally committed as revision 12796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-13 07:48:43 +00:00
Michael Niedermayer
05adf49c7c Remove redundant &.
Originally committed as revision 12795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-13 00:05:38 +00:00
Alexander Strange
54a0b6e590 Add a header file to declare Xvid IDCT functions.
patch by Alexander Strange, astrange ithinksw com

Originally committed as revision 12794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-12 16:54:36 +00:00
Michael Niedermayer
59eeddf063 Crop parameters are unsigned, having them negative could be bad and lead
to crashes or maybe exploits (not checked at all if this is possible).

Originally committed as revision 12789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-11 12:57:49 +00:00
Michael Niedermayer
faf3dfb94b Avoid crash with idiotic cropping. Fixes crash with CVFC1_Sony_C.jsv
and closes issue333.

Originally committed as revision 12788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-11 12:55:21 +00:00
Keiji Costantini
54816a3e3f cosmetics: Break an overly long line.
patch by Keiji Costantini, lists strites net

Originally committed as revision 12783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 19:09:39 +00:00
Keiji Costantini
cb9501f4e3 cosmetics: Break some overly long lines.
patch by Keiji Costantini, lists strites net

Originally committed as revision 12782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 19:07:12 +00:00
Keiji Costantini
08c9bfbaf8 cosmetics: Break some overly long lines.
patch by Keiji Costantini, lists strites net

Originally committed as revision 12781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 10:40:01 +00:00
Benjamin Larsson
4a24837e07 Only set channels in the stream if previously unset, fixes resampling crash on broken dca frames
Originally committed as revision 12780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-10 06:15:17 +00:00
Bartlomiej Wolowiec
469d8816d6 undo changes in aac_ac3_parser
Originally committed as revision 12778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-09 22:11:21 +00:00
Loren Merritt
96275520a3 Fix H.264 interframe decoding when compiling with icc. Patch by Loren
Merritt:

"It seems that icc copies the constants from their global var onto the
stack, at which point they're not aligned, hence the crash.
[This change] really shouldn't mean anything different, but maybe it'll
confuse icc into not performing that 'optimization'."

Originally committed as revision 12772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-08 23:49:34 +00:00
Diego Biurrun
7fad8ed26f Fix reference to a file in MPlayer that was renamed.
Originally committed as revision 12770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-08 15:16:48 +00:00
Michael Niedermayer
782a58ece3 add CODEC_ID_DIRAC
Originally committed as revision 12769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-08 10:49:23 +00:00
Bartlomiej Wolowiec
e9089a5240 Correction of typo in aac_ac3_parser
Originally committed as revision 12768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-08 06:18:36 +00:00
Alexander Strange
8e5f465f4c Increase alignment for DCT block arrays from 8 to 16
Patch by Alexander Strange ( astrange ithinksw com )

Originally committed as revision 12767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-08 01:09:33 +00:00
Stefano Sabatini
0e5d511aeb Add a missing comma in tiff_encoder.pix_fmts
Patch by Stefano Sabatini ( stefano sabatini-lala poste it )

Originally committed as revision 12765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-08 00:57:12 +00:00
Måns Rullgård
8e255b8bda replace some ifeq with prettier ifdef
Originally committed as revision 12764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 22:17:47 +00:00
Måns Rullgård
dbe6c6ff00 append TESTS-yes to TESTS; one ifeq less
Originally committed as revision 12763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 22:17:44 +00:00
Måns Rullgård
71c61f62a3 non-recursive makefiles
Originally committed as revision 12760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 21:16:31 +00:00
Bartlomiej Wolowiec
c09ed33e18 Corrections of errors in aac_ac3_parser
Originally committed as revision 12759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 20:54:08 +00:00
Bartlomiej Wolowiec
0a5754c3b7 change of aac_ac3_parser, so it is able to send complete portion of data to decoder
Originally committed as revision 12758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-05 20:09:36 +00:00
Michael Niedermayer
39e9e6d940 Disable the split function. This should end the mpeg1/2 global header issues.
Originally committed as revision 12684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 00:43:34 +00:00
Michael Niedermayer
9b7ca3b71d Decode stuff from extradata as well.
Originally committed as revision 12675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 18:28:16 +00:00
Michael Niedermayer
7f8ef97534 Factorize code a little.
Originally committed as revision 12674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-03 18:25:07 +00:00
Aurelien Jacobs
7bfacd4e75 use common aac sample rate tables
Originally committed as revision 12671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-02 21:41:48 +00:00
Michael Niedermayer
6ea7e6516a Do not use the mlib IDCT by default. We do not want videos which are only
decodable with the mlib IDCT. If anyone knows of other IDCTs which are not
binary identical to a widely available one, ensure that they are not used
by default. Such IDCTs should never have been default anyway, but possibly
something slipped through the reviews ...

Originally committed as revision 12666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-02 11:47:00 +00:00
Baptiste Coudurier
bac47ae6ca use mpeg4audio common code in aac parser
Originally committed as revision 12665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-01 12:50:32 +00:00
Baptiste Coudurier
4d34bb19c1 mpeg4audio common code
Originally committed as revision 12662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-01 12:01:40 +00:00
Loren Merritt
ce53144bac h264 chroma mc ssse3
width8: 180->92, width4: 78->63 cycles (core2)

Originally committed as revision 12661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-01 04:51:28 +00:00
Eli Friedman
4e0af031f1 Remove flexible array member from Escape 124
Patch by Eli Friedman (eli friedman gmail com)

Originally committed as revision 12660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-01 01:28:26 +00:00
Diego Biurrun
4477dedc4f minor typo fixes
Originally committed as revision 12658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 17:31:11 +00:00
Diego Biurrun
1b41f26045 cosmetics: Write some Doxygen comments in a more compact fashion.
Originally committed as revision 12657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 17:30:50 +00:00
Diego Biurrun
7a74e06796 Fix a bunch of typos in comments.
Originally committed as revision 12656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 17:16:51 +00:00
Diego Biurrun
d8c0e9d588 Remove redundant #ifdef around the complete file.
Originally committed as revision 12655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 17:13:00 +00:00
Diego Biurrun
dd9c773bd9 Make XVMC compilation depend on HAVE_XVMC, not HAVE_XVMC_ACCEL.
Originally committed as revision 12654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 17:12:10 +00:00
Michael Niedermayer
1354fa6442 help gcc-2.95
Originally committed as revision 12652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 16:43:27 +00:00
Eli Friedman
40d2627306 Escape 124 (RPL) decoder
Patch by Eli Friedman (eli friedman gmail com)

Originally committed as revision 12648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 10:41:40 +00:00
Justin Ruggles
42ceeb5f3c remove redundant context variable
Originally committed as revision 12642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-31 00:29:52 +00:00
Jai Menon
cb21e0a715 8SVX decoder
Patch by Jai Menon (realityman <at> gmx.net)

Originally committed as revision 12632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 19:16:08 +00:00
Baptiste Coudurier
e516d3488a change rle encoder to count up to 127, sgi does not support 128
Originally committed as revision 12631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 17:27:58 +00:00
Justin Ruggles
fe790f89e8 Use 15-bit LPC precision by default. This generally gives better compression
results. Also update Ogg regression test.

Originally committed as revision 12630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 16:01:10 +00:00
Alexander Strange
55727a835b Altivec and SSE2 require 16-byte alignment, so make sure they get it
patch by Alexander Strange %astrange A ithinksw P com%

Originally committed as revision 12629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 10:30:33 +00:00
Alexander Strange
3794b92819 check mm_flags for each DCT and skips the ones that can't be run
patch by Alexander Strange %astrange A ithinksw P com%

Originally committed as revision 12628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 10:29:28 +00:00
Alexander Strange
1a7ee380c5 get rid of the useless DCT_ERROR() macro
patch by Alexander Strange %astrange A ithinksw P com%

Originally committed as revision 12627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-30 10:28:03 +00:00
Michael Niedermayer
f3eec1cf52 Fix closed gop flag disapearence.
Originally committed as revision 12625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-29 22:27:25 +00:00
Bartlomiej Wolowiec
79b25a27b8 change name from stream type to frame type in AC3 code
Originally committed as revision 12623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-28 20:42:55 +00:00
Bartlomiej Wolowiec
be1e2a2bfa removal of stream_type in AACAC3ParseContext and adding AACAC3FrameFlag
Originally committed as revision 12622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-28 19:59:58 +00:00
Justin Ruggles
509fdb0b7e only allocate context input buffer if AVCodecContext.error_reslience is greater than 0.
Originally committed as revision 12600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-26 22:36:41 +00:00
Justin Ruggles
984ff38a2b cosmetics: indentation after last commit
Originally committed as revision 12594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 23:34:49 +00:00
Justin Ruggles
c33a196716 additional protection from segmentation faults and memory access errors by
copying the input buffer to a local context buffer which is large enough to
hold the largest possible AC3 frame.

Originally committed as revision 12593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 23:34:00 +00:00
Diego Biurrun
a815037409 Classify mlib as a configurable option, not as a hardware feature.
Originally committed as revision 12589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 21:30:16 +00:00
Andy Gocke
1f96bafb27 Return an error when realloc fails.
Patch by Andy Gocke (agocke gmail com)

Originally committed as revision 12581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 14:48:18 +00:00
Alexander Strange
28c47a423b Set mm_flags in dct-test to fix floating math.
Patch by Alexander Strange \astrange ithinksw com/

Originally committed as revision 12580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 14:34:27 +00:00
Michael Niedermayer
978805b2c5 Fix possible heap overflow caused by av_fast_realloc()
Originally committed as revision 12579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-25 10:15:17 +00:00
Bartlomiej Wolowiec
eb538f6ec9 adding lacking include to aac3_parser.c
Originally committed as revision 12572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-24 22:25:30 +00:00
Bartlomiej Wolowiec
6808a8eaf2 using EAC3_STREAM_TYPE_* instead of numbers
Originally committed as revision 12571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-24 22:21:22 +00:00
Bartlomiej Wolowiec
4e6eeaf019 using stream type in eac3 parser
Originally committed as revision 12570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-24 21:25:49 +00:00
Matthieu Castet
b4e806b2b9 pld instruction are used in libavcodec/armv4l/dsputil_arm_s.S which can be used
on armv4 that doesn't support this instruction. Futhermore pld is a nop on some
armv5 processor like arm926. Detect if pld is supported and have the
preprocessor remove it when it's not supported.
Fixes issue 393.
patch by matthieu castet, castet.matthieu free fr

Originally committed as revision 12569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-24 11:49:59 +00:00
Justin Ruggles
c599e297e7 Pass AACAC3ParseContext to sync() instead of individual arguments. Patch by
Bartlomiej Wolowiec (bartek wolowiec gmail com)

Originally committed as revision 12564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-23 15:43:29 +00:00
Diego Biurrun
170c0b455c Fix typo in variable name: blured --> blurred.
Originally committed as revision 12556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 17:34:29 +00:00
Diego Biurrun
04932b0d97 cosmetics: typo fixes
Originally committed as revision 12554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 16:46:36 +00:00
Diego Biurrun
d952638699 typo: occured --> occurred
Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-22 01:06:57 +00:00
Sascha Sommer
975cdc8fc1 rl2 decoder
Originally committed as revision 12543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 13:45:55 +00:00
Zuxy Meng
9e8e6d318c Add missed call to ff_cavsdsp_init_3dnow() in dsputil_init_mmx()
Originally committed as revision 12540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 12:36:49 +00:00
Michael Niedermayer
c8cf325a9b Document AVCodec.flush()
Originally committed as revision 12539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 11:40:05 +00:00
Michael Niedermayer
a2d1124605 Document AVCodec.capabilities.
Originally committed as revision 12538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 11:35:32 +00:00
Zuxy Meng
9f6152dfdb Apply 'alloc_size' attribute to ff_realloc_static()
Originally committed as revision 12527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 04:48:59 +00:00
Zuxy Meng
c02a1b3593 Apply 'alloc_size' and 'malloc' attributes to av_mallocz_static()
Originally committed as revision 12526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 03:54:45 +00:00
Zuxy Meng
98a6fff98c Apply 'cold' attribute to init/uninit functions in libavcodec
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 03:11:20 +00:00
Diego Biurrun
77ab59eb7f two more typos spotted by Mike
Originally committed as revision 12524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 19:36:20 +00:00
Diego Biurrun
c2f178da71 british_english--;
Originally committed as revision 12522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 19:08:42 +00:00
Michael Niedermayer
8474f58e8b More complete documentation for AVFrame.reference.
Originally committed as revision 12518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 18:16:13 +00:00
Michael Niedermayer
943032b155 Hardcode register to prevent aparent miscompilation.
Fixes regression tests with gcc 2.95.

Originally committed as revision 12512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 14:24:29 +00:00
Michael Niedermayer
dea00a4623 remove unused temp
Originally committed as revision 12511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 14:09:31 +00:00
Baptiste Coudurier
6122b733e9 omg, fix compilation
Originally committed as revision 12509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 09:38:55 +00:00
Baptiste Coudurier
d0ed455f19 correctly set avctx->frame_size for mp3on4 and mp3adu
Originally committed as revision 12508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 09:36:04 +00:00
Ramiro Polla
956330452b Remove useless variable since r8456.
Originally committed as revision 12493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 20:14:57 +00:00
Ramiro Polla
a7129de51b Mimic decoder.
Originally committed as revision 12491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 19:51:34 +00:00
Måns Rullgård
b55aa9a904 get register names from x86_cpu.h
Originally committed as revision 12482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 23:08:19 +00:00
Måns Rullgård
a62a1c3152 use HAVE_FAST_64BIT
Originally committed as revision 12480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 23:08:14 +00:00
Måns Rullgård
ea68e33469 cosmetics: remove useless \-newline escapes
Originally committed as revision 12479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 21:00:30 +00:00
Måns Rullgård
4f54a3b8b4 indentation
Originally committed as revision 12478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 19:22:31 +00:00
Måns Rullgård
844ea46aeb clean up FFT SIMD selection
Originally committed as revision 12477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 19:22:28 +00:00
Måns Rullgård
d85d7a0be7 mpegvideo_armv5te.o belongs to OBJS, not ASM_OBJS
Originally committed as revision 12467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 02:33:08 +00:00
Måns Rullgård
5550eba88d typo: add missing \ in multi-line macro
Originally committed as revision 12466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 02:33:05 +00:00
Måns Rullgård
e6b790f9e7 fix typo ARCH_PPC -> ARCH_POWERPC
Originally committed as revision 12465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 02:33:02 +00:00
Diego Biurrun
b0605329c9 Move functions that are only used when libswscale is not compiled in below
the appropriate #ifdef. This avoids a bunch of "defined but not used" warnings
when compiling with libswscale enabled.

Originally committed as revision 12463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-16 17:34:31 +00:00
Måns Rullgård
77f11d8a4c improve precision in mdct.c using double for some temporaries
Originally committed as revision 12457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-16 13:15:42 +00:00
Diego Biurrun
bd10713636 typo fixes
Originally committed as revision 12449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 16:15:47 +00:00
Dave Yeo
b96644bfe3 Add attribute_align_arg to os2thread.c.
Patch by Dave Yeo.

Originally committed as revision 12447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 12:28:35 +00:00
Ramiro Polla
69b192acb8 Typo
Originally committed as revision 12446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-15 12:24:31 +00:00
Diego Biurrun
b2c26e2717 Use correct t printf modifier for pointer differences.
Originally committed as revision 12442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-14 13:19:39 +00:00
Baptiste Coudurier
99c763d143 log aspect ratio forbidden value, and fail if error resilience is high
Originally committed as revision 12438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-14 09:33:38 +00:00
Baptiste Coudurier
a2338352be do not fail badly if aspect ratio is 0/forbidden, fix issue 369
Originally committed as revision 12434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 18:26:53 +00:00
Diego Biurrun
bfb80dbe21 This file does not use size_t, so no need to #include <sys/types.h>.
Originally committed as revision 12432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 18:10:58 +00:00
Michael Niedermayer
9d2cc8c1ee If consumed does not match nalsize, favor nalsize.
Fixes issue385.

Originally committed as revision 12430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 01:49:19 +00:00
Diego Biurrun
6ef2912879 Add missing stdint.h #include to headers that use it.
Originally committed as revision 12429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-13 00:20:15 +00:00
Diego Biurrun
2cab640129 typo fixes
Originally committed as revision 12428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-12 23:58:46 +00:00
Justin Ruggles
98f6dfa653 make input buffer const, as it should be. fixes a warning.
Originally committed as revision 12418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 21:59:30 +00:00
Diego Biurrun
7ce6892373 misc spelling fixes
Originally committed as revision 12410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 18:42:09 +00:00
Diego Biurrun
13ca50f367 Rename --enable-swscaler --> enable-swscale to be consistent with the
directory name and other option names. Also rename variables accordingly.

Originally committed as revision 12408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 17:54:24 +00:00
Mike Melanson
32c3047cac These video decoders do not need to include and initialize the DSP
support functions.

Originally committed as revision 12406 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 03:07:44 +00:00
Mike Melanson
d61af67aa1 There is no reason to assign a variable to itself
Originally committed as revision 12405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 03:07:15 +00:00
Michael Niedermayer
1637930fe6 smaller tables
Originally committed as revision 12402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 00:27:40 +00:00
Aurelien Jacobs
9701840bb5 add FF_ prefix to all (frame)_TYPE usage
Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 23:31:02 +00:00
Justin Ruggles
38dae9c3a6 downmix before imdct unless different size transforms are used. about 20%
faster 5.1-to-stereo downmixing.

Originally committed as revision 12397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 17:05:19 +00:00
Kostya Shishkov
811d914652 indentation
Originally committed as revision 12395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 14:16:27 +00:00
Kostya Shishkov
1ba3bae800 Correctly handle empty frames
Originally committed as revision 12394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 14:15:40 +00:00
Kostya Shishkov
8c908d7d61 Fraps v5 decoding support
Originally committed as revision 12393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 09:04:35 +00:00
Kostya Shishkov
6a02cb8239 Add step variable (for future v5 decoding)
Originally committed as revision 12392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-09 09:03:23 +00:00
Diego Biurrun
e73e4e75f9 cosmetics: Fix indentation in a few more places.
Originally committed as revision 12381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 20:27:16 +00:00
Diego Biurrun
ef3dfbd427 cosmetics: Normalize {} placement after for, while, if.
Originally committed as revision 12380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 20:24:24 +00:00
Aurelien Jacobs
a73cbf9709 huffman: add a zero_count flag and use it in fraps
fixes issue349

Originally committed as revision 12374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 18:08:16 +00:00
Aurelien Jacobs
bac02ed3c5 huffman: pass hnode_first as a flag instead of as an argument on its own
Originally committed as revision 12373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 17:57:13 +00:00
Mark Cox
8d06bd53f8 Fix unused variable warnings.
patch by mark cox, melbournemark+ffmpeg gmail.com

Originally committed as revision 12370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 17:18:28 +00:00
Diego Biurrun
9b25f4a65f cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
Originally committed as revision 12364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 14:39:43 +00:00
Ramiro Polla
5dea940937 __stdcall -> WINAPI
Windows x64 has no __stdcall.
It is not yet supported, but someday it might...

Originally committed as revision 12363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 19:47:44 +00:00
Måns Rullgård
0e32c8c65a simplify library version handling
Originally committed as revision 12362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 19:27:17 +00:00
Baptiste Coudurier
cbaf50f850 indentation
Originally committed as revision 12356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 23:10:47 +00:00
Baptiste Coudurier
7ee4dd0282 do not display par and dar if not available
Originally committed as revision 12355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 23:09:16 +00:00
Måns Rullgård
5671fc14f6 consolidate CFLAGS, LDFLAGS, EXTRALIBS assignment
Originally committed as revision 12354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 20:44:44 +00:00
Panagiotis Issaris
d42a814ef1 Make av_class a pointer to a const AVClass. Addresses one warning in
imgresample.c.

Originally committed as revision 12352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 17:41:31 +00:00
Benjamin Larsson
ebf71dbda5 Don't use unchecked data from the bitstream.
Originally committed as revision 12351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 14:22:02 +00:00
Baptiste Coudurier
30400f0d03 fix interlaced decoding, original patch from reimar
Originally committed as revision 12349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 09:45:59 +00:00
Kostya Shishkov
9dc92a38a0 IMA ADPCM encoder - QT variant
Originally committed as revision 12348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 07:30:41 +00:00
Aurelien Jacobs
9822564d1d make compilation of mpeg12* and mpegvideo conditional
Originally committed as revision 12345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 21:43:30 +00:00
Aurelien Jacobs
6cbe71bd06 move ff_mpeg1_dc_scale_table to mpegvideo.c
Originally committed as revision 12344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 21:29:15 +00:00
Aurelien Jacobs
5a4334618c add dependencies for matroska audio and nut muxers over lavc
Originally committed as revision 12339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 16:34:47 +00:00