platform/upstream/libav.git
14 years agoDont drop B frames without last_picture.
Michael Niedermayer [Fri, 12 Feb 2010 23:28:33 +0000 (23:28 +0000)]
Dont drop B frames without last_picture.
Fixes issue1722

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

14 years agoSpecial case VP5/6 chroma alignment on x86 as well
David Conrad [Fri, 12 Feb 2010 22:01:42 +0000 (22:01 +0000)]
Special case VP5/6 chroma alignment on x86 as well

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

14 years agoDon't pre-calculate first_pixel
David Conrad [Fri, 12 Feb 2010 22:01:38 +0000 (22:01 +0000)]
Don't pre-calculate first_pixel

3.6% faster on Elephants_Dream_HD-q7-aq7.ogg on my penryn

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

14 years agoImplement CODEC_CAP_DRAW_HORIZ_BAND for VP3 decoder
David Conrad [Fri, 12 Feb 2010 22:01:35 +0000 (22:01 +0000)]
Implement CODEC_CAP_DRAW_HORIZ_BAND for VP3 decoder

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

14 years agoCosmetics: reindent
David Conrad [Fri, 12 Feb 2010 22:01:32 +0000 (22:01 +0000)]
Cosmetics: reindent

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

14 years agoDo loop filter per-row rather than per-frame
David Conrad [Fri, 12 Feb 2010 22:01:29 +0000 (22:01 +0000)]
Do loop filter per-row rather than per-frame

3% faster on Elephants_Dream_HD-q7-aq7.ogg on my penryn

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

14 years agoMove apply_loop_filter above render_slice, it'll be used by the latter soon
David Conrad [Fri, 12 Feb 2010 22:01:25 +0000 (22:01 +0000)]
Move apply_loop_filter above render_slice, it'll be used by the latter soon

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

14 years agoExport Theora colorspace info if present
David Conrad [Fri, 12 Feb 2010 22:01:22 +0000 (22:01 +0000)]
Export Theora colorspace info if present

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

14 years agoTheora 3.4 doesn't exist; these fields were misunderstandings of the spec
David Conrad [Fri, 12 Feb 2010 22:01:18 +0000 (22:01 +0000)]
Theora 3.4 doesn't exist; these fields were misunderstandings of the spec

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

14 years agoRemove unused code that's moved elsewhere
David Conrad [Fri, 12 Feb 2010 22:00:29 +0000 (22:00 +0000)]
Remove unused code that's moved elsewhere

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

14 years agoAdd flag so muxers not needing width/height can signal this.
Michael Niedermayer [Fri, 12 Feb 2010 20:35:29 +0000 (20:35 +0000)]
Add flag so muxers not needing width/height can signal this.
Add this flag to img2 (fixes -vcodec copy to image2 in some cases)

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

14 years agoTry to support truncated h264 frames mixed with mpeg pes headers in mkv.
Michael Niedermayer [Fri, 12 Feb 2010 19:25:23 +0000 (19:25 +0000)]
Try to support truncated h264 frames mixed with mpeg pes headers in mkv.
Fixes issue1585

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

14 years agoUse int8_t instead of char, the signedness of char can differ between systems.
Reimar Döffinger [Fri, 12 Feb 2010 18:18:35 +0000 (18:18 +0000)]
Use int8_t instead of char, the signedness of char can differ between systems.

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

14 years agoWMAVoice decoder.
Ronald S. Bultje [Fri, 12 Feb 2010 14:22:41 +0000 (14:22 +0000)]
WMAVoice decoder.

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

14 years agoMake DeluxePaint Animation demuxer actually return the find_record() error code ...
Peter Ross [Fri, 12 Feb 2010 11:31:35 +0000 (11:31 +0000)]
Make DeluxePaint Animation demuxer actually return the find_record() error code (issue 1739).

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

14 years agoAdd GEOV fourcc (issue971).
Michael Niedermayer [Fri, 12 Feb 2010 01:37:53 +0000 (01:37 +0000)]
Add GEOV fourcc (issue971).

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

14 years agoAdd "tomi" architecture
Måns Rullgård [Thu, 11 Feb 2010 23:59:49 +0000 (23:59 +0000)]
Add "tomi" architecture

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

14 years agoconfigure: require --arch and --target-os when cross-compiling
Måns Rullgård [Thu, 11 Feb 2010 23:57:52 +0000 (23:57 +0000)]
configure: require --arch and --target-os when cross-compiling

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

14 years agoffplay depends on rdft
Måns Rullgård [Thu, 11 Feb 2010 23:40:47 +0000 (23:40 +0000)]
ffplay depends on rdft

Spotted by Ramiro.

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

14 years agoFix build with --disable-mdct
Måns Rullgård [Thu, 11 Feb 2010 23:40:45 +0000 (23:40 +0000)]
Fix build with --disable-mdct

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

14 years agoconfigure: add missing mdct deps
Måns Rullgård [Thu, 11 Feb 2010 23:40:39 +0000 (23:40 +0000)]
configure: add missing mdct deps

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

14 years agoconfigure: make mdct and rdft select fft and update other deps
Måns Rullgård [Thu, 11 Feb 2010 23:40:37 +0000 (23:40 +0000)]
configure: make mdct and rdft select fft and update other deps

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

14 years agoFix timestamps.
Michael Niedermayer [Thu, 11 Feb 2010 22:32:46 +0000 (22:32 +0000)]
Fix timestamps.

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

14 years agoRemove recording_time check which is no longer necessary after r21687.
Wolfram Gloger [Thu, 11 Feb 2010 21:54:09 +0000 (21:54 +0000)]
Remove recording_time check which is no longer necessary after r21687.

Patch by Wolfram Gloger, wmglo A dent D med D uni-muenchen D de

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

14 years agoSimplify expression as suggested by Måns Rullgård
Kostya Shishkov [Thu, 11 Feb 2010 14:08:40 +0000 (14:08 +0000)]
Simplify expression as suggested by Måns Rullgård

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

14 years agoMake SHA digest function write digest value with AV_WN32 instead of assuming
Kostya Shishkov [Thu, 11 Feb 2010 11:45:35 +0000 (11:45 +0000)]
Make SHA digest function write digest value with AV_WN32 instead of assuming
that output may be written as uint32_t since output buffer may not be aligned
(and it's silly to force alignment on it) and it does not work in that case
properly on some architectures.

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

14 years agoMove 'chksum' declaration to the only block where that variable is used
Kostya Shishkov [Thu, 11 Feb 2010 07:59:24 +0000 (07:59 +0000)]
Move 'chksum' declaration to the only block where that variable is used

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

14 years agoMove band checksum verifying into preprocessor condition, so compiler won't
Kostya Shishkov [Thu, 11 Feb 2010 07:54:40 +0000 (07:54 +0000)]
Move band checksum verifying into preprocessor condition, so compiler won't
complain about missing function prototype.

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

14 years agoExtend show_pix_fmts(), make it show input/output support for
Stefano Sabatini [Wed, 10 Feb 2010 23:36:35 +0000 (23:36 +0000)]
Extend show_pix_fmts(), make it show input/output support for
conversion and other information exposed by the pixdesc API.

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

14 years agoStricter check for math.h functions
Måns Rullgård [Wed, 10 Feb 2010 22:14:28 +0000 (22:14 +0000)]
Stricter check for math.h functions

GCC is sometimes able to optimise constant calls to these functions,
incorrectly indicating that they exist.  Unoptimised calls will then
fail to link.

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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