ffmpeg.git
11 years agoMake sws_setColorspaceDetails() return -1 if the destination format is
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

11 years agoMove sws_[gs]etColorspaceDetails() documentation from swscale.c to
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

11 years agoCosmetics : reindent after last commit and remove redundant comment.
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

11 years agoAdd speex tag to nsv_codec_audio_tags.
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

11 years agoChange nsvf_index_data to nsvs_file_offset for increased clarity.
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

11 years agoPPC asm for AV_RL*()
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

11 years agoARM asm for AV_RN*()
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

11 years agoReorganise intreadwrite.h
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

11 years agoUse sign_extend function instead of reimplementing it.
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

11 years agoRemove a useless "& 0xF"
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

11 years agoUse / and % operators instead of reimplementing them with a loop.
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

11 years agoChange buffer check to avoid an unlikely pointer arithmetic overflow.
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

11 years agoSimplify xan_huffman_decode by using get_bits
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

11 years agoFix indention, patch by Lars Täuber.
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

11 years agoSimplify ipvideo_decode_opcodes by using get_bits, this might be slower
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

11 years agoRemove unused code_counts array from interplavideo.c.
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

11 years agoIntroduce codec id for MPEG-4 ALS and associate it with corresponding
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

11 years agoCosmetics to improve xan_unpack readability
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

11 years agoFix buffer size check for xan_unpack which was broken by r18586
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

11 years agoSome more simplifications of xan_unpack
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

11 years agoReindent xan_unpack code
Reimar Döffinger [Fri, 17 Apr 2009 18:56:47 +0000 (18:56 +0000)]
Reindent xan_unpack code

Originally committed as revision 18587 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAvoid some code duplication in xan_unpack
Reimar Döffinger [Fri, 17 Apr 2009 18:54:17 +0000 (18:54 +0000)]
Avoid some code duplication in xan_unpack

Originally committed as revision 18586 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove useless assignments, at least one found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 18:28:59 +0000 (18:28 +0000)]
Remove useless assignments, at least one found by CSA.

Originally committed as revision 18585 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoIncrease buffer padding to avoid most space checks in xan_unpack
Reimar Döffinger [Fri, 17 Apr 2009 18:26:24 +0000 (18:26 +0000)]
Increase buffer padding to avoid most space checks in xan_unpack

Originally committed as revision 18584 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove useless init from ff_mpeg4_set_direct_mv() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 18:24:39 +0000 (18:24 +0000)]
Remove useless init from ff_mpeg4_set_direct_mv() found by CSA.

Originally committed as revision 18583 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove a useless assignment in img_get_alpha_info() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 18:22:19 +0000 (18:22 +0000)]
Remove a useless assignment in img_get_alpha_info() found by CSA.

Originally committed as revision 18582 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove redundant assignment in av_picture_copy() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 18:20:12 +0000 (18:20 +0000)]
Remove redundant assignment in av_picture_copy() found by CSA.

Originally committed as revision 18581 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove useless init from aiff_read_header() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 18:18:29 +0000 (18:18 +0000)]
Remove useless init from aiff_read_header() found by CSA.

Originally committed as revision 18580 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove several useless writes to variables, found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 18:16:36 +0000 (18:16 +0000)]
Remove several useless writes to variables, found by CSA.

Originally committed as revision 18579 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove useless += from ff_imdct_half_c() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 18:12:00 +0000 (18:12 +0000)]
Remove useless += from ff_imdct_half_c() found by CSA.

Originally committed as revision 18578 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove 2 ++ from check_pes() that are useless, found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 18:08:39 +0000 (18:08 +0000)]
Remove 2 ++ from check_pes() that are useless, found by CSA.

Originally committed as revision 18577 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoChange buffer size checks to avoid the very unlikely overflow case.
Reimar Döffinger [Fri, 17 Apr 2009 18:03:00 +0000 (18:03 +0000)]
Change buffer size checks to avoid the very unlikely overflow case.

Originally committed as revision 18576 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unused variable from h261_encode_block() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 17:56:16 +0000 (17:56 +0000)]
Remove unused variable from h261_encode_block() found by CSA.

Originally committed as revision 18575 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove a pointless right-shift in xan decoder.
Reimar Döffinger [Fri, 17 Apr 2009 17:54:55 +0000 (17:54 +0000)]
Remove a pointless right-shift in xan decoder.

