ffmpeg.git
9 years agoRevert 1a5e4fd8c5b99478b4e08a69261930bb12aa948b for postproc. This broke the code
Michael Niedermayer [Sat, 28 May 2011 22:11:39 +0000 (00:11 +0200)]
Revert 1a5e4fd8c5b99478b4e08a69261930bb12aa948b for postproc. This broke the code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodoc: correct AC-3 option subsection placement
James Zern [Fri, 27 May 2011 23:31:59 +0000 (16:31 -0700)]
doc: correct AC-3 option subsection placement

Floating-Point-Only section was added after the video encoders chapter
in 034fc7b merge.

9 years agoswscale: use av_clip_uint8() in yuv2yuv1_c().
Ronald S. Bultje [Wed, 25 May 2011 19:28:12 +0000 (15:28 -0400)]
swscale: use av_clip_uint8() in yuv2yuv1_c().

9 years agoswscale: replace formatConvBuffer[VOF] by allocated array.
Ronald S. Bultje [Thu, 26 May 2011 13:15:38 +0000 (09:15 -0400)]
swscale: replace formatConvBuffer[VOF] by allocated array.

This allows to convert between formats of arbitrary width,
regardless of the value of VOF/VOFW.

9 years agov4l2: create file @doxy from text in the copyright header
Stefano Sabatini [Sat, 28 May 2011 18:59:27 +0000 (20:59 +0200)]
v4l2: create file @doxy from text in the copyright header

9 years agov4l2: remove pointless empty lines
Stefano Sabatini [Sat, 28 May 2011 18:58:32 +0000 (20:58 +0200)]
v4l2: remove pointless empty lines

9 years agov4l2: set default standard to NULL
Stefano Sabatini [Sat, 28 May 2011 18:47:17 +0000 (20:47 +0200)]
v4l2: set default standard to NULL

Avoid a failure with the default value of "NTSC". Not all drivers
support a standard.

9 years agov4l2: use OFFSET macro when setting options
Stefano Sabatini [Sat, 28 May 2011 18:38:06 +0000 (20:38 +0200)]
v4l2: use OFFSET macro when setting options

Improve readability.

9 years agolavdev: add SDL output device
Stefano Sabatini [Thu, 26 May 2011 23:34:35 +0000 (01:34 +0200)]
lavdev: add SDL output device

9 years agolavu: add av_get_pix_fmt_name() convenience function
Stefano Sabatini [Thu, 26 May 2011 17:19:18 +0000 (19:19 +0200)]
lavu: add av_get_pix_fmt_name() convenience function

Also deprecate avcodec_get_pix_fmt_name() in its favor.

9 years agoiff: remove duplicated file description
Stefano Sabatini [Sat, 28 May 2011 08:50:11 +0000 (10:50 +0200)]
iff: remove duplicated file description

9 years agocmdutils: remove OPT_FUNC2
Stefano Sabatini [Tue, 24 May 2011 16:14:42 +0000 (18:14 +0200)]
cmdutils: remove OPT_FUNC2

Make ff* tools only accept opt_* functions taking two arguments.

The distinction between functions with one and two arguments is quite
pointless. Simplify parse_options() code.

9 years agorgb2rgb: remove duplicate mmx/mmx2/3dnow/sse2 functions.
Ronald S. Bultje [Tue, 24 May 2011 22:28:40 +0000 (18:28 -0400)]
rgb2rgb: remove duplicate mmx/mmx2/3dnow/sse2 functions.

Many functions have such a prefix, but do not actually use any
instructions or features from that set, thus giving the false
impression that swscale is highly optimized for a particular
system, whereas in reality it is not.

9 years agoswscale: reindent h[cy]scale_fast() and updateDitherTables().
Ronald S. Bultje [Tue, 24 May 2011 21:50:03 +0000 (17:50 -0400)]
swscale: reindent h[cy]scale_fast() and updateDitherTables().

9 years agoswscale: reformat x86/swscale_template.c.
Ronald S. Bultje [Thu, 26 May 2011 13:11:29 +0000 (09:11 -0400)]
swscale: reformat x86/swscale_template.c.

