platform/upstream/libav.git
14 years agoswscale-test: move conversion from ref to source back to doTest()
Ramiro Polla [Sun, 12 Sep 2010 18:14:42 +0000 (18:14 +0000)]
swscale-test: move conversion from ref to source back to doTest()

The source format parameters are kept in static variables and conversion from
ref to source is only made when any parameter changes.

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

14 years agorgb2rgb: replace shuffle_bytes_2103() by optimized rgb32tobgr32()
Ramiro Polla [Sun, 12 Sep 2010 13:03:41 +0000 (13:03 +0000)]
rgb2rgb: replace shuffle_bytes_2103() by optimized rgb32tobgr32()

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

14 years agoSet a constant frame size for encoding G.726 audio.
Justin Ruggles [Sat, 11 Sep 2010 19:52:09 +0000 (19:52 +0000)]
Set a constant frame size for encoding G.726 audio.

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

14 years agoCosmetics: apply minor style fixes.
Stefano Sabatini [Sat, 11 Sep 2010 16:44:10 +0000 (16:44 +0000)]
Cosmetics: apply minor style fixes.

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

14 years agoRead all id3v2 tags at the beginning of mp3 files.
David Byron [Sat, 11 Sep 2010 16:29:23 +0000 (16:29 +0000)]
Read all id3v2 tags at the beginning of mp3 files.

Patch by David Byron, dbyron dbyron com

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

14 years agoindent
Ramiro Polla [Sat, 11 Sep 2010 14:31:13 +0000 (14:31 +0000)]
indent

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

14 years agoswscale: remove unused code
Ramiro Polla [Sat, 11 Sep 2010 14:30:54 +0000 (14:30 +0000)]
swscale: remove unused code

yvu9ToYv12Wrapper() used to support yv12 with the chroma planes either in the
uv order or the vu order. FFmpeg no longer has a pixel format in vu order.

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

14 years agorgb2rgb: remove unused yvu9toyv12 function
Ramiro Polla [Sat, 11 Sep 2010 14:29:55 +0000 (14:29 +0000)]
rgb2rgb: remove unused yvu9toyv12 function

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

14 years agoAdd a FATE test for the G.722 decoder
Martin Storsjö [Sat, 11 Sep 2010 10:23:02 +0000 (10:23 +0000)]
Add a FATE test for the G.722 decoder

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

14 years agotta: remove stray semicolon
Måns Rullgård [Sat, 11 Sep 2010 09:32:14 +0000 (09:32 +0000)]
tta: remove stray semicolon

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

14 years agoAllow mpeg encoding with qscale and very low frame rate.
James Darnley [Fri, 10 Sep 2010 23:41:14 +0000 (23:41 +0000)]
Allow mpeg encoding with qscale and very low frame rate.

Patch by James Darnley, james D darnley A gmail

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

14 years agoFLV Metadata
Tomás Touceda [Fri, 10 Sep 2010 23:29:07 +0000 (23:29 +0000)]
FLV Metadata

Patch by Tomás Touceda, chiiph gentoo org

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

14 years agoMove AMR-NB frame unpacking code to a common file so it can be reused in
Marcelo Galvăo Póvoa [Fri, 10 Sep 2010 19:51:08 +0000 (19:51 +0000)]
Move AMR-NB frame unpacking code to a common file so it can be reused in
the AMR-WB decoder.

Patch by Marcelo Galvăo Póvoa.

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

14 years agoUpdate H263_AIC asm offset for the apple variant
Luca Barbato [Fri, 10 Sep 2010 19:25:42 +0000 (19:25 +0000)]
Update H263_AIC asm offset for the apple variant

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

14 years agoaacdec: Rework channel mapping compatibility hacks.
Alex Converse [Fri, 10 Sep 2010 18:01:48 +0000 (18:01 +0000)]
aacdec: Rework channel mapping compatibility hacks.

For a PCE based configuration map the channels solely based on tags.
For an indexed configuration map the channels solely based on position.

