libav.git
9 years agoconfigure: fix cosmetic typo in check_mathfunc
Måns Rullgård [Wed, 10 Feb 2010 22:14:25 +0000 (22:14 +0000)]
configure: fix cosmetic typo in check_mathfunc

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

9 years agoReindent
Daniel Verkamp [Wed, 10 Feb 2010 20:27:53 +0000 (20:27 +0000)]
Reindent

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

9 years agoFix demuxing of wav files with broken data header
Daniel Verkamp [Wed, 10 Feb 2010 20:26:47 +0000 (20:26 +0000)]
Fix demuxing of wav files with broken data header

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

9 years agoUse av_compare_ts to compare against the -t end time instead of using
Reimar Döffinger [Wed, 10 Feb 2010 19:46:44 +0000 (19:46 +0000)]
Use av_compare_ts to compare against the -t end time instead of using
floating point.
Should fix different results between PPC and x86 for the idroq-video-encode
FATE test.

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

9 years agoUse av_compare_ts from libavutil instead of the locale compare_ts, the
Reimar Döffinger [Wed, 10 Feb 2010 19:43:57 +0000 (19:43 +0000)]
Use av_compare_ts from libavutil instead of the locale compare_ts, the
calculations in the later one are not correct with large time stamps.

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

9 years agoFix syncronisation for streams with a high encoding delay.
Timo Teräs [Wed, 10 Feb 2010 19:33:08 +0000 (19:33 +0000)]
Fix syncronisation for streams with a high encoding delay.
Patch by Timo Teräs (timo DOT teras AT iki DOT fi)

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

9 years agoReindent after r21741.
Ronald S. Bultje [Wed, 10 Feb 2010 18:31:47 +0000 (18:31 +0000)]
Reindent after r21741.

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

9 years agoDon't forget to set known audio parameters (samplerate, etc.) if the codec is
Ronald S. Bultje [Wed, 10 Feb 2010 18:30:55 +0000 (18:30 +0000)]
Don't forget to set known audio parameters (samplerate, etc.) if the codec is
not supported in FFmpeg. This will cause crashes later because the samplerate
is used to initialize the timebase.

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

9 years agoRTP/AMR depacketizer, by Martin Storsjö <$firstname at $firstname dot st>.
Ronald S. Bultje [Wed, 10 Feb 2010 17:20:50 +0000 (17:20 +0000)]
RTP/AMR depacketizer, by Martin Storsjö <$firstname at $firstname dot st>.

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

9 years agoOutput the first AAC frame. This is needed for SBR conformance.
Alex Converse [Wed, 10 Feb 2010 14:51:57 +0000 (14:51 +0000)]
Output the first AAC frame. This is needed for SBR conformance.

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

9 years agoDont give up after 100kb of zero bytes but returnd EAGAIN
Michael Niedermayer [Wed, 10 Feb 2010 14:25:57 +0000 (14:25 +0000)]
Dont give up after 100kb of zero bytes but returnd EAGAIN
fixes issue1729

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

9 years agomp3: ftell() file offset for VBR tags before ID3v1 parser messes it up.
Andreas Öman [Wed, 10 Feb 2010 12:44:16 +0000 (12:44 +0000)]
mp3: ftell() file offset for VBR tags before ID3v1 parser messes it up.

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

9 years agoEnable SSE2 (put|avg)_pixels_16_sse2
David Conrad [Wed, 10 Feb 2010 02:02:06 +0000 (02:02 +0000)]
Enable SSE2 (put|avg)_pixels_16_sse2

SVQ1 chroma has been special-cased aligned to 16-bytes since at least r15466
Other architectures also assume 16-byte alignment here too but set STRIDE_ALIGN
to 16.

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

9 years agoDefine missing llrint() as macro instead of inline function
Måns Rullgård [Tue, 9 Feb 2010 22:55:16 +0000 (22:55 +0000)]
Define missing llrint() as macro instead of inline function

This fixes building on some broken systems.

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

9 years agoSpecial check for math.h functions
Måns Rullgård [Tue, 9 Feb 2010 22:55:13 +0000 (22:55 +0000)]
Special check for math.h functions

These are often, contrary to standards, implemented only as macros
or compiler-builtin functions without an actual symbol definition.

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

9 years agoCheck for setrlimit()
Måns Rullgård [Tue, 9 Feb 2010 22:55:11 +0000 (22:55 +0000)]
Check for setrlimit()

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

