Commit Graph

10326 Commits

Author SHA1 Message Date
Daniel Verkamp b74d42ee33 Build extradata in adpcm_ms encoder.
This fixes issue #1244.

Originally committed as revision 20349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-22 20:43:55 +00:00
Daniel Verkamp bb7d0e87ae Indicate that AdaptCoeff1 and 2 are functions of the actual coefficients.
Originally committed as revision 20345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-22 15:57:04 +00:00
Reimar Döffinger 558dbb8469 sin_tables.c is a generated file, so add it to CLEANFILES
Originally committed as revision 20332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-20 14:16:23 +00:00
avcoder a0b909fbff Remove SHIFT_TEMPS from jfdct code.
Patch by avcoder: our_beloved_project AT gmail DOT com
See thread [FFmpeg-devel] Patch: remove useless SHIFT_TEMPS definition
Date: Tue, 20 Oct 2009 14:29:05 +0800

Originally committed as revision 20331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-20 11:19:54 +00:00
Diego Biurrun 2ab9be3abe Add missing dependency of the S/PDIF muxer on the AAC parser.
Fixes build with --disable-parsers.

Originally committed as revision 20328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 22:45:22 +00:00
Diego Biurrun 96ff02f1b4 Get rid of some pointless '== NULL' / '!= 0' conditions in if statements.
Originally committed as revision 20325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 22:26:52 +00:00
Stefano Sabatini b0bef34209 Add additional long names for the Flash Video decoder and encoder.
Originally committed as revision 20317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 18:45:44 +00:00
Stefano Sabatini 2917367cac Add additional long names for the Sorenson Vector Quantizer 3 decoder.
Originally committed as revision 20316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 18:44:43 +00:00
Stefano Sabatini 1c062b555c Add additional long names for the Sorenson Vector Quantizer 1 decoder
and encoder.

Originally committed as revision 20315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 18:43:28 +00:00
Reimar Döffinger 9adcccde0c mpegaudiodec, mpc and qdm2 all use the same mpa_synth window, so make
them use the same variable/global storage.
Saves 4 kB in .bss.

Originally committed as revision 20314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 17:21:02 +00:00
Diego Biurrun 8767fb4cad whitespace cosmetics: prettyprinting, K&R style
Originally committed as revision 20313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 15:51:34 +00:00
Carl Eugen Hoyos 643fc8f107 Flip (M)JPEG frames encoded by Intel JPEG library.
Fixes issues 1464 and 1468.

Originally committed as revision 20312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 15:41:28 +00:00
Diego Biurrun 11eb3cea73 Remove pointless parentheses.
Originally committed as revision 20311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 15:14:00 +00:00
Diego Biurrun d91aac1c90 cosmetics: Remove pointless parentheses from return statement.
Originally committed as revision 20310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 12:47:52 +00:00
Jason Garrett-Glaser 1953898162 Update libx264.c for x264 API change
Change behavior of b-pyramid option.

Originally committed as revision 20308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 09:35:19 +00:00
Loren Merritt b07781b6e4 fix linking on systems with a function name prefix (10l in r20287)
Originally committed as revision 20294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 21:44:03 +00:00
Loren Merritt 29e4edbbe7 sync yasm macros to x264
Originally committed as revision 20293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 21:42:28 +00:00
Charles Yates 10a693b568 fix sar for dvcpro hd, patch by Charles Yates, charles dot yates at gmail dot com
Originally committed as revision 20291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 21:08:23 +00:00
Loren Merritt e17ccf60fe huffyuv: add some const qualifiers
Originally committed as revision 20290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 20:47:25 +00:00
Loren Merritt 2f77923d72 simd add_hfyu_left_prediction
2.2x faster than C on conroe, 3.6x on penryn.
4-6% faster huffyuv decoding if using left or plane mode and yuv

Originally committed as revision 20287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 20:10:10 +00:00
Justin Ruggles f4d608e344 add CONFIG_LPC to the build system for lpc dsputil functions. fixes build
problems when lpc.c is not compiled.

Originally committed as revision 20285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 19:51:18 +00:00
Måns Rullgård 4df254f1f1 WMAPRO: use some type punning in decode_coeffs()
Originally committed as revision 20284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 18:51:54 +00:00
Vitor Sessak a0228397af Replace big square-root table by a call to ff_sqrt(). Based on a patch
by Reimar Döffinger.

Originally committed as revision 20281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 16:29:10 +00:00
Onur Küçük 53bc53ae4e Fix typo that mistakenly slipped into previous commit:
CONFIG_MPEG_XVMC_DECODER was changed to CONFIG_MPEGVIDEO_XVMC_DECODER.
patch by Onur Küçük, onur delipenguen net

Originally committed as revision 20278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 14:34:45 +00:00
Diego Biurrun 15674f12be cosmetics: Break overly long lines.
Originally committed as revision 20276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 10:47:40 +00:00
Justin Ruggles fde82ca7e4 Move autocorrelation function from flacenc.c to lpc.c. Also rename the
corresponding dsputil functions and remove their dependency on the FLAC
encoder.
Fixes Issue1486.

