platform/upstream/libav.git
16 years agocosmetics: typo fix
Diego Biurrun [Thu, 23 Oct 2008 16:23:42 +0000 (16:23 +0000)]
cosmetics: typo fix

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

16 years agoAdd information about a workaround for MinGW gcc versions.
Diego Biurrun [Thu, 23 Oct 2008 14:39:02 +0000 (14:39 +0000)]
Add information about a workaround for MinGW gcc versions.
based on a patch by Art Clarke, aclarke vlideshow com

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

16 years agoRevert r15653.
Benoit Fouet [Thu, 23 Oct 2008 07:30:16 +0000 (07:30 +0000)]
Revert r15653.
Was "Copy pts for each raw encoded frame."
It causes problems as timestamps management when video sync is zero needs
rework in ffmpeg.c.

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

16 years ago10l: missing change from r15667 - global header also affect seek test results
Aurelien Jacobs [Wed, 22 Oct 2008 21:16:31 +0000 (21:16 +0000)]
10l: missing change from r15667 - global header also affect seek test results

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

16 years agomatroskaenc: require global header
Aurelien Jacobs [Wed, 22 Oct 2008 21:14:42 +0000 (21:14 +0000)]
matroskaenc: require global header
fixes issue696

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

16 years agoFix spelling
Víctor Paesa [Wed, 22 Oct 2008 18:07:35 +0000 (18:07 +0000)]
Fix spelling

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

16 years agoInclude headers for optional libraries only when enabled.
Diego Pettenò [Wed, 22 Oct 2008 10:36:34 +0000 (10:36 +0000)]
Include headers for optional libraries only when enabled.

Include the headers for libavfilter, libswscale and libpostproc when
they are enabled (and thus linked in).

Without this change, Sun Studio will fail to link FFmpeg since two
inline functions defined in avfilter.h will have undefined references
to non-inline libavfilter functions.

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

16 years agocosmetics: Leave out quotes from libdirac pkg-config call for consistency.
Diego Biurrun [Wed, 22 Oct 2008 05:28:18 +0000 (05:28 +0000)]
cosmetics: Leave out quotes from libdirac pkg-config call for consistency.

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

16 years agosplit bswap.h into per-arch files
Måns Rullgård [Tue, 21 Oct 2008 22:29:57 +0000 (22:29 +0000)]
split bswap.h into per-arch files

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

16 years agouses FF_ARRAY_ELEMS() where appropriate
Aurelien Jacobs [Tue, 21 Oct 2008 21:40:24 +0000 (21:40 +0000)]
uses FF_ARRAY_ELEMS() where appropriate

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

16 years agoPort read_time() that works on x86_32 and 64 from noe.
Michael Niedermayer [Tue, 21 Oct 2008 14:57:55 +0000 (14:57 +0000)]
Port read_time() that works on x86_32 and 64 from noe.

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

16 years agoThe v4l2 driver can silently change the pixel format in the
Jens Rosenboom [Tue, 21 Oct 2008 07:59:41 +0000 (07:59 +0000)]
The v4l2 driver can silently change the pixel format in the
VIDIOC_S_FMT ioctl(). In this case, device_init() should fail so that
a different pixel format is tried.
Patch by Jens Rosenboom (jens DOT rosenboom AT eu DOT panasonic DOT com)

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

16 years agoARM: allow --cpu=armvN in configure
Måns Rullgård [Tue, 21 Oct 2008 01:01:55 +0000 (01:01 +0000)]
ARM: allow --cpu=armvN in configure

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

16 years agoAllow target name on every line in dependency postprocessing
Måns Rullgård [Tue, 21 Oct 2008 00:57:23 +0000 (00:57 +0000)]
Allow target name on every line in dependency postprocessing

Some compilers output a new rule for each dependency.  We must prefix
each one with the directory name.

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

16 years agoDo not add $cross_prefix to compiler name given with --cc option
Måns Rullgård [Tue, 21 Oct 2008 00:57:20 +0000 (00:57 +0000)]
Do not add $cross_prefix to compiler name given with --cc option

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

16 years agoconfigure: fix handling of option arguments containing = sign
Måns Rullgård [Tue, 21 Oct 2008 00:57:17 +0000 (00:57 +0000)]
configure: fix handling of option arguments containing = sign

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