Originally committed as revision 18574 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove 2 useless assignments from ff_rate_control_init() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 17:52:58 +0000 (17:52 +0000)]
Remove 2 useless assignments from ff_rate_control_init() found by CSA.

Originally committed as revision 18573 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoReplace bytecopy with the equivalent but faster av_memcpy_backptr.
Reimar Döffinger [Fri, 17 Apr 2009 17:46:10 +0000 (17:46 +0000)]
Replace bytecopy with the equivalent but faster av_memcpy_backptr.
Ca. 10% faster xan_unpack on x86_64 decoding of SC_32-part.MVE

Originally committed as revision 18572 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unused variable from flv_read_metabody() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 17:42:41 +0000 (17:42 +0000)]
Remove unused variable from flv_read_metabody() found by CSA.

Originally committed as revision 18571 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unused variable from slice_buffer_release() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 17:39:09 +0000 (17:39 +0000)]
Remove unused variable from slice_buffer_release() found by CSA.

Originally committed as revision 18570 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUse memcpy instead of the very inefficient bytecopy where both are correct
Reimar Döffinger [Fri, 17 Apr 2009 17:20:48 +0000 (17:20 +0000)]
Use memcpy instead of the very inefficient bytecopy where both are correct
(i.e. no overlap of src and dst is possible).

Originally committed as revision 18569 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unused variable from wma_decode_block() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 15:35:32 +0000 (15:35 +0000)]
Remove unused variable from wma_decode_block() found by CSA.

Originally committed as revision 18568 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unneeded assignment from av_encode() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 15:33:45 +0000 (15:33 +0000)]
Remove unneeded assignment from av_encode() found by CSA.

Originally committed as revision 18567 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unused variable from print_report() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 15:15:25 +0000 (15:15 +0000)]
Remove unused variable from print_report() found by CSA.

Originally committed as revision 18566 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove nonsensical assignment from asf_read_seek() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 15:13:01 +0000 (15:13 +0000)]
Remove nonsensical assignment from asf_read_seek() found by CSA.

Originally committed as revision 18565 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove redundant assignment from avcodec_get_pix_fmt_loss() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 15:10:37 +0000 (15:10 +0000)]
Remove redundant assignment from avcodec_get_pix_fmt_loss() found by CSA.

Originally committed as revision 18564 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unused variable in modify_qscale() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 15:08:00 +0000 (15:08 +0000)]
Remove unused variable in modify_qscale() found by CSA.

Originally committed as revision 18563 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unneeded assignment in ffmpeg.c found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 15:03:51 +0000 (15:03 +0000)]
Remove unneeded assignment in ffmpeg.c found by CSA.

Originally committed as revision 18562 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unused variables from slice_buffer_load_line() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 15:01:58 +0000 (15:01 +0000)]
Remove unused variables from slice_buffer_load_line() found by CSA.

Originally committed as revision 18561 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove 2 unneeded variables from common_init() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 14:59:04 +0000 (14:59 +0000)]
Remove 2 unneeded variables from common_init() found by CSA.

Originally committed as revision 18560 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove 2 unused variables from MPV_decode_mb_internal() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 14:51:00 +0000 (14:51 +0000)]
Remove 2 unused variables from MPV_decode_mb_internal() found by CSA.

Originally committed as revision 18559 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unused assignment from j_rev_dct() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 14:43:28 +0000 (14:43 +0000)]
Remove unused assignment from j_rev_dct() found by CSA.

Originally committed as revision 18558 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unused variable in init_mv_penalty_and_fcode() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 14:42:02 +0000 (14:42 +0000)]
Remove unused variable in init_mv_penalty_and_fcode() found by CSA.

Originally committed as revision 18557 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMove declarations in sync() closer to where they are used.
Michael Niedermayer [Fri, 17 Apr 2009 14:38:52 +0000 (14:38 +0000)]
Move declarations in sync() closer to where they are used.

Originally committed as revision 18556 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unused variable from asf_read_header() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 14:16:37 +0000 (14:16 +0000)]
Remove unused variable from asf_read_header() found by CSA.

Originally committed as revision 18555 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agocosmetics: reindent after last commit
Kostya Shishkov [Fri, 17 Apr 2009 14:10:24 +0000 (14:10 +0000)]
cosmetics: reindent after last commit

Originally committed as revision 18554 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUse new static VLC scheme in Indeo2, Musepack and WNV1 decoders
Kostya Shishkov [Fri, 17 Apr 2009 14:09:56 +0000 (14:09 +0000)]
Use new static VLC scheme in Indeo2, Musepack and WNV1 decoders

