Commit Graph

8478 Commits

Author SHA1 Message Date
Reynaldo H. Verdejo Pinochet
f29289eec7 Change to file description suggested by Michael
Originally committed as revision 15837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-16 00:05:20 +00:00
Benjamin Larsson
92765276fb Proper channel output reordering for the dca decoder.
Originally committed as revision 15832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-15 20:31:03 +00:00
Reynaldo H. Verdejo Pinochet
8257d2ad51 Please keep original copyright heading and attribution lines...
Originally committed as revision 15831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-15 20:19:20 +00:00
Kostya Shishkov
70f42303e7 Weak deblock filter function for future RV40 loop filter
Originally committed as revision 15827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-15 14:15:24 +00:00
Kenan Gillet
39ded68013 More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-14 17:36:47 +00:00
Baptiste Coudurier
70a61f8cf7 remove useless mmx.h include
Originally committed as revision 15820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-14 02:49:23 +00:00
Baptiste Coudurier
d45be17855 convert fdct_mmx to plain asm
Originally committed as revision 15819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-14 02:44:15 +00:00
Justin Ruggles
e202cc2580 revert r15812 (E-AC-3 Spectral Extension) pending further review
Originally committed as revision 15818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 22:38:38 +00:00
Baptiste Coudurier
83534418f0 add sse2 fdct
Originally committed as revision 15817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 19:54:02 +00:00
Carl Eugen Hoyos
74e8b78b20 Fix H.264 decoding.
(Problem analyzed by Uoti Urpala)

Originally committed as revision 15816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 11:33:26 +00:00
Justin Ruggles
3f3ca7ac07 cosmetics: vertical alignment
Originally committed as revision 15815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:28 +00:00
Justin Ruggles
c763f86728 silence a gcc warning about using an uninitialized variable
Originally committed as revision 15814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:24 +00:00
Justin Ruggles
66561189a1 cosmetics: indentation
Originally committed as revision 15813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:18 +00:00
Justin Ruggles
0cc51734b2 add support for spectral extension
Originally committed as revision 15812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:13 +00:00
Justin Ruggles
0c5d750df9 add a generic function to decode banding structure for coupling, spectral
extension, or enhanced coupling

Originally committed as revision 15811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:07 +00:00
Justin Ruggles
6c6f927289 add a line break in error message text
Originally committed as revision 15810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:18:01 +00:00
Justin Ruggles
6ee6d068f7 simplify decoding of coupling frequency range
Originally committed as revision 15809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:17:56 +00:00
Justin Ruggles
24834c1928 cosmetics: rename two variables
Originally committed as revision 15808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-13 03:17:50 +00:00
Roman Shaposhnik
2ae7e12430 Taking advantage of the new ->execute API
Originally committed as revision 15806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 21:13:28 +00:00
Måns Rullgård
77753f874a ARM: fix j_rev_dct_ARM
This is a bugfix for ARMv4 assembly implementation of 'j_rev_dct'
function.

The problem was in the incorrect partially empty row detection. Even
if the first two coefficients in the row were nonzero, it handled this
just like the case with only the first nonzero coefficient.

Now this function produces exactly the same output as the stripped
down reference C version of 'j_rev_dct' (with the nested checks like
'if (d6) { if (d2) { ...' always evaluated as true, avoiding shortcut
branches).

Originally committed as revision 15805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 20:23:36 +00:00
Roman Shaposhnik
3a84713aaa Making it easier to send arbitrary structures as work orders to MT workers
Originally committed as revision 15804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 17:47:23 +00:00
Diego Biurrun
52ece41057 Remove unused variable.
Originally committed as revision 15803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 17:29:02 +00:00
Kenan Gillet
200de8c6bb More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-11 18:50:38 +00:00
Benjamin Larsson
e22192ecc3 Comment typo
Originally committed as revision 15801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-11 08:46:29 +00:00
Benjamin Larsson
cd027b511e Remove channel layout table that only should be used by encoders.
Originally committed as revision 15800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-11 08:30:32 +00:00
Martin Storsjö
916ff02261 Fix memory leak in libgsm wrapper.
Patch by Martin Storsjö, martin at martin dot st

Originally committed as revision 15798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-10 20:02:00 +00:00
Kenan Gillet
2ae1a9b264 More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-09 12:00:47 +00:00
Kostya Shishkov
502ecc97af Split RV3/4 deblock pattern into horizontal and vertical parts
during calculating.

Originally committed as revision 15794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 18:15:13 +00:00
Kostya Shishkov
ede0a5f973 Drop redundant check in RV3/4 deblock coefficients calculation
Originally committed as revision 15792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 07:24:56 +00:00
Peter Ross
28245435d9 Electronic Arts TGQ/TQI/MAD IDCT algorithm
Originally committed as revision 15790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:38:10 +00:00
Peter Ross
42b30357be Electronic Arts TGQ video decoder
Originally committed as revision 15789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:29:22 +00:00
Roman Shaposhnik
c3d470b4a9 implementing more efficient (and direct) allocation of work for DV codec workers
Originally committed as revision 15788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:18:00 +00:00
Peter Ross
939e4e3a72 Promote inv_aanscales array to global scope (ff_inv_aanscales)
Originally committed as revision 15787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:15:08 +00:00
Kostya Shishkov
e122311261 Calculating an additional MV-based deblocking pattern is the same
for both RV3 and RV4, so move it into common code.

Originally committed as revision 15786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-07 07:18:22 +00:00
Måns Rullgård
d00e8b83f1 ARM: change MUL16() macro to inline function
Originally committed as revision 15783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:28 +00:00
Måns Rullgård
b911711571 ARM: prettify MAC16() macro
Originally committed as revision 15782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:26 +00:00
Måns Rullgård
73c1c96b83 ARM: change MULH() macro to inline function
Originally committed as revision 15781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:23 +00:00
Måns Rullgård
8f4d0d48b9 ARM: change MULL() macro to inline function
Originally committed as revision 15780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:20 +00:00
Måns Rullgård
96dea17a1d ARM: mathops.h whitespace cosmetics
Originally committed as revision 15779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:17 +00:00
Diego Biurrun
7fb9440674 Add missing #include "libavutil/avstring.h", fixes
libavcodec/utils.c:1139: warning: implicit declaration of function 'av_strlcat'

Originally committed as revision 15777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-05 23:28:41 +00:00
Alex Converse
d0ee50216d Fix perceptual noise shaping scaling including an oversight of the offset for
the EIGHT_SHORT window type. Fixes issue 664.

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 15776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-05 13:59:42 +00:00
Diego Biurrun
c2dec19420 Fix test program build: ff_eval was replaced by ff_eval2.
Originally committed as revision 15775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-05 13:32:06 +00:00
Andreas Öman
b09a7c05f6 h264: Implement decoding of picture timing SEI message.
Now correct values are propagated to interlaced_frame, top_field_first
and repeat_pict in AVFrame structure.

patch by ffdshow tryouts

Originally committed as revision 15773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-04 18:31:48 +00:00
Andrew Savchenko
9f0a705d46 Only warn about "Invalid and inefficient vfw-avi packed B frames" once.
Patch by Andrew Savchenko, Bircoph at list dot ru

Originally committed as revision 15772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-04 06:54:42 +00:00
Diego Biurrun
9f879620be Fix illegal identifier, __ are reserved for the system.
Originally committed as revision 15771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-03 21:59:35 +00:00
Dominik Mierzejewski
82d1605fe7 Remove duplicated MM_* macros for CPU capabilities from dsputil.h.
Add missing one for FF_MM_ALTIVEC to avcodec.h.
Rename all the occurences of MM_* to the corresponding FF_MM_*.

Originally committed as revision 15770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-03 18:08:00 +00:00
Benjamin Larsson
c6eaba62e8 Change the dca channel layout, S -> SIDE not BACK.
Originally committed as revision 15769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-02 21:51:27 +00:00
Andreas Öman
9d9b9d32e6 Change multichannel API define prefix from "CHANNEL_" to "CH_".
Originally committed as revision 15768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-02 21:04:28 +00:00
Benjamin Larsson
48dc2fb800 Guess channel layout based on the number of channels if a custom layout is specified in amode.
Originally committed as revision 15766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-01 20:49:37 +00:00
Benjamin Larsson
87c3b9bce3 Add channel layouts for dca.
Originally committed as revision 15765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-01 20:27:05 +00:00
Kostya Shishkov
b215365817 Introduce RV3-specific motion vector prediction.
Now B-frames in RV3 look almost correct.

Originally committed as revision 15764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-01 17:57:44 +00:00
Peter Ross
0d72e7d0ae Add audio channel layout API to libavcodec.
Originally committed as revision 15762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-01 05:03:42 +00:00
François Revol
3a57547e33 Fix build.
Originally committed as revision 15761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-31 19:31:36 +00:00
Kenan Gillet
cb377ec55e OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 22:37:18 +00:00
Kenan Gillet
6cd911f11a Fix numbers in Doxygen comments, patch by Kenan Gillet, kenan.gillet gmail com.
Originally committed as revision 15758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 22:32:43 +00:00
Vitor Sessak
08c433972e Use ff_dot_productf() in ra288.c
Originally committed as revision 15757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 22:24:40 +00:00
Diego Biurrun
3ef08e321a Remove nonsense @return Doxygen comment for void function.
Originally committed as revision 15756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 22:12:43 +00:00
Diego Biurrun
88df35d3e8 cosmetics: small spelling fixes
Originally committed as revision 15755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 22:11:30 +00:00
Kenan Gillet
1fb0d4b8a6 Add a LPC filter
Part of the QCELP patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 21:05:37 +00:00
Kenan Gillet
0bc484ad51 Add ff_dot_productf() to celp_math.{c,h}
Part of the QCELP patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 21:04:17 +00:00
Kenan Gillet
8c31f18bf9 More OKed parts of QCELP data tables
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 21:00:01 +00:00
Roman Shaposhnik
0e60e19019 renaming macro in order to conform with the rest of libavcodec
Originally committed as revision 15751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 15:43:00 +00:00
Art Clarke
bc48bb0822 Remove unused variable, patch by Art Clarke, aclarke vlideshow com.
Originally committed as revision 15748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 09:13:48 +00:00
Kostya Shishkov
5f621dd28a Correct motion vector scaling in B-frames for RV3/4
Originally committed as revision 15747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 06:08:47 +00:00
Diego Biurrun
1fcb9be39a asm() --> __asm__() in #warning comment
Originally committed as revision 15746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-29 23:44:40 +00:00
Diego Biurrun
01f54021dc Add missing headers to pass 'make checkheaders'.
Originally committed as revision 15745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-29 23:43:55 +00:00
Art Clarke
a9a8c830cf Fix av_picture_copy missing pixels on packed planar AVPictures with odd size.
patch by Art Clarke, aclarke vlideshow com