9 years agoconfigure: allow 'none' as target OS
Måns Rullgård [Tue, 9 Feb 2010 22:55:08 +0000 (22:55 +0000)]
configure: allow 'none' as target OS

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

9 years agoDoxument url_fopen().
Stefano Sabatini [Tue, 9 Feb 2010 18:59:34 +0000 (18:59 +0000)]
Doxument url_fopen().

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

9 years agoAdd an entry for the recently added av_compare_ts() function.
Stefano Sabatini [Tue, 9 Feb 2010 18:58:02 +0000 (18:58 +0000)]
Add an entry for the recently added av_compare_ts() function.

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

9 years agoARMv6 optimised pix_sum
Måns Rullgård [Tue, 9 Feb 2010 16:13:52 +0000 (16:13 +0000)]
ARMv6 optimised pix_sum

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

9 years agoARMv6 optimised pix_norm1
Måns Rullgård [Tue, 9 Feb 2010 16:13:49 +0000 (16:13 +0000)]
ARMv6 optimised pix_norm1

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

9 years agoARMv6 optimised sse16
Måns Rullgård [Tue, 9 Feb 2010 16:13:45 +0000 (16:13 +0000)]
ARMv6 optimised sse16

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

9 years agoARMv6 optimised diff_pixels
Måns Rullgård [Tue, 9 Feb 2010 16:13:41 +0000 (16:13 +0000)]
ARMv6 optimised diff_pixels

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

9 years agoARMv6 optimised get_pixels
Måns Rullgård [Tue, 9 Feb 2010 16:13:38 +0000 (16:13 +0000)]
ARMv6 optimised get_pixels

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

9 years agoARMv6 optimised pix_abs8
Måns Rullgård [Tue, 9 Feb 2010 16:13:34 +0000 (16:13 +0000)]
ARMv6 optimised pix_abs8

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

9 years agoARMv6 optimised pix_abs16_y2
Måns Rullgård [Tue, 9 Feb 2010 16:13:31 +0000 (16:13 +0000)]
ARMv6 optimised pix_abs16_y2

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

9 years agoARMv6 optimised pix_abs16_x2
Måns Rullgård [Tue, 9 Feb 2010 16:13:29 +0000 (16:13 +0000)]
ARMv6 optimised pix_abs16_x2

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

9 years agoARMv6 optimised pix_abs16
Måns Rullgård [Tue, 9 Feb 2010 16:13:26 +0000 (16:13 +0000)]
ARMv6 optimised pix_abs16

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

9 years agoARMv6 optimised put_pixels functions except xy2 variants
Måns Rullgård [Tue, 9 Feb 2010 16:13:21 +0000 (16:13 +0000)]
ARMv6 optimised put_pixels functions except xy2 variants

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

9 years agoIndeo 5 decoder
Kostya Shishkov [Tue, 9 Feb 2010 07:55:07 +0000 (07:55 +0000)]
Indeo 5 decoder

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

9 years agoReorder and factorize mb_type ifs, 1 cpu cycle faster and simpler.
Michael Niedermayer [Tue, 9 Feb 2010 00:19:03 +0000 (00:19 +0000)]
Reorder and factorize mb_type ifs, 1 cpu cycle faster and simpler.

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

9 years agoMake sure the header value used to avoid repeating headers on seeking to the
Reimar Döffinger [Mon, 8 Feb 2010 20:25:36 +0000 (20:25 +0000)]
Make sure the header value used to avoid repeating headers on seeking to the
start and to avoid initializing codecs with missing headers is set for all streams.
Fixes issue 1723.

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

9 years agoImplement gai_strerror() for systems lacking such functionality. Patch
Ronald S. Bultje [Mon, 8 Feb 2010 18:48:12 +0000 (18:48 +0000)]
Implement gai_strerror() for systems lacking such functionality. Patch
by KO Myung-Hun <komh challion net>.

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

9 years agoSet partitioning to 16x16 for spatial direct MBs with mixed interlacing.
Michael Niedermayer [Mon, 8 Feb 2010 17:25:50 +0000 (17:25 +0000)]
Set partitioning to 16x16 for spatial direct MBs with mixed interlacing.
11cylcles slower MV generation
98cycles faster MC

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