This works with all known exotic samples including al17, elem_id0, bad_concat,
and lfe_is_sce.

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

14 years agoCosmetics: remove useless parentheses.
Stefano Sabatini [Fri, 10 Sep 2010 17:44:08 +0000 (17:44 +0000)]
Cosmetics: remove useless parentheses.

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

14 years agoFix 24 bpp CSCD decoding, as for Windows bitmaps in this (and only this)
Reimar Döffinger [Fri, 10 Sep 2010 17:33:31 +0000 (17:33 +0000)]
Fix 24 bpp CSCD decoding, as for Windows bitmaps in this (and only this)
case the stride must be aligned to a multiple of 4.
The original CSCD encoder just compresses bitmaps it gets via Windows
API functions as-is, thus it uses exactly those alignment rules.

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

14 years agonutenc: fix unstable floating-point calculations
Måns Rullgård [Fri, 10 Sep 2010 13:16:08 +0000 (13:16 +0000)]
nutenc: fix unstable floating-point calculations

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

14 years agoAllow the lowres option to affect audio codecs, too
Martin Storsjö [Fri, 10 Sep 2010 06:19:31 +0000 (06:19 +0000)]
Allow the lowres option to affect audio codecs, too

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

14 years agoRemove h264 asm items off the GPL-only list. They are LGPL now.
Ronald S. Bultje [Fri, 10 Sep 2010 03:31:24 +0000 (03:31 +0000)]
Remove h264 asm items off the GPL-only list. They are LGPL now.

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

14 years agoLGPL SSE2 H.264 iDCT
Jason Garrett-Glaser [Fri, 10 Sep 2010 02:25:12 +0000 (02:25 +0000)]
LGPL SSE2 H.264 iDCT
This leaves no more GPL-only H.264 decoding asm code.

Approved by Loren.

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

14 years agoadts demuxer: Set the time base to be the LCM of all ADTS sample rates.
Alex Converse [Thu, 9 Sep 2010 23:15:17 +0000 (23:15 +0000)]
adts demuxer: Set the time base to be the LCM of all ADTS sample rates.

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

14 years agoUpdate the audio sample rate when doing lowres audio decoding, before opening the...
Martin Storsjö [Thu, 9 Sep 2010 20:58:13 +0000 (20:58 +0000)]
Update the audio sample rate when doing lowres audio decoding, before opening the decoder

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

14 years agoFix indentation.
Reimar Döffinger [Thu, 9 Sep 2010 20:23:41 +0000 (20:23 +0000)]
Fix indentation.

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

14 years agoAdd missing #include <string.h> in x86/cpu.c
Måns Rullgård [Thu, 9 Sep 2010 19:40:59 +0000 (19:40 +0000)]
Add missing #include <string.h> in x86/cpu.c

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

14 years agoAdd a muxer and demuxer for raw G.722
Martin Storsjö [Thu, 9 Sep 2010 19:27:41 +0000 (19:27 +0000)]
Add a muxer and demuxer for raw G.722

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

14 years agoAdd G.722 ADPCM audio decoder
Martin Storsjö [Thu, 9 Sep 2010 19:21:16 +0000 (19:21 +0000)]
Add G.722 ADPCM audio decoder

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

14 years agoCache detected CPU flags
Måns Rullgård [Thu, 9 Sep 2010 18:51:49 +0000 (18:51 +0000)]
Cache detected CPU flags

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

14 years agoClean up av_get_cpu_flag()
Måns Rullgård [Thu, 9 Sep 2010 18:51:45 +0000 (18:51 +0000)]
Clean up av_get_cpu_flag()

Instead of defining functions in per-arch header files included
by the main cpu.c, define them normally and call them from the
generic one.

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

14 years agoav_fill_image_linesizes -> av_image_fill_linesizes
Ramiro Polla [Wed, 8 Sep 2010 23:36:14 +0000 (23:36 +0000)]
av_fill_image_linesizes -> av_image_fill_linesizes

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