Originally committed as revision 15744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-29 23:07:49 +00:00
Michael Niedermayer
bf2cdefc6a Reset state after some frame header is found.
Fixes issue704

Originally committed as revision 15742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-29 21:08:14 +00:00
Kenan Gillet
ba26cfab47 OKed parts of QCELP data tables
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-29 06:26:56 +00:00
Diego Biurrun
2be3fe39bf Add the function declaration of ff_svq1_packet_checksum to svq1.h and include
svq1.h where this function is used. Fixes the warning:
libavcodec/svq3.c:862: warning: implicit declaration of function ‘ff_svq1_packet_checksum’

Originally committed as revision 15737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-28 23:11:59 +00:00
Michael Niedermayer
b735aeead8 Replace literally hardcoded max slice number by named constant.
Originally committed as revision 15736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-28 22:50:16 +00:00
Benjamin Larsson
d5b3a86393 Fix compilation, remove stray ;
Originally committed as revision 15735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-28 15:20:52 +00:00
Benjamin Larsson
9ed73b4870 Fix selection of quant step table
Originally committed as revision 15734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-28 14:50:46 +00:00
Benjamin Larsson
6f02853d14 Fix huffman coded dca samples.
Originally committed as revision 15733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-28 14:43:06 +00:00
Kostya Shishkov
42d6c3ba36 Detect split RV30 slices
Originally committed as revision 15732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-28 05:37:02 +00:00
Kostya Shishkov
2ee054c215 Fix chroma motion compensation for RV30
Originally committed as revision 15731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 19:07:39 +00:00
Diego Pettenò
782fc0c36f Rename template included sources from .h to _template.c.
There are multiple source files that are #include'd rather than
compiled, as they are used as template for generation of similar code,
like asm-optimised code. Some of these files are right now named with
a .h extension, although they are not header in any reasonable sense.

Rename them so that instead of being named with .h extension they are
named with _template.c as final part.

Originally committed as revision 15730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 14:35:58 +00:00
Måns Rullgård
d2d398590d ARM: move add_pixels_clamped_ARM() to dsputil_arm_s.S
Originally committed as revision 15728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 00:25:19 +00:00
Måns Rullgård
83ad74e708 ARM: move VFP DSP functions to dsputils_vfp.S
Originally committed as revision 15727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 00:25:16 +00:00
Måns Rullgård
a648516b95 ARM: move prefetch_arm to dsputil_arm_s.S
Originally committed as revision 15726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 00:25:12 +00:00
Måns Rullgård
c130bedc99 ARM: use new macros for assembler function labels
Originally committed as revision 15725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 00:25:09 +00:00
Måns Rullgård
c72ab30188 ARM: add some assembler convenience macros
Originally committed as revision 15724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-27 00:25:06 +00:00
Baptiste Coudurier
c48649242d svq3 watermark code now needs zlib
Originally committed as revision 15719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 23:41:00 +00:00
Baptiste Coudurier
1e002b602f svq3 watermark decoding support, based on reverse engineering work by chrono
Originally committed as revision 15718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 23:34:44 +00:00
Måns Rullgård
ede725104b cosmetic: align backslashes in makefiles
Originally committed as revision 15717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 15:21:45 +00:00
Måns Rullgård
864ac5d648 Merge OBJS-$(FOO) lists with same FOO
Originally committed as revision 15716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 14:26:28 +00:00
Benjamin Larsson
ba5fc967f6 Disable codec downmix when not using simd instead of silently produce silence
Originally committed as revision 15715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 10:14:16 +00:00
Benjamin Larsson
1402ee721a Fix dca decoder with non simd float2int16 conversion
Originally committed as revision 15714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 09:54:53 +00:00
Benjamin Larsson
49c91c34b3 Fix compilation with TRACE
Originally committed as revision 15713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 09:50:15 +00:00
Aurelien Jacobs
590bd200dd remove useless ifdeffery, tscc won't do anything useful without zlib
Originally committed as revision 15711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 18:37:50 +00:00
Aurelien Jacobs
bee764ec6b svq3: remove unused include
Originally committed as revision 15709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 17:17:08 +00:00
Måns Rullgård
c87348a922 Use OBJS variable for all object files
There is no longer any need to differentiate the object files
by source type.

Originally committed as revision 15708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 14:00:28 +00:00
Måns Rullgård
4f03499329 Add CONFIG_GOLOMB and auto-select when needed
Originally committed as revision 15706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 13:51:47 +00:00
Måns Rullgård
47a158cb8b Auto-enable CONFIG_MDCT when needed
Originally committed as revision 15705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 13:51:43 +00:00
Diego Biurrun
6e587953b9 cosmetics: Change the order of mlp parser objects to be consistent.
Originally committed as revision 15697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 01:28:29 +00:00
Diego Biurrun
a79d1aed48 Move declaration of mlp decoder dependency on mlp parser to the Makefile
where all other such dependencies are declared.

Originally committed as revision 15696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-25 01:21:43 +00:00
Måns Rullgård
b6bb00b07d Build MMX/SSE FFT only if CONFIG_FFT is set
Originally committed as revision 15692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 23:18:21 +00:00
Måns Rullgård
1848f7d9f9 Auto-enable CONFIG_FFT for codecs that need it
Originally committed as revision 15686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:44:54 +00:00
Diego Biurrun
f94036f159 prettyprinting cosmetics
Originally committed as revision 15682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:41:27 +00:00
Diego Biurrun
75f2c20983 spelling cosmetics
Originally committed as revision 15681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:37:06 +00:00
Kenan Gillet
4599d22c0c Split off celp_filters.[ch] from acelp_filters.[ch] for the QCELP decoder.
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:29:23 +00:00
Kenan Gillet
60c25a4beb Rename acelp_math.[ch] to celp_math.[ch] to prepare for QCELP decoder merge.
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 21:20:29 +00:00
David Conrad
ae14f311f8 Speex decoding via libspeex
Originally committed as revision 15676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 06:29:05 +00:00
Kostya Shishkov
60ce2f9cae Choose RV3/4 DC quantizer correctly
Originally committed as revision 15675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 06:17:18 +00:00
Baptiste Coudurier
da396bf84e dnxhd parser
Originally committed as revision 15673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 01:38:30 +00:00
Baptiste Coudurier
98a8ce4964 add state64 field to ParseContext storing last 8 bytes, to be able to check for longer startcodes
Originally committed as revision 15671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-23 17:12:41 +00:00
Benoit Fouet
e7f3c72212 Revert r15653.
Was "Copy pts for each raw encoded frame."
It causes problems as timestamps management when video sync is zero needs
rework in ffmpeg.c.

Originally committed as revision 15669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-23 07:30:16 +00:00
Aurelien Jacobs
37d3e0667a uses FF_ARRAY_ELEMS() where appropriate
Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-21 21:40:24 +00:00
Reimar Döffinger
31c4f07017 Use x86_reg type instead of long in float_to_int16 MMX/SSE functions.
Fixes compilation on MinGW64.

Originally committed as revision 15655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-20 16:05:29 +00:00
Michael Niedermayer
c8714ea1b3 Use av_freep() in ff_parse_close().
Originally committed as revision 15654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-20 09:02:55 +00:00
Andrew Wason
772581680c Copy pts for each raw encoded frame.
Patch by Andrew Wason rectalogic rectalogic com
Fixes issue 676

Originally committed as revision 15653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-20 07:35:17 +00:00
Kostya Shishkov
ccfe8ae310 34l: free RV3/4 context variables at the end
Originally committed as revision 15652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-20 05:59:50 +00:00
Kostya Shishkov
def4f63b85 RV3 and RV4 decoders set some deblocking coefs for each macroblock,
so store them in the context and register a function to calculate them.

Originally committed as revision 15651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-20 05:58:05 +00:00
Kostya Shishkov
c0b821befb Mark some of RV3/4 block types as having separate DC subblock
Originally committed as revision 15650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-20 05:54:31 +00:00
David Conrad
0dba1995bc Cosmetics: reindent
Originally committed as revision 15644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-19 04:44:24 +00:00
David Conrad
ca4a4ac1b3 Combine non-bitexact sections
Originally committed as revision 15643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-19 04:43:35 +00:00
David Conrad
daa1ea049a VP3 loop filter is mmx2 not mmx
Originally committed as revision 15642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-19 04:40:24 +00:00
David Conrad
357f45d9bc MMX VP3 Loop Filter
Originally committed as revision 15630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-17 03:18:08 +00:00
Diego Pettenò
be449fca79 Convert asm keyword into __asm__.
Neither the asm() nor the __asm__() keyword is part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).

Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 syntax.

Originally committed as revision 15627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-16 13:34:09 +00:00
Bartłomiej Wołowiec
757d91a6e6 Use of new bitstream in vorbis_enc.c.
Patch by Bartłomiej Wołowiec b wolowiec AT students mimuw edu pl

Originally committed as revision 15622 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-15 08:01:54 +00:00
Benoit Fouet
a6080be7a2 Cosmetics: fix indentation after previous commit.
Originally committed as revision 15621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-15 07:31:06 +00:00
Nicolas George
9c8f0768e3 Add a flag to avoid calling vorbis_analysis_wrote twice with an empty buffer.
Patch by Nicolas George: name surname normalesup org

Originally committed as revision 15620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-15 07:29:37 +00:00
Michael Niedermayer
e46a98271e Include zlib.h as it is needed for watermark support,
patch by baptiste based on reverse engineering work by chrono.

Originally committed as revision 15618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-14 20:42:54 +00:00
Michael Niedermayer
795bb9dcb0 Export svq1_packet_checksum() that is needed for svq3 watermarks,
patch by baptiste that is based on reverse engineering work by chrono.

Originally committed as revision 15617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-14 20:34:31 +00:00
Michael Niedermayer
1fdcdf8d87 Add variable to hold the svq3 watermarking key,
patch by baptiste that is based on reverse engineering by chrono.

Originally committed as revision 15616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-14 20:30:11 +00:00
Ralf Terdic
5c4e97282f Fix mem leak.
Patch by Ralf Terdic contact >AT< jswiff com

Originally committed as revision 15612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-13 13:47:05 +00:00
Carl Eugen Hoyos
95240bf3e3 Fix some icc warnings by using enum PixelFormat instead of int where appropriate.
Originally committed as revision 15611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-13 07:42:11 +00:00
Aurelien Jacobs
40056c32df vp6dec: ensure we don't try to use a buffer with negative size
this should never happen in valid vp6 bitstream
fix issue684