9 years agoDetect spatial direct MBs partitioned smaller than 16x16 that can be partitioned
Michael Niedermayer [Mon, 8 Feb 2010 16:23:05 +0000 (16:23 +0000)]
Detect spatial direct MBs partitioned smaller than 16x16 that can be partitioned
as 16x16 (except ones changing interlacing relative to the colocated MB).
20 cycles slower during MV generation
175 cycles faster during MC

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

9 years agoDetect equal 4x4 blocks in spatial direct MBs.
Michael Niedermayer [Mon, 8 Feb 2010 13:05:24 +0000 (13:05 +0000)]
Detect equal 4x4 blocks in spatial direct MBs.
19 cycles slower MV generation
575 cycles faster MC

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

9 years agoFix playback with invalid files that don't set the continuation flag for
David Conrad [Mon, 8 Feb 2010 10:13:03 +0000 (10:13 +0000)]
Fix playback with invalid files that don't set the continuation flag for
pages that continue packets started in prior pages.
Fixes issue1248

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

9 years agoStop reading input file when -t option value is reached.
Wolfram Gloger [Mon, 8 Feb 2010 09:04:06 +0000 (09:04 +0000)]
Stop reading input file when -t option value is reached.
Patch by Wolfram Gloger wmglo (chez) dent med uni (minus) muenchen de

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

9 years agoRemove an apparently unneeded && !FRAME_MBAFF.
Michael Niedermayer [Mon, 8 Feb 2010 04:24:50 +0000 (04:24 +0000)]
Remove an apparently unneeded  && !FRAME_MBAFF.
This should speed the affected cases (MBAFF temporal direct MBs) up.

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

9 years agoBranchless calculation of ref_offset.
Michael Niedermayer [Mon, 8 Feb 2010 03:22:17 +0000 (03:22 +0000)]
Branchless calculation of ref_offset.
7 cpu cycles faster.

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

9 years agoRemove incorrect fixme, i see no case that is missing.
Michael Niedermayer [Mon, 8 Feb 2010 02:10:59 +0000 (02:10 +0000)]
Remove incorrect fixme, i see no case that is missing.

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

9 years agoReplace call to pred_motion() in direct spatial mv pred by code
Michael Niedermayer [Mon, 8 Feb 2010 02:09:27 +0000 (02:09 +0000)]
Replace call to pred_motion() in direct spatial mv pred by code
and simplify cases that cannot happen away.
8 cpu cycles faster

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

9 years agoChange xvid/divx/lavc build variables to be consistent to x264_build.
Michael Niedermayer [Mon, 8 Feb 2010 00:43:15 +0000 (00:43 +0000)]
Change xvid/divx/lavc build variables to be consistent to x264_build.

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

9 years agoSet x264_build so that checks are simpler.
Michael Niedermayer [Mon, 8 Feb 2010 00:08:05 +0000 (00:08 +0000)]
Set x264_build so that checks are simpler.

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

9 years agoOoops, 10l forgot to commit h264.h.
Michael Niedermayer [Sun, 7 Feb 2010 23:15:53 +0000 (23:15 +0000)]
Ooops, 10l forgot to commit h264.h.

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

9 years agoZero a/b only in the branch where they need to be zeroed.
Michael Niedermayer [Sun, 7 Feb 2010 22:58:03 +0000 (22:58 +0000)]
Zero a/b only in the branch where they need to be zeroed.

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

9 years agoMerge mv&ref related code for spatial direct MV code.
Michael Niedermayer [Sun, 7 Feb 2010 21:53:55 +0000 (21:53 +0000)]
Merge mv&ref related code for spatial direct MV code.
a bit more than 10 cpu cycles faster.

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

9 years agoPrecalculate a few variables for direct mv prediction for interlaced MBs.
Michael Niedermayer [Sun, 7 Feb 2010 21:09:09 +0000 (21:09 +0000)]
Precalculate a few variables for direct mv prediction for interlaced MBs.

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

9 years agoDirectly use av_rescale_rnd() instead of av_convert_ts() as this cuts the
Michael Niedermayer [Sun, 7 Feb 2010 19:10:04 +0000 (19:10 +0000)]
Directly use av_rescale_rnd() instead of av_convert_ts() as this cuts the
number of calls to it down by 2.

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

9 years agoSet direct MB partitioning for 16x8 and 8x16 colocated MBs to the respective true...
Michael Niedermayer [Sun, 7 Feb 2010 17:40:22 +0000 (17:40 +0000)]
Set direct MB partitioning for 16x8 and 8x16 colocated MBs to the respective true partitioning.

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