16 years agoUse x86_reg type instead of long in float_to_int16 MMX/SSE functions.
Reimar Döffinger [Mon, 20 Oct 2008 16:05:29 +0000 (16:05 +0000)]
Use x86_reg type instead of long in float_to_int16 MMX/SSE functions.
Fixes compilation on MinGW64.

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

16 years agoUse av_freep() in ff_parse_close().
Michael Niedermayer [Mon, 20 Oct 2008 09:02:55 +0000 (09:02 +0000)]
Use av_freep() in ff_parse_close().

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

16 years agoCopy pts for each raw encoded frame.
Andrew Wason [Mon, 20 Oct 2008 07:35:17 +0000 (07:35 +0000)]
Copy pts for each raw encoded frame.
Patch by Andrew Wason rectalogic rectalogic com
Fixes issue 676

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

16 years ago34l: free RV3/4 context variables at the end
Kostya Shishkov [Mon, 20 Oct 2008 05:59:50 +0000 (05:59 +0000)]
34l: free RV3/4 context variables at the end

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

16 years agoRV3 and RV4 decoders set some deblocking coefs for each macroblock,
Kostya Shishkov [Mon, 20 Oct 2008 05:58:05 +0000 (05:58 +0000)]
RV3 and RV4 decoders set some deblocking coefs for each macroblock,
so store them in the context and register a function to calculate them.

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

16 years agoMark some of RV3/4 block types as having separate DC subblock
Kostya Shishkov [Mon, 20 Oct 2008 05:54:31 +0000 (05:54 +0000)]
Mark some of RV3/4 block types as having separate DC subblock

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

16 years agoAdd missing sys/select.h #include, fixes compilation on FreeBSD 7.0.
Alexis Ballier [Mon, 20 Oct 2008 05:26:52 +0000 (05:26 +0000)]
Add missing sys/select.h #include, fixes compilation on FreeBSD 7.0.
patch by Alexis Ballier, alexis.ballier gmail com

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

16 years agoARM: Kill warning in bswap_32()
Måns Rullgård [Mon, 20 Oct 2008 00:03:25 +0000 (00:03 +0000)]
ARM: Kill warning in bswap_32()

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

16 years agoConvert typeof keyword into __typeof__; this is a gcc extension and the former is...
David Conrad [Sun, 19 Oct 2008 18:56:35 +0000 (18:56 +0000)]
Convert typeof keyword into __typeof__; this is a gcc extension and the former is not accepted in C99 without GNU extensions enabled (e.g. via -fasm).  This fixes compilation on PPC.

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

16 years agofix configure with libx264 disabled
Måns Rullgård [Sun, 19 Oct 2008 11:44:44 +0000 (11:44 +0000)]
fix configure with libx264 disabled

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

16 years agoRemove the ugly and unnecessary require_cpp_condition() function.
Stefano Sabatini [Sun, 19 Oct 2008 11:07:45 +0000 (11:07 +0000)]
Remove the ugly and unnecessary require_cpp_condition() function.

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

16 years agoMake more clear the error message for the libx264 version check.
Stefano Sabatini [Sun, 19 Oct 2008 11:05:03 +0000 (11:05 +0000)]
Make more clear the error message for the libx264 version check.

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

16 years agoCosmetics: reindent
David Conrad [Sun, 19 Oct 2008 04:44:24 +0000 (04:44 +0000)]
Cosmetics: reindent

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

16 years agoCombine non-bitexact sections
David Conrad [Sun, 19 Oct 2008 04:43:35 +0000 (04:43 +0000)]
Combine non-bitexact sections

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

16 years agoVP3 loop filter is mmx2 not mmx
David Conrad [Sun, 19 Oct 2008 04:40:24 +0000 (04:40 +0000)]
VP3 loop filter is mmx2 not mmx

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

16 years agoCheck for pts==dts on I/P frames in the presence of non low delay decoding and
Michael Niedermayer [Sun, 19 Oct 2008 01:02:48 +0000 (01:02 +0000)]
Check for pts==dts on I/P frames in the presence of non low delay decoding and
discard these invalid timestamps.
fixes issue171.

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

16 years agoMove code setting delay and presentation_delayed a little up so
Michael Niedermayer [Sat, 18 Oct 2008 22:41:21 +0000 (22:41 +0000)]
Move code setting delay and presentation_delayed a little up so
that the variables are available sooner.

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