Originally committed as revision 15610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-13 00:10:53 +00:00
Carl Eugen Hoyos
3bd9f70835 Use PIX_FMT_NONE instead of -1 in AVCodec.pix_fmts.
Originally committed as revision 15604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 20:22:55 +00:00
David Conrad
c5f67c1559 Remove unused variables
Originally committed as revision 15602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-12 19:41:17 +00:00
Ramiro Polla
f2e5786771 nellymoserenc: flush PutBitContext after use.
Originally committed as revision 15596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-11 14:52:00 +00:00
Måns Rullgård
57bb0da679 aac_parser: fix strict aliasing violation
Originally committed as revision 15595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-11 11:21:45 +00:00
Baptiste Coudurier
f76543c9b9 get_pixels_sse2, ~+12% performance compared to mmx
Originally committed as revision 15591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-09 18:36:49 +00:00
Aurelien Jacobs
fc228c9014 allows calling avcodec_find_(en|de)coder_by_name with NULL parameter
Originally committed as revision 15586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-08 17:19:26 +00:00
Diego Biurrun
098b4169f1 Add a bunch of const qualifiers to function arguments.
Taken from the upstream libmpeg2 version of the file.

Originally committed as revision 15585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 21:41:25 +00:00
Roman Shaposhnik
4e92dabf60 replacing frame_rate and frame_rate_base with an AVRational time_base
Originally committed as revision 15584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 16:59:18 +00:00
Roman Shaposhnik
45580f8d4d cosmetic updates as per Michael's suggestion
Originally committed as revision 15582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 16:07:15 +00:00
Roman Shaposhnik
90d30402b4 vertically aligning as per Michael's suggestion
Originally committed as revision 15581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 16:06:18 +00:00
Roman Shaposhnik
6a276c46b1 unrolling the loops as per Michael's suggestion
Originally committed as revision 15580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 15:52:20 +00:00
Roman Shaposhnik
0843ddcb91 fixing a bug that prevented proper unweighting table to be selected
Originally committed as revision 15579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 15:51:29 +00:00
Roman Shaposhnik
2b6cee9f1e Doxygenizing the comments
Originally committed as revision 15578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 15:50:29 +00:00
Roman Shaposhnik
c9b0b38f45 simplifying the code as per Michael's suggestion
Originally committed as revision 15577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 15:49:45 +00:00
Diego Biurrun
8f271177b0 Sync cosmetics from upstream.
Originally committed as revision 15576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 08:37:20 +00:00
Alex Converse
fbdae895f2 Rename variables to clarify the channel coupling element and corresponding
target channel element.

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 15575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-06 16:22:11 +00:00
Alex Converse
5c2cb17206 Correct documentation of ch_select array.
Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 15574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-06 16:18:18 +00:00
Alex Converse
88de95c2f9 Corrections to channel coupling code to attain conformance for appropriate
streams.

Slightly reworked from a patch by Alex Converse (alex converse gmail com)

Originally committed as revision 15573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-06 16:12:30 +00:00
Diego Biurrun
d8d12c1594 Remove obsolete liba52 wrapper code.
Originally committed as revision 15571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-06 05:17:57 +00:00
Vitor Sessak
da708eaa22 Cosmetics: rename mace3_decode_frame() to mace_decode_frame()
Originally committed as revision 15569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-05 20:12:20 +00:00
Vitor Sessak
10c1d19212 Avoid code duplication between mace3_decode_frame() and mace6_decode_frame()
Originally committed as revision 15568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-05 20:06:40 +00:00
Vitor Sessak
b0e047de15 Use a for() instead of triplicating code.
Originally committed as revision 15566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-05 16:33:43 +00:00
Kostya Shishkov
cba64af245 Register RV-[34] block specific feature for long future loop filter
Originally committed as revision 15565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-05 16:11:12 +00:00
Vitor Sessak
3a54087733 Factorize duplicate table reading code.
Originally committed as revision 15564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-05 14:36:10 +00:00
Diego Pettenò
8539d8b573 Declare ff_pw_53 and ff_pw_18 as assembler constants.
Patch by Diego 'Flameeyes' Petten

Originally committed as revision 15553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 16:48:07 +00:00
Diego Biurrun
95137bbbb4 Fix 'make checkheaders', based on a patch by Diego Pettenò, flameeyes gmail com.
Originally committed as revision 15552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 11:20:02 +00:00
David Conrad
9971331dfb Move VP3 loop filter to DSPContext
Originally committed as revision 15551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 10:26:17 +00:00
Diego Pettenò
cb92c528d9 Mark the ff_find_best_tables symbol static to msmpeg4. Patch by Diego Pettenò
Originally committed as revision 15550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 09:43:11 +00:00
Diego Pettenò
d9ec210baa Mark ff_div6 and ff_rem6 static in h264.c. Patch by Diego Pettenò
Originally committed as revision 15549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 09:36:35 +00:00
Diego Pettenò
e6df765ed3 Mark list heads static. Patch by Diego Pettenò
Originally committed as revision 15548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 09:29:31 +00:00
Michael Niedermayer
dd990075d6 100l forgot return type.
Originally committed as revision 15539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 01:11:04 +00:00
Michael Niedermayer
2791c60883 Fix indention of NAL type enum.
Originally committed as revision 15538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 01:08:48 +00:00
Michael Niedermayer
3ee4f5e4fa ff_parse_close() is not the correct function for H264Context.
Originally committed as revision 15537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-03 23:08:52 +00:00
Michael Niedermayer
44ee6135e2 Move nal unit types enum and EXTENDED_SAR #define from h264data.h to h264.h.
Originally committed as revision 15534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-03 13:30:19 +00:00
Aurelien Jacobs
b37b13066d atrac3dec: cosmetics: indentation
Originally committed as revision 15530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 21:17:33 +00:00
Diego Pettenò
9aa1cfec1a fix warning reported by Intel C compiler:
libavcodec/h264_parser.c(77): warning #589: transfer of control
bypasses initialization of:
           variable "v" (declared at line 58)
                 goto found;
This new form also improves readability.

Patch by Diego 'Flameeyes' Pettenò %flameeyes A gmail P com%

Originally committed as revision 15526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 19:24:26 +00:00
Diego Pettenò
2d5174fc46 Intel C compiler warns on this assignment in this if(), probably
because it's being assigned as a constant. To avoid a spurious warning,
split it into two instructions, which should also make it more logical
once the FIXME is resolved.
patch by Diego 'Flameeyes' Pettenò %flameeyes A gmail P com%

Originally committed as revision 15525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 19:20:11 +00:00
Diego Pettenò
d3b9e7f19b Remove duplicate "const" qualifier for *matrix.
This silences out a warning when compiling with Intel C Compiler.
Patch by Diego 'Flameeyes' Pettenò %flameeyes A gmail P com%

Originally committed as revision 15524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 19:09:56 +00:00
Jason Garrett-Glaser
a5d2413345 x264 has removed the b-rdo and bime options, and instead integrated
them into the subme number to attempt to reduce the number of
unnecessary options.  subme now scales up to 9.
Patch by Jason Garett-Glaser %darkshikari A gmail P com%

Originally committed as revision 15523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 19:05:35 +00:00
Reimar Döffinger
14660b0814 Use M_PI from libavutil/mathematics.h instead of defining PI ourselves
in libavcodec/apiexample.c.

Originally committed as revision 15520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 16:29:15 +00:00
Reimar Döffinger
19998314cd Make 8svx codec context table pointer const to match the type of the
array.

Originally committed as revision 15519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 16:29:06 +00:00
Diego Biurrun
910f02a054 spelling cosmetics
Originally committed as revision 15518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 16:28:58 +00:00
Reimar Döffinger
529dae12f7 Remove useless cyuv_decode_end function
Originally committed as revision 15516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 15:52:12 +00:00
Reimar Döffinger
9b5ede5b64 Add (additional) const to many global tables.
Originally committed as revision 15515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 15:52:04 +00:00
Reimar Döffinger
6dbfb7de82 Use "static const" instead of "const static"
Originally committed as revision 15514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 15:51:44 +00:00
Diego Biurrun
f974f1faaf cosmetics: Change comment style for consistency.
Originally committed as revision 15513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 15:50:24 +00:00
Benoit Fouet
2c4b482931 Rename some variables and add some comments to try to be a bit more clear.
Originally committed as revision 15510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 15:27:13 +00:00
Carl Eugen Hoyos
8d2fc163ce Rename copy_picture to ff_copy_picture.
Originally committed as revision 15508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-02 00:27:09 +00:00
Carl Eugen Hoyos
c8562a6fda Fix memleak for currupt input.
Originally committed as revision 15507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-01 21:47:49 +00:00
David Conrad
1ae4518d73 Cosmetics: reindent
Originally committed as revision 15505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-01 14:48:54 +00:00
David Conrad
10f38380be Unneeded else
Originally committed as revision 15504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-01 14:48:35 +00:00
David Conrad
6599e2a74a Unneeded braces
Originally committed as revision 15503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-01 14:48:16 +00:00
David Conrad
6298f49f75 Return if unpacking motion vectors for a keyframe
Originally committed as revision 15502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-01 14:48:00 +00:00
David Conrad
a0ce2d1bbc Cosmetics: indentation
Originally committed as revision 15501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-01 14:44:30 +00:00
David Conrad
277e3e534b Visible width/height fields were added in Theora 3.2
Originally committed as revision 15500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-01 14:43:08 +00:00
David Conrad
51ace5777e filter_limit_values only needs 7 bits, make its tables smaller
Originally committed as revision 15499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-01 14:40:29 +00:00
Benoit Fouet
b07e52a955 Fix indentation.
Originally committed as revision 15498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-01 12:48:26 +00:00
Benoit Fouet
5fbec79197 Remove useless context variable.
Originally committed as revision 15495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-01 08:29:19 +00:00
Benoit Fouet
963203361c Merge declaration and assignment.
Originally committed as revision 15494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-01 08:27:37 +00:00
Siarhei Siamashka
9d2b5cf2e0 Interleaved forward/backward channels processing in order to increase chances
of stepping on already cached data for the cores with extremely small data
cache.
Patch by Siarhei Siamashka: name dot surname at gmail