9 years agoFactorize setting sub_mb_type out.
Michael Niedermayer [Sun, 7 Feb 2010 17:15:17 +0000 (17:15 +0000)]
Factorize setting sub_mb_type out.

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

9 years agoBump minor for av_compare_ts()
Michael Niedermayer [Sun, 7 Feb 2010 17:13:59 +0000 (17:13 +0000)]
Bump minor for av_compare_ts()

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

9 years agoUse av_compare_ts() for interleaving per dts.
Michael Niedermayer [Sun, 7 Feb 2010 16:27:17 +0000 (16:27 +0000)]
Use av_compare_ts() for interleaving per dts.

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

9 years agoav_compare_ts()
Michael Niedermayer [Sun, 7 Feb 2010 16:26:50 +0000 (16:26 +0000)]
av_compare_ts()

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

9 years agoMake parse_options() explicitely handle the case where an opt_func2
Stefano Sabatini [Sun, 7 Feb 2010 15:46:18 +0000 (15:46 +0000)]
Make parse_options() explicitely handle the case where an opt_func2
function returns a negative value, rather than erroneously trigger the
code which manages the case of unknown option.

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

9 years agoRemove FIXMEs for cases that are disallowed by the spec.
Michael Niedermayer [Sun, 7 Feb 2010 15:13:56 +0000 (15:13 +0000)]
Remove FIXMEs for cases that are disallowed by the spec.

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

9 years agoCheck direct_8x8_inference_flag.
Michael Niedermayer [Sun, 7 Feb 2010 15:12:37 +0000 (15:12 +0000)]
Check direct_8x8_inference_flag.

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

9 years agoSkip the fill_colmap() case thats for MBAFF if we dont have an MBAFF frame.
Michael Niedermayer [Sun, 7 Feb 2010 14:55:59 +0000 (14:55 +0000)]
Skip the fill_colmap() case thats for MBAFF if we dont have an MBAFF frame.

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

9 years agoImplement a physical concatenation protocol.
Michele Orrù [Sun, 7 Feb 2010 10:25:58 +0000 (10:25 +0000)]
Implement a physical concatenation protocol.

Patch by Michele Orrù reverse(<moc.liamg@yp.rekam>).

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

9 years agoFix CAVLC+8x8DCT+MBAFF loopfiltering.
Michael Niedermayer [Sun, 7 Feb 2010 02:00:00 +0000 (02:00 +0000)]
Fix CAVLC+8x8DCT+MBAFF loopfiltering.
Fixes issue1250

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

9 years agoFix colocated map.
Michael Niedermayer [Sun, 7 Feb 2010 01:18:00 +0000 (01:18 +0000)]
Fix colocated map.

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

9 years agoFix reference selection for colocated MBs from frames to fields.
Michael Niedermayer [Sun, 7 Feb 2010 01:17:13 +0000 (01:17 +0000)]
Fix reference selection for colocated MBs from frames to fields.

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

9 years agoAdd assert(sps.direct_8x8_inference_flag) to FIXME comment.
Michael Niedermayer [Sun, 7 Feb 2010 01:14:58 +0000 (01:14 +0000)]
Add assert(sps.direct_8x8_inference_flag) to FIXME comment.

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

9 years agoref_offset must be added after checking references validity.
Michael Niedermayer [Sun, 7 Feb 2010 01:13:56 +0000 (01:13 +0000)]
ref_offset must be added after checking references validity.

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

9 years agoAdd missing entries for the recent lsws API changes.
Stefano Sabatini [Sat, 6 Feb 2010 23:25:10 +0000 (23:25 +0000)]
Add missing entries for the recent lsws API changes.

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

9 years agolibgsm installs headers in a subdirectory, use gsm.h from that subdirectory.
Reinhard Tartler [Sat, 6 Feb 2010 16:52:38 +0000 (16:52 +0000)]
libgsm installs headers in a subdirectory, use gsm.h from that subdirectory.
Approved by Diego at FOSDEM.

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

9 years agocosmetics : re-indent after r21639.
Jai Menon [Sat, 6 Feb 2010 13:15:15 +0000 (13:15 +0000)]
cosmetics : re-indent after r21639.

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

9 years agoAdd include necessary for ff_set_qscale
Reimar Döffinger [Sat, 6 Feb 2010 12:53:28 +0000 (12:53 +0000)]
Add include necessary for ff_set_qscale

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