16 years agoFix issue 68:
Víctor Paesa [Sat, 18 Oct 2008 22:03:21 +0000 (22:03 +0000)]
Fix issue 68:
Warn that the forum look is no excuse from following the FFmpeg netiquette.

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

16 years agocosmetics: Save some backslashes.
Diego Biurrun [Sat, 18 Oct 2008 20:01:48 +0000 (20:01 +0000)]
cosmetics: Save some backslashes.

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

16 years agoProvide more context to the opt_preset() error messages, printing the
Stefano Sabatini [Sat, 18 Oct 2008 18:42:20 +0000 (18:42 +0000)]
Provide more context to the opt_preset() error messages, printing the
name of the preset file where the error occurred.

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

16 years agoMake ffmpeg abort if a preset file contains an invalid option or
Stefano Sabatini [Sat, 18 Oct 2008 18:27:32 +0000 (18:27 +0000)]
Make ffmpeg abort if a preset file contains an invalid option or
argument.

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

16 years agoProvide more context for the error message issued when no preset file
Stefano Sabatini [Sat, 18 Oct 2008 18:18:52 +0000 (18:18 +0000)]
Provide more context for the error message issued when no preset file
is found.

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

16 years agoAppend read data onto the buffer instead of overwriting, this ensures
Michael Niedermayer [Sat, 18 Oct 2008 17:30:37 +0000 (17:30 +0000)]
Append read data onto the buffer instead of overwriting, this ensures
that the whole buffer is available for seeking back.
Fixes issue480

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

16 years agoNellymoser 8KHZ flv muxing fix, patch by Alexander Wichers development at wichersdot nu
Alexander Wichers [Sat, 18 Oct 2008 12:10:08 +0000 (12:10 +0000)]
Nellymoser 8KHZ flv muxing fix, patch by Alexander Wichers development at wichersdot nu

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

16 years ago8HZ -> 8KHZ, cosmetics patch by Alexander Wichers development at wichersdot nu
Alexander Wichers [Sat, 18 Oct 2008 12:08:55 +0000 (12:08 +0000)]
8HZ -> 8KHZ, cosmetics patch by Alexander Wichers development at wichersdot nu

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

16 years agoAssume mono if no other information for raw.
Michael Niedermayer [Sat, 18 Oct 2008 10:40:31 +0000 (10:40 +0000)]
Assume mono if no other information for raw.
Should fix issue687

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

16 years agoMMX VP3 Loop Filter
David Conrad [Fri, 17 Oct 2008 03:18:08 +0000 (03:18 +0000)]
MMX VP3 Loop Filter

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

16 years agoRemove -fasm CFLAGS check, it is no longer needed.
Diego Biurrun [Thu, 16 Oct 2008 15:24:34 +0000 (15:24 +0000)]
Remove -fasm CFLAGS check, it is no longer needed.

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

16 years agoUpdate DEPEND_CMD comment to better explain why we postprocess gcc output.
Diego Biurrun [Thu, 16 Oct 2008 15:23:55 +0000 (15:23 +0000)]
Update DEPEND_CMD comment to better explain why we postprocess gcc output.

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

16 years agoConvert asm keyword into __asm__.
Diego Pettenò [Thu, 16 Oct 2008 13:34:30 +0000 (13:34 +0000)]
Convert asm keyword into __asm__.

Neither the asm() nor the __asm__() keyword is not part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).

Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 synta.

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

16 years agoConvert asm keyword into __asm__.
Diego Pettenò [Thu, 16 Oct 2008 13:34:09 +0000 (13:34 +0000)]
Convert asm keyword into __asm__.

Neither the asm() nor the __asm__() keyword is part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).

Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 syntax.

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

16 years agoUse CONFIG_* macros in cmdutils.c for consistency.
Diego Pettenò [Thu, 16 Oct 2008 11:46:15 +0000 (11:46 +0000)]
Use CONFIG_* macros in cmdutils.c for consistency.

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

16 years agoRevert r15615: Enable AC-3 decoding regression tests.
Carl Eugen Hoyos [Wed, 15 Oct 2008 22:58:45 +0000 (22:58 +0000)]
Revert r15615: Enable AC-3 decoding regression tests.
AC-3 decoding regression test fails with gcc 2.95.3 because of missing
SSE support.

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

16 years agoSupport absolute DOS paths for preset parameters
Ramiro Polla [Wed, 15 Oct 2008 14:12:59 +0000 (14:12 +0000)]
Support absolute DOS paths for preset parameters

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

