Diego Biurrun
cc013a7423
The MLP optimizations do not depend on HAVE_MMX, but on ARCH_X86.
...
Build them when ARCH_X86 is enabled. Fixes linking with MMX disabled.
Originally committed as revision 18945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 19:02:35 +00:00
Ramiro Polla
f9f36b4a4c
cosmetics: tabs->spaces
...
Originally committed as revision 18943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 18:37:16 +00:00
Justin Ruggles
724b8f6ac7
eac3dec: get rid of unnecessary left shifts in 16-bit * 24-bit
...
multiplication in GAQ mantissa ramapping.
Originally committed as revision 18941 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 16:12:51 +00:00
Reimar Döffinger
4cab1e491b
Move a DECLARE_ALIGNED_16 variable in the Nellymoser encoder from the stack
...
into the context to avoid issues when stack variables can not be aligned
reliably.
Originally committed as revision 18940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 12:17:02 +00:00
Baptiste Coudurier
47b5b0e8b6
honor restart interval in mjpeg, fix #861 , SpectralFan.mov still decodes correctly
...
Originally committed as revision 18937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 02:34:31 +00:00
Ramiro Polla
cbd7836e88
mlp: Re-enable x86-optimized DSP functions.
...
Originally committed as revision 18936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 01:53:43 +00:00
Ramiro Polla
7c4c60e520
mlp: Use LABEL_MANGLE() to export label symbols from inside asm block.
...
Originally committed as revision 18935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-25 01:52:05 +00:00
Vitor Sessak
09d1208cdb
Fix unaligned dsputil call.
...
Should fix FATE corepng test on Solaris/Sparc.
Originally committed as revision 18930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-24 12:44:54 +00:00
Reimar Döffinger
1eda87ce63
eatqi: move "block" variable into context to ensure sufficient alignment for
...
idct_put for compilers/architectures that can not align stack variables that much.
This is also consistent with similar code in eatgq.c
Originally committed as revision 18927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-24 09:14:19 +00:00
Reimar Döffinger
77336b6127
Distinguish between non-coded blocks and decode errors in rtjpeg's get_block
...
Originally committed as revision 18926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-24 09:06:06 +00:00
Reimar Döffinger
8d857c5434
Add a few size checks when decoding rtjpeg blocks.
...
Might avoid crashes in unlikely cases, but mostly avoids ugly artefacts
for partial frames.
Originally committed as revision 18925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-24 09:03:45 +00:00
Reimar Döffinger
0766291a66
Move "block" variable in rtjpeg decoder to context to ensure sufficient alignment
...
for idct_put on architectures/compilers that have problems aligning on the stack.
Originally committed as revision 18924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-24 08:36:52 +00:00
Haruhiko Yamagata
86b0e9948b
H264: Don't deblock if alpha or beta is 0.
...
This ensures that the MMX loop filter is always bitexact with the C version.
Patch by Haruhiko Yamagata <h.yamagata _a_ nifty com>
Originally committed as revision 18923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-24 03:39:20 +00:00
Michael Niedermayer
77bc343a40
indent
...
Originally committed as revision 18921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 23:02:33 +00:00
Michael Niedermayer
216fb60dff
Fix lowres with rv20.
...
Fixes issue1102.
Originally committed as revision 18920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 22:59:35 +00:00
Jeff Downs
fdb699de62
Fix passing of unaligned addresses to dsputil diff_bytes() by
...
changeing calls to sub_left_prediction such that
the source frame data pointers are no longer offset to skip the initial
elements. This keeps them properly aligned for the subsequent call to diff_bytes.
Changes encoding offset to compensate.
Mailing list thread:
https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-May/069952.html
Originally committed as revision 18919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 19:37:01 +00:00
Jeff Downs
aa5cfdfb4f
Add offset argument to encode_422_bitstream() to control where
...
in the source data array to start encoding.
Change all calls to pass zero for this new argument for equivalent behavior.
This is a restructure to support a forthcoming bug fix.
Originally committed as revision 18918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 19:30:35 +00:00
David Conrad
548a99742c
ARM: actually add VP3 loop filter
...
Originally committed as revision 18917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 18:47:26 +00:00
David Conrad
6db8697a39
ARM: NEON VP3 Loop Filter
...
Originally committed as revision 18916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 18:36:20 +00:00
Baptiste Coudurier
9867a14f6c
fix qtrle encoding when previous frame linesize differs, fix #998
...
Originally committed as revision 18908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 05:55:29 +00:00
Baptiste Coudurier
01bc48f4d5
Set progressive_sequence before MPV_common_init which cares about it when
...
setting mb_height for interlaced mpeg-2 encoding.
Originally committed as revision 18905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 01:22:43 +00:00
Ramiro Polla
364f4a3620
Revert part of r18903:
...
MLP DSP functions x86-optimized.
12.59% overall speedup in x86_32
9.98% overall speedup in x86_64
compared to gcc 4.3.3
It breaks on x86_64 with PIC because the MANGLE macro appends (%%rip), which
is not wanted for labels.
Originally committed as revision 18904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 01:20:42 +00:00
Ramiro Polla
5624766d18
MLP DSP functions x86-optimized.
...
12.59% overall speedup in x86_32
9.98% overall speedup in x86_64
compared to gcc 4.3.3
Originally committed as revision 18903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 00:23:30 +00:00
David Conrad
cc0aae4343
Fix libtheora encoding for non-mod16 sizes
...
Originally committed as revision 18899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 22:01:50 +00:00
David Conrad
ef516f7377
Move ALIGN macro to libavutil/common.h and use it in various places
...
Originally committed as revision 18898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 21:32:13 +00:00
Reimar Döffinger
f2a875db87
Move eatgq blocks array from the stack to the codec context and make sure
...
it is aligned as necessary for DSPContext's idct_put.
Just aligning it on the stack would have been possible but less reliable
and without any real benefit.
Originally committed as revision 18896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 18:39:00 +00:00
Diego Biurrun
607694c77b
cosmetics: Fix some typos.
...
Originally committed as revision 18894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 17:14:22 +00:00
Justin Ruggles
cab4e4e84d
10l: typing mistake in r18888
...
Originally committed as revision 18890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-21 00:28:23 +00:00
Justin Ruggles
37a1cc4834
eac3dec: fix bug in GAQ dequantization. large mantissas should only be
...
decoded when the gain value is 2 or 4.
Originally committed as revision 18889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-21 00:15:44 +00:00
Justin Ruggles
9907c7804a
eac3dec: make GAQ dequantization 24-bit
...
Originally committed as revision 18888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-21 00:15:03 +00:00
Justin Ruggles
ae04de316f
eac3dec: revert commit r18860. keep the AHT IDCT 24-bit. will make AHT GAQ
...
dequantization 24-bit in a separate commit.
Originally committed as revision 18887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-21 00:09:23 +00:00
Måns Rullgård
e20a4f53a0
mathops: sort arch-specific #include lines
...
Originally committed as revision 18886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-20 18:49:55 +00:00
Måns Rullgård
26f6a57467
mathops: whitespace cosmetics
...
Originally committed as revision 18885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-20 18:49:52 +00:00
Martin Storsjö
a2ce9a9914
Use IF1 frame sizes in AMR-WB.
...
Patch by Martin Storsjö: martin (remove that) at martin (oh and this too) st
Originally committed as revision 18880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-20 08:57:32 +00:00
Siarhei Siamashka
373177949f
Use iMDCT output scaling to simplify ffvorbis and make it slightly faster.
...
Originally committed as revision 18879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-20 07:26:09 +00:00
Siarhei Siamashka
7dfed8e1dc
Fix for a problem with inverted sign of output data from ffvorbis decoder.
...
Now the sign of audio samples in ffvorbis output is the same as in original
uncompressed audio file and this also allows the use of tiny_psnr to compare
ffvorbis with libvorbis/tremor.
Originally committed as revision 18878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-20 07:24:38 +00:00
Siarhei Siamashka
34aecf1c87
Support for testing (i)MDCT output scale factor in fft-test tool.
...
Originally committed as revision 18877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-20 07:23:09 +00:00
Diego Biurrun
1754fe4d30
The AC-3 decoder is now LGPL. Exchange the license header and change references
...
in the build system and documentation that mark it as GPL.
Originally committed as revision 18876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 22:58:09 +00:00
Jason Garrett-Glaser
d869a460db
LGPL version of ac3_decode_transform_coeffs_ch, ~12.4% faster.
...
Originally committed as revision 18875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 21:29:21 +00:00
Alex Converse
6c6dac1dc1
Add missing libavformat dependencies on mpeg4audio.o
...
Originally committed as revision 18871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 18:02:06 +00:00
Diego Biurrun
6532cd55b1
Move AMR-WB-specific code to the AMR-WB section of the file.
...
Fixes compilation when AMR-NB #includes are not available on the system.
Originally committed as revision 18870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 17:31:56 +00:00
Diego Biurrun
4e1424fdc7
cosmetics: Move AMR-WB-specific code to the AMR-WB part of the file.
...
Originally committed as revision 18869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 17:30:27 +00:00
Diego Biurrun
76499b9ff1
Remove useless casts of vec_ld() parameters.
...
Gets rid of 'cast discards qualifiers from pointer target type' warnings.
Originally committed as revision 18867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-18 08:21:50 +00:00
Benjamin Larsson
7dd5568924
Indent
...
Originally committed as revision 18866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-17 16:13:03 +00:00
Benjamin Larsson
031b1cbeeb
Change from INIT_VLC_USE_STATIC to INIT_VLC_USE_NEW_STATIC in atrac3
...
Originally committed as revision 18865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-17 16:12:07 +00:00
Benjamin Larsson
fbf4d03a7c
Indent
...
Originally committed as revision 18864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-17 10:31:16 +00:00
Benjamin Larsson
8d9f12657c
Switch from INIT_VLC_USE_STATIC to INIT_VLC_USE_NEW_STATIC in qdm2.
...
Originally committed as revision 18863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-17 10:29:40 +00:00
Vitor Sessak
a2c4b2cc9a
Make TMV decoder check packet sizes before reading from it.
...
FATE test 295 might need updating.
Originally committed as revision 18862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-17 09:48:12 +00:00
Reimar Döffinger
936bb4a9bc
Add a forward declaration of mpeg1_decode_block_intra to fix compilation
...
broken by r18859 for e.g. all gcc 4 compilers.
Originally committed as revision 18861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-17 09:09:07 +00:00
Justin Ruggles
9a7a71ed4c
eac3dec: use 16-bit pre-mantissas instead of 24-bit in AHT decoding. it is
...
simpler and also fixes a bug in GAQ dequantization.
Originally committed as revision 18860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-17 06:53:24 +00:00