Commit Graph

16463 Commits

Author SHA1 Message Date
Måns Rullgård 77753f874a ARM: fix j_rev_dct_ARM
This is a bugfix for ARMv4 assembly implementation of 'j_rev_dct'
function.

The problem was in the incorrect partially empty row detection. Even
if the first two coefficients in the row were nonzero, it handled this
just like the case with only the first nonzero coefficient.

Now this function produces exactly the same output as the stripped
down reference C version of 'j_rev_dct' (with the nested checks like
'if (d6) { if (d2) { ...' always evaluated as true, avoiding shortcut
branches).

Originally committed as revision 15805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 20:23:36 +00:00
Roman Shaposhnik 3a84713aaa Making it easier to send arbitrary structures as work orders to MT workers
Originally committed as revision 15804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 17:47:23 +00:00
Diego Biurrun 52ece41057 Remove unused variable.
Originally committed as revision 15803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-12 17:29:02 +00:00
Kenan Gillet 200de8c6bb More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-11 18:50:38 +00:00
Benjamin Larsson e22192ecc3 Comment typo
Originally committed as revision 15801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-11 08:46:29 +00:00
Benjamin Larsson cd027b511e Remove channel layout table that only should be used by encoders.
Originally committed as revision 15800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-11 08:30:32 +00:00
Jindřich Makovička f5edd874fa always use the whole buffer for reading w/ packetized sources to avoid packet truncation
Originally committed as revision 15799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-10 21:41:35 +00:00
Martin Storsjö 916ff02261 Fix memory leak in libgsm wrapper.
Patch by Martin Storsjö, martin at martin dot st

Originally committed as revision 15798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-10 20:02:00 +00:00
Kenan Gillet 2ae1a9b264 More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-09 12:00:47 +00:00
Diego Biurrun 3d4fc61064 Clarify that we require GNU make 3.81+.
Originally committed as revision 15796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 19:47:10 +00:00
Stefano Sabatini 15545a095a Fix argument constness for the av_codec_get_id() and
av_codec_get_tag() functions, making them take in input a constant
array, since they're not supposed to change it. Fix some warnings.

Originally committed as revision 15795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 18:37:03 +00:00
Kostya Shishkov 502ecc97af Split RV3/4 deblock pattern into horizontal and vertical parts
during calculating.

Originally committed as revision 15794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 18:15:13 +00:00
Stefano Sabatini a85de417db Add checks on the _mingw.h and w32api.h versions.
Based on a patch by Ramiro.

Originally committed as revision 15793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 11:04:56 +00:00
Kostya Shishkov ede0a5f973 Drop redundant check in RV3/4 deblock coefficients calculation
Originally committed as revision 15792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 07:24:56 +00:00
Peter Ross d2299316ce Electronic Arts demuxer: support TGQ video tags
Originally committed as revision 15791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:39:31 +00:00
Peter Ross 28245435d9 Electronic Arts TGQ/TQI/MAD IDCT algorithm
Originally committed as revision 15790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:38:10 +00:00
Peter Ross 42b30357be Electronic Arts TGQ video decoder
Originally committed as revision 15789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:29:22 +00:00
Roman Shaposhnik c3d470b4a9 implementing more efficient (and direct) allocation of work for DV codec workers
Originally committed as revision 15788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:18:00 +00:00
Peter Ross 939e4e3a72 Promote inv_aanscales array to global scope (ff_inv_aanscales)
Originally committed as revision 15787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-08 00:15:08 +00:00
Kostya Shishkov e122311261 Calculating an additional MV-based deblocking pattern is the same
for both RV3 and RV4, so move it into common code.

Originally committed as revision 15786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-07 07:18:22 +00:00
Måns Rullgård e3b07e1a74 OGG: correct PTS with old theora streams
Originally committed as revision 15785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:57:17 +00:00
Måns Rullgård 77be08eeb1 OGG: untypedef demuxer structs
Originally committed as revision 15784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:50:56 +00:00
Måns Rullgård d00e8b83f1 ARM: change MUL16() macro to inline function
Originally committed as revision 15783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:28 +00:00
Måns Rullgård b911711571 ARM: prettify MAC16() macro
Originally committed as revision 15782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:26 +00:00
Måns Rullgård 73c1c96b83 ARM: change MULH() macro to inline function
Originally committed as revision 15781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:23 +00:00
Måns Rullgård 8f4d0d48b9 ARM: change MULL() macro to inline function
Originally committed as revision 15780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:20 +00:00
Måns Rullgård 96dea17a1d ARM: mathops.h whitespace cosmetics
Originally committed as revision 15779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:33:17 +00:00
Diego Biurrun 7fb9440674 Add missing #include "libavutil/avstring.h", fixes
libavcodec/utils.c:1139: warning: implicit declaration of function 'av_strlcat'

