ffmpeg.git
11 years agoMerge the single line function decode_cabac_mb_transform_size()
Michael Niedermayer [Mon, 15 Feb 2010 01:04:07 +0000 (01:04 +0000)]
Merge the single line function decode_cabac_mb_transform_size()
into the calling code.
8 cpu cycles faster

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

11 years agoindent
Michael Niedermayer [Sun, 14 Feb 2010 23:10:02 +0000 (23:10 +0000)]
indent

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

11 years agoMerge decode_cabac_mb_dqp() with surronding code.
Michael Niedermayer [Sun, 14 Feb 2010 23:06:25 +0000 (23:06 +0000)]
Merge decode_cabac_mb_dqp() with surronding code.
~20 cpu cycles faster

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

11 years agoDrop if(0) code.
Michael Niedermayer [Sun, 14 Feb 2010 22:59:19 +0000 (22:59 +0000)]
Drop if(0) code.

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

11 years agoReindent
Reimar Döffinger [Sun, 14 Feb 2010 19:00:36 +0000 (19:00 +0000)]
Reindent

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

11 years agoOptimize h261_probe function, since it is far slower than all others.
Reimar Döffinger [Sun, 14 Feb 2010 18:59:56 +0000 (18:59 +0000)]
Optimize h261_probe function, since it is far slower than all others.
About 5 times faster.

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

11 years agoSet sub_mb_type in direct_cache instead of just the direct flag.
Michael Niedermayer [Sun, 14 Feb 2010 16:51:31 +0000 (16:51 +0000)]
Set sub_mb_type in direct_cache instead of just the direct flag.
Simpler, cleaner and faster.

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

11 years agoStore sub_mb_type in direct_cache/direct_table.
Michael Niedermayer [Sun, 14 Feb 2010 14:41:27 +0000 (14:41 +0000)]
Store sub_mb_type in direct_cache/direct_table.
This is equal complexity but could be more usefull.

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

11 years agoAdd myself as maintainer of bgmc.[ch].
Thilo Borgmann [Sun, 14 Feb 2010 10:17:58 +0000 (10:17 +0000)]
Add myself as maintainer of bgmc.[ch].

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

11 years agoRemove slice_table checks from decode_cabac_mb_cbp_luma() and set left/top_cbp so
Michael Niedermayer [Sun, 14 Feb 2010 02:08:48 +0000 (02:08 +0000)]
Remove slice_table checks from decode_cabac_mb_cbp_luma() and set left/top_cbp so
these checks arent needed.

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

11 years agoRevert r21814
Michael Niedermayer [Sun, 14 Feb 2010 02:04:41 +0000 (02:04 +0000)]
Revert r21814
Log:
h264: Fix pointer warnings by removing redundant [0]

Fixes:
h264.h:1222:38: warning: initialization from incompatible pointer type
h264.h:1299:38: warning: initialization from incompatible pointer type
h264.h:1314:42: warning: initialization from incompatible pointer type

Reason: breaks h264 decoding & fate

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

11 years agoCosmetics, vertical align.
Michael Niedermayer [Sun, 14 Feb 2010 01:14:05 +0000 (01:14 +0000)]
Cosmetics, vertical align.

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

11 years agoDirect temporal skiped MBs dont need fill_decode_caches() at all so dont call it
Michael Niedermayer [Sat, 13 Feb 2010 22:53:44 +0000 (22:53 +0000)]
Direct temporal skiped MBs dont need fill_decode_caches() at all so dont call it
for them.

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

11 years agoh264: Remove unused variables.
Alexander Strange [Sat, 13 Feb 2010 21:09:38 +0000 (21:09 +0000)]
h264: Remove unused variables.

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

11 years agoh264: Fix pointer warnings by removing redundant [0]
Alexander Strange [Sat, 13 Feb 2010 21:08:17 +0000 (21:08 +0000)]
h264: Fix pointer warnings by removing redundant [0]