16 years agoBump minor version after addition of FF_ARRAY_ELEMS macro.
Benoit Fouet [Wed, 15 Oct 2008 08:06:12 +0000 (08:06 +0000)]
Bump minor version after addition of FF_ARRAY_ELEMS macro.

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

16 years agoUse of new bitstream in vorbis_enc.c.
Bartłomiej Wołowiec [Wed, 15 Oct 2008 08:01:54 +0000 (08:01 +0000)]
Use of new bitstream in vorbis_enc.c.
Patch by Bartłomiej Wołowiec b wolowiec AT students mimuw edu pl

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

16 years agoCosmetics: fix indentation after previous commit.
Benoit Fouet [Wed, 15 Oct 2008 07:31:06 +0000 (07:31 +0000)]
Cosmetics: fix indentation after previous commit.

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

16 years agoAdd a flag to avoid calling vorbis_analysis_wrote twice with an empty buffer.
Nicolas George [Wed, 15 Oct 2008 07:29:37 +0000 (07:29 +0000)]
Add a flag to avoid calling vorbis_analysis_wrote twice with an empty buffer.
Patch by Nicolas George: name surname normalesup org

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

16 years agoAdd a macro to get the number of elements in a table.
Benoit Fouet [Wed, 15 Oct 2008 07:24:54 +0000 (07:24 +0000)]
Add a macro to get the number of elements in a table.

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

16 years agoInclude zlib.h as it is needed for watermark support,
Michael Niedermayer [Tue, 14 Oct 2008 20:42:54 +0000 (20:42 +0000)]
Include zlib.h as it is needed for watermark support,
patch by baptiste based on reverse engineering work by chrono.

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

16 years agoExport svq1_packet_checksum() that is needed for svq3 watermarks,
Michael Niedermayer [Tue, 14 Oct 2008 20:34:31 +0000 (20:34 +0000)]
Export svq1_packet_checksum() that is needed for svq3 watermarks,
patch by baptiste that is based on reverse engineering work by chrono.

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

16 years agoAdd variable to hold the svq3 watermarking key,
Michael Niedermayer [Tue, 14 Oct 2008 20:30:11 +0000 (20:30 +0000)]
Add variable to hold the svq3 watermarking key,
patch by baptiste that is based on reverse engineering by chrono.

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

16 years agoEnable AC-3 decoding regression tests.
Carl Eugen Hoyos [Mon, 13 Oct 2008 21:47:30 +0000 (21:47 +0000)]
Enable AC-3 decoding regression tests.

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

16 years agoAdd Jason Garrett-Glaser as libx264 maintainer.
Benoit Fouet [Mon, 13 Oct 2008 15:47:34 +0000 (15:47 +0000)]
Add Jason Garrett-Glaser as libx264 maintainer.

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

16 years agoAdd a space between frequencies and their units.
Benoit Fouet [Mon, 13 Oct 2008 15:09:04 +0000 (15:09 +0000)]
Add a space between frequencies and their units.

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

16 years agoFix mem leak.
Ralf Terdic [Mon, 13 Oct 2008 13:47:05 +0000 (13:47 +0000)]
Fix mem leak.
Patch by Ralf Terdic contact >AT< jswiff com

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

16 years agoFix some icc warnings by using enum PixelFormat instead of int where appropriate.
Carl Eugen Hoyos [Mon, 13 Oct 2008 07:42:11 +0000 (07:42 +0000)]
Fix some icc warnings by using enum PixelFormat instead of int where appropriate.

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

16 years agovp6dec: ensure we don't try to use a buffer with negative size
Aurelien Jacobs [Mon, 13 Oct 2008 00:10:53 +0000 (00:10 +0000)]
vp6dec: ensure we don't try to use a buffer with negative size
this should never happen in valid vp6 bitstream
fix issue684

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

16 years agoEnable FAST_UNALIGNED on ARM variants that support it
Måns Rullgård [Sun, 12 Oct 2008 23:10:48 +0000 (23:10 +0000)]
Enable FAST_UNALIGNED on ARM variants that support it

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

16 years agoEnable FAST_UNALIGNED on PPC
Måns Rullgård [Sun, 12 Oct 2008 23:10:45 +0000 (23:10 +0000)]
Enable FAST_UNALIGNED on PPC

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

