]> git.sesse.net Git - ffmpeg/log
ffmpeg
13 years agoRename h264_idct_sse2.asm to h264_idct.asm; move inline IDCT asm from
Ronald S. Bultje [Tue, 14 Sep 2010 13:36:26 +0000 (13:36 +0000)]
Rename h264_idct_sse2.asm to h264_idct.asm; move inline IDCT asm from
h264dsp_mmx.c to h264_idct.asm (as yasm code). Because the loops are now
coded in asm instead of C, this is (depending on the function) up to 50%
faster for cases where gcc didn't do a great job at looping.

Since h264_idct_add8() is now faster than the manual loop setup in h264.c,
in-asm idct calling can now be enabled for chroma as well (see r16207). For
MMX, this is 5% faster. For SSE2 (which isn't done for chroma if h264.c does
the looping), this makes it up to 50% faster. Speed gain overall is ~0.5-1.0%.

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

13 years agoImplement libopencv smooth filter.
Stefano Sabatini [Tue, 14 Sep 2010 13:21:13 +0000 (13:21 +0000)]
Implement libopencv smooth filter.

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

13 years agorgb2rgb: don't misuse HAVE_* defines
Ramiro Polla [Tue, 14 Sep 2010 13:12:11 +0000 (13:12 +0000)]
rgb2rgb: don't misuse HAVE_* defines

Introduce and use COMPILE_TEMPLATE_* instead.

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

13 years agoLimit av_log repeat detection to terminals so as to avoid filling files with
Michael Niedermayer [Tue, 14 Sep 2010 00:17:58 +0000 (00:17 +0000)]
Limit av_log repeat detection to terminals so as to avoid filling files with
lots of mess.

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

13 years agoReindent after r25115.
Carl Eugen Hoyos [Mon, 13 Sep 2010 22:09:28 +0000 (22:09 +0000)]
Reindent after r25115.

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

13 years agoAdd R10k decoder.
Zhou Zongyi [Mon, 13 Sep 2010 22:08:51 +0000 (22:08 +0000)]
Add R10k decoder.

Original patch by Zhou Zongyi, zhouzy A os pku edu cn, resubmitted by
James Darnley, james.darnley gmail, changes by me.

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

13 years agoTest lowres before codec init.
Carl Eugen Hoyos [Mon, 13 Sep 2010 22:03:29 +0000 (22:03 +0000)]
Test lowres before codec init.

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

13 years agoswscale: indentation and emtpy line cosmetics
Ramiro Polla [Mon, 13 Sep 2010 14:33:08 +0000 (14:33 +0000)]
swscale: indentation and emtpy line cosmetics

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

13 years agoswscale: avoid reading prior to the source buffer in planar2x() MMX2
Ramiro Polla [Mon, 13 Sep 2010 14:25:18 +0000 (14:25 +0000)]
swscale: avoid reading prior to the source buffer in planar2x() MMX2

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

13 years agofix x11grab example in e.g. the manpage so that they actually work
Reinhard Tartler [Mon, 13 Sep 2010 13:25:51 +0000 (13:25 +0000)]
fix x11grab example in e.g. the manpage so that they actually work

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

13 years agoApply minor simplification in av_read_image_line().
Stefano Sabatini [Sun, 12 Sep 2010 22:00:45 +0000 (22:00 +0000)]
Apply minor simplification in av_read_image_line().

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

13 years agopixdesc: indent
Måns Rullgård [Sun, 12 Sep 2010 21:39:57 +0000 (21:39 +0000)]
pixdesc: indent

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

13 years agopixdesc: use 8-bit accesses when possible in av_read/write_image_line()
Måns Rullgård [Sun, 12 Sep 2010 21:39:54 +0000 (21:39 +0000)]
pixdesc: use 8-bit accesses when possible in av_read/write_image_line()

This fixes out of bounds accesses for big endian formats and should be
a little faster.

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

13 years agoCosmetics: use x ? y : z construct and merge intialization and
Stefano Sabatini [Sun, 12 Sep 2010 21:31:39 +0000 (21:31 +0000)]
Cosmetics: use x ? y : z construct and merge intialization and
definition for the val variable in av_read_image_line(). Simplify.

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

13 years agoCosmetics: simplify layout of fmt_conversion_table, make it shorter
Stefano Sabatini [Sun, 12 Sep 2010 19:44:45 +0000 (19:44 +0000)]
Cosmetics: simplify layout of fmt_conversion_table, make it shorter
and more readable.

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

13 years agoswscale-test: allow specifying src/dst pixel formats
Ramiro Polla [Sun, 12 Sep 2010 18:17:29 +0000 (18:17 +0000)]
swscale-test: allow specifying src/dst pixel formats

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

13 years agoindent
Ramiro Polla [Sun, 12 Sep 2010 18:16:53 +0000 (18:16 +0000)]
indent

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

13 years agoswscale-test: take input from reference file
Ramiro Polla [Sun, 12 Sep 2010 18:16:33 +0000 (18:16 +0000)]
swscale-test: take input from reference file

If the CRC from the src->dst conversion matches a reference, it is not
necessary to perform a dst->yuva420p conversion and check the SSD.

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

13 years agoswscale-test: always use SWS_BILINEAR to convert from ref to src
Ramiro Polla [Sun, 12 Sep 2010 18:15:34 +0000 (18:15 +0000)]
swscale-test: always use SWS_BILINEAR to convert from ref to src

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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