14 years agoav_fill_image_linesizes -> av_image_fill_linesizes
Ramiro Polla [Wed, 8 Sep 2010 23:36:02 +0000 (23:36 +0000)]
av_fill_image_linesizes -> av_image_fill_linesizes

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

14 years agoIn mov muxer, write reduced sample aspect ratio values in pasp
Baptiste Coudurier [Wed, 8 Sep 2010 20:22:02 +0000 (20:22 +0000)]
In mov muxer, write reduced sample aspect ratio values in pasp

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

14 years agoCheck dref size based on a patch by google
Baptiste Coudurier [Wed, 8 Sep 2010 20:20:24 +0000 (20:20 +0000)]
Check dref size based on a patch by google

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

14 years agoIn mov demuxer, do not override aspect ratio in tkhd by pasp like quicktime, fix...
Baptiste Coudurier [Wed, 8 Sep 2010 20:18:14 +0000 (20:18 +0000)]
In mov demuxer, do not override aspect ratio in tkhd by pasp like quicktime, fix issue #1539

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

14 years agoUse filename as pattern for multiple inclusion guards.
Diego Biurrun [Wed, 8 Sep 2010 16:02:20 +0000 (16:02 +0000)]
Use filename as pattern for multiple inclusion guards.

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

14 years agoAdd missing stdint.h #include; necessary to pass 'make checkheaders'.
Diego Biurrun [Wed, 8 Sep 2010 15:34:13 +0000 (15:34 +0000)]
Add missing stdint.h #include; necessary to pass 'make checkheaders'.

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

14 years agoAdd APIchanges entry for the av_get_cpu_flags() addition of r25076.
Stefano Sabatini [Wed, 8 Sep 2010 15:10:36 +0000 (15:10 +0000)]
Add APIchanges entry for the av_get_cpu_flags() addition of r25076.

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

14 years agoMove mm_support() from libavcodec to libavutil, make it a public
Stefano Sabatini [Wed, 8 Sep 2010 15:07:14 +0000 (15:07 +0000)]
Move mm_support() from libavcodec to libavutil, make it a public
function and rename it to av_get_cpu_flags().

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

14 years agoRemove reference to not anymore existing symbol has_altivec and use
Stefano Sabatini [Wed, 8 Sep 2010 14:36:13 +0000 (14:36 +0000)]
Remove reference to not anymore existing symbol has_altivec and use
mm_support instead.

Fix compilation if altivec is present and libxvidff.c is compiled.

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

14 years agorgb2rgb: build SSE2 codepath
Ramiro Polla [Wed, 8 Sep 2010 13:16:15 +0000 (13:16 +0000)]
rgb2rgb: build SSE2 codepath

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

14 years agoMerge has_altivec() function into mm_support(), remove it and use
Stefano Sabatini [Wed, 8 Sep 2010 10:02:40 +0000 (10:02 +0000)]
Merge has_altivec() function into mm_support(), remove it and use
mm_support() instead.

Reduce complexity and simplify pending move to libavutil.

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

14 years agoOnly draw the actually visible area in vp3_draw_horiz_band.
Reimar Döffinger [Wed, 8 Sep 2010 05:51:31 +0000 (05:51 +0000)]
Only draw the actually visible area in vp3_draw_horiz_band.
Fixes a black line in non-swapped, non-mod-16-height Theora videos
when vp3_draw_horiz_band is used.

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

14 years agoAdd missing checks on invalid pixel format in
Stefano Sabatini [Tue, 7 Sep 2010 23:41:18 +0000 (23:41 +0000)]
Add missing checks on invalid pixel format in
av_image_fill_linesizes/pointers.

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

14 years agoAdd APIchanges entry after the recent changes to imgutils.h API of
Stefano Sabatini [Tue, 7 Sep 2010 21:29:36 +0000 (21:29 +0000)]
Add APIchanges entry after the recent changes to imgutils.h API of
r25064 and r25067.

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