9 years agoAvoid using an intermediate variable.
Jai Menon [Sat, 6 Feb 2010 12:52:22 +0000 (12:52 +0000)]
Avoid using an intermediate variable.

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

9 years agoRemove redundant use of numchannels since it is 1 for mono.
Jai Menon [Sat, 6 Feb 2010 12:48:37 +0000 (12:48 +0000)]
Remove redundant use of numchannels since it is 1 for mono.

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

9 years agoalac.c : Use av_freep instead of av_free.
Jai Menon [Sat, 6 Feb 2010 12:38:42 +0000 (12:38 +0000)]
alac.c : Use av_freep instead of av_free.

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

9 years agoAdd AVI metadata conversion table.
Anton Khirnov [Sat, 6 Feb 2010 12:32:44 +0000 (12:32 +0000)]
Add AVI metadata conversion table.

Patch by Anton Khirnov (gmail{wyskas}).

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

9 years agoRevert r21615 | cehoyos | 2010-02-02 23:23:09 +0100 (Tue, 02 Feb 2010) | 5 lines
Justin Johnson [Sat, 6 Feb 2010 11:11:10 +0000 (11:11 +0000)]
Revert  r21615 | cehoyos | 2010-02-02 23:23:09 +0100 (Tue, 02 Feb 2010) | 5 lines
Guess the duration before converting video and write guessed duration
into flv header.
Patch by Justin Johnson, justin D johnson3 A gmail

The change to ffmpeg.c is wrong as input and output files arent connected 1:1
(i seem to have missed that)
Also it can segfault see ([FFmpeg-devel] rtp streaming x264+audio issues (and some ideas to fix them))

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

9 years agoLong term references behave different from short term in spatial direct MV calculation.
Michael Niedermayer [Sat, 6 Feb 2010 02:55:58 +0000 (02:55 +0000)]
Long term references behave different from short term in spatial direct MV calculation.
Fixes FRExt_MMCO4_Sony_B / issue1251

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

9 years agoAdd parentheses in boolean expression: (A && B || C) => ((A && B) || C),
Stefano Sabatini [Sat, 6 Feb 2010 00:10:42 +0000 (00:10 +0000)]
Add parentheses in boolean expression: (A && B || C) => ((A && B) || C),
fix the warning:
ffmpeg.c: In function ‘output_packet’:
ffmpeg.c:1317: warning: suggest parentheses around && within ||

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

9 years agoRemove unused variable ref_clock, fix the warning:
Stefano Sabatini [Sat, 6 Feb 2010 00:05:38 +0000 (00:05 +0000)]
Remove unused variable ref_clock, fix the warning:
ffplay.c: In function ‘compute_frame_delay’:
ffplay.c:1064: warning: unused variable ‘ref_clock’

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

9 years agoSimplify how usesVFilter and usesHFilter are set.
Stefano Sabatini [Fri, 5 Feb 2010 23:53:25 +0000 (23:53 +0000)]
Simplify how usesVFilter and usesHFilter are set.

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

9 years agoSatisfy style nits.
Stefano Sabatini [Fri, 5 Feb 2010 23:24:08 +0000 (23:24 +0000)]
Satisfy style nits.

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

9 years agoDoxument url_fdopen().
Stefano Sabatini [Fri, 5 Feb 2010 23:03:32 +0000 (23:03 +0000)]
Doxument url_fdopen().

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

9 years agoApply misc fixes to sws_getCoefficients() doxy.
Stefano Sabatini [Fri, 5 Feb 2010 22:56:59 +0000 (22:56 +0000)]
Apply misc fixes to sws_getCoefficients() doxy.

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

9 years agoSatisfy consistency need:
Stefano Sabatini [Fri, 5 Feb 2010 22:54:45 +0000 (22:54 +0000)]
Satisfy consistency need:
int * sws_getCoefficients  -> int *sws_getCoefficients.

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

9 years agoAdd function to translate SWS_CS_* to coefficient array
David Conrad [Fri, 5 Feb 2010 16:09:03 +0000 (16:09 +0000)]
Add function to translate SWS_CS_* to coefficient array

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

9 years agomake the RDFT vissualizatiom default, the scopes are ugly and eat CPU like
Michael Niedermayer [Fri, 5 Feb 2010 15:26:42 +0000 (15:26 +0000)]
make the RDFT vissualizatiom default, the scopes are ugly and eat CPU like
piranhas.

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