16 years agoRevert "Replace sed trickery in the gcc dependency generation command"
Måns Rullgård [Sun, 12 Oct 2008 22:52:42 +0000 (22:52 +0000)]
Revert "Replace sed trickery in the gcc dependency generation command"

This made dependencies entirely non-functional, and also the syntax is
not supported by gcc 2.95.

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

16 years agoconfigure: simplify PPC dcbzl check
Måns Rullgård [Sun, 12 Oct 2008 21:15:59 +0000 (21:15 +0000)]
configure: simplify PPC dcbzl check

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

16 years agoAdd preset options documentation strings.
Stefano Sabatini [Sun, 12 Oct 2008 20:46:30 +0000 (20:46 +0000)]
Add preset options documentation strings.

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

16 years agoUse PIX_FMT_NONE instead of -1 in AVCodec.pix_fmts.
Carl Eugen Hoyos [Sun, 12 Oct 2008 20:22:55 +0000 (20:22 +0000)]
Use PIX_FMT_NONE instead of -1 in AVCodec.pix_fmts.

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

16 years agoDon't include byteswap.h anymore.
Carl Eugen Hoyos [Sun, 12 Oct 2008 19:50:24 +0000 (19:50 +0000)]
Don't include byteswap.h anymore.

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

16 years agoRemove unused variables
David Conrad [Sun, 12 Oct 2008 19:41:17 +0000 (19:41 +0000)]
Remove unused variables

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

16 years agoReplace sed trickery in the gcc dependency generation command by use of
Diego Biurrun [Sun, 12 Oct 2008 17:31:25 +0000 (17:31 +0000)]
Replace sed trickery in the gcc dependency generation command by use of
the -MT option as suggested by Ramiro.

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

16 years agoFix inconsistent indent.
Stefano Sabatini [Sun, 12 Oct 2008 16:35:58 +0000 (16:35 +0000)]
Fix inconsistent indent.

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

16 years agoRevert the merger of LC_ALL declaration and export.
Diego Biurrun [Sun, 12 Oct 2008 15:56:22 +0000 (15:56 +0000)]
Revert the merger of LC_ALL declaration and export.
This part of the configure script might be run by non-POSIX shells.

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

16 years agoCheck requirement for libx264 version in configure using
Stefano Sabatini [Sun, 12 Oct 2008 09:19:33 +0000 (09:19 +0000)]
Check requirement for libx264 version in configure using
require_cpp_condition().

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

16 years agoImplement CPP condition check support in configure.
Stefano Sabatini [Sun, 12 Oct 2008 09:07:14 +0000 (09:07 +0000)]
Implement CPP condition check support in configure.

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

16 years agonellymoserenc: flush PutBitContext after use.
Ramiro Polla [Sat, 11 Oct 2008 14:52:00 +0000 (14:52 +0000)]
nellymoserenc: flush PutBitContext after use.

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

16 years agoaac_parser: fix strict aliasing violation
Måns Rullgård [Sat, 11 Oct 2008 11:21:45 +0000 (11:21 +0000)]
aac_parser: fix strict aliasing violation

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

16 years agoOnly special-case absolute DOS paths on systems that support them.
Ramiro Polla [Fri, 10 Oct 2008 16:59:37 +0000 (16:59 +0000)]
Only special-case absolute DOS paths on systems that support them.

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

16 years agoMake configure --help return 0.
Stefano Sabatini [Thu, 9 Oct 2008 20:10:22 +0000 (20:10 +0000)]
Make configure --help return 0.

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

16 years agoDocument libavfilter filters options in configure -h.
Stefano Sabatini [Thu, 9 Oct 2008 19:16:58 +0000 (19:16 +0000)]
Document libavfilter filters options in configure -h.

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

16 years agoget_pixels_sse2, ~+12% performance compared to mmx
Baptiste Coudurier [Thu, 9 Oct 2008 18:36:49 +0000 (18:36 +0000)]
get_pixels_sse2, ~+12% performance compared to mmx

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

16 years agoLimit discontinuity handling to containers that allow discontinuities.
Michael Niedermayer [Thu, 9 Oct 2008 18:28:43 +0000 (18:28 +0000)]
Limit discontinuity handling to containers that allow discontinuities.

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

16 years agoMark some symbols in swscale.c as constant.
Diego Pettenò [Thu, 9 Oct 2008 11:13:14 +0000 (11:13 +0000)]
Mark some symbols in swscale.c as constant.