Originally committed as revision 20266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-17 21:00:39 +00:00
Michael Niedermayer c69b3e0dc1 Revert r20249, it seems the union trick works everywhere
Original commit message:
	Very evil missuse of svn to test if AVOption and AVOption2 are compatible.
	If this test triggers anywhere for anyone, revert this commit immedeatly.
	Ill revert this in a day or 2, its just so we know beforehand if the idea
	with the union is doable or not without breaking ABI/API.

Originally committed as revision 20264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-17 19:35:47 +00:00
Jai Menon 215dab5fee alacenc : use private compression_level value consistently.
Originally committed as revision 20261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-17 08:04:33 +00:00
Alexander Strange f076fe4422 Remove a meaningless 'inline' from add_hfyu_left_prediction_bgr32_c().
Originally committed as revision 20260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-16 23:06:55 +00:00
Alexander Strange 2d4bbdecee Huffyuv: Add missing const to src pointers in dsputil functions.
Originally committed as revision 20259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-16 23:04:41 +00:00
Alexander Strange 8471a1873d Huffyuv: Remove unnecessary allocation in alloc_temp().
RGB only needs one temp array.

Originally committed as revision 20258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-16 22:55:34 +00:00
Alexander Strange 6ec8eadda4 Huffyuv: Fix a valgrind warning in get_vlc2().
The padding in bitstream_buffer wasn't initialized.

Originally committed as revision 20257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-16 22:52:23 +00:00
Jai Menon a0992374ee alacenc : Move some code around for clarity.
Originally committed as revision 20256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-16 16:50:15 +00:00
Ramiro Polla 52ae1e869b mlp: Indent.
Originally committed as revision 20255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-16 16:12:04 +00:00
Ramiro Polla 7fd8806924 mlp: Only initialize VLC tables once. This caused a crash when multiple
instances of the decoder were started at different times.
Bug reported by Maxim Anisiutkin.

Originally committed as revision 20254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-16 16:10:00 +00:00
Reimar Döffinger 33815fa106 mlp: Use smaller CRC tables if CONFIG_SMALL.
Patch by Reimar.

Originally committed as revision 20253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-16 16:03:26 +00:00
Carl Eugen Hoyos 45fc24a005 Do not try to free memory that was never allocated (partial revert of r20231).
Originally committed as revision 20252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-16 15:16:59 +00:00
Carl Eugen Hoyos 0b7f39c9d4 Release unreleased buffers found by make test.
Originally committed as revision 20251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-16 14:50:08 +00:00
Michael Niedermayer b388d5e4c6 Very evil missuse of svn to test if AVOption and AVOption2 are compatible.
If this test triggers anywhere for anyone, revert this commit immedeatly.
Ill revert this in a day or 2, its just so we know beforehand if the idea
with the union is doable or not without breaking ABI/API.

Originally committed as revision 20249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-16 12:35:49 +00:00
Michael Niedermayer f1cb9858b5 Add an experimental AVOption2 that uses an union instead of double for default_val.
Originally committed as revision 20248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-16 12:31:32 +00:00
Reimar Döffinger c76911bd65 Split parts of dvdata.h into dvdata.c, this ensures that things like
work_chunks_* and dv_idct_factor_* variables appear only once in the binary
instead of 3 times.
Saves 3264 bytes in .rodata and 312416 bytes in .bss on x86_64.

Originally committed as revision 20246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-16 07:55:57 +00:00
Reimar Döffinger 75df2edbb9 Add support for hardcoded ff_sin_* tables.
Originally committed as revision 20244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-15 18:04:55 +00:00
Reimar Döffinger 4ee726b670 Move/add COSTABLE/SINTABLE macros to dsputil to add extern definitions
for ff_cos_* and ff_sin_* without introducing too much code duplication.

Originally committed as revision 20243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-15 17:55:51 +00:00
Reimar Döffinger 91405541d5 Remove silly casts to the same type as we already have.
Originally committed as revision 20242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-15 17:19:07 +00:00
Reimar Döffinger 77edf86648 Add missing release_buffer at decode end for asv1 decoder.
Originally committed as revision 20241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-15 17:16:50 +00:00
Reimar Döffinger a57afd2943 Partially revert r20233, exp2f is not available on some BSDs, DOS and AVR32.
Originally committed as revision 20240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-15 17:10:07 +00:00
Frank Barchard e8b785411e Raise MAX_THREADS to 16.
Patch by Frank Barchard, fbarchard google com

Originally committed as revision 20239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-15 15:11:57 +00:00
Reimar Döffinger aafd659518 Do not initialize ff_cos_* tables again in rdft_init, they are already
initialized by ff_fft_init and using different code can result in slightly
different values, in addition it crashes when the tables are hardcoded.
On amd64 this slightly changes qdm2 output.

Originally committed as revision 20237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-15 11:50:32 +00:00
Reimar Döffinger 686884da9d Use cbrtf and exp2f instead of pow to calculate tables for MPEG audio decoding.
This hopefully is fast enough so that it is reasonable to use the same formula
directly instead of the table for CONFIG_SMALL.

Originally committed as revision 20233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-15 06:59:23 +00:00
Reimar Döffinger 16aec74761 Use hardcoded instead of runtime-calculated ff_cos_* tables if
--enable-hardcoded-tables was used.
Due to the size, the code for the tables is generated at compile time.

Originally committed as revision 20232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-14 21:41:24 +00:00