]> git.sesse.net Git - ffmpeg/log
ffmpeg
13 years agoh264/10bit: add HAVE_ALIGNED_STACK checks.
Daniel Kang [Wed, 1 Jun 2011 03:10:51 +0000 (23:10 -0400)]
h264/10bit: add HAVE_ALIGNED_STACK checks.

Fixes regression in 836f47d34b49e8ba9883e738a42f154130421caa in ICC-10.x,
since ICC<=11.0 doesn't align stack upon function calls.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agoUpdate 8-bit H.264 IDCT function names to reflect bit-depth.
Daniel Kang [Tue, 24 May 2011 19:15:08 +0000 (15:15 -0400)]
Update 8-bit H.264 IDCT function names to reflect bit-depth.

Signed-off-by: Ronald S. Bultje <rbultje@google.com>
13 years agoAdd IDCT functions for 10-bit H.264.
Daniel Kang [Tue, 24 May 2011 19:14:38 +0000 (15:14 -0400)]
Add IDCT functions for 10-bit H.264.

Ports the majority of IDCT functions for 10-bit H.264.

Parts are inspired from 8-bit IDCT code in Libav; other parts ported from x264 with relicensing permission from author.

Signed-off-by: Ronald S. Bultje <rbultje@google.com>
13 years agompegaudioenc: Fix broken av_dlog statement.
Diego Biurrun [Tue, 31 May 2011 19:24:13 +0000 (21:24 +0200)]
mpegaudioenc: Fix broken av_dlog statement.

13 years agoEmploy correct printf format specifiers, mostly in debug output.
Diego Biurrun [Tue, 31 May 2011 19:23:45 +0000 (21:23 +0200)]
Employ correct printf format specifiers, mostly in debug output.

13 years agoARM: fix MUL64 inline asm for pre-armv6
Mans Rullgard [Tue, 31 May 2011 20:04:01 +0000 (21:04 +0100)]
ARM: fix MUL64 inline asm for pre-armv6

Prior to ARMv6, the destination registers of the SMULL instruction
must be distinct from the first source register.  Marking the
output early-clobber ensures it is allocated unique registers.

This restriction is dropped in ARMv6 and later, so allowing overlap
between input and output registers there might give better code.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agovf_drawtext: Replace FFmpeg by Libav in license boilerplate.
Diego Biurrun [Tue, 31 May 2011 12:00:12 +0000 (14:00 +0200)]
vf_drawtext: Replace FFmpeg by Libav in license boilerplate.

13 years agompegaudiodec: remove unusued code and variables
Mans Rullgard [Tue, 31 May 2011 17:38:01 +0000 (18:38 +0100)]
mpegaudiodec: remove unusued code and variables

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoimproved 'edts' atom writing support
Gil Pedersen [Mon, 2 May 2011 17:25:28 +0000 (19:25 +0200)]
improved 'edts' atom writing support

The 'edts' write function can now generate an initial empty edit resulting in a track-specific presentation delay.
This is automatically calculated and inserted for any track where the initial DTS != 0.
Added support for long (version==1) timecodes.

13 years agompegaudio: clean up compute_antialias() definition
Mans Rullgard [Thu, 19 May 2011 12:36:21 +0000 (13:36 +0100)]
mpegaudio: clean up compute_antialias() definition

This merges the float and fixed-point versions of the compute_antialias
function, fixes invalid array indexing, and eliminates a dead copy of
csa_table.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agovp8: fix segmentation race during frame-threading.
Ronald S. Bultje [Sun, 29 May 2011 22:53:42 +0000 (18:53 -0400)]
vp8: fix segmentation race during frame-threading.

Fixes occasional failure of make fate-vp8-test-vector-010 with
frame-multithreading enabled.

13 years agoswscale: Remove unused variable.
Diego Biurrun [Mon, 30 May 2011 18:31:27 +0000 (20:31 +0200)]
swscale: Remove unused variable.

13 years agoARM: simplify inline asm with 64-bit operands
Mans Rullgard [Mon, 30 May 2011 15:37:06 +0000 (16:37 +0100)]
ARM: simplify inline asm with 64-bit operands

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoARM: enable UAL syntax in asm.S
Mans Rullgard [Sun, 29 May 2011 13:22:52 +0000 (14:22 +0100)]
ARM: enable UAL syntax in asm.S

This enables UAL syntax for all asm files instead of only those
which happen to be incompatible with the old, deprecated syntax.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agov4l2: don't leak video standard string on error.
Anton Khirnov [Fri, 27 May 2011 07:32:17 +0000 (09:32 +0200)]
v4l2: don't leak video standard string on error.