14 years agoCosmetics: use plural form for *linesizes arguments of
Stefano Sabatini [Tue, 7 Sep 2010 21:24:06 +0000 (21:24 +0000)]
Cosmetics: use plural form for *linesizes arguments of
av_image_copy(), more consistent with the rest of the API and more
semantically correct.

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

14 years agoRemove use of deprecated functions av_image_fill_pointers/linesizes in
Stefano Sabatini [Tue, 7 Sep 2010 21:24:03 +0000 (21:24 +0000)]
Remove use of deprecated functions av_image_fill_pointers/linesizes in
libavcodec/utils.c, fix warnings.

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

14 years agoReindent.
Stefano Sabatini [Tue, 7 Sep 2010 21:23:59 +0000 (21:23 +0000)]
Reindent.

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

14 years agoMove av_picture_data_copy() to libavcore, and rename it
Stefano Sabatini [Tue, 7 Sep 2010 21:23:55 +0000 (21:23 +0000)]
Move av_picture_data_copy() to libavcore, and rename it
av_image_copy().

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

14 years agoReimplement av_picture_data_copy() avoiding the use of PixFmtInfo
Stefano Sabatini [Tue, 7 Sep 2010 21:23:52 +0000 (21:23 +0000)]
Reimplement av_picture_data_copy() avoiding the use of PixFmtInfo
information.

Required for moving the function to libavcore.

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

14 years agoReindent after the last commit.
Stefano Sabatini [Tue, 7 Sep 2010 21:23:48 +0000 (21:23 +0000)]
Reindent after the last commit.

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

14 years agoReimplement ff_img_copy_plane() as av_image_copy_plane() in libavcore,
Stefano Sabatini [Tue, 7 Sep 2010 21:23:45 +0000 (21:23 +0000)]
Reimplement ff_img_copy_plane() as av_image_copy_plane() in libavcore,
and deprecate the old function.

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

14 years agoFix formatting for negative start times (issue 2139).
Christian d'Heureuse [Tue, 7 Sep 2010 21:06:21 +0000 (21:06 +0000)]
Fix formatting for negative start times (issue 2139).

Patch by Christian d'Heureuse, chdh inventec ch

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

14 years agoMove lsp2lpc_sipr() function to common code so it can be reused in a
Marcelo Galvăo Póvoa [Tue, 7 Sep 2010 20:46:29 +0000 (20:46 +0000)]
Move lsp2lpc_sipr() function to common code so it can be reused in a
AMRWB decoder.

Patch by Marcelo Galvăo Póvoa.

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

14 years agoMove AMRNB lsf2lsp() function to common code for using in future AMRWB decoder.
Marcelo Galvăo Póvoa [Tue, 7 Sep 2010 20:44:41 +0000 (20:44 +0000)]
Move AMRNB lsf2lsp() function to common code for using in future AMRWB decoder.

Patch by Marcelo Galvăo Póvoa

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

14 years agoCheck rc_buffer_size value using integer arithmetic
Måns Rullgård [Tue, 7 Sep 2010 19:54:48 +0000 (19:54 +0000)]
Check rc_buffer_size value using integer arithmetic

Using floating-point here can cause erroneous rejection of
parameters due to rounding errors leading to a slightly too
large result.

This fixes the mxf regression test with gcc 4.5 on x86_32.

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

14 years agoAdd APIchanges entry after the libavcore/imgutils.h renames of r25057.
Stefano Sabatini [Tue, 7 Sep 2010 19:19:32 +0000 (19:19 +0000)]
Add APIchanges entry after the libavcore/imgutils.h renames of r25057.

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

14 years agoUse new imgutils.h API names, fix deprecation warnings.
Stefano Sabatini [Tue, 7 Sep 2010 19:15:29 +0000 (19:15 +0000)]
Use new imgutils.h API names, fix deprecation warnings.

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

14 years agoAdopt a hierarchical name scheme for the imgutils.h API. Simplify
Stefano Sabatini [Tue, 7 Sep 2010 19:15:17 +0000 (19:15 +0000)]
Adopt a hierarchical name scheme for the imgutils.h API. Simplify
grepping and somewhat more consistent with the scheme adopted by other
FFmpeg modules API.

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