Originally committed as revision 15493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-01 07:28:34 +00:00
David Conrad
ba31df31d9 Cosmetics: indentation
Originally committed as revision 15492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 19:51:02 +00:00
David Conrad
fc9618195b Merge (vp3|theora)_calculate_pixel_addresses
Originally committed as revision 15491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 19:50:43 +00:00
David Conrad
6920b98322 Missed hunks of last commit
Originally committed as revision 15490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 19:22:20 +00:00
David Conrad
33aae37ec0 Remove unused vp3 debugging info
Originally committed as revision 15489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 19:18:22 +00:00
Benoit Fouet
21899717a3 Move iv_decode_frame function to remove a forward declaration.
Originally committed as revision 15488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 14:43:55 +00:00
Benoit Fouet
950c0373fd Remove useless lines.
Originally committed as revision 15487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 14:41:11 +00:00
Benoit Fouet
6f427ccbeb Reindent whole file.
Originally committed as revision 15486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 14:22:10 +00:00
Benoit Fouet
e1a96237df Indent.
Originally committed as revision 15480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 11:55:40 +00:00
Benoit Fouet
f8be1206a6 Simplify iv_free_func().
Originally committed as revision 15479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 11:55:20 +00:00
Benoit Fouet
ffc64ac061 Move allocated buffer out of YUV buffer structure.
Originally committed as revision 15478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 11:51:44 +00:00
Benoit Fouet
c2db8a99a6 Remove useless initializations.
Originally committed as revision 15477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 11:46:37 +00:00
Benoit Fouet
8b27f76bf8 Check allocations on init.
Originally committed as revision 15476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 09:54:13 +00:00
Benoit Fouet
809a23a543 Remove useless test.
Originally committed as revision 15475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 09:41:04 +00:00
Benoit Fouet
56d9b943d3 Cosmetics
Originally committed as revision 15474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 09:35:53 +00:00
Benoit Fouet
68e9c68fdb use uint8_t instead of unsigned char
Originally committed as revision 15473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 09:32:14 +00:00
Benoit Fouet
e679560d9c Corrector type fits in 8 bits.
Originally committed as revision 15472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 09:26:49 +00:00
Benoit Fouet
2c3c87b8c4 Remove useless casts and use variable instead of its type in sizeof.
Originally committed as revision 15471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 09:08:27 +00:00
Benoit Fouet
9fd88b2946 Change table types to uint8_t
Originally committed as revision 15470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 09:05:34 +00:00
David Conrad
12ce1f3fc1 Downgrade severity of leftover bits in header packets, and don't check for the comment header
Originally committed as revision 15469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 04:18:22 +00:00
Michael Niedermayer
ae4ffe9f64 Allocate 1 line more in the chroma plane for H.264, this avoids some
out of array reads with mmx/sse2 code.
Fixes issue327.

Originally committed as revision 15467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 01:45:53 +00:00
Michael Niedermayer
503bc4026d Replace second (and wrong) call to avcodec_align_dimensions() by adjusting
stride_align. This is not particularly pretty and I will gladly implement
something else if someone has an idea!

Originally committed as revision 15466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 01:07:25 +00:00
Michael Niedermayer
8c07cee91a Do not attempt to perform error concealment in lowres mode as this is
not supported currently.

Originally committed as revision 15465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-30 00:28:13 +00:00
Aurelien Jacobs
15ae1959d8 atrac3: ensure input frame is not overwritten (it is const)
this fixes the following warning:
atrac3.c:889: warning: assignment discards qualifiers from pointer target type

Originally committed as revision 15464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-29 22:22:46 +00:00
David Conrad
068e82bac1 Use skip_frame for keyframe-only decoding rather than #ifdef
Originally committed as revision 15463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-29 22:04:35 +00:00
Carl Eugen Hoyos
bf615b89e3 Fix a warning about an undefined function when compiling h264.c
Originally committed as revision 15462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-29 15:41:55 +00:00
Diego Biurrun
d0feff2a5b Uniformly define _XOPEN_SOURCE to 600.
The feature_tests.h header from Sun systems (Solaris/OpenSolaris) will abort
the build if _XOPEN_SOURCE is defined to 500, and C99 is requested (as well
as POSIX.1-2001), and will only accept it to be defined to 600.
inspired by a patch from Diego Pettenò, flameeyes gmail com

Originally committed as revision 15460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-29 06:22:12 +00:00
Michael Niedermayer
ed16f91f26 Guess picture type from picture coding extension when the main header is damaged.
Originally committed as revision 15456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 23:19:12 +00:00
Francesco Cosoleto
30ab4deda8 Document the directpred auto value.
Patch by Francesco Cosoleto cosoleto ^^AT^^ gmail @@dot@@ com

Originally committed as revision 15448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 19:11:26 +00:00
Siarhei Siamashka
4c149a80e6 Use DECLARE_ALIGNED_16() on vorbis windows as they are used in dsputils
functions that require such alignment.

Patch by Siarhei Siamashka (siarhei siamashka gmail com)

Originally committed as revision 15444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-28 16:16:05 +00:00
Michael Niedermayer
766a4a99e2 Replace apparently always true condition by assert().
Originally committed as revision 15437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-27 02:39:24 +00:00
Michael Niedermayer
c2c7342b70 Simplify pix_fmt_id instead of listing a subset of non-simplified ones.
Originally committed as revision 15436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-27 01:59:50 +00:00
Michael Niedermayer
7c1e33f930 Check the 4th plane too when selecting the pixfmt.
Fixes a crash with Test-4-component-YCCK.jpg.

Originally committed as revision 15435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-27 01:50:57 +00:00
Vitor Sessak
d552d04dc9 Simplify: avoid duplication backward_filter()
Originally committed as revision 15428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 18:42:06 +00:00
Diego Biurrun
bbc78fb4b4 Remove unused variable.
Originally committed as revision 15427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 18:11:41 +00:00
Benjamin Larsson
faeedbbb06 Add support for Acelp.net fourcc and codecid, remuxing wav to avi should work
Originally committed as revision 15425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-26 10:59:42 +00:00
Michael Niedermayer
6c8050078e Avoid out of picture accesses when CODEC_FLAG_EMU_EDGE is set.
Fixes issue427.

Originally committed as revision 15418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 21:44:07 +00:00
Vitor Sessak
64e4af2ac1 Do instead of divising a float by a constant, multiply by its inverse
Originally committed as revision 15417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 20:03:57 +00:00
Michael Niedermayer
68997192eb Ensure that no non-existing frame is used.
Fixes issue624.

Originally committed as revision 15416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 19:25:28 +00:00
Michael Niedermayer
5f129a05bf Do not free sps & pps on width/height changes.
Fixes issue557.

Originally committed as revision 15414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 19:01:39 +00:00
Michael Niedermayer
fe67a236dd Do not use the generic "alloc missing references" code for h.264 as it does
not work correctly in that case.
Fixes issue652.

Originally committed as revision 15413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 14:34:14 +00:00
Michael Niedermayer
07dff5c7a4 Initialize next/last_picture* as the generic code does not always
set them to sane values.

Originally committed as revision 15412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 14:29:35 +00:00
Michael Niedermayer
49573a87c9 Print which slices are IDR not just the slice type.
Originally committed as revision 15411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 12:04:25 +00:00
Michael Niedermayer
cf8bb33428 Fix CAVLC+8x8+MBAFF loop filter.
Fixes FREXT02_JVC_C.

Originally committed as revision 15410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-25 00:41:49 +00:00
Michael Niedermayer
60c9b24df0 Field -> MBAFF direct mode can use data from fields that are not
in the reference list. Follow the spec and no comment on the sanity of this
design ...
Fixes HPCAMAPALQ_BRCM_B

Originally committed as revision 15407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-24 23:24:24 +00:00
Vitor Sessak
b6c7758168 Move constant multiplication out of the loop
Originally committed as revision 15404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-24 20:31:24 +00:00
Vitor Sessak
e60daa340b Cosmetics: move convolve() together with the other DSP functions
Originally committed as revision 15403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-24 20:05:22 +00:00
Vitor Sessak
a987a126fd Simplify: move division by constant off the loop
Originally committed as revision 15402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-24 20:03:58 +00:00
Kostya Shishkov
e774c41cab Correct wrong lower limit and condition used in APE decoder
Originally committed as revision 15396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-24 12:45:28 +00:00
Michael Niedermayer
645a6be1e7 Merge the 2 lpc loops.
This changes the output by (stddev:    0.21 PSNR:109.51, file:ddinterview28.ra),
the changes are due to float rounding inaccuracies and do not happen if doubles
are used.

Originally committed as revision 15394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-23 23:16:48 +00:00
Michael Niedermayer
571bbaf814 Factorize lpc code slightly.
Originally committed as revision 15393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-23 22:49:22 +00:00
Kostya Shishkov
b94a631fab Cosmetics: reindent after last commit
Originally committed as revision 15391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-23 08:45:46 +00:00
Kostya Shishkov
fca506dfb6 Add RLE4 and RLE8 decoding support for BMP
Originally committed as revision 15390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-23 08:45:12 +00:00
Kostya Shishkov
15501c32d0 Add support for 1-bit, 4-bit, 8-bit and some 16-bit raw BMP
Originally committed as revision 15389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-23 08:38:32 +00:00
Kostya Shishkov
a79cae798a Calculate line size correctly for bit depths < 8
Originally committed as revision 15388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-23 08:32:18 +00:00
Michael Niedermayer
aa617518b9 A few empty lines for readability.
Originally committed as revision 15385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-22 20:46:52 +00:00
Michael Niedermayer
f4d3382da2 Another try to fix temporal direct mode references.
Fixes at least
CAPAMA3_Sand_F.264
CVMAPAQP3_Sony_E.jsv

Originally committed as revision 15384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-22 20:43:35 +00:00
Diego Biurrun
8556ea0333 spelling cosmetics
Originally committed as revision 15383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-22 05:40:52 +00:00
Brad
acce61a7c6 AltiVec detection support for OpenBSD, patch by Brad, brad comstyle com.
Originally committed as revision 15382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-22 05:38:50 +00:00
Michael Niedermayer
8dbd9cb695 Fix all the recent problems Justin had run into with the AC3 parser,
including issue 459.

Originally committed as revision 15381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-22 03:00:26 +00:00
Michael Niedermayer
48e025e5b6 Fix ref_shift so that it is correct for more/all? MBAFF/PAFF mixes.
Fixes at least MR9_BT_B.

Originally committed as revision 15380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-22 02:32:22 +00:00
Michael Niedermayer
471341a7f3 indent
Originally committed as revision 15379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-21 23:51:36 +00:00
Michael Niedermayer
53c193a9b0 Correct comment in the direct mode code.
(note, yes this is unrelated to the previous simplification, the
 code always behaved like it is documented now.)

Originally committed as revision 15378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-21 23:49:53 +00:00
Michael Niedermayer
a0ad40832f Simplify initialization of a few direct mode related variables.
Originally committed as revision 15377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-21 23:46:59 +00:00
Michael Niedermayer
8b1fd554e1 Make MBAFF temporal direct mode closer to the spec.
Fixes at least:
CAMANL2_TOSHIBA_B
CVMANL2_TOSHIBA_B
camp_mot_mbaff0_full

Originally committed as revision 15375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-21 02:39:09 +00:00
Michael Niedermayer
8f56e219b2 Move direct_dist_scale_factor() and direct_ref_list_init() after fill_mbaff_ref_list()
as future changes will need the mbaff lists inited.