13 years agoswscale: Remove disabled code.
Diego Biurrun [Fri, 29 Apr 2011 17:35:08 +0000 (19:35 +0200)]
swscale: Remove disabled code.

13 years agoavfilter: Surround function only used in debug mode by appropriate #ifdef.
Diego Biurrun [Fri, 27 May 2011 18:24:44 +0000 (20:24 +0200)]
avfilter: Surround function only used in debug mode by appropriate #ifdef.

This fixes the warning:
libavfilter/avfilter.c:219: warning: ‘ff_get_ref_perms_string’ defined but not used

13 years agovf_crop: Replace #ifdef DEBUG + av_log() by av_dlog().
Diego Biurrun [Fri, 27 May 2011 18:22:55 +0000 (20:22 +0200)]
vf_crop: Replace #ifdef DEBUG + av_log() by av_dlog().

13 years agobuild: remove BUILD_ROOT variable
Mans Rullgard [Sat, 28 May 2011 12:10:01 +0000 (13:10 +0100)]
build: remove BUILD_ROOT variable

This variable is unnecessary as absolute paths are not required.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agovp8: use av_clip_uintp2() where possible
Mans Rullgard [Sat, 28 May 2011 16:20:49 +0000 (17:20 +0100)]
vp8: use av_clip_uintp2() where possible

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoac3enc: fix LOCAL_ALIGNED usage in count_mantissa_bits()
Mans Rullgard [Sat, 28 May 2011 19:27:09 +0000 (20:27 +0100)]
ac3enc: fix LOCAL_ALIGNED usage in count_mantissa_bits()

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoac3dsp: do not use the ff_* prefix when referencing ff_ac3_bap_bits.
Justin Ruggles [Sat, 28 May 2011 18:39:18 +0000 (14:39 -0400)]
ac3dsp: do not use the ff_* prefix when referencing ff_ac3_bap_bits.

this should fix the windows builds

Signed-off-by: Martin Storsjö <martin@martin.st>
13 years agoac3dsp: fix loop condition in ac3_update_bap_counts_c()
Justin Ruggles [Sat, 28 May 2011 18:40:16 +0000 (14:40 -0400)]
ac3dsp: fix loop condition in ac3_update_bap_counts_c()

13 years agoARM: unbreak build
Mans Rullgard [Sat, 28 May 2011 17:36:07 +0000 (18:36 +0100)]
ARM: unbreak build

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoac3enc: modify mantissa bit counting to keep bap counts for all values of bap
Justin Ruggles [Thu, 26 May 2011 19:53:25 +0000 (15:53 -0400)]
ac3enc: modify mantissa bit counting to keep bap counts for all values of bap
instead of just 0 to 4.

This does all the actual bit counting as a final step.

13 years agoac3enc: split mantissa bit counting into a separate function.
Justin Ruggles [Thu, 26 May 2011 16:31:31 +0000 (12:31 -0400)]
ac3enc: split mantissa bit counting into a separate function.

No speed difference. This is to allow for more flexible bit counting.

13 years agoac3enc: store per-block/channel bap pointers by reference block in a 2D array
Justin Ruggles [Thu, 26 May 2011 19:57:21 +0000 (15:57 -0400)]
ac3enc: store per-block/channel bap pointers by reference block in a 2D array
rather than in the AC3Block struct.

This will make it easier to access the bap values without having to chase
the reference block pointers each time.

13 years agoget_bits: add av_unused tag to cache variable
Mans Rullgard [Sat, 28 May 2011 14:46:55 +0000 (15:46 +0100)]
get_bits: add av_unused tag to cache variable

This silences numerous compiler warnings from skip_bits(),
where the cache variable is not used.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agosws: replace all long with int.
Anton Khirnov [Thu, 26 May 2011 16:57:26 +0000 (18:57 +0200)]
sws: replace all long with int.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agoARM: aacdec: fix constraints on inline asm
Mans Rullgard [Fri, 27 May 2011 21:52:49 +0000 (22:52 +0100)]
ARM: aacdec: fix constraints on inline asm

This adds output operands for modified memory allowing the
volatile qualifiers to be dropped.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoARM: remove unnecessary volatile from inline asm
Mans Rullgard [Fri, 27 May 2011 21:49:28 +0000 (22:49 +0100)]
ARM: remove unnecessary volatile from inline asm

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoARM: add "cc" clobbers to inline asm where needed
Mans Rullgard [Fri, 27 May 2011 20:59:46 +0000 (21:59 +0100)]
ARM: add "cc" clobbers to inline asm where needed

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoARM: improve FASTDIV asm
Mans Rullgard [Fri, 27 May 2011 20:43:15 +0000 (21:43 +0100)]
ARM: improve FASTDIV asm