14 years agoAmend documention for the option -prefix.
Stefano Sabatini [Tue, 7 Sep 2010 09:10:56 +0000 (09:10 +0000)]
Amend documention for the option -prefix.

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

14 years agoPrefer "foo" over ``foo'' in the ffprobe docs.
Stefano Sabatini [Tue, 7 Sep 2010 09:10:50 +0000 (09:10 +0000)]
Prefer "foo" over ``foo'' in the ffprobe docs.

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

14 years agoRead the number of channels from the 'dac3' tag for AC-3 in MP4.
Justin Ruggles [Mon, 6 Sep 2010 21:52:11 +0000 (21:52 +0000)]
Read the number of channels from the 'dac3' tag for AC-3 in MP4.

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

14 years agoMake av_fill_image_max_pixsteps() non static non inline.
Stefano Sabatini [Mon, 6 Sep 2010 21:51:20 +0000 (21:51 +0000)]
Make av_fill_image_max_pixsteps() non static non inline.

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

14 years agoFix slice height for y position calculation for vp3_draw_horiz_band
Reimar Döffinger [Mon, 6 Sep 2010 19:26:18 +0000 (19:26 +0000)]
Fix slice height for y position calculation for vp3_draw_horiz_band
when the video uses 4:2:2 instead of 4:2:0 coding.

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

14 years agoFix vp3_draw_horiz_band to not produce completely chaotical values
Reimar Döffinger [Mon, 6 Sep 2010 19:21:13 +0000 (19:21 +0000)]
Fix vp3_draw_horiz_band to not produce completely chaotical values
that result in overdrawing areas again and again if s->flipped_image
is false.

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

14 years agoVP3/Theora: validate aspect and reduce it before exporting it
Reimar Döffinger [Mon, 6 Sep 2010 17:53:29 +0000 (17:53 +0000)]
VP3/Theora: validate aspect and reduce it before exporting it
via the context.

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

14 years agoAdd a special function to mkv demxuer to parse length values that includes
Reimar Döffinger [Mon, 6 Sep 2010 17:51:44 +0000 (17:51 +0000)]
Add a special function to mkv demxuer to parse length values that includes
special-case code to handle all possible encodings of "unknown length".

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

14 years agoAdd my GPG fingerprint.
Justin Ruggles [Mon, 6 Sep 2010 16:57:34 +0000 (16:57 +0000)]
Add my GPG fingerprint.

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

14 years agoswscale: also update flags on sws_getCachedContext()
Ramiro Polla [Mon, 6 Sep 2010 14:42:25 +0000 (14:42 +0000)]
swscale: also update flags on sws_getCachedContext()

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

14 years agoswscale: fix internal rgb->yv12 chroma conversion used by the main scaler path
Ramiro Polla [Mon, 6 Sep 2010 02:02:53 +0000 (02:02 +0000)]
swscale: fix internal rgb->yv12 chroma conversion used by the main scaler path

The shift must be applied before the masking.

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

14 years agoSort AV_CPU_FLAG* by value.
Stefano Sabatini [Mon, 6 Sep 2010 00:04:03 +0000 (00:04 +0000)]
Sort AV_CPU_FLAG* by value.

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

14 years agoFix typo.
Stefano Sabatini [Mon, 6 Sep 2010 00:04:01 +0000 (00:04 +0000)]
Fix typo.

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

14 years agomove stream info arrays into a struct to ease future dynamic allocation
Aurelien Jacobs [Sun, 5 Sep 2010 22:25:45 +0000 (22:25 +0000)]
move stream info arrays into a struct to ease future dynamic allocation

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

14 years agomatroskadec: allow uint and float elements with length = 0
Aurelien Jacobs [Sun, 5 Sep 2010 21:37:40 +0000 (21:37 +0000)]
matroskadec: allow uint and float elements with length = 0

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