Interleave macros and code so that it's easier to find the
actual code that belongs to a function. Also reindent where
appropriate and remove dead code.

9 years agoswscale: remove duplicate mmx/mmx2 functions if they are identical.
Ronald S. Bultje [Tue, 24 May 2011 20:45:41 +0000 (16:45 -0400)]
swscale: remove duplicate mmx/mmx2 functions if they are identical.

9 years agoswscale: remove if (c->dstFormat) branch from yuv2packed[12X]().
Ronald S. Bultje [Tue, 24 May 2011 20:02:47 +0000 (16:02 -0400)]
swscale: remove if (c->dstFormat) branch from yuv2packed[12X]().

This allows cutting up the function in much smaller and easier-
to-maintain chunks.

9 years agoswscale: remove if(full_chr_int) from yuv2packed1().
Ronald S. Bultje [Tue, 24 May 2011 19:18:40 +0000 (15:18 -0400)]
swscale: remove if(full_chr_int) from yuv2packed1().

If that flag is set, swScale() already proxies the call to
yuv2rgbXinC_full(). Therefore, this flag is never set when
yuv2packed1() is called.

9 years agoswscale: remove if(accurate_rnd) branch from functions.
Ronald S. Bultje [Tue, 24 May 2011 19:16:19 +0000 (15:16 -0400)]
swscale: remove if(accurate_rnd) branch from functions.

9 years agoswscale: revive SWS_CPU_CAPS until next major bump.
Anton Khirnov [Wed, 25 May 2011 19:47:31 +0000 (21:47 +0200)]
swscale: revive SWS_CPU_CAPS until next major bump.

9 years agoswscale: Remove commented-out printf cruft.
Diego Biurrun [Wed, 25 May 2011 23:40:56 +0000 (01:40 +0200)]
swscale: Remove commented-out printf cruft.

9 years agoExport PCR pid
Kieran Kunhya [Fri, 11 Mar 2011 12:39:55 +0000 (12:39 +0000)]
Export PCR pid

9 years agoExport more transport stream information.
Kieran Kunhya [Fri, 4 Mar 2011 19:22:09 +0000 (19:22 +0000)]
Export more transport stream information.

with minor addition to the comment by michael

9 years agoOutput MPEG-TS stream identifiers.
Kieran Kunhya [Fri, 4 Mar 2011 15:09:32 +0000 (15:09 +0000)]
Output MPEG-TS stream identifiers.

with changes by michael to simplify API