This uses one register less.  Also add missing "cc" clobber.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoac3enc: use LOCAL_ALIGNED macro
Mans Rullgard [Fri, 27 May 2011 19:31:57 +0000 (20:31 +0100)]
ac3enc: use LOCAL_ALIGNED macro

Aligned local variables must use the LOCAL_ALIGNED macro to ensure
correct alignment on all systems.  The unusual size argument to
memset is required since the implementation of LOCAL_ALIGNED may
use a pointer to an array.

Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years agoAPIchanges: fill in git hash for av_get_pix_fmt_name (0420bd7).
Ronald S. Bultje [Sat, 28 May 2011 13:46:42 +0000 (09:46 -0400)]
APIchanges: fill in git hash for av_get_pix_fmt_name (0420bd7).

13 years agolavu: add av_get_pix_fmt_name() convenience function
Stefano Sabatini [Sat, 28 May 2011 00:39:20 +0000 (02:39 +0200)]
lavu: add av_get_pix_fmt_name() convenience function

Also deprecate avcodec_get_pix_fmt_name() in its favor.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agocmdutils: remove OPT_FUNC2
Stefano Sabatini [Fri, 27 May 2011 23:53:00 +0000 (01:53 +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.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years agoswscale: fix crash in bilinear scaling.
Ronald S. Bultje [Fri, 27 May 2011 23:01:47 +0000 (19:01 -0400)]
swscale: fix crash in bilinear scaling.

13 years agovpxenc: add VP8E_SET_STATIC_THRESHOLD mapping
James Zern [Tue, 12 Apr 2011 02:40:47 +0000 (04:40 +0200)]
vpxenc: add VP8E_SET_STATIC_THRESHOLD mapping

via the equivalent AVCodecContext::mb_threshold

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years agowebm: support stereo videos in matroska/webm muxer
Alok Ahuja [Sat, 28 May 2011 06:12:22 +0000 (08:12 +0200)]
webm: support stereo videos in matroska/webm muxer

Create a stereo_mode metadata tag to specify the stereo 3d video layout
using the StereoMode tag in a matroska/webm video track.

13 years agolavf: deprecate AVFormatParameters.pix_fmt.
Anton Khirnov [Fri, 27 May 2011 05:38:49 +0000 (07:38 +0200)]
lavf: deprecate AVFormatParameters.pix_fmt.

13 years agorawdec: add a pixel_format private option.
Anton Khirnov [Tue, 24 May 2011 07:02:11 +0000 (09:02 +0200)]
rawdec: add a pixel_format private option.

13 years agov4l2: add a pixel_format private option.
Anton Khirnov [Tue, 24 May 2011 07:02:11 +0000 (09:02 +0200)]
v4l2: add a pixel_format private option.

13 years agolibdc1394: add a pixel_format private option.
Anton Khirnov [Tue, 24 May 2011 07:02:11 +0000 (09:02 +0200)]
libdc1394: add a pixel_format private option.

13 years agocosmetics: indentation and alignment after previous commit
Justin Ruggles [Tue, 24 May 2011 23:38:30 +0000 (19:38 -0400)]
cosmetics: indentation and alignment after previous commit

13 years agoac3enc: add support for E-AC-3 encoding.
Justin Ruggles [Tue, 24 May 2011 19:20:56 +0000 (15:20 -0400)]
ac3enc: add support for E-AC-3 encoding.

This adds basic stream format support and allows for arbitrary bit rates
rather than just those supported in AC-3.

13 years agoac3enc: Move AC-3 AVOptions array to a separate file to make it easier to
Justin Ruggles [Tue, 24 May 2011 19:14:36 +0000 (15:14 -0400)]
ac3enc: Move AC-3 AVOptions array to a separate file to make it easier to
use only selected options for the different AC-3 encoder types.

13 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>
13 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>
13 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’

13 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.

13 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.

13 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.

13 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.

13 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.

13 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>
13 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>
13 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.

13 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

13 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.

13 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.

13 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.

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

13 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.

13 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.

13 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.

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

13 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.

13 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.

13 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.

13 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.

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

13 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.

13 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.

13 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.

13 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.

13 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>
13 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>
13 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>
13 years agov4l: include avdevice.h
Anton Khirnov [Thu, 26 May 2011 18:32:05 +0000 (20:32 +0200)]
v4l: include avdevice.h

Fixes build.

13 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>
13 years agolavf: initialize demuxer private options.
Anton Khirnov [Thu, 26 May 2011 04:59:08 +0000 (06:59 +0200)]
lavf: initialize demuxer private options.

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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

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

13 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'.

13 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().

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

13 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.

13 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.

13 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.

13 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().

13 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.

13 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.

13 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.