ffmpeg.git
9 years agoChange remaining ost->st->codec and ist->st->codec to enc and dec in
Justin Ruggles [Sat, 18 Sep 2010 20:16:56 +0000 (20:16 +0000)]
Change remaining ost->st->codec and ist->st->codec to enc and dec in
do_audio_out().

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

9 years agoRemove legacy x264 presets
Lou Logan [Fri, 17 Sep 2010 20:14:24 +0000 (20:14 +0000)]
Remove legacy x264 presets

Since we now have the official x264 presets in ffmpeg, there's no reason to
keep around the old ones.

Patch by Lou Logan <lou AT fakeoutdoorsman DOT com>.

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

9 years agoRemove pointless semicolon
Vitor Sessak [Fri, 17 Sep 2010 19:33:56 +0000 (19:33 +0000)]
Remove pointless semicolon

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

9 years agoDon't access upper 32 bits of a 32-bit int on 64-bit systems.
Ronald S. Bultje [Fri, 17 Sep 2010 12:24:22 +0000 (12:24 +0000)]
Don't access upper 32 bits of a 32-bit int on 64-bit systems.

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

9 years agoconfigure: print minimum lame version number required after revision 25128
James Darnley [Fri, 17 Sep 2010 10:52:43 +0000 (10:52 +0000)]
configure: print minimum lame version number required after revision 25128

Patch by James Darnley <james dot darnley at gmail dot com>.

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

9 years agoProperly add HAVE_YASM around yasmified symbols. Should fix compile error
Ronald S. Bultje [Fri, 17 Sep 2010 03:01:57 +0000 (03:01 +0000)]
Properly add HAVE_YASM around yasmified symbols. Should fix compile error
on configurations using --disable-yasm.

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

9 years agoMove hadamard_diff{,16}_{mmx,mmx2,sse2,ssse3}() from inline asm to yasm,
Ronald S. Bultje [Fri, 17 Sep 2010 01:56:06 +0000 (01:56 +0000)]
Move hadamard_diff{,16}_{mmx,mmx2,sse2,ssse3}() from inline asm to yasm,
which will hopefully solve the Win64/FATE failures caused by these functions.

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

9 years agoMove sse16_sse2() from inline asm to yasm. It is one of the functions causing
Ronald S. Bultje [Fri, 17 Sep 2010 01:44:17 +0000 (01:44 +0000)]
Move sse16_sse2() from inline asm to yasm. It is one of the functions causing
Win64/FATE issues.

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

9 years agoconfigure: detect Open64 compiler
Måns Rullgård [Thu, 16 Sep 2010 15:25:10 +0000 (15:25 +0000)]
configure: detect Open64 compiler

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

9 years agoswscale-test: cosmetic alignment
Ramiro Polla [Thu, 16 Sep 2010 13:30:02 +0000 (13:30 +0000)]
swscale-test: cosmetic alignment

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

9 years agoCosmetics: fix weird align.
Stefano Sabatini [Thu, 16 Sep 2010 08:47:37 +0000 (08:47 +0000)]
Cosmetics: fix weird align.

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

9 years agoUse <> for system headers inclusion.
Stefano Sabatini [Thu, 16 Sep 2010 08:47:34 +0000 (08:47 +0000)]
Use <> for system headers inclusion.

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

9 years agoFix copyright notice, make it more consistent with the rest of FFmpeg.
Stefano Sabatini [Thu, 16 Sep 2010 08:47:31 +0000 (08:47 +0000)]
Fix copyright notice, make it more consistent with the rest of FFmpeg.

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

9 years agoFix grammar in the ocv_smooth filter documentation.
Stefano Sabatini [Thu, 16 Sep 2010 08:37:15 +0000 (08:37 +0000)]
Fix grammar in the ocv_smooth filter documentation.

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

9 years agoPrefer "X" over ``X'', looks more readable and more consistent with
Stefano Sabatini [Thu, 16 Sep 2010 08:34:55 +0000 (08:34 +0000)]
Prefer "X" over ``X'', looks more readable and more consistent with
the rest of FFmpeg docs.

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

9 years agoRemove useless comment.
Carl Eugen Hoyos [Thu, 16 Sep 2010 08:30:01 +0000 (08:30 +0000)]
Remove useless comment.

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

9 years agoswscale: remove useless temporary variable
Ramiro Polla [Thu, 16 Sep 2010 01:09:59 +0000 (01:09 +0000)]
swscale: remove useless temporary variable

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

9 years agoswscale: factorize plane copying code out of 2 functions
Ramiro Polla [Thu, 16 Sep 2010 01:07:55 +0000 (01:07 +0000)]
swscale: factorize plane copying code out of 2 functions

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

9 years agoswscale-test: always use bilinear scaler to get output for SSD
Ramiro Polla [Thu, 16 Sep 2010 00:41:08 +0000 (00:41 +0000)]
swscale-test: always use bilinear scaler to get output for SSD

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

9 years agoAllow float values for libmp3lame quality.
James Darnley [Wed, 15 Sep 2010 22:10:13 +0000 (22:10 +0000)]
Allow float values for libmp3lame quality.

Patch by James Darnley, james D darnley A gmail

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

9 years agoAllow audiogen to take commandline parameters for sample rate and number of
Justin Ruggles [Wed, 15 Sep 2010 21:36:04 +0000 (21:36 +0000)]
Allow audiogen to take commandline parameters for sample rate and number of
channels.

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

9 years agortsp: Handle standard assigned codec names for private payload types, too
Martin Storsjö [Wed, 15 Sep 2010 17:39:25 +0000 (17:39 +0000)]
rtsp: Handle standard assigned codec names for private payload types, too

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

9 years agoHandle G.722 in RTP, and all the exceptions mandated in RFC 3551
Martin Storsjö [Wed, 15 Sep 2010 17:35:39 +0000 (17:35 +0000)]
Handle G.722 in RTP, and all the exceptions mandated in RFC 3551

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

9 years agoCheck avctx width/height more thoroughly (e.g. all values 0 except width would
Reimar Döffinger [Wed, 15 Sep 2010 04:46:55 +0000 (04:46 +0000)]
Check avctx width/height more thoroughly (e.g. all values 0 except width would
have been accepted before).
Also do not fail if they are invalid but instead override them to 0.
This allows decoding e.g. MPEG video when only the container values are corrupted.
For encoding a value of 0,0 of course makes no sense, but was allowed
through before and will be caught by an extra check in the encode function.

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

9 years agoClarify what av_read_frame() returns.
Michael Niedermayer [Tue, 14 Sep 2010 22:20:46 +0000 (22:20 +0000)]
Clarify what av_read_frame() returns.

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

9 years agoUpdate pathscale compiler detection
Måns Rullgård [Tue, 14 Sep 2010 18:55:20 +0000 (18:55 +0000)]
Update pathscale compiler detection

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

9 years agoARM: fix NEON h264_idct_add8
Måns Rullgård [Tue, 14 Sep 2010 17:11:51 +0000 (17:11 +0000)]
ARM: fix NEON h264_idct_add8

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

9 years agoAdd av_popcount() to libavutil/common.h and bump minor version
Tomas Härdin [Tue, 14 Sep 2010 14:45:43 +0000 (14:45 +0000)]
Add av_popcount() to libavutil/common.h and bump minor version

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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