ffmpeg.git
12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 years agocosmetic updates as per Michael's suggestion
Roman Shaposhnik [Tue, 7 Oct 2008 16:07:15 +0000 (16:07 +0000)]
cosmetic updates as per Michael's suggestion

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

12 years agovertically aligning as per Michael's suggestion
Roman Shaposhnik [Tue, 7 Oct 2008 16:06:18 +0000 (16:06 +0000)]
vertically aligning as per Michael's suggestion

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

12 years agounrolling the loops as per Michael's suggestion
Roman Shaposhnik [Tue, 7 Oct 2008 15:52:20 +0000 (15:52 +0000)]
unrolling the loops as per  Michael's suggestion

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

12 years agofixing a bug that prevented proper unweighting table to be selected
Roman Shaposhnik [Tue, 7 Oct 2008 15:51:29 +0000 (15:51 +0000)]
fixing a bug that prevented proper unweighting table to be selected

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

12 years agoDoxygenizing the comments
Roman Shaposhnik [Tue, 7 Oct 2008 15:50:29 +0000 (15:50 +0000)]
Doxygenizing the comments

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

12 years agosimplifying the code as per Michael's suggestion
Roman Shaposhnik [Tue, 7 Oct 2008 15:49:45 +0000 (15:49 +0000)]
simplifying the code as per Michael's suggestion

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

12 years agoSync cosmetics from upstream.
Diego Biurrun [Tue, 7 Oct 2008 08:37:20 +0000 (08:37 +0000)]
Sync cosmetics from upstream.

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

12 years agoRename variables to clarify the channel coupling element and corresponding
Alex Converse [Mon, 6 Oct 2008 16:22:11 +0000 (16:22 +0000)]
Rename variables to clarify the channel coupling element and corresponding
target channel element.

Patch by Alex Converse (alex converse gmail com)

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

12 years agoCorrect documentation of ch_select array.
Alex Converse [Mon, 6 Oct 2008 16:18:18 +0000 (16:18 +0000)]
Correct documentation of ch_select array.

Patch by Alex Converse (alex converse gmail com)

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

12 years agoCorrections to channel coupling code to attain conformance for appropriate
Alex Converse [Mon, 6 Oct 2008 16:12:30 +0000 (16:12 +0000)]
Corrections to channel coupling code to attain conformance for appropriate
streams.

Slightly reworked from a patch by Alex Converse (alex converse gmail com)

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

12 years agoSynchronise presets with recent subme/brdo/bidir_refine -> subme changes in
Robert Swain [Mon, 6 Oct 2008 10:13:52 +0000 (10:13 +0000)]
Synchronise presets with recent subme/brdo/bidir_refine -> subme changes in
libx264

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

12 years agoRemove obsolete liba52 wrapper code.
Diego Biurrun [Mon, 6 Oct 2008 05:17:57 +0000 (05:17 +0000)]
Remove obsolete liba52 wrapper code.

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

12 years agoMake less verbose a sentence in the preset system documentation.
Stefano Sabatini [Sun, 5 Oct 2008 22:41:43 +0000 (22:41 +0000)]
Make less verbose a sentence in the preset system documentation.

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

12 years agogcc-apple specific fallback not necessary anymore (btw no apple hardware is less...
Luca Barbato [Sun, 5 Oct 2008 21:00:16 +0000 (21:00 +0000)]
gcc-apple specific fallback not necessary anymore (btw no apple hardware is less than a Intel core, thus it won't come there w/out disabling all the optimizations)

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

12 years agoCosmetics: rename mace3_decode_frame() to mace_decode_frame()
Vitor Sessak [Sun, 5 Oct 2008 20:12:20 +0000 (20:12 +0000)]
Cosmetics: rename mace3_decode_frame() to mace_decode_frame()

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

12 years agoAvoid code duplication between mace3_decode_frame() and mace6_decode_frame()
Vitor Sessak [Sun, 5 Oct 2008 20:06:40 +0000 (20:06 +0000)]
Avoid code duplication between mace3_decode_frame() and mace6_decode_frame()

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

12 years agoRemove unused and invalid code from ffmpeg.c.
Stefano Sabatini [Sun, 5 Oct 2008 17:26:09 +0000 (17:26 +0000)]
Remove unused and invalid code from ffmpeg.c.

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

12 years agoUse HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.
Diego Biurrun [Sun, 5 Oct 2008 16:47:55 +0000 (16:47 +0000)]
Use HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.

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