14 years agoAdd #ifndef around FF_API_MM_FLAGS.
Stefano Sabatini [Sun, 5 Sep 2010 21:04:11 +0000 (21:04 +0000)]
Add #ifndef around FF_API_MM_FLAGS.

The #ifndef is required to allow for example some automated regression
tests by simply configuring with: --extra-cflags="-DFF_API_FOO=0".

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

14 years agoUse "d" suffix for general-purpose registers used with movd.
Reimar Döffinger [Sun, 5 Sep 2010 10:10:16 +0000 (10:10 +0000)]
Use "d" suffix for general-purpose registers used with movd.
This increases compatibilty with nasm and is also more consistent,
e.g. with h264_intrapred.asm and h264_chromamc.asm that already
do it that way.

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

14 years agoFix mlib compilation: add mising include for SwsContext.
vle [Sun, 5 Sep 2010 09:41:24 +0000 (09:41 +0000)]
Fix mlib compilation: add mising include for SwsContext.
Patch by [vle gmx net].

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

14 years agoAdd APIchanges entry corresponding to the libavutil/cpu.h addition of
Stefano Sabatini [Sat, 4 Sep 2010 10:05:03 +0000 (10:05 +0000)]
Add APIchanges entry corresponding to the libavutil/cpu.h addition of
r25040.

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

14 years agoRename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_
Stefano Sabatini [Sat, 4 Sep 2010 09:59:08 +0000 (09:59 +0000)]
Rename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_
symbols, and move them from libavcodec/avcodec.h to libavutil/cpu.h.

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

14 years agoCreate config.asm for use with yasm
Måns Rullgård [Fri, 3 Sep 2010 21:27:19 +0000 (21:27 +0000)]
Create config.asm for use with yasm

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

14 years agoconfigure: whitespace
Måns Rullgård [Fri, 3 Sep 2010 21:27:15 +0000 (21:27 +0000)]
configure: whitespace

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

14 years agoconfigure: make print_config() more flexible
Måns Rullgård [Fri, 3 Sep 2010 21:27:12 +0000 (21:27 +0000)]
configure: make print_config() more flexible

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

14 years agoFix the dependencies of the RTP muxer
Martin Storsjö [Fri, 3 Sep 2010 21:13:01 +0000 (21:13 +0000)]
Fix the dependencies of the RTP muxer

This fixes building with --disable-everything --enable-muxer=rtp, closing
issue 2159.

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

14 years agoMove INET6_ADDRSTRLEN to network.h, similar to other network-related fixups
Ronald S. Bultje [Fri, 3 Sep 2010 20:06:01 +0000 (20:06 +0000)]
Move INET6_ADDRSTRLEN to network.h, similar to other network-related fixups
for broken OSes. This is included in rtsp.h, as opposed to os_support.h.
Should fix OS/2 broken build on fate.

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

14 years agoVorbis metadata writing. Patch by James Darnley <james.darnley gmail com>.
James Darnley [Fri, 3 Sep 2010 19:30:27 +0000 (19:30 +0000)]
Vorbis metadata writing. Patch by James Darnley <james.darnley gmail com>.

Fixes issue 555.

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

14 years agoReindent after r25032.
Ronald S. Bultje [Fri, 3 Sep 2010 19:26:27 +0000 (19:26 +0000)]
Reindent after r25032.

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

14 years agoSend NAT punching messages to the address specified in the Transport:
John Wimer [Fri, 3 Sep 2010 19:25:59 +0000 (19:25 +0000)]
Send NAT punching messages to the address specified in the Transport:
message, if available (RFC 2326, section 12.39), fixes issue 2212.

Patch by John Wimer <john at god vtic net>.

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