Originally committed as revision 15374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-21 02:23:51 +00:00
Michael Niedermayer
078f42ddae Set poc for field references in MBAFF.
Originally committed as revision 15373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-21 02:19:45 +00:00
Stefano Sabatini
2c006f4380 Log an error message in case of invalid number of channels.
Originally committed as revision 15371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-20 11:13:14 +00:00
Michael Niedermayer
a85d0c84a4 Remove fixme that is based on the assumption of !direct_8x8_inference && MBAFF.
Originally committed as revision 15370 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-19 18:53:31 +00:00
Michael Niedermayer
6a855aae94 Remove check and error message for "MBAFF + !direct_8x8_inference is not implemented"
because this mode does not exist, H.264-2007 says "When frame_mbs_only_flag is
equal to 0, direct_8x8_inference_flag shall be equal to 1."

Originally committed as revision 15369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-19 18:49:17 +00:00
Michael Niedermayer
96b52f9e04 Make pps/sps scaling_matrix initialization closer to the spec.
This does not affect any of the conformance streams.

Originally committed as revision 15365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-18 16:36:19 +00:00
Robert Swain
341b28c0d2 Zero 'idx' for each iteration of the coupling gain loop and as it is only used
within this loop, we can move its declaration there too. This fixes bitstream
desync when decoding streams containing CCEs.

Based on a patch by Alex Converse (alex converse gmail com)

Originally committed as revision 15364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-18 16:02:51 +00:00
Robert Swain
f80a8ca5cb Cosmetics: missing brackets
Originally committed as revision 15363 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-18 15:48:37 +00:00
Alex Converse
c8947a5612 Cast the return value of get_bits() to signed integer such that the subtraction
is conducted as a signed calculation.

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 15362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-18 15:35:08 +00:00
Michael Niedermayer
d464bceff2 Ensure that extradata is not parsed twice.
Fixes FRExt1_Panasonic.

Originally committed as revision 15361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-18 15:13:15 +00:00
Kostya Shishkov
3a9a15c4f3 add newline at the end of message
Originally committed as revision 15360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-18 14:08:44 +00:00
Kostya Shishkov
e6ab862368 ZMBV encoder forgot to fill coded frame pointer
Originally committed as revision 15359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-18 13:17:44 +00:00
Kostya Shishkov
44aa9771c9 Factorize out code used for MS RLE format decoding in different decoders.
Originally committed as revision 15356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-18 05:20:54 +00:00
David Conrad
f7e5b0cc8f Remove duplication of TRANSPOSE8 macro, also removing some redundant load/stores
Originally committed as revision 15355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-18 03:08:33 +00:00
David Conrad
7b16a97969 Make a separate macro for writing an entire block from registers to memory
Originally committed as revision 15354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-18 03:08:13 +00:00
David Conrad
3f429d11da Factorize SSE2_(Row|Column)_IDCT into one macro
Originally committed as revision 15353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-18 03:07:41 +00:00
David Conrad
3c1ebfd56d Cosmetics: remove excessive blank lines
Originally committed as revision 15351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-17 20:52:54 +00:00
David Conrad
8cfd78ce8f Ensure MMX/SSE2 VP3 IDCT selection isn't disabled when only Theora is enabled
Originally committed as revision 15350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-17 19:49:31 +00:00
David Conrad
c3c5bba1e2 Cosmetics: reindent
Originally committed as revision 15349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-17 19:38:44 +00:00
David Conrad
f7fc9e499c Rewrite SSE2 VP3 IDCT in inline asm
Originally committed as revision 15347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-17 19:30:51 +00:00
David Conrad
437e3f4dbc Rewrite MMX VP3 IDCT in inline asm
Originally committed as revision 15346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-17 19:30:33 +00:00
David Conrad
ccd3ec82b8 MMX/SSE2 VP3 IDCT are bitexact now that the dequantization matrices are permutated correctly
Originally committed as revision 15345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-17 19:30:03 +00:00
David Conrad
7f065b36c8 Take idct permutation into account when initializing dequantization matrices
Originally committed as revision 15344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-17 19:29:40 +00:00
Vitor Sessak
faf6d6964b Use SAMPLE_FMT_FLT instead of doing the float->int conversion in the
decoder. This changes the output very little and any difference should
be inaudible.

Originally committed as revision 15343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-17 19:26:37 +00:00
Vladimir Voroshilov
00cc0ce91e Second-stage gain and Moving Average Predictor codebooks.
Originally committed as revision 15342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-17 06:13:07 +00:00
Vladimir Voroshilov
1a18912e49 Another set of approved changes for G.729: includes, formats structure,
several parts of main decoding routine and initialization code.

Originally committed as revision 15341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-17 06:05:12 +00:00
Alex Converse
aac0eda407 Validate pulse position and error out if an invalid position is encountered.
Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 15340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-16 15:59:43 +00:00
Michael Niedermayer
1d4113d053 Only print "invalid new backstep" when it is really invalid.
Fixes issue541.

Originally committed as revision 15339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-16 01:49:32 +00:00
Michael Niedermayer
740c14dbd7 Fix regression test failure caused by golomb limit not being considered
in r15334.

Originally committed as revision 15338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-16 01:24:12 +00:00
Baptiste Coudurier
0bc4c436aa sync to latest x264 git, field was renamed
Originally committed as revision 15337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-16 01:13:55 +00:00
Michael Niedermayer
bf3a971c12 Make decoder more robust by default against broken encoders.
Fixes issue540.

Originally committed as revision 15336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-16 00:31:32 +00:00
Michael Niedermayer
631e8afb8c Correct the threshold of get_ur_golomb_jpegls() at which the optimized
case is used.
Fix issue245.

Originally committed as revision 15334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-15 20:30:22 +00:00
Justin Ruggles
8fd64adf08 cosmetics: fix indentation after r15321
Originally committed as revision 15332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-14 22:27:47 +00:00
Justin Ruggles
6682ae42a4 write actual min and max frame size to FLAC header. update regression test checksum.
Originally committed as revision 15331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-14 22:25:50 +00:00
Diego Biurrun
dd857bfdf7 cosmetics: Fix indentation.
Originally committed as revision 15330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-14 22:20:14 +00:00
Diego Biurrun
3fe5ae2b3a Remove useless #ifdef around #include.
Originally committed as revision 15329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-14 22:18:50 +00:00
Justin Ruggles
a9f8587e15 write MD5 checksum to FLAC header. update regression tests.
Originally committed as revision 15326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-14 21:39:54 +00:00
Justin Ruggles
e1a12934c5 write number of samples in FLAC extradata.
based on a patch by Mathieu Velten (matmaul gmail com).

Originally committed as revision 15324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-14 20:00:36 +00:00
Justin Ruggles
0605f5c86b Return error when trying to decode non-grayscale 16-bit PNM images.
Fixes issue 566.

Originally committed as revision 15321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-14 15:50:59 +00:00
Robert Swain
70735a3f9e Reindent after last commit
Originally committed as revision 15315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-13 20:52:57 +00:00
Alex Converse
5143684891 Apply pulses to unscaled coefficients rather than scaled.
Slight reworking of a patch by Alex Converse (alex converse gmail com)

Originally committed as revision 15314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-13 20:51:36 +00:00
Robert Swain
408992bae2 Operands of '+' are not necessarily evaluated in order so r15311 was pointless.
Splitting the assignment onto two lines should resolve the order issue.

Originally committed as revision 15313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-13 20:22:31 +00:00
Alex Converse
19645d742e Correct order of parsing for pulse scalefactor band and offset to match the
specification.

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 15311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-13 18:47:43 +00:00
Vitor Sessak
9547cadb8d Cosmetics: line breaks
Originally committed as revision 15308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-13 16:56:58 +00:00
Vitor Sessak
111734de09 Simplify: use a single history buffer for gain and a single one for
speech instead of having two for each in the context.

Originally committed as revision 15307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-13 16:49:05 +00:00
David Conrad
7f0d242b14 Fix compilation on Mac OS X 10.4: Defining _POSIX_C_SOURCE hides the u_char &
similar typedefs that sysctl.h needs. Since sysctl() itself isn't POSIX
undefining _POSIX_C_SOURCE for check_altivec.c seems the best way to fix this.
patch by David Conrad lessen42 at gmail com

Originally committed as revision 15306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-13 13:18:35 +00:00
Robert Swain
35445d29f5 Reindent after last commit
Originally committed as revision 15304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-12 14:33:35 +00:00
Alex Converse
5167364777 Only read some of TNS bitstream data in the case that the TNS filter order is
non-zero as per the specification.

Patch by Alex Converse (alex converse gmail com)
Fixes another issue pertaining to issue632

Originally committed as revision 15303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-12 14:32:49 +00:00
Vitor Sessak
9c10ab6cd1 Cosmetics: align spec references
Originally committed as revision 15300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-11 19:10:26 +00:00
Vitor Sessak
5381a00a2b Rename function: s/colmult/apply_window/
Originally committed as revision 15299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-11 19:06:54 +00:00
Diego Biurrun
36b3e36e00 misc spelling/wording/grammar fixes
Originally committed as revision 15296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-11 08:13:23 +00:00
Kostya Shishkov
77298e99b7 Make it possible to disable loop filter in VC-1.
Unlike H.264 it does not affect picture quality on any files I've watched.

Originally committed as revision 15295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-11 06:35:37 +00:00
Robert Swain
febcbd65fa Correct pulse amplitude application - a negative or 0 coefficient implies the
pulse is subtracted, else it is added. Also avoid a divide by 0.

Based on a patch by Alex Converse (alex converse gmail com)
Fixes part of issue632

Originally committed as revision 15294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-11 01:22:34 +00:00
Jason Garrett-Glaser
67ce33162a Fix incorrect printing of brainfart cropping error in some cases in progressive mode.
Originally committed as revision 15293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-11 00:34:39 +00:00
Vitor Sessak
fd8897e803 Convert table to integer.
Originally committed as revision 15292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-10 19:00:02 +00:00
Vitor Sessak
955bcc2102 Convert two tables to signed decimal
Originally committed as revision 15290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 19:20:20 +00:00
Vitor Sessak
90c6805ac4 Cosmetics: remove useless parentheses
Originally committed as revision 15288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 16:51:39 +00:00
Vitor Sessak
710428c4ec Remove ChannelData.lev var and use ChannelData.level instead
Originally committed as revision 15287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 16:50:11 +00:00
Anuradha Suraparaju
d7c96d6623 Add support for creating Simple Profile (I-frame only, no arithmetic coding)
Dirac bytestreams.  patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 15286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 14:47:47 +00:00
Jai Menon
91ba93e68b vorbis_enc : set coded_frame->pts value to running sample count.
This is a temporary fix for issue 502 and will not be required when
we start using AVFrame for audio codecs.

Originally committed as revision 15285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 14:42:50 +00:00
Aurelien Jacobs
03ea32f850 remove one more stuff under #if LIBAVCODEC_VERSION_INT
which was forgotten in r15263

Originally committed as revision 15278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 23:47:50 +00:00
Baptiste Coudurier
9345ae6f78 alac : fix case where bits_per_sample is not set.
Patch by Baptiste

Originally committed as revision 15275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 19:05:46 +00:00
Vitor Sessak
c7e34ddc42 Remove useless comment
Originally committed as revision 15274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:52:00 +00:00
Vitor Sessak
20242eed99 Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
one-dimensional array.

Originally committed as revision 15273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:51:33 +00:00
Michael Niedermayer
475e4e2ffc Remove deprecated avcodec_decode_audio() this one was not under #ifdef.
Originally committed as revision 15272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:31:48 +00:00
Michael Niedermayer
9d21494776 avcodec_find_best_pix_fmt() needs a 64bit mask as there are more than 32 pix_fmts.
Originally committed as revision 15271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:29:08 +00:00
Michael Niedermayer
047599a4ba Rename error_resilience to error_recognition.
Originally committed as revision 15270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:18:49 +00:00
Vitor Sessak
3e30f46f8b Pass directly variable 'a' to interp instead of evaluating it from num_blocks
Originally committed as revision 15269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:18:29 +00:00
Vitor Sessak
b28bdce688 Simplify if() in copy_and_dup()
Originally committed as revision 15268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:16:00 +00:00
Vitor Sessak
8022a8ebc2 Add av_cold attribute to decode_init()
Originally committed as revision 15267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:14:37 +00:00
Vitor Sessak
c96a764c72 Cosmetics: Make the two additional units in size more clear
Originally committed as revision 15266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 18:13:53 +00:00
Michael Niedermayer
38360668d6 Remove DEFAULT_FRAME_RATE_BASE.
Originally committed as revision 15265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 15:28:07 +00:00
Michael Niedermayer
23694e27f0 Drop deprecated SAMPLE_FMT_S24.
Originally committed as revision 15264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 15:24:16 +00:00
Michael Niedermayer
d578432db8 Remove stuff under #if LIBAVCODEC_VERSION_INT.
Originally committed as revision 15263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 15:03:17 +00:00
Luca Abeni
dd1c8f3e6e Bump Major version, this commit is almost just renaming bits_per_sample to
bits_per_coded_sample but that cannot be done seperately.
Patch by Luca Abeni
Also reset the minor version and fix the forgotton change to libfaad.
Note: The API/ABI should not be considered stable yet, there still may
be a change done here or there if some developer has some cleanup ideas and
patches!

Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 14:24:59 +00:00
Michael Niedermayer
71375e0500 Try to fix wma regression.
Originally committed as revision 15261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 13:37:12 +00:00
Diego Biurrun
f7b1d72f45 Relicense as ISC with the authors' permission.
Originally committed as revision 15260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 05:17:17 +00:00
Diego Biurrun
3943bd0901 Relicense from LGPL 2.1 to LGPL 2.1 or later with the authors' permission.
Originally committed as revision 15258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 21:02:28 +00:00
Vitor Sessak
42fe17a018 Check output buffer size before decoding.
Originally committed as revision 15257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 20:21:15 +00:00
Vitor Sessak
d636f0cc39 Cosmetics: rename vars s/ctx/chd/
Originally committed as revision 15256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 20:18:18 +00:00
Vitor Sessak
f36aec3b5e Exploit symmetry to reduce size of tables by half.
Originally committed as revision 15255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 17:20:55 +00:00
Vitor Sessak
b8a5f62144 Cosmetics: s/short/int16_t/
Originally committed as revision 15253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 14:33:01 +00:00
Vitor Sessak
b1547a7817 Remove cast, now tables are signed.
Originally committed as revision 15252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 14:32:10 +00:00
Vitor Sessak
fc1d3e004f Convert tables to signed and decimal.
Originally committed as revision 15251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 14:30:54 +00:00
Vitor Sessak
e7ff335935 Remove unused table entries.
Originally committed as revision 15250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 13:55:26 +00:00
Vitor Sessak
934bc927a8 Remove commented out code.
Originally committed as revision 15249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 13:47:30 +00:00
Vitor Sessak
f9f7210e5e Use FFMIN() instead of rewriting it.
Originally committed as revision 15248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 13:46:09 +00:00
Vitor Sessak
42c7aeea67 Factorize broken clipping in its own function and document it.
Originally committed as revision 15247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 13:42:34 +00:00
Vitor Sessak
5659156760 Cosmetics: whitespace/linebreaks
Originally committed as revision 15246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 09:55:47 +00:00
Vitor Sessak
c8e0861e49 Use the same 8 bit -> 16 bit conversion as QuickTime.
Originally committed as revision 15245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 09:46:55 +00:00
Vitor Sessak
4ea70242a8 Do not share context variables between channels and do not zero them at
decode_frame(). This makes the output much closer to that of the binary decoder.

Originally committed as revision 15244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 09:42:57 +00:00
Vitor Sessak
b6d544f54e Remove output pointer from context
Originally committed as revision 15243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 09:38:37 +00:00
Stefan Gehrer
bd547403fe add 1bpp decoding function and extend 4bpp function to
also cover the 2bpp case.

Originally committed as revision 15242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 07:36:03 +00:00
Diego Biurrun
4f31c990d8 license header consistency cosmetics.
Originally committed as revision 15227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-06 16:15:45 +00:00
Diego Biurrun
a0528ed7de license header consistency cosmetics
Originally committed as revision 15225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-06 16:09:57 +00:00
Vladimir Voroshilov
1357b1de00 Remove not approved parts.
Originally committed as revision 15224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-06 13:45:02 +00:00
Vitor Sessak
4fdb41a84b Test a var for overflow just after it is set
Originally committed as revision 15223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-06 11:46:29 +00:00
Vitor Sessak
a90fbeec2a Remove useless parentheses.
Originally committed as revision 15222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-06 11:45:10 +00:00
Reimar Döffinger
2881a656ff Fix nuv decoder to use reget_buffer for non-keyframes and correctly
identify non-keyframe RTJPEG frames.

Originally committed as revision 15217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-05 16:31:26 +00:00
Vitor Sessak
e10049bef5 Cosmetics: indent after last commit and remove useless braces
Originally committed as revision 15214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-05 00:01:23 +00:00
Vitor Sessak
1b0dc0120d Simplify: use a for instead of unrolling by hand
Originally committed as revision 15213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-05 00:00:20 +00:00
Vitor Sessak
fb17d9ff54 Functions mace{3,6}_decode_frame() are just wrappers to Exp1to{3,6}(). This commit
moves the code of Exp1to* to the decode functions.

Originally committed as revision 15212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-04 23:54:57 +00:00
Vitor Sessak
78df225866 Simplify: use two distinct functions to decode MACE3 and MACE6, since the
previous mace_decode_init() function was almost just a switch statement.

Originally committed as revision 15208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-04 23:18:28 +00:00
Vitor Sessak
b97c413832 Simplify mace_decode_frame()
Originally committed as revision 15207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-04 23:12:20 +00:00
Vitor Sessak
647148c638 Remove useless comments
Originally committed as revision 15205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-04 23:02:08 +00:00
Vitor Sessak
251d75f292 Reindent mace.c, its indentation was completly inconsistent with the coding rules.
Originally committed as revision 15204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-04 23:00:34 +00:00
Vitor Sessak
82ab49dc41 Cosmetics: s/LPC_type/LPC_TYPE/
Originally committed as revision 15202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-04 22:17:27 +00:00
Vitor Sessak
1775c7fac6 Multiply table by -1. This avoid doing this calculation (that was introduced
in my last commit) in real time.

Originally committed as revision 15195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-04 15:04:08 +00:00
Michael Niedermayer
e4b8f1fa77 Fix artifacts of MPEG4-720I-DN-SV8K.trp caused by lack of IDR pictures and
subsequent zero POC value.

Originally committed as revision 15194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-04 12:21:06 +00:00
Vitor Sessak
1be0fc2909 Avoid duplicating compute_lpc_coefs() function in both the RA288 and AAC decoders.
Originally committed as revision 15193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-04 11:03:14 +00:00
Michael Niedermayer
395206f6b1 Ignore the spec, and calculate aspect ratio on width/height.
Fixes issue562 and issue621.

Originally committed as revision 15183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 19:04:46 +00:00
Michael Niedermayer
8e5af7a654 Clarify sample_aspect_ratio.
Originally committed as revision 15180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 17:43:00 +00:00
Jai Menon
d3ce0792c2 fix issue 616 on roundup : decoding of short flac files
Originally committed as revision 15177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 13:31:33 +00:00
Diego Biurrun
c7ac9449ba Disable encoders by undefining CONFIG_FOO_ENCODER once instead of littering
the code with preprocessor directives.

Originally committed as revision 15176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 12:43:18 +00:00
Diego Biurrun
999960c90a Surround some encoding-specific functions with the appropriate
encoding-specific #ifdef.

Originally committed as revision 15175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 12:35:17 +00:00
Diego Biurrun
f544a5fc84 Replace generic CONFIG_ENCODERS preprocessor conditionals by more specific
CONFIG_FOO_ENCODER conditionals where appropriate.

Originally committed as revision 15174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 12:33:21 +00:00
Vladimir Voroshilov
063ad8205a gain codebook (first stage), 8k mode for G.729
Originally committed as revision 15171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 04:45:01 +00:00
Vladimir Voroshilov
bc165ee392 Another set of approved G.729 chunks (from decoder core)
Originally committed as revision 15168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 01:07:03 +00:00
Aurelien Jacobs
4834eb191c theoradec: cosmetics: indentation
Originally committed as revision 15167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 00:19:08 +00:00
Aurelien Jacobs
feaf1a7393 theoradec: skip decoding of uncoded MV in 4MV code
Thusnelda, the new experimental Theora encoder is using this Theora feature
that was previously not exploited.
fixes issue579

Originally committed as revision 15166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 00:17:11 +00:00
Aurelien Jacobs
e32e2d56d4 theoradec: small 4MV code reorganization to ease future improvements
no functional changes

Originally committed as revision 15165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 00:10:30 +00:00
Diego Biurrun
2a43a093ed Replace generic CONFIG_DECODERS preprocessor conditionals by more specific
CONFIG_FOO_DECODER conditionals where appropriate.

Originally committed as revision 15162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-02 23:25:57 +00:00
Diego Biurrun
ab21090869 Silence a couple of 'defined but not used' warnings by adding an av_unused
attribute to the relevant function declarations.

Originally committed as revision 15161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-02 23:14:11 +00:00
Laurent Aimar
bd10f6e149 Prevent a division by 0 in the g726 decoder when the configured samplerate is 0.
patch by Laurent Aimar, fenrir via.ecp fr

Originally committed as revision 15160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-02 23:09:14 +00:00
Vladimir Voroshilov
d3bb8ad7af Parity bit calculation routine for G.729
Originally committed as revision 15154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-02 17:15:28 +00:00
Michael Niedermayer
d0b41d8931 Try to support invalid h264 that does not mark IDR with POC=0.
Fixes issue576.

Originally committed as revision 15153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-02 16:31:18 +00:00
Justin Ruggles
406ab5cc97 add a separate line in Makefile for E-AC-3 decoder and only compile it when
GPL is enabled. fixes building without GPL or with liba52.

Originally committed as revision 15151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-02 04:04:26 +00:00
Baptiste Coudurier
7cabcf7d37 make pcm encoder setting bits_per_sample field
Originally committed as revision 15150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-01 21:13:05 +00:00
Justin Ruggles
2988c93d94 create a separate codec_id for E-AC-3
Originally committed as revision 15143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-01 14:33:54 +00:00
Bartlomiej Wolowiec
755ba88640 Remaining parts of Nellymoser encoder
Originally committed as revision 15138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-01 11:19:26 +00:00
Michael Niedermayer
719f37026a Check ff_init_me()s return value.
Originally committed as revision 15137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-01 00:28:51 +00:00
Michael Niedermayer
6f55b11ec6 1000l Fix snow regression test that i broke in r15135.
Originally committed as revision 15136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-01 00:22:00 +00:00
Michael Niedermayer
b74ec69366 Warn the user about me_method values that are not supported.
Fixes issue503

Originally committed as revision 15135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 23:55:47 +00:00
Michael Niedermayer
c541e668f6 Optimize vorbis_residue_decode() so that vr->type is a constant.
Based on a patch by Siarhei Siamashka.

Originally committed as revision 15134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 22:49:42 +00:00
Michael Niedermayer
969c163f1f Remove debuging junk that probably hasnt been used by anyone since years.
Originally committed as revision 15133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 20:26:28 +00:00
Bartlomiej Wolowiec
748384a186 Okayed parts of nellymoserenc.c
Originally committed as revision 15126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 19:26:33 +00:00
Stefan Gehrer
03f7e56896 reduce code duplication by moving common header parsing
from the bpp-specific parts to the frame decode

Originally committed as revision 15121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 08:09:54 +00:00
Stefano Sabatini
987903826b Globally rename the header inclusion guard names.
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.'  to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".

Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:39:47 +00:00
David Conrad
b4c3d83584 Use ff_vp3_idct_data in vp3dsp_mmx.c rather than duplicating it
Originally committed as revision 15118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:05:55 +00:00
David Conrad
43410eaf7c Declare ff_vp3_idct_data to be uint16_t
Originally committed as revision 15117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:05:29 +00:00
David Conrad
587ae47aa7 Don't declare SSE vp3 idct data static, so it can be used in the mmx version
Originally committed as revision 15116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:05:08 +00:00
Justin Ruggles
1f6a594de4 turn on E-AC-3 decoding support and update the Changelog
Originally committed as revision 15103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 03:08:18 +00:00
Justin Ruggles
f07fe6e78a simplify code and comment regarding determination whether or not AHT is used.
Originally committed as revision 15101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 03:01:56 +00:00
Justin Ruggles
9cf8ebe38a use correct table name
Originally committed as revision 15099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:58:21 +00:00
Vitor Sessak
f6a1ca1dad Misc cosmetics in compute_lpc_coefs(): braces removal and empty lines
Originally committed as revision 15093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:39:55 +00:00
Justin Ruggles
1ffbafa02b skip converter exponent strategy for all channels at once
Originally committed as revision 15092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:38:38 +00:00
Vitor Sessak
fc324cd523 Remove useless var in compute_lpc_coefs()
Originally committed as revision 15091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:37:04 +00:00
Justin Ruggles
e1747bfa4e merge declaration and init. variable is not used outside the loop.
Originally committed as revision 15090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:35:58 +00:00
Justin Ruggles
f2e4eb62dc cosmetics: indentation
Originally committed as revision 15089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:32:08 +00:00
Vitor Sessak
5d2dd90848 Merge declaration and initialization of a few vars in compute_lpc_coefs()
Originally committed as revision 15088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:31:05 +00:00
Justin Ruggles
8dfc56ec32 commit more OKed parts of the E-AC-3 decoder
Originally committed as revision 15087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 02:30:09 +00:00
Justin Ruggles
225c30429d commit more OKed parts of the E-AC-3 decoder
Originally committed as revision 15068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 23:19:23 +00:00
Justin Ruggles
d82bdf684b commit more OKed parts of the E-AC-3 decoder
Originally committed as revision 15067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 23:13:10 +00:00
Michael Niedermayer
d3b4b74c32 Fix lossless jpeg encoder to comply to spec and store full redundant
residuals, Note this does not change RGB32 as we need to check this
against some decoder that supports it.

Originally committed as revision 15055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 20:39:12 +00:00
David Conrad
c979fa030f Remove unused dequantization code from SSE VP3 IDCT
Originally committed as revision 15054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 19:47:47 +00:00
David Conrad
167029a73a Use ff_pw_8 in MMX/SSE VP3 IDCT
Originally committed as revision 15053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 19:41:42 +00:00
David Conrad
21383da8c4 Let ff_pw_8 be used as an SSE constant
Originally committed as revision 15052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 19:40:21 +00:00
Justin Ruggles
ea364c74a0 cosmetics: update comment about dithering
Originally committed as revision 15051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 17:51:03 +00:00
Michael Niedermayer
1d8370aad9 Remove the cos_mod table that has become unused after replacing the imdct
by ff_imdct_half().

Originally committed as revision 15050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 11:01:58 +00:00
Michael Niedermayer
89df5e95bb Replace obfuscated mdct in qmf_32_subbands() by ff_imdct_half().
Originally committed as revision 15049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 10:47:13 +00:00
Michael Niedermayer
47f0e05295 Get rid of the 512 sample memmove().
Originally committed as revision 15048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 10:41:53 +00:00
Peter Ross
43a38a7c3e Remove 'currently unused' warning about SAMPLE_FMT_xxx.
Originally committed as revision 15046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 04:26:45 +00:00
Bartlomiej Wolowiec
53440c621b Okayed parts of nellymoserenc.c
Originally committed as revision 15039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 21:35:57 +00:00
Vitor Sessak
f991d423d2 Remove useless zeroing of a buffer
Originally committed as revision 15038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 21:12:30 +00:00
Robert Swain
93b63b1a67 Fix typo in element type
Originally committed as revision 15037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 20:19:23 +00:00
Robert Swain
f4fae46e67 Remove unnecessary portion of a condition. This fixes issue607 and avoids
another unintended bug where channel coupling could have been run on an SCE.

Originally committed as revision 15036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 20:18:34 +00:00
Stefano Sabatini
7a7c4a7bf7 Fix typo.
Originally committed as revision 15034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 18:43:20 +00:00
Michael Niedermayer
b854197919 Half the size of subband_fir_noidea and get rid of memmove & memset of it.
Originally committed as revision 15033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 18:37:40 +00:00
Stefano Sabatini
d4be08e0c9 Make X264_init() no longer assign avctx->rc_eq to libx264's context.
Fix a crash due to X264_init() setting the libx264 rc_eq field to NULL
when rc_eq was not defined. As a consequence rc_eq can no longer be
manually specified and passed to libx264, but this option is going to
be removed from the libx264 public API anyway.

See the thread: "Fix crash in libx264 when rc_eq is not set".

Originally committed as revision 15029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 17:37:32 +00:00
Michael Niedermayer
ef8676276d Move t1 and t2 declaration from the QMF code closer to where they are used.
Originally committed as revision 15024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 14:53:07 +00:00
Michael Niedermayer
addafb0e0a Simplify (drop useless intermediate sum and diff arrays).
Originally committed as revision 15023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 14:44:47 +00:00
Andreas Öman
c55ecb9c27 5,1l: samples_chanptr[] should be (const float *)
Originally committed as revision 15022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 10:14:01 +00:00
Andreas Öman
a7bc9d1b71 dca: Set data_size outside block loop.
Originally committed as revision 15021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 10:12:44 +00:00
Andreas Öman
8ed96a5eba dca: Do float -> int16 interleaving in-place using s->dsp.float_to_int16_interleave()
Originally committed as revision 15020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 10:09:51 +00:00
Kostya Shishkov
eca0bcb66e While APE changed container format in 3.98, frequency tables for range coding
were changed only in 3.99.
This fixes decoding of v3.98 APE file I have.

Eternal curses to the creator of such unstable format.

Originally committed as revision 15019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 06:14:53 +00:00
Peter Ross
2bfd8855fb Bump libavcodec minor version number for r15017.
Originally committed as revision 15018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 04:02:04 +00:00
Peter Ross
312420f3fa Add AVCodecContext.bits_per_raw_sample field.
Originally committed as revision 15017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 03:59:48 +00:00
Peter Ross
46a73068a6 Change AVCodecContext.bits_per_sample to bits_per_coded_sample.
Nb: This change will become active on the next libavcodec major version bump.

Originally committed as revision 15016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 03:52:10 +00:00
Justin Ruggles
e522bd49c8 cosmetics: change another "get" to "decode"
Originally committed as revision 15014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 00:09:47 +00:00
Justin Ruggles
164e169fef cosmetics: change "get" to "decode"
Originally committed as revision 15013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-29 00:06:43 +00:00
Justin Ruggles
86662b1c89 cosmetics: indentation
Originally committed as revision 15012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 23:16:21 +00:00
Justin Ruggles
260e09305b remove unneeded variable, dither_all
Originally committed as revision 15011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 23:04:15 +00:00
Roman Shaposhnik
f8007a1473 Intial implementation of the DV100 (AKA DVCPRO HD) decoder and demuxer as
specified in SMPTE 370M

Originally committed as revision 15010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 22:41:00 +00:00
Roman Shaposhnik
b4e0102c5c Introducing video_stype for holding the value of VAUX source pack
and simplifying dv_frame_profile

Originally committed as revision 15007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 19:21:59 +00:00
Kostya Shishkov
a169f49881 Add generic IIR filter interface with Butterworth lowpass filter implementation
and remove obsoleted old lowpass filter.

Originally committed as revision 15005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 04:53:57 +00:00
Michael Niedermayer
29ca668f0a Fix mid/side stereo buggy output zeroing, fixes issue264 part 2.
Originally committed as revision 15004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 00:46:09 +00:00
Justin Ruggles
53e6fbb4c5 cosmetics: rename a table
Originally committed as revision 15003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 23:44:34 +00:00
Justin Ruggles
aec0407faf cosmetics: indent after last commit
Originally committed as revision 15001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 23:23:54 +00:00
Justin Ruggles
6b4bfed965 do not read exponent strategies from each block for E-AC-3 since they are in the header
Originally committed as revision 15000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 23:11:05 +00:00
Roman Shaposhnik
f4acfa3887 Cosmetic change aimed at making it easier to see how bits are consumed
Originally committed as revision 14998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 20:25:47 +00:00
Roman Shaposhnik
b1e3628e8c Factoring out chan_slice / 27 into seq variable
Originally committed as revision 14997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 20:21:17 +00:00
Roman Shaposhnik
7ae6dcb595 Simplification of how dct_mode affects decoding.
Originally committed as revision 14996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 20:17:01 +00:00
Michael Niedermayer
2f7c21b717 Cosmetics (format ff_nelly_dequantization_table nicer)
Originally committed as revision 14993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 18:56:50 +00:00
Justin Ruggles
8649e9332c add definitions and documentation for shared functions for E-AC-3 decoding
Originally committed as revision 14991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 01:47:03 +00:00
Justin Ruggles
0ffea2439b copy default coupling band structure from table to decoding context (used for E-AC-3)
Originally committed as revision 14990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 01:40:46 +00:00
Justin Ruggles
e43b29ab26 add more OKed parts of the E-AC-3 decoder: structural changes to support AHT mode mantissa decoding
Originally committed as revision 14989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 01:36:20 +00:00
Justin Ruggles
6a68105e2b cosmetics: rename some functions from *get_* to *decode_*
Originally committed as revision 14988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-27 01:24:43 +00:00
Baptiste Coudurier
8ee552f69c simplify mpeg12 avctx->pix_fmt set
Originally committed as revision 14986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 23:25:29 +00:00
Aurelien Jacobs
67f718bd11 Add a temp variable to ff_sine_window_init() to match the way wma.c computed
window before r14757. This fixes a regression introduced by r14757 on amd64.

Originally committed as revision 14982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 19:40:53 +00:00
Vladimir Voroshilov
2ccddc0211 Add explicit (int) cast to i386 optimized MUL* macros.
Wrong result is returned when 16-bit value is passed as value.
Also fixes "Warning: using `%edx' instead of `%dx' due to `l' suffix".

Originally committed as revision 14981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 19:38:17 +00:00
Vladimir Voroshilov
51f2a119cb (cosmetics) Remove incorrect comment.
Originally committed as revision 14980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 18:06:07 +00:00
Vladimir Voroshilov
f5e177f852 (cosmetics) Describe for which tests clipping is required.
Originally committed as revision 14979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 16:47:31 +00:00
Vladimir Voroshilov
1b8a36d728 (cosmetics) Remove wrong comments.
Originally committed as revision 14977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 16:41:23 +00:00
Vladimir Voroshilov
ef1bc972dd (cosmetics) Align comments consistently.
Originally committed as revision 14974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 07:13:43 +00:00
Vladimir Voroshilov
7ad909bd59 Another set of definitions for G.729
Originally committed as revision 14973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-26 07:10:38 +00:00
Michael Niedermayer
2ad0d96a24 Replace cliping in ff_acelp_interpolate() by a check&av_log, this should be the
quickest way to find out if it is needed.

Originally committed as revision 14970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 22:51:47 +00:00
Luca Barbato
9ac78726b8 Missing static in float_to_int16_altivec declaration
Originally committed as revision 14967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 16:32:03 +00:00
Bartlomiej Wolowiec
8580314463 Little-endian bitstream writer
Originally committed as revision 14965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 08:53:14 +00:00
Alexander E. Patrakov
3fc45bdcf0 fir_32bands_perfect[] contents were mixed, restore original order
Patch by Alexander Patrakov ($lastname <whirlpool> gmail.com)
Thread: dcadata.h: fir_32bands_perfect[] is wrong

Originally committed as revision 14964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 06:28:52 +00:00
Måns Rullgård
94cdcece91 ARM: add prefetch function using ARMv5 PLD instruction
Originally committed as revision 14962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 02:29:04 +00:00
Måns Rullgård
f1424cfd6d ARM: set STRIDE_ALIGN and DECLARE_ALIGNED_8 to 16 for NEON
Originally committed as revision 14961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 01:59:06 +00:00
Justin Ruggles
ffc2b3412c right shift the values by 8 in GAQ remap "B" table. data now fits in int8_t.
Originally committed as revision 14958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 00:15:29 +00:00
Justin Ruggles
c5b930e674 1000l to me. committed to wrong repo. revert last commit.
Originally committed as revision 14953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 22:57:25 +00:00
Justin Ruggles
e23e4de3ae cosmetics: rename some functions from *get_* to *decode_*
Originally committed as revision 14952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 22:55:08 +00:00
Alexis Ballier
dad6afb4cb stricter constraints of asm() blocks
All these variables are used as left operands of a movd instruction,
which does accept only memory or register operands while the "g"
constraint also allows immediates. Use "rm" instead.
Patch by Alexis Ballier %alexis P ballier A gmail P com%

Originally committed as revision 14941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 08:41:20 +00:00
Robert Swain
cbcbf439b9 Fix index to ff_sine_windows[]. Previously the index was usually in reverse
order.

Originally committed as revision 14940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 08:31:19 +00:00
Kostya Shishkov
e43b0a7316 okayed chunks of AAC encoder
Originally committed as revision 14939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 05:56:23 +00:00
Alexander E. Patrakov
cc09e77e2a Correct scaling factor in DCA decoder synthesis.
Patch by Alexander Patrakov ($lastname at gmail.com)
Thread: dca.c: output scale is a bit off

Originally committed as revision 14937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 05:47:45 +00:00
Justin Ruggles
0c3021eade change eac3dec.c license to LGPL
Originally committed as revision 14936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 04:55:32 +00:00
Loren Merritt
7fadc32de4 document some dsp alignments
Originally committed as revision 14935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 04:03:02 +00:00
Peter Ross
0cdc6ec941 Upgrade 20/24-bit PCM DVD decoder use SAMPLE_FMT_S32. Patch supplied by lars dot taeuber at gmx dot net.
Originally committed as revision 14931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 22:45:03 +00:00
Luca Barbato
0a3650c9f0 Remove unused variables
Originally committed as revision 14929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 21:10:38 +00:00
Luca Barbato
e1f27dc22b Introduce float_to_int16_interleave_altivec, tested with vorbis
Originally committed as revision 14928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 21:09:46 +00:00
Luca Barbato
8d3d51005a Introduce float_to_int16_one_altivec
Originally committed as revision 14927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 21:02:30 +00:00
Kostya Shishkov
2e0b635a57 Simple lowpass filter implementation.
Originally committed as revision 14921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 15:49:58 +00:00
Kostya Shishkov
cda00def4b Do not pass unnecessary arguments to AAC encoder functions
Originally committed as revision 14920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 15:25:57 +00:00
Michael Niedermayer
56523713e5 Remove redundant FFMIN().
Originally committed as revision 14918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 13:35:12 +00:00
Alexander E. Patrakov
4df7beb368 Increase buffer size to 16384 patch by Alexander E. Patrakov" patrakov gmail
This fixes a (probably not exploitable) buffer overflow (apparently unknown to its author).

Originally committed as revision 14917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 13:29:13 +00:00
Vladimir Voroshilov
6bf8b3ef03 Remove unnecessary header inclusion from g729.h
Originally committed as revision 14916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 12:49:13 +00:00
Vladimir Voroshilov
fe3a80d6fa Move from g729.h all definitions which are used only in g729dec.c
Originally committed as revision 14915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 12:38:45 +00:00
Justin Ruggles
63d72fb167 fix decoding of coupling leak info for normal AC-3
Originally committed as revision 14913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 03:30:08 +00:00
Justin Ruggles
602031305c add more OKed parts of the E-AC-3 decoder
Originally committed as revision 14912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 02:04:36 +00:00
Justin Ruggles
0569993ea4 cosmetics: indentation
Originally committed as revision 14911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 01:55:52 +00:00
Justin Ruggles
6fafb0202a add some approved parts of the E-AC-3 decoder
Originally committed as revision 14910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-23 01:51:42 +00:00
Robert Swain
b0f5852a13 Use ff_imdct_half() and vector_fmul_window() for IMDCT and windowing. Reduce
buffer sizes accordingly. This produces a ~10% overall decoding perfomance
improvement.

Originally committed as revision 14908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-22 18:21:22 +00:00
Robert Swain
db38c38624 Whitespace cosmetics after the last commit
Originally committed as revision 14907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-22 18:19:18 +00:00
Robert Swain
f49905588a Separate code in imdct_and_windowing() into distinct IMDCT, windowing and
buffer update sections

Originally committed as revision 14906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-22 18:18:50 +00:00
Matthieu Castet
95801b6a07 alac : check readsamplesize to ensure get_bits() doesn't
fail. Patch by Matthieu Castet <castet.matthieu AT free fr>

Originally committed as revision 14905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-22 15:09:20 +00:00
Jai Menon
ec6cda8c6e alacenc : perform decorrelation only for stereo samples
Originally committed as revision 14904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-22 14:57:35 +00:00
Michael Niedermayer
474efc1889 Make equation in doxy of ff_acelp_weighted_vector_sum() more readable by
adding spaces.

Originally committed as revision 14902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:52:48 +00:00
Michael Niedermayer
27b71e4b24 doxygen consistency
Originally committed as revision 14901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:51:25 +00:00
Michael Niedermayer
6caabab8cd Make comments doxygen compatible.
Originally committed as revision 14900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:49:58 +00:00
Michael Niedermayer
ec5bd476ac Doxygen syntax consistency.
Originally committed as revision 14899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:45:20 +00:00
Michael Niedermayer
8c5da74bc1 Mention cut-off freq of ff_acelp_high_pass_filter() instead of some
meaningless input dependent value.

Originally committed as revision 14898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:39:52 +00:00
Michael Niedermayer
70d3ba4194 Remove mathops.h dependancy.
Originally committed as revision 14897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:25:41 +00:00
Michael Niedermayer
1f08308249 vertical align
Originally committed as revision 14896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:23:01 +00:00
Michael Niedermayer
cd523888f3 Remove ff_acelp_weighted_filter() which is just a function wrapping a 1
line loop.

Originally committed as revision 14895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 23:22:11 +00:00
Michael Niedermayer
5038ecb1f1 Rename subframe_size to a name that is not specific to some specific use
of ff_acelp_convolve_circ()

Originally committed as revision 14894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-21 22:41:20 +00:00