9 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 27 May 2011 21:47:05 +0000 (23:47 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (29 commits)
  ARM: disable ff_vector_fmul_vfp on VFPv3 systems
  ARM: check for VFPv3
  swscale: Remove unused variables in x86 code.
  doc: Drop DJGPP section, Libav now compiles out-of-the-box on FreeDOS.
  x86: Add appropriate ifdefs around certain AVX functions.
  cmdutils: use sws_freeContext() instead of av_freep().
  swscale: delay allocation of formatConvBuffer().
  swscale: fix build with --disable-swscale-alpha.
  movenc: Deprecate the global RTP hinting flag, use a private AVOption instead
  movenc: Add an AVClass for setting muxer specific options
  swscale: fix non-bitexact yuv2yuv[X2]() MMX/MMX2 functions.
  configure: report yasm/nasm presence properly
  tcp: make connect() timeout properly
  rawdec: factor video demuxer definitions into a macro.
  rtspdec: add initial_pause private option.
  lavf: deprecate AVFormatParameters.width/height.
  tty: add video_size private option.
  rawdec: add video_size private option.
  x11grab: add video_size private option.
  x11grab: factorize returning error codes.
  ...

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoARM: disable ff_vector_fmul_vfp on VFPv3 systems
Mans Rullgard [Fri, 27 May 2011 19:18:26 +0000 (20:18 +0100)]
ARM: disable ff_vector_fmul_vfp on VFPv3 systems

This function uses old-style vector operations deprecated in VFPv3.
Some implementations, e.g. Cortex-A9, support them only through
slow software emulation.  Cortex-A8 does have this functionality
in hardware, but as it also has NEON, this function is not used
there regardless.

Signed-off-by: Mans Rullgard <mans@mansr.com>
9 years agoARM: check for VFPv3
Mans Rullgard [Fri, 27 May 2011 19:12:01 +0000 (20:12 +0100)]
ARM: check for VFPv3

Signed-off-by: Mans Rullgard <mans@mansr.com>
9 years agoswscale: Remove unused variables in x86 code.
Diego Biurrun [Fri, 27 May 2011 17:46:39 +0000 (19:46 +0200)]
swscale: Remove unused variables in x86 code.

libswscale/x86/swscale_template.c:2072: warning: unused variable ‘canMMX2BeUsed’
libswscale/x86/swscale_template.c:2145: warning: unused variable ‘canMMX2BeUsed’
libswscale/x86/swscale_template.c:2209: warning: unused variable ‘chrVPixBuf’
libswscale/x86/swscale_template.c:2237: warning: unused variable ‘chrVSrcPtr’

9 years agodoc: Drop DJGPP section, Libav now compiles out-of-the-box on FreeDOS.
Diego Biurrun [Thu, 26 May 2011 12:39:37 +0000 (14:39 +0200)]
doc: Drop DJGPP section, Libav now compiles out-of-the-box on FreeDOS.

9 years agox86: Add appropriate ifdefs around certain AVX functions.
Diego Biurrun [Fri, 27 May 2011 19:18:12 +0000 (21:18 +0200)]
x86: Add appropriate ifdefs around certain AVX functions.

nasm versions prior to 2.09 have trouble assembling some of our AVX code.
Protect these sections by preprocessor macros to allow compilation to pass.

9 years agocmdutils: use sws_freeContext() instead of av_freep().
Ronald S. Bultje [Fri, 27 May 2011 15:57:39 +0000 (11:57 -0400)]
cmdutils: use sws_freeContext() instead of av_freep().

av_freep(swsContext) will leak all memory potentially
allocated within the swsContext.

9 years agoswscale: delay allocation of formatConvBuffer().
Ronald S. Bultje [Fri, 27 May 2011 16:23:32 +0000 (12:23 -0400)]
swscale: delay allocation of formatConvBuffer().

That means it won't be allocated when not needed. Alongside
this, it fixes valgrind/fate-detected memory leaks.

9 years agoswscale: fix build with --disable-swscale-alpha.
Ronald S. Bultje [Fri, 27 May 2011 15:36:43 +0000 (11:36 -0400)]
swscale: fix build with --disable-swscale-alpha.

9 years agomovenc: Deprecate the global RTP hinting flag, use a private AVOption instead
Martin Storsjö [Fri, 20 May 2011 09:27:02 +0000 (12:27 +0300)]
movenc: Deprecate the global RTP hinting flag, use a private AVOption instead

Instead of -fflags rtphint, set -movflags rtphint instead.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agomovenc: Add an AVClass for setting muxer specific options
Martin Storsjö [Sat, 21 May 2011 11:57:04 +0000 (14:57 +0300)]
movenc: Add an AVClass for setting muxer specific options

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agolibdc1394: choose best video mode and rate based on camera capabilities.
Martin Lambers [Thu, 26 May 2011 06:16:58 +0000 (08:16 +0200)]
libdc1394: choose best video mode and rate based on camera capabilities.

9 years agoRemove support for libdc1394 < 2.0.
Martin Lambers [Wed, 25 May 2011 09:28:30 +0000 (11:28 +0200)]
Remove support for libdc1394 < 2.0.

Versions >= 2.0 have been around for a very long time now.

9 years agoavopt: fix segfault
Michael Niedermayer [Fri, 27 May 2011 14:54:22 +0000 (16:54 +0200)]
avopt: fix segfault

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoswscale: fix non-bitexact yuv2yuv[X2]() MMX/MMX2 functions.
Ronald S. Bultje [Fri, 27 May 2011 13:28:38 +0000 (09:28 -0400)]
swscale: fix non-bitexact yuv2yuv[X2]() MMX/MMX2 functions.

9 years agoswscale: dont loose precission on RGB/BGR48 input, that is dont drop half the bits.
Michael Niedermayer [Fri, 27 May 2011 10:47:03 +0000 (12:47 +0200)]
swscale: dont loose precission on RGB/BGR48 input, that is dont drop half the bits.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agopatch checklist: suggest --disable-yasm test.
Michael Niedermayer [Fri, 27 May 2011 09:50:38 +0000 (11:50 +0200)]
patch checklist: suggest --disable-yasm test.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavdev: prefer the inclusion of avdevice.h over that of libavformat/avformat.h
Stefano Sabatini [Thu, 26 May 2011 17:11:25 +0000 (19:11 +0200)]
lavdev: prefer the inclusion of avdevice.h over that of libavformat/avformat.h

9 years agolavdev: include libavformat/avformat.h in avdevice.h
Stefano Sabatini [Fri, 27 May 2011 08:52:34 +0000 (10:52 +0200)]
lavdev: include libavformat/avformat.h in avdevice.h

The header is always required for files which directly deal with
devices, since libavdevice uses the AVFormat* structures defined in
avformat.h.

Avoid the need to explicitely add libavformat/avformat.h.

9 years agofate.txt: replace FATE rsync command with a make command
Stefano Sabatini [Thu, 26 May 2011 14:02:55 +0000 (16:02 +0200)]
fate.txt: replace FATE rsync command with a make command

Remove reference to the mplayerhq.hu rsync command, and replace it
with a reference to the make fate-rsync command.

rsync needs still to be enabled on mplayerhq.hu, and it is currently
not working. Also the fate-rsync Makefile target can be easily updated
without the need to keep the docs in synch.

9 years agoconfigure: report yasm/nasm presence properly
Luca Barbato [Thu, 26 May 2011 18:03:37 +0000 (20:03 +0200)]
configure: report yasm/nasm presence properly

If the secondary assembler is in use report the proper name

9 years agotcp: make connect() timeout properly
Luca Barbato [Fri, 20 May 2011 12:09:21 +0000 (14:09 +0200)]
tcp: make connect() timeout properly

The connect() timeout can take minutes, gets misreported as EIO and
isn't interruptible.

9 years agorawdec: factor video demuxer definitions into a macro.
Anton Khirnov [Wed, 25 May 2011 06:14:13 +0000 (08:14 +0200)]
rawdec: factor video demuxer definitions into a macro.

9 years agortspdec: add initial_pause private option.
Anton Khirnov [Tue, 24 May 2011 06:44:10 +0000 (08:44 +0200)]
rtspdec: add initial_pause private option.

Deprecate corresponding AVFormatParameters field.

9 years agolavf: deprecate AVFormatParameters.width/height.
Anton Khirnov [Thu, 26 May 2011 06:14:03 +0000 (08:14 +0200)]
lavf: deprecate AVFormatParameters.width/height.

9 years agotty: add video_size private option.
Anton Khirnov [Tue, 24 May 2011 05:43:01 +0000 (07:43 +0200)]
tty: add video_size private option.

9 years agorawdec: add video_size private option.
Anton Khirnov [Tue, 24 May 2011 05:43:01 +0000 (07:43 +0200)]
rawdec: add video_size private option.

9 years agox11grab: add video_size private option.
Anton Khirnov [Tue, 24 May 2011 05:43:01 +0000 (07:43 +0200)]
x11grab: add video_size private option.

9 years agox11grab: factorize returning error codes.
Anton Khirnov [Thu, 26 May 2011 19:17:05 +0000 (21:17 +0200)]
x11grab: factorize returning error codes.

9 years agovfwcap: add video_size private option.
Anton Khirnov [Tue, 24 May 2011 05:43:01 +0000 (07:43 +0200)]
vfwcap: add video_size private option.

9 years agov4l2: add video_size private option.
Anton Khirnov [Tue, 24 May 2011 05:43:01 +0000 (07:43 +0200)]
v4l2: add video_size private option.

9 years agov4l2: factorize returning error codes.
Anton Khirnov [Thu, 26 May 2011 18:37:08 +0000 (20:37 +0200)]
v4l2: factorize returning error codes.

This will be useful in the following commit.

9 years agolibdc1394: add video_size private option.
Anton Khirnov [Tue, 24 May 2011 05:43:01 +0000 (07:43 +0200)]
libdc1394: add video_size private option.

9 years agolibdc1394: return meaninful error codes.
Anton Khirnov [Thu, 26 May 2011 15:13:09 +0000 (17:13 +0200)]
libdc1394: return meaninful error codes.

9 years agobktr: add video_size private option.
Anton Khirnov [Tue, 24 May 2011 05:43:01 +0000 (07:43 +0200)]
bktr: add video_size private option.

9 years agobktr: factorize returning error codes.
Anton Khirnov [Thu, 26 May 2011 18:14:53 +0000 (20:14 +0200)]
bktr: factorize returning error codes.

This will be useful in the following commit.

9 years agoFix memleak
Etienne Buira [Thu, 26 May 2011 19:02:50 +0000 (21:02 +0200)]
Fix memleak

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoFix typo
Etienne Buira [Thu, 26 May 2011 19:00:37 +0000 (21:00 +0200)]
Fix typo

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoRemove specific note when not specific
Etienne Buira [Thu, 26 May 2011 17:52:16 +0000 (19:52 +0200)]
Remove specific note when not specific

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMinor cleanup in libx264.c
Etienne Buira [Thu, 26 May 2011 17:48:59 +0000 (19:48 +0200)]
Minor cleanup in libx264.c

Not needed as overwritten later on (look for "// update AVCodecContext
with x264 parameters"), and not accessed inbetween.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoAdd metadata conversion table to the wav demuxer
Tomas Härdin [Thu, 26 May 2011 07:29:03 +0000 (09:29 +0200)]
Add metadata conversion table to the wav demuxer

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 26 May 2011 23:47:34 +0000 (01:47 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (31 commits)
  ARM: add ARMv6 optimised av_clip_uintp2
  ARM: remove volatile from asm statements in libavutil/intmath
  ARM: fix av_clipl_int32_arm()
  v4l: include avdevice.h
  ffserver: move close_connection() call to avoid a temporary string and copy.
  lavf: initialize demuxer private options.
  AVOptions: set string default values.
  lavdevice: mark v4l for removal on next major bump.
  swscale: fix compile on ppc.
  swscale: fix compile on x86-32.
  build: Remove generated .version file on distclean.
  configure: Add -D_GNU_SOURCE to CPPFLAGS on OS/2.
  doc: Drop hint at --enable-memalign-hack for MinGW, it is now autodetected.
  ffplay: Remove disabled code.
  Mark parameterless function declarations as 'void'.
  swscale: use av_clip_uint8() in yuv2yuv1_c().
  swscale: remove VOF/VOFW.
  swscale: split chroma buffers into separate U/V planes.
  swscale: replace formatConvBuffer[VOF] by allocated array.
  rgb2rgb: remove duplicate mmx/mmx2/3dnow/sse2 functions.
  ...

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoFix 32bit rawvideo in avi on big-endian.
Carl Eugen Hoyos [Thu, 26 May 2011 21:49:17 +0000 (23:49 +0200)]
Fix 32bit rawvideo in avi on big-endian.

9 years agoid3v2: Check malloc result. ID3v2 tags can be very large.
Alex Converse [Thu, 26 May 2011 00:57:33 +0000 (17:57 -0700)]
id3v2: Check malloc result. ID3v2 tags can be very large.

9 years agoid3v2: Initialize tflags for version 2.2.
Alex Converse [Thu, 26 May 2011 00:03:12 +0000 (17:03 -0700)]
id3v2: Initialize tflags for version 2.2.

9 years agowebm: Additional options/presets for VP8 encodes under FFmpeg
James Zern [Thu, 26 May 2011 18:20:36 +0000 (20:20 +0200)]
webm: Additional options/presets for VP8 encodes under FFmpeg

9 years agomuxers: Add a flag to mark muxers that allow (non strict) monotone timestamps.
James Zern [Thu, 26 May 2011 18:19:04 +0000 (20:19 +0200)]
muxers: Add a flag to mark muxers that allow (non strict) monotone timestamps.

9 years agoswscale: Do not loose precission on yuv values after rgb->yuv.
Michael Niedermayer [Thu, 26 May 2011 13:32:33 +0000 (15:32 +0200)]
swscale: Do not loose precission on yuv values after rgb->yuv.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolibx264: support aspect Ratio Switch
JULIAN GARDNER [Thu, 26 May 2011 13:32:14 +0000 (15:32 +0200)]
libx264: support aspect Ratio Switch

9 years agoARM: add ARMv6 optimised av_clip_uintp2
Mans Rullgard [Tue, 24 May 2011 14:46:28 +0000 (15:46 +0100)]
ARM: add ARMv6 optimised av_clip_uintp2

Signed-off-by: Mans Rullgard <mans@mansr.com>
9 years agoARM: remove volatile from asm statements in libavutil/intmath
Mans Rullgard [Tue, 24 May 2011 14:45:50 +0000 (15:45 +0100)]
ARM: remove volatile from asm statements in libavutil/intmath

The volatile qualifiers are not needed on these statements as
their effects are fully specified by constraints.

Signed-off-by: Mans Rullgard <mans@mansr.com>
9 years agoARM: fix av_clipl_int32_arm()
Mans Rullgard [Wed, 25 May 2011 17:43:28 +0000 (18:43 +0100)]
ARM: fix av_clipl_int32_arm()

Signed-off-by: Mans Rullgard <mans@mansr.com>
9 years agov4l: include avdevice.h
Anton Khirnov [Thu, 26 May 2011 18:32:05 +0000 (20:32 +0200)]
v4l: include avdevice.h

Fixes build.

9 years agoffserver: move close_connection() call to avoid a temporary string and copy.
Mike Williams [Wed, 18 May 2011 13:14:22 +0000 (09:14 -0400)]
ffserver: move close_connection() call to avoid a temporary string and copy.

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agolavf: initialize demuxer private options.
Anton Khirnov [Thu, 26 May 2011 04:59:08 +0000 (06:59 +0200)]
lavf: initialize demuxer private options.

9 years agoAVOptions: set string default values.
Anton Khirnov [Thu, 26 May 2011 06:48:31 +0000 (08:48 +0200)]
AVOptions: set string default values.

9 years agoFix compilation with YASM/NASM versions not supporting AVX.
Reimar Döffinger [Thu, 26 May 2011 17:44:39 +0000 (19:44 +0200)]
Fix compilation with YASM/NASM versions not supporting AVX.

9 years agolavdevice: mark v4l for removal on next major bump.
Anton Khirnov [Thu, 26 May 2011 15:48:52 +0000 (17:48 +0200)]
lavdevice: mark v4l for removal on next major bump.

9 years agoswscale: fix compile on ppc.
Ronald S. Bultje [Thu, 26 May 2011 15:32:32 +0000 (11:32 -0400)]
swscale: fix compile on ppc.

9 years agoswscale: fix compile on x86-32.
Ronald S. Bultje [Thu, 26 May 2011 14:36:47 +0000 (10:36 -0400)]
swscale: fix compile on x86-32.

9 years agobuild: Remove generated .version file on distclean.
Diego Biurrun [Thu, 26 May 2011 13:48:31 +0000 (15:48 +0200)]
build: Remove generated .version file on distclean.

9 years agoconfigure: Add -D_GNU_SOURCE to CPPFLAGS on OS/2.
Diego Biurrun [Thu, 26 May 2011 12:21:04 +0000 (14:21 +0200)]
configure: Add -D_GNU_SOURCE to CPPFLAGS on OS/2.

The flag is required for some C99 math functions to be declared.

9 years agodoc: Drop hint at --enable-memalign-hack for MinGW, it is now autodetected.
Diego Biurrun [Thu, 26 May 2011 12:40:29 +0000 (14:40 +0200)]
doc: Drop hint at --enable-memalign-hack for MinGW, it is now autodetected.

9 years agoffplay: Remove disabled code.
Diego Biurrun [Tue, 26 Apr 2011 12:29:14 +0000 (14:29 +0200)]
ffplay: Remove disabled code.

9 years agoMark parameterless function declarations as 'void'.
Diego Biurrun [Thu, 26 May 2011 11:37:13 +0000 (13:37 +0200)]
Mark parameterless function declarations as 'void'.

9 years agoswscale: use av_clip_uint8() in yuv2yuv1_c().
Ronald S. Bultje [Wed, 25 May 2011 19:28:12 +0000 (15:28 -0400)]
swscale: use av_clip_uint8() in yuv2yuv1_c().

9 years agoswscale: remove VOF/VOFW.
Ronald S. Bultje [Thu, 26 May 2011 13:17:52 +0000 (09:17 -0400)]
swscale: remove VOF/VOFW.

9 years agoswscale: split chroma buffers into separate U/V planes.
Ronald S. Bultje [Wed, 25 May 2011 18:30:09 +0000 (14:30 -0400)]
swscale: split chroma buffers into separate U/V planes.

Preparatory step to implement support for sizes > VOFW.

9 years agoswscale: replace formatConvBuffer[VOF] by allocated array.
Ronald S. Bultje [Thu, 26 May 2011 13:15:38 +0000 (09:15 -0400)]
swscale: replace formatConvBuffer[VOF] by allocated array.

This allows to convert between formats of arbitrary width,
regardless of the value of VOF/VOFW.

9 years agorgb2rgb: remove duplicate mmx/mmx2/3dnow/sse2 functions.
Ronald S. Bultje [Tue, 24 May 2011 22:28:40 +0000 (18:28 -0400)]
rgb2rgb: remove duplicate mmx/mmx2/3dnow/sse2 functions.

Many functions have such a prefix, but do not actually use any
instructions or features from that set, thus giving the false
impression that swscale is highly optimized for a particular
system, whereas in reality it is not.

9 years agoswscale: reindent h[cy]scale_fast() and updateDitherTables().
Ronald S. Bultje [Tue, 24 May 2011 21:50:03 +0000 (17:50 -0400)]
swscale: reindent h[cy]scale_fast() and updateDitherTables().

9 years agoswscale: reformat x86/swscale_template.c.
Ronald S. Bultje [Thu, 26 May 2011 13:11:29 +0000 (09:11 -0400)]
swscale: reformat x86/swscale_template.c.

Interleave macros and code so that it's easier to find the
actual code that belongs to a function. Also reindent where
appropriate and remove dead code.

9 years agoswscale: remove duplicate mmx/mmx2 functions if they are identical.
Ronald S. Bultje [Tue, 24 May 2011 20:45:41 +0000 (16:45 -0400)]
swscale: remove duplicate mmx/mmx2 functions if they are identical.

9 years agoswscale: remove if (c->dstFormat) branch from yuv2packed[12X]().
Ronald S. Bultje [Tue, 24 May 2011 20:02:47 +0000 (16:02 -0400)]
swscale: remove if (c->dstFormat) branch from yuv2packed[12X]().

This allows cutting up the function in much smaller and easier-
to-maintain chunks.

9 years agoswscale: remove if(full_chr_int) from yuv2packed1().
Ronald S. Bultje [Tue, 24 May 2011 19:18:40 +0000 (15:18 -0400)]
swscale: remove if(full_chr_int) from yuv2packed1().

If that flag is set, swScale() already proxies the call to
yuv2rgbXinC_full(). Therefore, this flag is never set when
yuv2packed1() is called.

9 years agoswscale: remove if(accurate_rnd) branch from functions.
Ronald S. Bultje [Tue, 24 May 2011 19:16:19 +0000 (15:16 -0400)]
swscale: remove if(accurate_rnd) branch from functions.