Commit Graph

19904 Commits

Author SHA1 Message Date
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
45e5feda68 Fix regression tests, diff was due to a patch to mpeg-2 parser timestamp fetching, pending,
current ref is technically more correct though.

Originally committed as revision 18912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 09:28:45 +00:00
Larbi Joubala
606d48cee1 fix hdlr descr in mp4 which use c string, patch by Larbi Joubala, larbi dot joubala at resonate-mp4 dot com
Originally committed as revision 18911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 07:17:17 +00:00
Baptiste Coudurier
84df78b476 simplify pes timestamps fetching, based on a patch by corp186, chasedouglas at gmail dot com
Originally committed as revision 18910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 06:25:44 +00:00
corp186
c69d224102 compute total bitrate more accurately, patch by corp186, chasedouglas at gmail dot com
Originally committed as revision 18909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 06:09:16 +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
b10d7e4e3a pad last audio frame when encoding
Originally committed as revision 18907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 04:07:25 +00:00
Baptiste Coudurier
c43accabd3 remove useless include
Originally committed as revision 18906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 03:05:56 +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
Baptiste Coudurier
c2b4c859a6 fix mouse seeking when start time is not set, fix #1083
Originally committed as revision 18902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 23:08:07 +00:00
Stefano Sabatini
ecfe3929da Remove duplicated RGB_TO_[YUV] macros, use those included in
libavcodec/colorspace.h.

Originally committed as revision 18901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 22:51:46 +00:00
Stefano Sabatini
62c58bcc65 Fix grammar for avfilter_graph_parse() doxy.
Originally committed as revision 18900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 22:38:41 +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
Baptiste Coudurier
4969cc0bd8 fail if stream fifo could not be allocated
Originally committed as revision 18897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 19:11:56 +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
David Conrad
533c3c84e7 Set speex frame_size in ogg demuxer
Originally committed as revision 18895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 18:34:01 +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
Diego Biurrun
ba7a703947 Print out more verbose licensing information.
Originally committed as revision 18893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 10:10:02 +00:00
Baptiste Coudurier
ec6b02b6fd check av_fifo_alloc return
Originally committed as revision 18892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-21 23:12:41 +00:00
Baptiste Coudurier
24dc7776ff correctly check for audio streams in mpeg ps muxer, fix multiple audio tracks
Originally committed as revision 18891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-21 22:33:17 +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
Måns Rullgård
d349685bb9 Create shared libs correctly, fix mingw build
Originally committed as revision 18884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-20 18:37:34 +00:00
Kenan Gillet
cdce0fb845 Add QCP demuxer.
Originally committed as revision 18883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-20 17:19:39 +00:00
Diego Biurrun
de08ebe381 Mention LGPL AC-3 decoder in the changelog.
Originally committed as revision 18882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-20 16:30:56 +00:00
Måns Rullgård
b4c80b649e Fix building from within subdirs
Originally committed as revision 18881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-20 10:24:59 +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
Måns Rullgård
bae3abb02c Define ARCH_MIPS64 when building for MIPS64
Originally committed as revision 18874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 19:40:24 +00:00
Måns Rullgård
08a85a59d6 Define HAVE_BIGENDIAN as 0 or 1 according to CPU type
This should replace the inconsistently named and defined
WORDS_BIGENDIAN.

Originally committed as revision 18873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 19:40:22 +00:00
Måns Rullgård
5b34250da0 configure: add some MIPS CPUs
Originally committed as revision 18872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-19 19:38:44 +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
Kostya Shishkov
5b21719ea2 Let SwScaler know that RGB48 BE/LE is 16-bits per component format.
Originally committed as revision 29317 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-05-19 17:37:58 +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
Kostya Shishkov
075ec82c54 Make SwScaler recognize RGB48 BE/LE colourspaces (not support though).
Originally committed as revision 29316 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-05-19 17:26:22 +00:00