Reimar Döffinger [Fri, 24 Apr 2009 06:44:16 +0000 (06:44 +0000)]
TrueMotion 2 uses its own YUV-like colourspace, so convert output to proper RGB.
Patch by Reimar Döffinger <latinize($name) at (MN's favourite mail provider).de>
Originally committed as revision 18677 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Fri, 24 Apr 2009 05:52:53 +0000 (05:52 +0000)]
cosmetics: remove extra space indentation
Originally committed as revision 18676 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Fri, 24 Apr 2009 05:50:19 +0000 (05:50 +0000)]
Merge decoding functions for all bitdepths in WavPack decoder
Originally committed as revision 18675 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 24 Apr 2009 04:10:32 +0000 (04:10 +0000)]
Support >8bit per component YUV in FFV1.
decoding becomes slower, encoding becomes faster, with gcc on duron.
some inlining overrides like av_flatten are added to keep inlining similar
to before.
Originally committed as revision 18674 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 24 Apr 2009 01:50:09 +0000 (01:50 +0000)]
Force speed irrelevant calls to get/put_symbol() to be noinline.
We need to change decode_line to always_inline because gcc decided not to inline
it anymore once we force some calls to get/put_symbol() to be non inlined and
this decision of gcc would lead to a 10% overall speed loss.
100k smaller object file, no speed change
Originally committed as revision 18673 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 24 Apr 2009 00:26:49 +0000 (00:26 +0000)]
Optimize sign handling in get_symbol().
Originally committed as revision 18672 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Thu, 23 Apr 2009 23:30:16 +0000 (23:30 +0000)]
Don't loose bits_per_raw_sample when transcoding.
Originally committed as revision 18671 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 23 Apr 2009 23:14:26 +0000 (23:14 +0000)]
Make avcodec_thread_init() set the thread count, even in the case when
threads support is not enabled. This should avoid the need for
thread_count explicit setting in applications.
Originally committed as revision 18670 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Thu, 23 Apr 2009 22:19:53 +0000 (22:19 +0000)]
Make reset_ptr() void.
Originally committed as revision 29229 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Ivo van Poorten [Thu, 23 Apr 2009 18:44:03 +0000 (18:44 +0000)]
avoid possibly uninitialized return value
(found by clang static analyzer)
Originally committed as revision 18669 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Thu, 23 Apr 2009 18:21:16 +0000 (18:21 +0000)]
Handle WavPack INT32INFO chunks with nonzero post shift
Originally committed as revision 18668 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Thu, 23 Apr 2009 17:27:04 +0000 (17:27 +0000)]
Add functions for decoding >16 bits WavPack files.
Based on patches by Laurent Aimar (fenrir >whirlpool< videolan >dit< org)
Originally committed as revision 18667 to svn://svn.ffmpeg.org/ffmpeg/trunk
Laurent Aimar [Thu, 23 Apr 2009 07:44:04 +0000 (07:44 +0000)]
Shift 9-15 bit samples to use full 16-bit range.
Patch by Laurent Aimar <fenrir at VLCsite>
Thread: [PATCH] Fixed wavpack 9-15 bits support
Originally committed as revision 18666 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Thu, 23 Apr 2009 07:14:02 +0000 (07:14 +0000)]
Display dimensions should not affect the real size of coded frame, thus set
only avctx->{width,height} and don't touch coded_{width,height} when parsing
them. This fixes the case when coded and display dimensions differ by more
than one macroblock.
Originally committed as revision 18665 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 22 Apr 2009 22:05:34 +0000 (22:05 +0000)]
Remove 2 useless FFMIN().
Originally committed as revision 18664 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 22 Apr 2009 21:44:41 +0000 (21:44 +0000)]
Remove apparently redundant code.
Originally committed as revision 18663 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jai Menon [Wed, 22 Apr 2009 19:37:57 +0000 (19:37 +0000)]
NSV : Add TOC2 parsing and seeking support.
Originally committed as revision 18662 to svn://svn.ffmpeg.org/ffmpeg/trunk
Benjamin Larsson [Wed, 22 Apr 2009 13:52:33 +0000 (13:52 +0000)]
Remove redundant code, found by CSA
Originally committed as revision 18661 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Wed, 22 Apr 2009 09:27:36 +0000 (09:27 +0000)]
configure: support Blackfin CPU names with --cpu
Originally committed as revision 18660 to svn://svn.ffmpeg.org/ffmpeg/trunk
Andreas Öman [Wed, 22 Apr 2009 08:39:46 +0000 (08:39 +0000)]
It should be #if, not #ifdef
Originally committed as revision 18659 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Wed, 22 Apr 2009 05:20:31 +0000 (05:20 +0000)]
Switch VLC tables in WMV3/VC-1 decoder to new static init method
Originally committed as revision 18658 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 22 Apr 2009 02:58:20 +0000 (02:58 +0000)]
Require 4 instead of 3 frames for detecting mp3,
fixes misdetection of mpegps_mp3_unrecognized_format.mpg (issue997)
Originally committed as revision 18657 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 22 Apr 2009 02:29:11 +0000 (02:29 +0000)]
Fix 10l typo (usage of PIX_FMT_NE()).
Should fix FATE, i forgot to commit this.
Originally committed as revision 18656 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 22 Apr 2009 01:54:05 +0000 (01:54 +0000)]
Update safety check as the maximum pixel size is no longer 4.
New max size is 16bit * 4 samples (RGBA).
Originally committed as revision 18655 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 22 Apr 2009 01:50:15 +0000 (01:50 +0000)]
Support reading packed YUV422 10bit samples from Sveriges Television AB (SVT)
which have AFAIK been created for the jvt:
ftp://vqeg.its.bldrdoc.gov/HDTV/SVT_exports/SVT_YUV10_Exports_/NewMobCal_YUV10_720p5994_/
I have called the format v210x due to its similarity to v210, note though I have
not confirmed that v210x is different from actual v210 samples it just is
different from the description of v210 I am aware of.
Originally committed as revision 18654 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 22 Apr 2009 00:04:17 +0000 (00:04 +0000)]
Make read_line() do not depend on put_bits.h and speed up it.
Originally committed as revision 18653 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Tue, 21 Apr 2009 23:23:15 +0000 (23:23 +0000)]
Add raw MLP muxer.
Originally committed as revision 18652 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Tue, 21 Apr 2009 22:53:46 +0000 (22:53 +0000)]
mlpdec: Don't overallocate buffers.
Now that max channels and primitive matrices are properly validated, there is
no need to be paranoid that random data will be overwritten.
As a bonus this makes matrix_coeff 16-byte aligned between matrices.
Originally committed as revision 18651 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Tue, 21 Apr 2009 22:32:50 +0000 (22:32 +0000)]
mlpdec: Validate num_primitive_matrices.
Originally committed as revision 18650 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Tue, 21 Apr 2009 22:12:30 +0000 (22:12 +0000)]
mlpdec: Validate max_channel and max_matrix_channel.
Originally committed as revision 18649 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Tue, 21 Apr 2009 21:57:23 +0000 (21:57 +0000)]
mlpdec: Restart header sync must be 0x31ea for MLP.
Originally committed as revision 18648 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Tue, 21 Apr 2009 21:51:01 +0000 (21:51 +0000)]
Add missing header inclusion guard.
Originally committed as revision 18647 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Tue, 21 Apr 2009 19:15:21 +0000 (19:15 +0000)]
Implement a write_line() function.
Originally committed as revision 18646 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Tue, 21 Apr 2009 19:08:49 +0000 (19:08 +0000)]
Remove consume_whitespace() and replace it with direct calls to
strspn().
Originally committed as revision 18645 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jai Menon [Tue, 21 Apr 2009 17:52:52 +0000 (17:52 +0000)]
Read extended channel configuration when extended AOT is BSAC.
Originally committed as revision 18644 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Tue, 21 Apr 2009 17:37:03 +0000 (17:37 +0000)]
Make VLC tables in DCA decoder use INIT_VLC_USE_NEW_STATIC
Originally committed as revision 18643 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Tue, 21 Apr 2009 17:35:30 +0000 (17:35 +0000)]
100l: VLC table array should not be const
Originally committed as revision 18642 to svn://svn.ffmpeg.org/ffmpeg/trunk
Robert Swain [Tue, 21 Apr 2009 12:29:36 +0000 (12:29 +0000)]
Remove redundant assignment. err is assigned in every switch case anyway. Issue
found by CSA.
Originally committed as revision 18641 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Tue, 21 Apr 2009 12:00:39 +0000 (12:00 +0000)]
Fix a possibly exploitable buffer overflow.
Originally committed as revision 18640 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Tue, 21 Apr 2009 05:42:22 +0000 (05:42 +0000)]
Set flag after VC-1 VLCs are initialized to avoid race condition
Originally committed as revision 18639 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Tue, 21 Apr 2009 05:24:50 +0000 (05:24 +0000)]
Remove some useless assignments and variables found by Clang
Originally committed as revision 18638 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Tue, 21 Apr 2009 04:42:27 +0000 (04:42 +0000)]
Make RV3/4 VLC tables use new static initialization method
Originally committed as revision 18637 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Tue, 21 Apr 2009 01:08:03 +0000 (01:08 +0000)]
Planar 16bit 420 422 444 YUV support (output is only supported in some
unscaled convertions).
This, like gray16 converts down to 8bit, which is a big FIXME & patch welcome,
we should preserve more bits.
Originally committed as revision 29217 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Michael Niedermayer [Tue, 21 Apr 2009 01:02:48 +0000 (01:02 +0000)]
Add 420,422 and 444 planar 16bit per component pix formats.
Originally committed as revision 18636 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Tue, 21 Apr 2009 00:08:06 +0000 (00:08 +0000)]
Merge gray->gray converters into planarCopy(), this should also make planarCopy()
useable for other 16bit formats once we support them.
Originally committed as revision 29216 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Michael Niedermayer [Tue, 21 Apr 2009 00:03:00 +0000 (00:03 +0000)]
Add macro to check for 16bit per sample.
Originally committed as revision 29215 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Michael Niedermayer [Tue, 21 Apr 2009 00:01:59 +0000 (00:01 +0000)]
Make sure src/dst are NULL when they arent used, some code uses this to
simpify checks.
Originally committed as revision 29214 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Michael Niedermayer [Mon, 20 Apr 2009 21:05:32 +0000 (21:05 +0000)]
Use generic BE check instead of checking for gray16LE.
Originally committed as revision 29213 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Michael Niedermayer [Mon, 20 Apr 2009 21:04:55 +0000 (21:04 +0000)]
add isBE()
Originally committed as revision 29212 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Luca Abeni [Mon, 20 Apr 2009 20:06:55 +0000 (20:06 +0000)]
Fix crash when receiving from SDP
Originally committed as revision 18635 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Mon, 20 Apr 2009 17:13:21 +0000 (17:13 +0000)]
Make rv40 decoder use new static VLC initialization method
Originally committed as revision 18634 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Mon, 20 Apr 2009 15:36:27 +0000 (15:36 +0000)]
Compact and make constant two tables used by Musepack decoders
Originally committed as revision 18633 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Mon, 20 Apr 2009 11:14:19 +0000 (11:14 +0000)]
Remove example programs with a wildcard expression.
Originally committed as revision 18632 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Mon, 20 Apr 2009 00:34:08 +0000 (00:34 +0000)]
ac3enc: log a warning message if the channel layout is not specified at
the time of codec initialization.
Originally committed as revision 18631 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sun, 19 Apr 2009 21:44:25 +0000 (21:44 +0000)]
indent
Originally committed as revision 18630 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sun, 19 Apr 2009 21:44:03 +0000 (21:44 +0000)]
Only insert null packets into the video que if there is a video stream.
Fixes memleak and should fix issue791.
Originally committed as revision 18629 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sun, 19 Apr 2009 21:24:36 +0000 (21:24 +0000)]
Add zygo fourcc.
Originally committed as revision 18628 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sun, 19 Apr 2009 20:41:26 +0000 (20:41 +0000)]
Indent
Originally committed as revision 18627 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sun, 19 Apr 2009 20:40:56 +0000 (20:40 +0000)]
Do not discard truncated packets.
Based on a patch by Maksym Veremeyenko verem DOT m1stereo AT tv
Originally committed as revision 18626 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sun, 19 Apr 2009 20:25:20 +0000 (20:25 +0000)]
Avoid 100% CPU useage at EOF.
Originally committed as revision 18625 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sun, 19 Apr 2009 20:24:44 +0000 (20:24 +0000)]
Make sure that video frames are flushed at EOF.
This should fix a regression.
Originally committed as revision 18624 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Sun, 19 Apr 2009 15:06:13 +0000 (15:06 +0000)]
Add channel layout support to the AC-3 encoder.
Originally committed as revision 18623 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Sun, 19 Apr 2009 15:05:32 +0000 (15:05 +0000)]
Add channel layout support to the AC-3 decoder and AC-3 parser.
Originally committed as revision 18622 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Sun, 19 Apr 2009 14:05:55 +0000 (14:05 +0000)]
Check that channel layout is compatible with number of channels for
output audio stream.
Originally committed as revision 18621 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Sun, 19 Apr 2009 13:29:11 +0000 (13:29 +0000)]
Mark gsize variable as av_unused, fixes the warning:
libavformat/asfdec.c:995: warning: unused variable ‘gsize’
Originally committed as revision 18620 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Sun, 19 Apr 2009 11:40:03 +0000 (11:40 +0000)]
Revert previous removal of gsize variable. It breaks seeking.
Originally committed as revision 18618 to svn://svn.ffmpeg.org/ffmpeg/trunk
Robert Swain [Sun, 19 Apr 2009 00:55:46 +0000 (00:55 +0000)]
Remove unnecessary assignment, found by CSA.
Originally committed as revision 18617 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kenan Gillet [Sat, 18 Apr 2009 22:53:37 +0000 (22:53 +0000)]
Add LP zero synthesis filter. Patch by Kenan Gillet.
Originally committed as revision 18616 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sat, 18 Apr 2009 22:27:36 +0000 (22:27 +0000)]
Remove 2 useless += at the end of rgb16to15(), found by CSA.
Originally committed as revision 29189 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Ramiro Polla [Sat, 18 Apr 2009 20:23:13 +0000 (20:23 +0000)]
mlpdec: Read context variable to local variable to make code cleaner.
Originally committed as revision 18615 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Sat, 18 Apr 2009 19:52:52 +0000 (19:52 +0000)]
mlpdec: {}- and whitespace-related cosmetics.
Originally committed as revision 18614 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Sat, 18 Apr 2009 19:46:41 +0000 (19:46 +0000)]
mlpdec: Use some context arrays with local variables in rematrix_channels().
Originally committed as revision 18613 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Sat, 18 Apr 2009 19:39:07 +0000 (19:39 +0000)]
truehd: Simplify rematrix_channels() as per Michael's original review.
Originally committed as revision 18612 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Sat, 18 Apr 2009 18:54:30 +0000 (18:54 +0000)]
mlpdec: Make read_matrix_params() take unsigned int substr for consistency.
Originally committed as revision 18611 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Sat, 18 Apr 2009 18:51:43 +0000 (18:51 +0000)]
mlpdec: Check for {matrix,filter}_changed as soon as they are incremented.
Originally committed as revision 18610 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Sat, 18 Apr 2009 18:51:01 +0000 (18:51 +0000)]
Add 3 channel layout convenience macros.
Originally committed as revision 18609 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sat, 18 Apr 2009 17:26:00 +0000 (17:26 +0000)]
Avoid code duplication in xan_unpack for the final memcpy.
Originally committed as revision 18608 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Sat, 18 Apr 2009 15:01:20 +0000 (15:01 +0000)]
Remove unused variable gsize, fixes the warning:
libavformat/asfdec.c:995: warning: unused variable 'gsize'
Originally committed as revision 18607 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Sat, 18 Apr 2009 13:57:30 +0000 (13:57 +0000)]
PPC: check for x-form asm constraint support
Originally committed as revision 18606 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sat, 18 Apr 2009 13:52:00 +0000 (13:52 +0000)]
Rename swscale_avoption.c to options.c.
Consistent with lavc and lavf.
Originally committed as revision 29188 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Stefano Sabatini [Sat, 18 Apr 2009 11:53:59 +0000 (11:53 +0000)]
Make sws_setColorspaceDetails() return -1 if the destination format is
not supported.
Originally committed as revision 29187 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Stefano Sabatini [Sat, 18 Apr 2009 11:45:31 +0000 (11:45 +0000)]
Move sws_[gs]etColorspaceDetails() documentation from swscale.c to
swscale.h.
Originally committed as revision 29186 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Jai Menon [Sat, 18 Apr 2009 08:35:46 +0000 (08:35 +0000)]
Cosmetics : reindent after last commit and remove redundant comment.
Originally committed as revision 18605 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jai Menon [Sat, 18 Apr 2009 08:34:15 +0000 (08:34 +0000)]
Add speex tag to nsv_codec_audio_tags.
Originally committed as revision 18604 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jai Menon [Sat, 18 Apr 2009 05:54:47 +0000 (05:54 +0000)]
Change nsvf_index_data to nsvs_file_offset for increased clarity.
Originally committed as revision 18603 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Sat, 18 Apr 2009 00:00:31 +0000 (00:00 +0000)]
PPC asm for AV_RL*()
PPC is normally big endian but has special little endian load/store
instructions. Using these avoids a separate byteswap. This makes the
vorbis decoder about 5% faster. Not much else uses little-endian
read/write extensively.
GCC generates horrible PPC code for the default AV_[RW]B64 (which uses
a packed struct), so we override it with a plain pointer cast.
Originally committed as revision 18602 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Sat, 18 Apr 2009 00:00:28 +0000 (00:00 +0000)]
ARM asm for AV_RN*()
ARMv6 and later support unaligned loads and stores for single
word/halfword but not double/multiple. GCC is ignorant of this and
will always use bytewise accesses for unaligned data. Casting to an
int32_t pointer is dangerous since a load/store double or multiple
instruction might be used (this happens with some code in FFmpeg).
Implementing the AV_[RW]* macros with inline asm using only supported
instructions gives fast and safe unaligned accesses. ARM RVCT does
the right thing with generic code.
This gives an overall speedup of up to 10%.
Originally committed as revision 18601 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Sat, 18 Apr 2009 00:00:22 +0000 (00:00 +0000)]
Reorganise intreadwrite.h
This changes intreadwrite.h to support per-arch implementations of the
various macros allowing us to take advantage of special instructions
or other properties the compiler does not know about.
Originally committed as revision 18600 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 17 Apr 2009 20:05:27 +0000 (20:05 +0000)]
Use sign_extend function instead of reimplementing it.
Originally committed as revision 18599 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 17 Apr 2009 20:01:45 +0000 (20:01 +0000)]
Remove a useless "& 0xF"
Originally committed as revision 18598 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 17 Apr 2009 19:56:50 +0000 (19:56 +0000)]
Use / and % operators instead of reimplementing them with a loop.
Originally committed as revision 18597 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 17 Apr 2009 19:49:55 +0000 (19:49 +0000)]
Change buffer check to avoid an unlikely pointer arithmetic overflow.
Originally committed as revision 18596 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 17 Apr 2009 19:48:54 +0000 (19:48 +0000)]
Simplify xan_huffman_decode by using get_bits
Originally committed as revision 18595 to svn://svn.ffmpeg.org/ffmpeg/trunk
Lars Täuber [Fri, 17 Apr 2009 19:29:54 +0000 (19:29 +0000)]
Fix indention, patch by Lars Täuber.
Originally committed as revision 18594 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 17 Apr 2009 19:28:36 +0000 (19:28 +0000)]
Simplify ipvideo_decode_opcodes by using get_bits, this might be slower
but is not performance-critical anyway.
Originally committed as revision 18593 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 17 Apr 2009 19:21:50 +0000 (19:21 +0000)]
Remove unused code_counts array from interplavideo.c.
Originally committed as revision 18592 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jai Menon [Fri, 17 Apr 2009 19:17:14 +0000 (19:17 +0000)]
Introduce codec id for MPEG-4 ALS and associate it with corresponding
AudioObjectType. Also bump libavcodec minor version.
Originally committed as revision 18591 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 17 Apr 2009 19:14:11 +0000 (19:14 +0000)]
Cosmetics to improve xan_unpack readability
Originally committed as revision 18590 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 17 Apr 2009 19:07:16 +0000 (19:07 +0000)]
Fix buffer size check for xan_unpack which was broken by r18586
Originally committed as revision 18589 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 17 Apr 2009 19:03:43 +0000 (19:03 +0000)]
Some more simplifications of xan_unpack
Originally committed as revision 18588 to svn://svn.ffmpeg.org/ffmpeg/trunk