9 years agoMake sure the rdft has enough audio available.
Michael Niedermayer [Fri, 5 Feb 2010 15:16:38 +0000 (15:16 +0000)]
Make sure the rdft has enough audio available.
10l (looks cleaner now)

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

9 years agostrn muxing in avi support.
Michael Niedermayer [Fri, 5 Feb 2010 15:14:56 +0000 (15:14 +0000)]
strn muxing in avi support.
untested as ffmpeg.c has no means to set AVStream metadata (patchwelcome)

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

9 years agoSupport strn tag in avidec.
Michael Niedermayer [Fri, 5 Feb 2010 12:16:59 +0000 (12:16 +0000)]
Support strn tag in avidec.

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

9 years agoCorrecting wrong looking stream_id validity check in avidec.
Michael Niedermayer [Fri, 5 Feb 2010 11:50:44 +0000 (11:50 +0000)]
Correcting wrong looking stream_id validity check in avidec.

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

9 years agoScale rdft vissualization up by 2 so theres no unused space on the top
Michael Niedermayer [Fri, 5 Feb 2010 11:25:58 +0000 (11:25 +0000)]
Scale rdft vissualization up by 2 so theres no unused space on the top
but rather the unimportant high frequencies are cut off if the window is
not a multiple of 2 high.

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

9 years agoDo not segfault when doing "ffplay -h"
Vitor Sessak [Fri, 5 Feb 2010 04:42:20 +0000 (04:42 +0000)]
Do not segfault when doing "ffplay -h"

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

9 years agoPretty RDFT audio visualization.
Michael Niedermayer [Fri, 5 Feb 2010 02:06:38 +0000 (02:06 +0000)]
Pretty RDFT audio visualization.

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

9 years agoFast seeking.
Michael Niedermayer [Fri, 5 Feb 2010 00:37:39 +0000 (00:37 +0000)]
Fast seeking.
Try clicking with the mouse in the window, hold the button and drag.

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

9 years agoAdd ALAC 24 bps decoding support.
Jai Menon [Thu, 4 Feb 2010 16:21:26 +0000 (16:21 +0000)]
Add ALAC 24 bps decoding support.

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

9 years agoFix large timebases.
Michael Niedermayer [Thu, 4 Feb 2010 15:30:37 +0000 (15:30 +0000)]
Fix large timebases.
Fixed issue1633

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

9 years agoImplement cool new vlc code.
Michael Niedermayer [Thu, 4 Feb 2010 14:26:57 +0000 (14:26 +0000)]
Implement cool new vlc code.
Fixes issue1637

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

9 years agoautoexit
Michael Niedermayer [Thu, 4 Feb 2010 01:54:24 +0000 (01:54 +0000)]
autoexit
implements issue1019

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

9 years agoDont try generic seek if seek request before first index entry and backward.
Michael Niedermayer [Wed, 3 Feb 2010 23:59:48 +0000 (23:59 +0000)]
Dont try generic seek if seek request before first index entry and backward.
Fixes issue1275

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

9 years agoImplement shuffle_bytes_abcd() functions and use them for shuffling
Stefano Sabatini [Wed, 3 Feb 2010 23:46:00 +0000 (23:46 +0000)]
Implement shuffle_bytes_abcd() functions and use them for shuffling
bytes when converting between RGB32 variants.

In particular fix the argb -> rgba and abgr -> bgra conversions.

See the thread:
Subject: [FFmpeg-devel] [RFC] RGB32 / BGR32 ethernal bug
Date: Tue, 26 Jan 2010 01:06:18 +0100

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

9 years agoClean after toggling wave.
Michael Niedermayer [Wed, 3 Feb 2010 23:34:06 +0000 (23:34 +0000)]
Clean after toggling wave.
Fixes issue1180.

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

9 years agoUse pixel format descriptors for checking if the input format is
Stefano Sabatini [Wed, 3 Feb 2010 23:10:18 +0000 (23:10 +0000)]
Use pixel format descriptors for checking if the input format is
paletted. Simpler and more robust.

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

9 years agoTry to open decoders in av_find_stream_info() even if no packets for the
Michael Niedermayer [Wed, 3 Feb 2010 23:05:58 +0000 (23:05 +0000)]
Try to open decoders in av_find_stream_info() even if no packets for the
stream are found.
Fixes issue1385

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