Originally committed as revision 18553 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoChange another AVERROR(EIO) inot AVERROR_EOF, because it really signals EOF,
Ronald S. Bultje [Fri, 17 Apr 2009 14:05:57 +0000 (14:05 +0000)]
Change another AVERROR(EIO) inot AVERROR_EOF, because it really signals EOF,
not a stream error. This also fixes an infinite loop on EOS during ASF file
playback, and Michael claims he "likes the patch" (ref: [PATCH] RTSP-MS
15/15: move packet_time_start zero value assignment in asf.c" mailinglist
tread).

Originally committed as revision 18552 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemvoe useless assignment found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 13:59:07 +0000 (13:59 +0000)]
Remvoe useless assignment found by CSA.

Originally committed as revision 18551 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unused variable from decode_init() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 13:57:22 +0000 (13:57 +0000)]
Remove unused variable from decode_init() found by CSA.

Originally committed as revision 18550 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove useless assignment in generate_codebook(). Found by Clang static analyser.
Vitor Sessak [Fri, 17 Apr 2009 13:07:18 +0000 (13:07 +0000)]
Remove useless assignment in generate_codebook(). Found by Clang static analyser.

Originally committed as revision 18549 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unused variables from ff_mjpeg_decode_sos() found by CSA.
Michael Niedermayer [Fri, 17 Apr 2009 13:03:56 +0000 (13:03 +0000)]
Remove unused variables from ff_mjpeg_decode_sos() found by CSA.

Originally committed as revision 18548 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove useless assignment from h263_pred_dc() found by the clang static analyzer.
Michael Niedermayer [Fri, 17 Apr 2009 12:57:47 +0000 (12:57 +0000)]
Remove useless assignment from h263_pred_dc() found by the clang static analyzer.

Originally committed as revision 18547 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMove declarations in mpeg1_encode_motion() closer to where they are needed.
Michael Niedermayer [Fri, 17 Apr 2009 12:53:11 +0000 (12:53 +0000)]
Move declarations in mpeg1_encode_motion() closer to where they are needed.

Originally committed as revision 18546 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUseless assignment found by the clang static analyzer.
Michael Niedermayer [Fri, 17 Apr 2009 12:44:48 +0000 (12:44 +0000)]
Useless assignment found by the clang static analyzer.

Originally committed as revision 18545 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoGet rid of an unused variable, found by the clang static analyzer.
Michael Niedermayer [Fri, 17 Apr 2009 12:41:37 +0000 (12:41 +0000)]
Get rid of an unused variable, found by the clang static analyzer.

Originally committed as revision 18544 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMoving variable declarations in asf_build_simple_index() to clarify&prettify code.
Michael Niedermayer [Fri, 17 Apr 2009 12:37:39 +0000 (12:37 +0000)]
Moving variable declarations in asf_build_simple_index() to clarify&prettify code.

Originally committed as revision 18543 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoac3dec: reorder output channels to SMPTE channel order
Justin Ruggles [Fri, 17 Apr 2009 08:43:04 +0000 (08:43 +0000)]
ac3dec: reorder output channels to SMPTE channel order

Originally committed as revision 18542 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoChange tgq_decode_mb function arguments from using int8_t to uint8_t, this does
Reimar Döffinger [Fri, 17 Apr 2009 08:42:08 +0000 (08:42 +0000)]
Change tgq_decode_mb function arguments from using int8_t to uint8_t, this does
not really change the code (x86_64/gcc-4.3.3 results stay unchanged) but avoids
several casts and an aliasing violation that broke decoding at least on
PPC64/gcc-4.1.2.

Originally committed as revision 18541 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoac3enc: reorder input channels to AC-3 channel order
Justin Ruggles [Fri, 17 Apr 2009 08:39:11 +0000 (08:39 +0000)]
ac3enc: reorder input channels to AC-3 channel order

Originally committed as revision 18540 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd my public key fingerprint to MAINTAINERS.
Jai Menon [Thu, 16 Apr 2009 16:54:35 +0000 (16:54 +0000)]
Add my public key fingerprint to MAINTAINERS.

Originally committed as revision 18539 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unused audio_pts field from ea demuxer struct
Reimar Döffinger [Thu, 16 Apr 2009 12:46:06 +0000 (12:46 +0000)]
Remove unused audio_pts field from ea demuxer struct