Fixes:
h264.h:1222:38: warning: initialization from incompatible pointer type
h264.h:1299:38: warning: initialization from incompatible pointer type
h264.h:1314:42: warning: initialization from incompatible pointer type

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

11 years agoFix integer overflow warnings in h264.h
Alexander Strange [Sat, 13 Feb 2010 20:57:13 +0000 (20:57 +0000)]
Fix integer overflow warnings in h264.h

Fixes:
h264.h: In function 'fill_filter_caches':
h264.h:1216:73: warning: integer overflow in expression
h264.h:1307:81: warning: integer overflow in expression

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

11 years agoMerge (IS_SKIP(mb_type) || IS_DIRECT(mb_type)
Michael Niedermayer [Sat, 13 Feb 2010 20:13:54 +0000 (20:13 +0000)]
Merge (IS_SKIP(mb_type) || IS_DIRECT(mb_type)

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

11 years agoSkiped MBs dont need the cbp stuff so skip initing that.
Michael Niedermayer [Sat, 13 Feb 2010 20:13:10 +0000 (20:13 +0000)]
Skiped MBs dont need the cbp stuff so skip initing that.

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

11 years agoReindent a line.
Thilo Borgmann [Sat, 13 Feb 2010 19:59:53 +0000 (19:59 +0000)]
Reindent a line.

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

11 years agoAlso skip direct/mvd_cache init for skiped blocks.
Michael Niedermayer [Sat, 13 Feb 2010 19:39:18 +0000 (19:39 +0000)]
Also skip direct/mvd_cache init for skiped blocks.
Odd thing is i thought ive tryed this already and it failed previously.

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

11 years agoAdd myself as contributor.
Thilo Borgmann [Sat, 13 Feb 2010 19:24:32 +0000 (19:24 +0000)]
Add myself as contributor.

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

11 years agoAdd myself as ALS maintainer.
Thilo Borgmann [Sat, 13 Feb 2010 19:23:39 +0000 (19:23 +0000)]
Add myself as ALS maintainer.

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

11 years agoMove more code under if(!IS_DIRECT(mb_type)).
Michael Niedermayer [Sat, 13 Feb 2010 19:00:51 +0000 (19:00 +0000)]
Move more code under if(!IS_DIRECT(mb_type)).

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

11 years agoMove CODEC_FLAG_GRAY check to outer loop
David Conrad [Sat, 13 Feb 2010 18:59:25 +0000 (18:59 +0000)]
Move CODEC_FLAG_GRAY check to outer loop

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

11 years agoMove branch based on custom mode outside the loop
David Conrad [Sat, 13 Feb 2010 18:59:21 +0000 (18:59 +0000)]
Move branch based on custom mode outside the loop

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

11 years agoDirectly check whether a fragment is coded for 4MV mode instead of iterating
David Conrad [Sat, 13 Feb 2010 18:55:27 +0000 (18:55 +0000)]
Directly check whether a fragment is coded for 4MV mode instead of iterating
through the entire coded fragment list.

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

11 years agoEliminate fragment -> macroblock mapping array
David Conrad [Sat, 13 Feb 2010 18:55:24 +0000 (18:55 +0000)]
Eliminate fragment -> macroblock mapping array

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

11 years agoEliminate macroblock -> fragment mapping array
David Conrad [Sat, 13 Feb 2010 18:55:21 +0000 (18:55 +0000)]
Eliminate macroblock -> fragment mapping array

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

11 years agoEliminate superblock <-> macroblock mapping array
David Conrad [Sat, 13 Feb 2010 18:55:17 +0000 (18:55 +0000)]
Eliminate superblock <-> macroblock mapping array

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

11 years agoSupport arithmetic decoding in ALS.
Thilo Borgmann [Sat, 13 Feb 2010 18:24:13 +0000 (18:24 +0000)]
Support arithmetic decoding in ALS.

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

11 years agoSkip some more code that isnt needed for direct MBs.
Michael Niedermayer [Sat, 13 Feb 2010 18:23:46 +0000 (18:23 +0000)]
Skip some more code that isnt needed for direct MBs.

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

11 years agoadd netspeak gsm and truespeech wav format tags to riff.c
Ben Littler [Sat, 13 Feb 2010 17:57:24 +0000 (17:57 +0000)]
add netspeak gsm and truespeech wav format tags to riff.c

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

11 years agoFix reading beyond buffer end on RA144Context.lpc_tables.
Francesco Lavra [Sat, 13 Feb 2010 17:42:58 +0000 (17:42 +0000)]
Fix reading beyond buffer end on RA144Context.lpc_tables.

Patch by Francesco Lavra (francescolavra -at- interfree -dot- it)

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

11 years agoDo not call lseek() with invalid whence value
Måns Rullgård [Sat, 13 Feb 2010 16:56:37 +0000 (16:56 +0000)]
Do not call lseek() with invalid whence value

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

11 years agoMove setting MB_TYPE_L0L1 for direct MBs up, this is simpler.
Michael Niedermayer [Sat, 13 Feb 2010 15:57:49 +0000 (15:57 +0000)]
Move setting MB_TYPE_L0L1 for direct MBs up, this is simpler.

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

11 years agoDont calculate any surrounding MVs for temporal MBs
Michael Niedermayer [Sat, 13 Feb 2010 15:30:27 +0000 (15:30 +0000)]
Dont calculate any surrounding MVs for temporal MBs

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

11 years agoAdd my name to CREDITS.
Stefano Sabatini [Sat, 13 Feb 2010 15:12:05 +0000 (15:12 +0000)]
Add my name to CREDITS.

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

11 years agoSimplify if()
Michael Niedermayer [Sat, 13 Feb 2010 13:28:04 +0000 (13:28 +0000)]
Simplify if()

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

11 years agoInit sub_mb_type cleanly.
Michael Niedermayer [Sat, 13 Feb 2010 13:14:07 +0000 (13:14 +0000)]
Init sub_mb_type cleanly.

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

11 years ago100l Forgoten hunk.unbreak compile before someone notices.
Michael Niedermayer [Sat, 13 Feb 2010 13:04:11 +0000 (13:04 +0000)]
100l Forgoten hunk.unbreak compile before someone notices.

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

11 years agoRestructure spatial direct MV generation so that the zero predictior shortcut
Michael Niedermayer [Sat, 13 Feb 2010 13:02:25 +0000 (13:02 +0000)]
Restructure spatial direct MV generation so that the zero predictior shortcut
is closer at the top.
50-130 cpu cycles faster depending on which kind of direct MBs are meassured.

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

11 years agoSplit spatial and temporal direct MV generation.
Michael Niedermayer [Sat, 13 Feb 2010 03:46:51 +0000 (03:46 +0000)]
Split spatial and temporal direct MV generation.
A little  faster and needed for future optimizations.
This sadly leads to some code duplication (which i hope i can factor out
again after the optimizations on the direcr mv code are done)

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

11 years agoFix compilation with --enable-libgsm on Gentoo and OpenSUSE.
Ramiro Polla [Sat, 13 Feb 2010 03:43:10 +0000 (03:43 +0000)]
Fix compilation with --enable-libgsm on Gentoo and OpenSUSE.

Patch by Ramiro

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

11 years agoSpecial case for spatial direct MV predictor being 0.
Michael Niedermayer [Sat, 13 Feb 2010 02:47:41 +0000 (02:47 +0000)]
Special case for spatial direct MV predictor being 0.
a little less than 200 cpu cycles faster with the cathedral sample.

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

11 years agoPack MVs together from the begin for spatial direct, this simplifies the code
Michael Niedermayer [Sat, 13 Feb 2010 02:20:56 +0000 (02:20 +0000)]
Pack MVs together from the begin for spatial direct, this simplifies the code
and is a bit faster (5-10 cpu cycles depending on what is meassured).

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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