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
Kostya Shishkov
6d924b5a5f
Release frame after decoding is done
...
Originally committed as revision 20231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-14 05:28:24 +00:00
Reimar Döffinger
ea09f69194
Print a warning message when avcodec_default_free_buffers finds unreleased
...
buffers, this hopefully should help detect codecs that do not release all
buffers e.g. in the decode_end function.
Originally committed as revision 20230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 20:48:51 +00:00
Reimar Döffinger
4a49ab77c6
Remove unnecessary calls to avcodec_check_dimensions, the check is already
...
done at a higher level.
Originally committed as revision 20229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 20:13:28 +00:00
Reimar Döffinger
0fbb0185b9
Call release_buffer on close for v210dec and v210x
...
Originally committed as revision 20228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 18:31:22 +00:00
Reimar Döffinger
4b5fee0205
Add missing release_buffer on close
...
Originally committed as revision 20227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 18:28:37 +00:00
Reimar Döffinger
d8b35b8586
Add decoder for "forward uncompressed".
...
Fixes issue 1467.
Originally committed as revision 20226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 18:15:57 +00:00
Reimar Döffinger
7537726f47
Implement execute2 for w32thread
...
Originally committed as revision 20225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 13:40:03 +00:00
Reimar Döffinger
1e6ff470b5
Fix w32thread implementation to handle job count > thread_count.
...
Originally committed as revision 20224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 13:03:12 +00:00
Reimar Döffinger
5bd1fc6fbd
fft_dispatch array should be const
...
Originally committed as revision 20223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 10:30:10 +00:00
Reimar Döffinger
c522b4e94e
Simplify: use FFSWAP
...
Originally committed as revision 20222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-13 08:23:00 +00:00
Sascha Sommer
933e866735
extend description of avcodec_decode_audio3:
...
- clarify when 0 is returned
- explain that decode_audio3 has to be called multiple times when there
are multiple frames in a single packet
Originally committed as revision 20215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-12 19:50:31 +00:00
Reimar Döffinger
b5ca9cd36f
Reindent after removing the outer for loops in the execute2 patch
...
Originally committed as revision 20212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-12 14:46:53 +00:00
Reimar Döffinger
2a1294b978
Move dnxhdenc to execute2 multithreading API.
...
This allows for some simplifications like removing some outer loops
and gives much better performance for thread_count > number of idle CPUs.
Originally committed as revision 20211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-12 14:43:57 +00:00
Reimar Döffinger
8d23a86f33
Add an execute2 function that is more flexible and allows to use parallel
...
processing with jobs > threads without wasting too much memory.
It also avoids needing a separate int array when the only additional data
the jobs needs is a single int running from 0 to count-1.
Originally committed as revision 20210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-12 11:35:35 +00:00
Måns Rullgård
0115b3eadb
ARM: align stack in NEON h264 mc functions
...
A certain rotten fruit operating system doesn't provide the 8-byte stack
alignment required by the standard ARM ABI, so align it manually.
Originally committed as revision 20208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-11 16:16:08 +00:00
Måns Rullgård
3e6015cc18
ARM: simplify movrel definition as CONFIG_PIC is now set for shared libs
...
Originally committed as revision 20204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-11 10:15:48 +00:00
Reimar Döffinger
9881d05d80
100l in avpicture_layout: width of chroma planes depends on format depth, too.
...
Fixes issue 1465
Originally committed as revision 20202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-11 07:05:26 +00:00
Kostya Shishkov
53b04467ae
Warn when WVC1 cannot be decoded
...
Originally committed as revision 20201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-11 05:36:59 +00:00
Reimar Döffinger
3bb984987c
Hack: set the coded frame PTS to the incoming PTS.
...
This is not correct, but libtheora does not seem to provide a way
to get the correct value, and this is necessary to make encoding
produce sensible time stamps when encoded content is variable
FPS or the time base is simply different from FPS.
Somewhat fixes issue 1197.
Originally committed as revision 20199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-10 14:43:31 +00:00
Reimar Döffinger
268fcbe2c8
Fix 100l incorrect bitmask check.
...
Originally committed as revision 20197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-10 08:49:57 +00:00
Kostya Shishkov
9e553f7acc
Print error message when true interlaced VC-1 frames are encountered
...
to inform user why decoder produces no output.
Originally committed as revision 20196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-10 07:35:31 +00:00
Robert Swain
0359289d1d
AAC: Fix regression introduced in r20067 where ADTS files would always be
...
signalled as having a channel configuration of 1 in output_configure().
Previously this didn't matter but it does now.
Originally committed as revision 20193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-09 15:38:44 +00:00
David Conrad
144fec83b3
dca and aac decoders use float_to_int16_interleave, so check for
...
the C version of that rather than float_to_int16.
Fixes output on ARM/VFP
Originally committed as revision 20192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-08 14:40:14 +00:00
Måns Rullgård
12bf71b691
ARM: whitespace cosmetics
...
Originally committed as revision 20191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-07 21:35:24 +00:00
Måns Rullgård
bef966e341
ARM: NEON avg_pixels8 and avg_h264_qpel8_mc00
...
Originally committed as revision 20190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-07 21:35:19 +00:00
Måns Rullgård
2ad4c241c8
ARM: make function names all-lowercase
...
Originally committed as revision 20186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 21:55:41 +00:00
Måns Rullgård
cf57bea6fb
ARM: enable ARMv4 add_pixels_clamped
...
Somehow this function was never used.
Originally committed as revision 20185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 21:55:37 +00:00
Måns Rullgård
153f49570f
ARM: ARMv6 optimised add_pixels_clamped()
...
Originally committed as revision 20184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 21:55:35 +00:00
Måns Rullgård
c8315e9186
ARM: whitespace cosmetics
...
Originally committed as revision 20183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 21:55:30 +00:00
Nathan Caldwell
73c6f59830
Move HuffYUV left prediction to dsputil.
...
Patch by Nathan Caldwell, saintdev gmail
Originally committed as revision 20179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 16:06:15 +00:00
Andrew Dennison
95ce961d88
Since some junk may be or may be not present before actual VC-1 extradata,
...
search for real extradata start instead of always skipping one byte.
Patch by Andrew Dennison gmailify(${name}d, lists)
Thread: [PATCH] Fix VC1 "Incomplete extradata" for mkv files generated by eac3to
Originally committed as revision 20178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 15:30:08 +00:00
Reimar Döffinger
01418506a2
Remove casts that are useless since the argument is void *.
...
Originally committed as revision 20177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 06:33:18 +00:00
Jai Menon
1c38da85e6
Allow building api-example from outside of libavcodec and also
...
make it more consistent with libavformat/output-example.
Originally committed as revision 20176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 06:18:57 +00:00
Justin Ruggles
9a9964c50e
cosmetics: reindent and line wrap after last commit
...
Originally committed as revision 20174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-05 21:33:50 +00:00
Justin Ruggles
d6eee9f3e9
alacenc: add a fixed LPC coefficient mode as compression level 1. old
...
compression level 1 is now compression level 2 and is still the default.
Originally committed as revision 20173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-05 21:27:36 +00:00
Michael Niedermayer
1fe4abf397
Revert:
...
r18826 | stefano | 2009-05-14 20:50:58 +0200 (Thu, 14 May 2009) | 2 lines
Make av_set_string3() print a message in case of unknown option.
This change led to multiple identical error messages to be printed if an option
was not found.
Originally committed as revision 20172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-05 20:18:16 +00:00
Måns Rullgård
55c0e1e6d2
ARM: add ff_ prefix to lots of functions
...
Originally committed as revision 20167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-04 13:13:12 +00:00
Måns Rullgård
9abcc9a6f4
ARM: cosmetics
...
Originally committed as revision 20166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-04 13:13:08 +00:00
Måns Rullgård
f67e0b824f
ARM: replace some #if with if()
...
Originally committed as revision 20165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-04 13:13:06 +00:00
Måns Rullgård
701c618f7d
ARM: clean up file/function naming conventions
...
Originally committed as revision 20164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-04 13:13:02 +00:00
Måns Rullgård
84d430f85a
ARM: clean up dsputil initialisation
...
- Move v5 and v6 initialisation to separate files.
- Move NEON IDCT selection to ff_dsputil_init_neon()
Originally committed as revision 20163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-04 13:12:55 +00:00
Peter Ross
384f26f428
Sun Raster RGB support
...
Originally committed as revision 20162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-04 08:42:23 +00:00
Måns Rullgård
1febba1e62
ARM: shorten some long macro names
...
Originally committed as revision 20159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-03 18:22:56 +00:00
Måns Rullgård
2e823300a6
ARM: update ldm/stm instructions to modern syntax
...
Originally committed as revision 20158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-03 18:22:52 +00:00
Måns Rullgård
abff992d36
ARM: whitespace cosmetics
...
Originally committed as revision 20157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-03 18:22:49 +00:00
Robert Swain
f640478b56
Reindent after channel layout commit from yesterday
...
Originally committed as revision 20156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-03 14:59:40 +00:00
Sascha Sommer
aac4b0a47e
increase maximum compressed frame size
...
fixes playback of piece.wmv
Originally committed as revision 20155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-03 10:01:23 +00:00
Sascha Sommer
037396d099
return AVERROR_INVALIDDATA when the bitstream could not be decoded
...
Originally committed as revision 20154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-03 09:44:05 +00:00
Peter Ross
dae0d1e21c
Support decoding of uncompressed PCX scanlines
...
Originally committed as revision 20153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-03 05:18:32 +00:00
Måns Rullgård
c61e40b728
ARM: use plain labels for pc-relative addressing
...
Originally committed as revision 20152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 23:11:03 +00:00
Måns Rullgård
b44c6d8edb
ARM: remove unnecessary .fpu neon directives
...
Originally committed as revision 20151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 19:35:12 +00:00
Måns Rullgård
fd818a21c7
ARM: use undocumented .syntax directive to enable UAL syntax
...
Originally committed as revision 20150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 19:35:07 +00:00
Robert Swain
53a71e1ba4
Add vorbis channel layout support according to those defined in the Vorbis I
...
specification
Originally committed as revision 20148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 12:59:37 +00:00
Måns Rullgård
e654b7c29e
ARM: apply extern symbol prefix where needed
...
Originally committed as revision 20147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 08:42:00 +00:00
Reimar Döffinger
681c180dc4
Make avcodec_open set codec_id and codec_type if they haven't been set.
...
This fixes the API breakage introduced by the check that avctx codec id and type
match the opened codec and should make (almost?) all applications work again.
Originally committed as revision 20125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 15:54:55 +00:00
Reimar Döffinger
43d7c6118d
put_bits can only reliably write up to 31 bit bits, above it relies on
...
undefined shift behaviour.
Document this, fix the assert and add a put_bits32 to handle writing 32
bits and use that where necessary.
Originally committed as revision 20124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 15:40:29 +00:00
Reimar Döffinger
ec65675504
Use MANGLE in cavsdsp, the current version using "m" constraints will not
...
compile on e.g. OpenBSD due to running out of registers.
Originally committed as revision 20123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 15:30:27 +00:00
Benoit Fouet
05ec0c0012
Fix indentation after last commit.
...
Originally committed as revision 20121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 12:21:54 +00:00
Anne-Laure de Smit
e23dd95dc2
Add support for TARGA images without RLE compression.
...
Patch by Anne-Laure de Smit: gmail_address(annelaure, desmit)
Originally committed as revision 20120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 12:20:08 +00:00
Diego Biurrun
2499f4e09e
Fix wrongly indented block.
...
Originally committed as revision 20117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 09:30:08 +00:00
Diego Biurrun
081c14a318
Use "!exp" instead of "exp == NULL" in if condition.
...
Originally committed as revision 20116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 09:13:21 +00:00
Diego Biurrun
37a4269d70
cosmetics: K&R coding style, prettyprinting
...
Originally committed as revision 20115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 09:11:07 +00:00
Kostya Shishkov
a8b95021e5
Do not attempt to decode TIFF files containing fax data with uncompressed
...
mode allowed for there is no code to decode it (yet).
Originally committed as revision 20114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 06:31:49 +00:00
Kostya Shishkov
8355572f91
lavc MJPEG decoder is capable of decoding some extended sequential
...
Huffman-compressed JPEG files, so make it decode those files
(samples are welcome).
This fixes issue 1420
Originally committed as revision 20113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 05:52:38 +00:00
Kostya Shishkov
5073cca404
Make BMP decoder produce flipped picture with RLE compression.
...
This fixes issue 1415
Originally committed as revision 20112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 05:46:17 +00:00
Kostya Shishkov
b08de903cd
Make MS RLE decoder produce both bottom-up and top-down pictures
...
Originally committed as revision 20111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 05:42:55 +00:00
Justin Ruggles
535497f193
Change an error to a warning to support broken AC-3 files known to exist.
...
Fixes Issue 1426.
Originally committed as revision 20110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-01 00:06:54 +00:00
David Conrad
6945c2bc4c
Support constant-quant encoding for libtheora
...
Based on a patch by j f (gonzaz-z # operamail (d) com)
Originally committed as revision 20109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 22:25:49 +00:00
Justin Ruggles
3fdccca091
10l: wrong operation in stereo rematrixing
...
Originally committed as revision 20106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 21:51:02 +00:00
Anne-Laure de Smit
2aa6e87a97
Add support for SGI images without RLE compression.
...
patch by Anne-Laure de Smit, annelaure.desmit gmail com
Originally committed as revision 20104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 21:23:47 +00:00
Reimar Döffinger
5200b90147
Do not needlessly add 7 to put_buts_count before dividing by 8,
...
flush_put_bits ensures it is divisible 8.
Originally committed as revision 20103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 20:47:59 +00:00
Lasse Reinhold
391dbb54a6
Use floating point mathematics when encoding mpeg audio.
...
Fixes issue 975: high db peak levels when encoding mp2
Original patch by Lasse Reinhold, lassemikkelreinhold hotmail
Originally committed as revision 20100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 15:13:09 +00:00
Reimar Döffinger
75ddee0a26
Use skip_put_bytes in MJPEG encoder instead of filling all bytes with 0
...
with put_bits.
Originally committed as revision 20096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 10:48:14 +00:00
Reimar Döffinger
eb0d04c325
Use ff_put_string in vorbis encoder.
...
Originally committed as revision 20095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 10:37:37 +00:00
Reimar Döffinger
003121091e
Replace several #ifdef PIC with the more obvious and correct
...
#if !HAVE_EBX_AVAILABLE, since all it does is avoid using ebx.
Originally committed as revision 20094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 09:49:12 +00:00
Kostya Shishkov
53f9f9c91b
When BitsPerSample tag is not present in TIFF, that means file is
...
monochrome, so initialize picture before decoding.
This fixes decoding monochrome files produced by lavc TIFF encoder.
Originally committed as revision 20091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 05:49:18 +00:00
Justin Ruggles
2ed4439658
Simplify stereo rematrixing by only using one temporary variable. It is also
...
about 1.8% faster on my system.
Originally committed as revision 20090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 01:25:04 +00:00
Justin Ruggles
16c91d2b23
remove unneeded assignment in inner loop. rematrixing bands are contiguous.
...
Originally committed as revision 20089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 01:09:57 +00:00
Reimar Döffinger
8f1e203a56
Use context instead of NULL for logging.
...
Originally committed as revision 20085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 19:18:51 +00:00
Reimar Döffinger
ebb651d5f2
Make sure that dv encoder initializes all encoded packet data.
...
The specification does not say which value to use for unused
parts, so fill all unused bytes with 0xff, which is consistent
with what DV usually uses for reserved or unused parts.
Originally committed as revision 20084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 19:17:18 +00:00
Diego Biurrun
8a8720c1bb
cosmetics: K&R coding style, prettyprinting
...
Originally committed as revision 20083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 18:03:30 +00:00
Jason Garrett-Glaser
8ea08becfa
Fix indentation in avcodec.h
...
Originally committed as revision 20082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 17:34:36 +00:00
Måns Rullgård
0e71841b05
WMA: fix loop unrolling in decode_exp_vlc()
...
The count can be a non-multiple of 4 after all.
Originally committed as revision 20081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 12:48:24 +00:00
Diego Biurrun
a7adcf29cf
whitespace cosmetics, prettyprinting, K&R coding style
...
Originally committed as revision 20080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 11:43:58 +00:00
Reimar Döffinger
badce93dad
Simplify r20025: use align_get_bits instead of reimplementing it.
...
Originally committed as revision 20079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 11:06:04 +00:00
Måns Rullgård
076a9dea1e
WMA: store level_table as floats, use type punning for sign flip in decode
...
Originally committed as revision 20078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 10:38:34 +00:00
Måns Rullgård
ff00b94e9d
WMA: use type punning and unroll loops in decode_exp_vlc()
...
GCC does stupid things if these assignments are done using floats
directly, so fill the runs using integer operations instead. Also
unroll the loops since the length is always a multiple of 4.
Originally committed as revision 20077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 10:38:30 +00:00
Måns Rullgård
c0d1463da7
WMA: use a table instead of pow() in decode_exp_vlc
...
Originally committed as revision 20076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 10:38:27 +00:00
Kostya Shishkov
a5568f4608
Make sure all the bits are written to output in fax data decoder.
...
This fixes decoding TIFF images with fax compression and width being not
multiple of eight (and issue 1429).
Originally committed as revision 20072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 05:55:14 +00:00
Diego Biurrun
0b8e7ab059
some more linebreak and brace placement cosmetics
...
Originally committed as revision 20071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-28 21:46:22 +00:00
Diego Biurrun
5e56b30e1f
brace placement and linebreak cosmetics
...
Originally committed as revision 20070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-28 21:13:47 +00:00
Robert Swain
754ff9a795
Refactor channel element configuration and mapping code into its own function
...
to allow reuse
Originally committed as revision 20069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-28 15:37:18 +00:00
Robert Swain
2309923c5c
Reindent after last commit
...
Originally committed as revision 20068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-28 15:35:51 +00:00
Robert Swain
e22da6b637
AAC: Add channel layout support for channel configuration as defined in the
...
specification
Originally committed as revision 20067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-28 15:35:13 +00:00
Kostya Shishkov
d2cdf20147
cosmetics: reindent and reformat function declarations
...
Originally committed as revision 20066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-28 05:19:13 +00:00
Kostya Shishkov
8da5d3dc37
Finally distinguish TIFF_CCITT_RLE and TIFF_G3 1-D case, so both of them
...
will be decoded correctly.
This fixes issue 1423.
Originally committed as revision 20065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-28 05:17:20 +00:00
Kostya Shishkov
7c6f5238c6
Make TIFF decoder load compression options only for corresponding codec
...
Originally committed as revision 20064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-28 05:15:27 +00:00
Måns Rullgård
ec71a8e00b
ARM: NEON optimised vector_fmul_add
...
Originally committed as revision 20063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 16:52:05 +00:00
Måns Rullgård
35de5d2412
cosmetics: fix indentation after previous commit
...
Originally committed as revision 20062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 16:52:00 +00:00
Måns Rullgård
952e872198
Drop unused args from vector_fmul_add_add, simpify code, and rename
...
The src3 and step arguments to vector_fmul_add_add() are always zero
and one, respectively. This removes these arguments from the function,
simplifies the code accordingly, and renames the function to better
match the new operation.
Originally committed as revision 20061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 16:51:54 +00:00
Martin Storsjö
eec69b399a
Do not compile ZLib data uncompressing function in TIFF decoder when ZLib is
...
not present.
Patch by Martin Storsjö
($firstname <at> $firstname <dot> two first letters of $lastname)
Originally committed as revision 20058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 09:43:11 +00:00
Måns Rullgård
d975e5e9b7
WMAPRO: use vector_fmul_scalar from dsputil where possible
...
Originally committed as revision 20056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 08:16:50 +00:00
Justin Ruggles
8b11b44ea7
Rearrange loop structure for approx. 35-50% faster calc_transform_coeffs_cpl()
...
depending on content.
Originally committed as revision 20055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 07:16:51 +00:00
Kostya Shishkov
e96f885aa0
Looks like ZLib uncompress() cannot deal with some kinds of TIFF deflated data,
...
so replace it with custom code.
This fixes issue 1419.
Originally committed as revision 20054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 07:01:01 +00:00
Justin Ruggles
3b6c5ad2f6
Move variable declaration to inside of loop.
...
Originally committed as revision 20053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 06:38:57 +00:00
Justin Ruggles
025873738f
Cosmetics: Rename some variables.
...
Originally committed as revision 20052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 06:38:13 +00:00
Justin Ruggles
b5f4639b13
Simplify coupling band loop.
...
Originally committed as revision 20051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 06:33:23 +00:00
Justin Ruggles
09e03847b9
Remove unneeded table lookup.
...
Originally committed as revision 20050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 06:16:49 +00:00
Justin Ruggles
444ce49a7a
Cosmetics: Rename some variables to be more descriptive of their use.
...
Originally committed as revision 20049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 06:13:01 +00:00
Justin Ruggles
4e745ea83e
Move some variable declarations to inside of loops.
...
Originally committed as revision 20048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 06:10:36 +00:00
Justin Ruggles
3538a2e47a
Remove unneeded variable.
...
Originally committed as revision 20047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 06:01:32 +00:00
Justin Ruggles
84cb4bc6a2
Cosmetics: Rename some variables to be more descriptive of their use.
...
Originally committed as revision 20046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 05:48:03 +00:00
Justin Ruggles
8a547c25a0
Remove some unneeded variables.
...
Originally committed as revision 20045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 05:39:57 +00:00
Justin Ruggles
403b1543b5
Cosmetics: Rename some variables
...
Originally committed as revision 20044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 05:36:52 +00:00
Justin Ruggles
f805d5fc9d
simplify 2 lines into 1 using FFMIN
...
Originally committed as revision 20043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 04:57:36 +00:00
Justin Ruggles
612bdf1808
Cosmetics: Do some basic pretty-printing.
...
Originally committed as revision 20042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 04:55:37 +00:00
Justin Ruggles
bf8643838b
Simplify by combining increment with array access.
...
Originally committed as revision 20041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 04:47:38 +00:00
Justin Ruggles
89e6317b5b
cosmetics: Rename some variables to be more descriptive of their use. Do some
...
pretty-printing as well.
Originally committed as revision 20040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 04:46:56 +00:00
Justin Ruggles
a7e7417c41
Move 2 variable declarations to inside of loop.
...
Originally committed as revision 20039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 04:41:05 +00:00
Justin Ruggles
20520421a1
simplify by combining increment with array access
...
Originally committed as revision 20038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 04:37:00 +00:00
Justin Ruggles
be5830ea7a
Remove unneeded variable
...
Originally committed as revision 20037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 04:32:31 +00:00
Justin Ruggles
b05e4195d4
Hardcode AC-3 critical band tables when CONFIG_HARDCODED_TABLES is set.
...
Originally committed as revision 20036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 04:07:49 +00:00
Justin Ruggles
65935bc729
simplify format string for writing pix_fmt string.
...
Originally committed as revision 20034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-26 22:54:29 +00:00
Måns Rullgård
f331cec47d
ARM: NEON optimised vector_clipf
...
Originally committed as revision 20031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-26 19:55:21 +00:00
Måns Rullgård
0a07e9d012
WMA: remove some unused variables
...
Originally committed as revision 20030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-26 19:23:27 +00:00
Måns Rullgård
b9b1ad9cd8
ARM: NEON optimised vector_fmul_reverse
...
Originally committed as revision 20029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-26 19:23:25 +00:00
Reimar Döffinger
a55247e761
Specify maximum sample rate of MLP by defining the factor relative to 48000
...
instead of directly.
This makes clear that the code assumes the maximum sample rate to be
a multiple of 48000 and also removes the division from the MAX_BLOCKSIZE
macros, which causes an issue with the Solaris assembler where "/" is
a comment marker unless the --divide option is used.
Originally committed as revision 20026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-26 16:04:35 +00:00
Kostya Shishkov
a8c7a3d2c1
Fix decoding of TIFF CCITT RLE compressed data.
...
This fixes issue 1417.
Originally committed as revision 20025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-26 05:48:50 +00:00
Justin Ruggles
84e30ef992
Align pix_fmt list by allowing one more char for the pix_fmt name.
...
Originally committed as revision 20024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-25 01:31:53 +00:00
Reimar Döffinger
ef530829f8
Remove ff_realloc_static, it is no longer used and since it was declared
...
static there is no reason to wait for a major version bump, removing
it does not change ABI in any way, not even the non-public one.
Originally committed as revision 20023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-24 22:39:47 +00:00
Reimar Döffinger
1e224c5480
Reindent.
...
Originally committed as revision 20022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-24 22:37:34 +00:00
Reimar Döffinger
e518a49f34
Remove a piece of code left-over from the removed alloc'd static vlc table code.
...
Originally committed as revision 20021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-24 22:36:52 +00:00