Originally committed as revision 18538 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unused code from Westwood VQA/AUD demuxer.
Reimar Döffinger [Thu, 16 Apr 2009 12:39:14 +0000 (12:39 +0000)]
Remove unused code from Westwood VQA/AUD demuxer.

Originally committed as revision 18537 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoDo not add -fno-common to CFLAGS on DOS, it is unneeded.
Diego Biurrun [Thu, 16 Apr 2009 10:34:14 +0000 (10:34 +0000)]
Do not add -fno-common to CFLAGS on DOS, it is unneeded.

Originally committed as revision 18536 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd guaranteed alignment for loading dest pixels in avg_pixels16_neon
David Conrad [Thu, 16 Apr 2009 08:39:13 +0000 (08:39 +0000)]
Add guaranteed alignment for loading dest pixels in avg_pixels16_neon

Originally committed as revision 18535 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoVC1 loop filter uses the frame quantizer not the mb quantizer
David Conrad [Thu, 16 Apr 2009 07:34:52 +0000 (07:34 +0000)]
VC1 loop filter uses the frame quantizer not the mb quantizer

Originally committed as revision 18534 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSupport broken avc nal encapsulation.
Michael Niedermayer [Thu, 16 Apr 2009 04:46:44 +0000 (04:46 +0000)]
Support broken avc nal encapsulation.
Fixes issue987.

Originally committed as revision 18533 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoflacenc: write initial blocksize to STREAMINFO header instead of current
Justin Ruggles [Thu, 16 Apr 2009 02:28:49 +0000 (02:28 +0000)]
flacenc: write initial blocksize to STREAMINFO header instead of current
blocksize.

Originally committed as revision 18532 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoReplace AVERROR(EIO) by AVERROR_EOF on end-of-file. See mailinglist
Ronald S. Bultje [Thu, 16 Apr 2009 00:41:31 +0000 (00:41 +0000)]
Replace AVERROR(EIO) by AVERROR_EOF on end-of-file. See mailinglist
thread "[PATCH] RTSP-MS 15/15: move packet_time_start zero value
assignment in asf.c".