Originally committed as revision 15777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-05 23:28:41 +00:00
Alex Converse d0ee50216d Fix perceptual noise shaping scaling including an oversight of the offset for
the EIGHT_SHORT window type. Fixes issue 664.

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 15776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-05 13:59:42 +00:00
Diego Biurrun c2dec19420 Fix test program build: ff_eval was replaced by ff_eval2.
Originally committed as revision 15775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-05 13:32:06 +00:00
Peter Ross 4fd71a0ee8 Decode audio channel layout from RIFF/WAV file format.
Originally committed as revision 15774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-05 09:22:13 +00:00
Diego Biurrun dcc37c9b6a Add some const specifiers to function name variables; fixes a bunch of
"initialization discards qualifiers from pointer target type" warnings.

Originally committed as revision 27894 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-11-04 20:38:55 +00:00
Andreas Öman b09a7c05f6 h264: Implement decoding of picture timing SEI message.
Now correct values are propagated to interlaced_frame, top_field_first
and repeat_pict in AVFrame structure.

patch by ffdshow tryouts

Originally committed as revision 15773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-04 18:31:48 +00:00
Andrew Savchenko 9f0a705d46 Only warn about "Invalid and inefficient vfw-avi packed B frames" once.
Patch by Andrew Savchenko, Bircoph at list dot ru

Originally committed as revision 15772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-04 06:54:42 +00:00
Diego Biurrun 6408c25b95 Merge ARCH_BFIN lines.
Originally committed as revision 27889 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-11-03 22:06:45 +00:00
Diego Biurrun efa430faed Add tests target for libswscale test programs.
Originally committed as revision 27888 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-11-03 22:01:03 +00:00
Diego Biurrun 9f879620be Fix illegal identifier, __ are reserved for the system.
Originally committed as revision 15771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-03 21:59:35 +00:00
Måns Rullgård 1a220bcde3 Remove forgotten ASM_OBJS in libswscale
Originally committed as revision 27887 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-11-03 21:49:54 +00:00
Dominik Mierzejewski 82d1605fe7 Remove duplicated MM_* macros for CPU capabilities from dsputil.h.
Add missing one for FF_MM_ALTIVEC to avcodec.h.
Rename all the occurences of MM_* to the corresponding FF_MM_*.

Originally committed as revision 15770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-03 18:08:00 +00:00
Benjamin Larsson c6eaba62e8 Change the dca channel layout, S -> SIDE not BACK.
Originally committed as revision 15769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-02 21:51:27 +00:00
Andreas Öman 9d9b9d32e6 Change multichannel API define prefix from "CHANNEL_" to "CH_".
Originally committed as revision 15768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-02 21:04:28 +00:00
Reimar Döffinger 7cebed70a8 Replace long with x86_reg in postprocess_template.c like in all other
x86 assembler code files, just libpostprocess was forgotten.

Originally committed as revision 15767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-02 18:59:44 +00:00
Benjamin Larsson 48dc2fb800 Guess channel layout based on the number of channels if a custom layout is specified in amode.
Originally committed as revision 15766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-01 20:49:37 +00:00
Benjamin Larsson 87c3b9bce3 Add channel layouts for dca.
Originally committed as revision 15765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-01 20:27:05 +00:00
Kostya Shishkov b215365817 Introduce RV3-specific motion vector prediction.
Now B-frames in RV3 look almost correct.

Originally committed as revision 15764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-01 17:57:44 +00:00
Dominik Mierzejewski 34b37f86ec Enable CMOV usage on x86_64 arch. All x86_64 CPUs have it.
Originally committed as revision 15763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-01 17:57:43 +00:00
Peter Ross 0d72e7d0ae Add audio channel layout API to libavcodec.
Originally committed as revision 15762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-01 05:03:42 +00:00
François Revol 3a57547e33 Fix build.
Originally committed as revision 15761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-31 19:31:36 +00:00
Diego Biurrun ecad9872fb Initialize variable to silence the warning:
libavutil/pca.c:72: warning: ‘k’ may be used uninitialized in this function

Originally committed as revision 15760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-31 06:52:37 +00:00
Kenan Gillet cb377ec55e OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com

Originally committed as revision 15759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-30 22:37:18 +00:00