These are only used in swscale_template.c (and thus don't need to be
made extern), and can be declared as ASM constants.

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

16 years agoMark dither_2x2_{8,4} static to swscale.c
Diego Pettenò [Thu, 9 Oct 2008 11:12:38 +0000 (11:12 +0000)]
Mark dither_2x2_{8,4} static to swscale.c

These two tables are not used outside swscale.c even though they are
declared also in yuv2rgb.c.

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

16 years agoMark variation-specific interleaveBytes static.
Diego Pettenò [Thu, 9 Oct 2008 11:11:35 +0000 (11:11 +0000)]
Mark variation-specific interleaveBytes static.

These functions are never called by themselves, the alias
interleaveBytes is used instead.

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

16 years agoInvert logic for the single-pass in swScale() functions.
Diego Pettenò [Thu, 9 Oct 2008 11:10:30 +0000 (11:10 +0000)]
Invert logic for the single-pass in swScale() functions.

Instead of having a firstTime variable defaulting to 1, have a
warnedAlready defaulting to 0. While this should make no difference in
code speed at runtime, it allows to aggregate the four bytes of that
variable with clip_table in .bss section, rather than issuing a .data
section just for that.

As it is, libswscale require no .data section but .data.rel.ro (that
can be mitigated by prelinking), so the change might actually save one
page of memory at runtime (per process).

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

16 years agoChange variable types from int to enum PixelFormat.
Carl Eugen Hoyos [Thu, 9 Oct 2008 08:36:04 +0000 (08:36 +0000)]
Change variable types from int to enum PixelFormat.
Fixes icc warning #188: enumerated type mixed with another type

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

16 years agoMake gcc 2.95 happy.
Michael Niedermayer [Wed, 8 Oct 2008 20:55:22 +0000 (20:55 +0000)]
Make gcc 2.95 happy.

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

16 years agoDo not set src[1] to the palette, it is now in the context
Vitor Sessak [Wed, 8 Oct 2008 17:48:23 +0000 (17:48 +0000)]
Do not set src[1] to the palette, it is now in the context

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

16 years agoAdd a new unscaled PAL8 -> RGB converter.
Vitor Sessak [Wed, 8 Oct 2008 17:46:22 +0000 (17:46 +0000)]
Add a new unscaled PAL8 -> RGB converter.

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

16 years agocosmetics: indentation
Aurelien Jacobs [Wed, 8 Oct 2008 17:28:49 +0000 (17:28 +0000)]
cosmetics: indentation

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

16 years agolookup AVCodec by name
Aurelien Jacobs [Wed, 8 Oct 2008 17:27:45 +0000 (17:27 +0000)]
lookup AVCodec by name

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

16 years agoallows calling avcodec_find_(en|de)coder_by_name with NULL parameter
Aurelien Jacobs [Wed, 8 Oct 2008 17:19:26 +0000 (17:19 +0000)]
allows calling avcodec_find_(en|de)coder_by_name with NULL parameter

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

16 years agoChange one more variable type from int to enum PixelFormat.
Aurelien Jacobs [Wed, 8 Oct 2008 11:59:01 +0000 (11:59 +0000)]
Change one more variable type from int to enum PixelFormat.
This one was missing from r27727.

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

16 years agoAdd a bunch of const qualifiers to function arguments.
Diego Biurrun [Tue, 7 Oct 2008 21:41:25 +0000 (21:41 +0000)]
Add a bunch of const qualifiers to function arguments.
Taken from the upstream libmpeg2 version of the file.

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

16 years agoChange variable types from int to enum PixelFormat.
Carl Eugen Hoyos [Tue, 7 Oct 2008 19:44:39 +0000 (19:44 +0000)]
Change variable types from int to enum PixelFormat.
Fixes icc warning #188: enumerated type mixed with another type

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

16 years agoreplacing frame_rate and frame_rate_base with an AVRational time_base
Roman Shaposhnik [Tue, 7 Oct 2008 16:59:18 +0000 (16:59 +0000)]
replacing frame_rate and frame_rate_base with an AVRational time_base

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

16 years agosimplifying code as per Michael's suggestion
Roman Shaposhnik [Tue, 7 Oct 2008 16:14:33 +0000 (16:14 +0000)]
simplifying code as per Michael's suggestion

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