Originally committed as revision 18531 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoClarify which exact variant of ISO 639 is used. (The ISO spec explicitly
Michael Niedermayer [Wed, 15 Apr 2009 20:18:02 +0000 (20:18 +0000)]
Clarify which exact variant of ISO 639 is used. (The ISO spec explicitly
requires this to be clear)

Originally committed as revision 18530 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years ago[COSMETIC] Correct a minor nit. Should be clearer now.
Reynaldo H. Verdejo Pinochet [Wed, 15 Apr 2009 19:37:35 +0000 (19:37 +0000)]
[COSMETIC] Correct a minor nit. Should be clearer now.

Originally committed as revision 18529 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix possibly harmful outbound addressing. Patch by Kenan Gillet.
Kenan Gillet [Wed, 15 Apr 2009 19:28:28 +0000 (19:28 +0000)]
Fix possibly harmful outbound addressing. Patch by Kenan Gillet.

Originally committed as revision 18528 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoavg_ pixel functions need to use (dst+pix+1)>>1 to average with existing
David Conrad [Wed, 15 Apr 2009 19:10:16 +0000 (19:10 +0000)]
avg_ pixel functions need to use (dst+pix+1)>>1 to average with existing
pixels, not (dst+pix)>>1.
This makes the mmx functions bitexact with the C functions.

Originally committed as revision 18527 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoCheck for Decoder_Interface_init() instead of Speech_Decode_Frame_init() when
Martin Storsjö [Wed, 15 Apr 2009 17:29:20 +0000 (17:29 +0000)]
Check for Decoder_Interface_init() instead of Speech_Decode_Frame_init() when
trying to enable libamrnb support. The latter function is actually used.
patch by Martin Storsjö, martin martin st

Originally committed as revision 18526 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSend dummy requests over the TCP connection (WMS wants GET_PARAMETER,
Ronald S. Bultje [Wed, 15 Apr 2009 13:04:34 +0000 (13:04 +0000)]
Send dummy requests over the TCP connection (WMS wants GET_PARAMETER,
Real wants OPTIONS) while the connection is idle, otherwise it will
be aborted after a short period (usually a minute). See the thread
"[PATCH] rtsp.c: keep-alive" on the mailinglist.

Originally committed as revision 18525 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoExplain the sort order for changelog entries.
Diego Biurrun [Wed, 15 Apr 2009 11:51:02 +0000 (11:51 +0000)]
Explain the sort order for changelog entries.

Originally committed as revision 18524 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoEnsure that there's pages to read for duration calculation in the ogg demuxer
David Conrad [Wed, 15 Apr 2009 06:41:08 +0000 (06:41 +0000)]
Ensure that there's pages to read for duration calculation in the ogg demuxer

Originally committed as revision 18523 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAltivec version of avg_no_rnd_vc1_chroma_mc8
David Conrad [Wed, 15 Apr 2009 06:23:40 +0000 (06:23 +0000)]
Altivec version of avg_no_rnd_vc1_chroma_mc8

Originally committed as revision 18522 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSplit VC1 loop filter into separate functions for h/v and size
David Conrad [Wed, 15 Apr 2009 06:22:17 +0000 (06:22 +0000)]
Split VC1 loop filter into separate functions for h/v and size

Originally committed as revision 18521 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMove VC1 loop filter to DSPContext
David Conrad [Wed, 15 Apr 2009 06:20:22 +0000 (06:20 +0000)]
Move VC1 loop filter to DSPContext

Originally committed as revision 18520 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoVC1: extend MMX qpel MC to include MMX2 avg qpel
David Conrad [Wed, 15 Apr 2009 02:25:42 +0000 (02:25 +0000)]
VC1: extend MMX qpel MC to include MMX2 avg qpel

Originally committed as revision 18519 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoVC1: add and use avg_no_rnd chroma MC functions
David Conrad [Tue, 14 Apr 2009 23:56:10 +0000 (23:56 +0000)]
VC1: add and use avg_no_rnd chroma MC functions

Originally committed as revision 18518 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRename put_no_rnd_h264_chroma* to reflect its usage in VC1 only
David Conrad [Tue, 14 Apr 2009 23:55:39 +0000 (23:55 +0000)]
Rename put_no_rnd_h264_chroma* to reflect its usage in VC1 only

Originally committed as revision 18517 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoCosmetics: Split long line.
Carl Eugen Hoyos [Tue, 14 Apr 2009 22:33:46 +0000 (22:33 +0000)]
Cosmetics: Split long line.

Originally committed as revision 18516 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix two icc warnings #188: enumerated type mixed with another type.
Carl Eugen Hoyos [Tue, 14 Apr 2009 22:30:11 +0000 (22:30 +0000)]
Fix two icc warnings #188: enumerated type mixed with another type.

Originally committed as revision 18515 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix icc warning #188: enumerated type mixed with another type.
Carl Eugen Hoyos [Tue, 14 Apr 2009 22:21:53 +0000 (22:21 +0000)]
Fix icc warning #188: enumerated type mixed with another type.

Originally committed as revision 18514 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix icc warning #188: enumerated type mixed with another type.
Carl Eugen Hoyos [Tue, 14 Apr 2009 22:19:43 +0000 (22:19 +0000)]
Fix icc warning #188: enumerated type mixed with another type.

Originally committed as revision 18513 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFor every line, copy 3*width bytes instead of linesize[0] to avoid
Vitor Sessak [Tue, 14 Apr 2009 21:03:41 +0000 (21:03 +0000)]
For every line, copy 3*width bytes instead of linesize[0] to avoid
problems with padding.

Fix issue 959

Originally committed as revision 18512 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoVC1: Do qpel when needed for both MVs in a B frame
David Conrad [Tue, 14 Apr 2009 19:26:33 +0000 (19:26 +0000)]
VC1: Do qpel when needed for both MVs in a B frame

Originally committed as revision 18511 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomingw32: FFmpeg now passes -fno-common automatically.
Ramiro Polla [Tue, 14 Apr 2009 15:25:11 +0000 (15:25 +0000)]
mingw32: FFmpeg now passes -fno-common automatically.

Originally committed as revision 18510 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd a Vorbis payload parser. Implemented by Colin McQuillan as a GSoC
Ronald S. Bultje [Tue, 14 Apr 2009 15:01:46 +0000 (15:01 +0000)]
Add a Vorbis payload parser. Implemented by Colin McQuillan as a GSoC
qualification task, see "RTP/Vorbis payload implementation (GSoC qual
task)" thread on mailinglist.

Originally committed as revision 18509 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agowhitespace cosmetics: Break some overly long lines.
Diego Biurrun [Tue, 14 Apr 2009 14:39:04 +0000 (14:39 +0000)]
whitespace cosmetics: Break some overly long lines.

Originally committed as revision 29180 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale