Commit Graph

7606 Commits

Author SHA1 Message Date
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