14 years agoPort latest x264 deblock asm (before they moved to using NV12 as internal
Ronald S. Bultje [Fri, 3 Sep 2010 16:52:46 +0000 (16:52 +0000)]
Port latest x264 deblock asm (before they moved to using NV12 as internal
format), LGPL'ed with permission from Jason and Loren. This includes mmx2
code, so remove inline asm from h264dsp_mmx.c accordingly.

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

14 years agoSet frame_size in the amr demuxer
Martin Storsjö [Fri, 3 Sep 2010 14:59:18 +0000 (14:59 +0000)]
Set frame_size in the amr demuxer

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

14 years agortsp: 10l, try to update the correct rtp stream
Martin Storsjö [Fri, 3 Sep 2010 07:10:21 +0000 (07:10 +0000)]
rtsp: 10l, try to update the correct rtp stream

This fixes a bug from rev 22917. Now RTSP streams where the individual RTCP
sender reports aren't sent at the same time actually are synced properly.

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

14 years agoDetect llvm-gcc and set appropriate flags
Måns Rullgård [Thu, 2 Sep 2010 21:41:07 +0000 (21:41 +0000)]
Detect llvm-gcc and set appropriate flags

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

14 years agoAdd -mllvm -stack-alignment=16 to CFLAGS when using clang
Måns Rullgård [Thu, 2 Sep 2010 19:40:18 +0000 (19:40 +0000)]
Add -mllvm -stack-alignment=16 to CFLAGS when using clang

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

14 years agoOptimize/simplify ebml_read_num.
Reimar Döffinger [Thu, 2 Sep 2010 19:17:46 +0000 (19:17 +0000)]
Optimize/simplify ebml_read_num.

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

14 years agofate: delete log files ahead of each run
Måns Rullgård [Thu, 2 Sep 2010 15:39:44 +0000 (15:39 +0000)]
fate: delete log files ahead of each run

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

14 years agoCosmetics: Reindent after r25023.
Carl Eugen Hoyos [Thu, 2 Sep 2010 11:53:09 +0000 (11:53 +0000)]
Cosmetics: Reindent after r25023.

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

14 years agoFix crash when decoding DV in AVI introduced in r24579 (issue 2174).
Andrew Wason [Thu, 2 Sep 2010 11:51:32 +0000 (11:51 +0000)]
Fix crash when decoding DV in AVI introduced in r24579 (issue 2174).

Patch by Andrew Wason, rectalogic rectalogic com

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

14 years agoFix typo in r25019.
Eli Friedman [Wed, 1 Sep 2010 23:19:36 +0000 (23:19 +0000)]
Fix typo in r25019.

Patch by Eli Friedman <eli.friedman at gmail dot com>.

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

14 years agocosmetics: spaces between and after parentheses
Baptiste Coudurier [Wed, 1 Sep 2010 22:58:39 +0000 (22:58 +0000)]
cosmetics: spaces between and after parentheses

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

14 years agoUnscrew breakage after my last commit because of symbol prefixes.
Ronald S. Bultje [Wed, 1 Sep 2010 21:10:19 +0000 (21:10 +0000)]
Unscrew breakage after my last commit because of symbol prefixes.

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

14 years agoRename h264_weight_sse2.asm to h264_weight.asm; add 16x8/8x16/8x4 non-square
Ronald S. Bultje [Wed, 1 Sep 2010 20:56:16 +0000 (20:56 +0000)]
Rename h264_weight_sse2.asm to h264_weight.asm; add 16x8/8x16/8x4 non-square
biweight code to sse2/ssse3; add sse2 weight code; and use that same code to
create mmx2 functions also, so that the inline asm in h264dsp_mmx.c can be
removed. OK'ed by Jason on IRC.

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

14 years agoSplit h264dsp_mmx.c (which was #included in dsputil_mmx.c) in h264_qpel_mmx.c,
Ronald S. Bultje [Wed, 1 Sep 2010 20:48:59 +0000 (20:48 +0000)]
Split h264dsp_mmx.c (which was #included in dsputil_mmx.c) in h264_qpel_mmx.c,
still #included in dsputil_mmx.c and is part of DSPContext, and h264dsp_mmx.c,
which represents H264DSPContext and is now compiled on its own.

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