libav.git
11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 years agoUse a for() instead of triplicating code.
Vitor Sessak [Sun, 5 Oct 2008 16:33:43 +0000 (16:33 +0000)]
Use a for() instead of triplicating code.

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

11 years agoRegister RV-[34] block specific feature for long future loop filter
Kostya Shishkov [Sun, 5 Oct 2008 16:11:12 +0000 (16:11 +0000)]
Register RV-[34] block specific feature for long future loop filter

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

11 years agoFactorize duplicate table reading code.
Vitor Sessak [Sun, 5 Oct 2008 14:36:10 +0000 (14:36 +0000)]
Factorize duplicate table reading code.

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

11 years agoDocument the preset files system.
Stefano Sabatini [Sun, 5 Oct 2008 09:45:54 +0000 (09:45 +0000)]
Document the preset files system.

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

11 years ago10l, fix amrwb sample rate
Baptiste Coudurier [Sat, 4 Oct 2008 23:30:35 +0000 (23:30 +0000)]
10l, fix amrwb sample rate

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

11 years agomatroskaenc: correct muxing of ASS packets
Aurelien Jacobs [Sat, 4 Oct 2008 22:57:56 +0000 (22:57 +0000)]
matroskaenc: correct muxing of ASS packets
 - split packets to store one ASS event line per Matroska block
 - reformat ASS events to Matroska modified format
 - extract display duration for ASS events to store as Matroska block duration

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

11 years agomatroskaenc: use correct EBML ID for block duration
Aurelien Jacobs [Sat, 4 Oct 2008 22:47:10 +0000 (22:47 +0000)]
matroskaenc: use correct EBML ID for block duration

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

11 years agomatroskaenc: pass the packet size directly as parameter of mkv_blockgroup_size()
Aurelien Jacobs [Sat, 4 Oct 2008 22:44:50 +0000 (22:44 +0000)]
matroskaenc: pass the packet size directly as parameter of mkv_blockgroup_size()

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

11 years agomatroskaenc: remove useless mkv_block_size() function
Aurelien Jacobs [Sat, 4 Oct 2008 22:41:58 +0000 (22:41 +0000)]
matroskaenc: remove useless mkv_block_size() function

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

11 years agoFavor even chunk sizes in ambiguous cases.
Michael Niedermayer [Sat, 4 Oct 2008 22:26:43 +0000 (22:26 +0000)]
Favor even chunk sizes in ambiguous cases.
Fixes transcode_069_produces_uneven_chunk_size.avi.

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

11 years agoFactorize stream id parsing.
Michael Niedermayer [Sat, 4 Oct 2008 21:57:01 +0000 (21:57 +0000)]
Factorize stream id parsing.

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

11 years agoMake size variables in dyn_buf_write unsigned so gcc will not optimize the
Reimar Döffinger [Sat, 4 Oct 2008 21:11:58 +0000 (21:11 +0000)]
Make size variables in dyn_buf_write unsigned so gcc will not optimize the
check away (due to assuming signed overflows do not happen).

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

11 years agoRemove b5Dither, g5Dither and r5Dither from libswscale.
Carl Eugen Hoyos [Sat, 4 Oct 2008 18:50:39 +0000 (18:50 +0000)]
Remove b5Dither, g5Dither and r5Dither from libswscale.

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

11 years agoMerge variable declaration and export.
Diego Biurrun [Sat, 4 Oct 2008 17:11:54 +0000 (17:11 +0000)]
Merge variable declaration and export.

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

11 years agoDeclare ff_pw_53 and ff_pw_18 as assembler constants.
Diego Pettenò [Sat, 4 Oct 2008 16:48:07 +0000 (16:48 +0000)]
Declare ff_pw_53 and ff_pw_18 as assembler constants.
Patch by Diego 'Flameeyes' Petten

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

11 years agoRemove g6Dither from libswscale.
Carl Eugen Hoyos [Sat, 4 Oct 2008 16:40:35 +0000 (16:40 +0000)]
Remove g6Dither from libswscale.

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

11 years agoFix 'make checkheaders', based on a patch by Diego Pettenò, flameeyes gmail com.
Diego Biurrun [Sat, 4 Oct 2008 11:20:02 +0000 (11:20 +0000)]
Fix 'make checkheaders', based on a patch by Diego Pettenò, flameeyes gmail com.

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

11 years agoMove VP3 loop filter to DSPContext
David Conrad [Sat, 4 Oct 2008 10:26:17 +0000 (10:26 +0000)]
Move VP3 loop filter to DSPContext

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

11 years agoRemove MPlayer-specific MP_WORDSIZE hack.
Diego Biurrun [Sat, 4 Oct 2008 09:52:07 +0000 (09:52 +0000)]
Remove MPlayer-specific MP_WORDSIZE hack.

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

11 years agoMark the ff_find_best_tables symbol static to msmpeg4. Patch by Diego Pettenò
Diego Pettenò [Sat, 4 Oct 2008 09:43:11 +0000 (09:43 +0000)]
Mark the ff_find_best_tables symbol static to msmpeg4. Patch by Diego Pettenò

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

11 years agoMark ff_div6 and ff_rem6 static in h264.c. Patch by Diego Pettenò
Diego Pettenò [Sat, 4 Oct 2008 09:36:35 +0000 (09:36 +0000)]
Mark ff_div6 and ff_rem6 static in h264.c. Patch by Diego Pettenò

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

11 years agoMark list heads static. Patch by Diego Pettenò
Diego Pettenò [Sat, 4 Oct 2008 09:29:31 +0000 (09:29 +0000)]
Mark list heads static. Patch by Diego Pettenò

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

11 years agoMark print_all_lib_versions() static in cmdutils.c . Patch by Diego Pettenò
Diego Pettenò [Sat, 4 Oct 2008 09:25:39 +0000 (09:25 +0000)]
Mark print_all_lib_versions() static in cmdutils.c . Patch by Diego Pettenò

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

11 years agoMark ffplay internal variables static. Patch by Diego Pettenò
Diego Pettenò [Sat, 4 Oct 2008 09:23:18 +0000 (09:23 +0000)]
Mark ffplay internal variables static. Patch by Diego Pettenò

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

11 years agoReindent after r15544.
Ronald S. Bultje [Sat, 4 Oct 2008 04:19:46 +0000 (04:19 +0000)]
Reindent after r15544.

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

11 years agoImplement RDTDemuxContext, which contains RDT-specific data (similar to
Ronald S. Bultje [Sat, 4 Oct 2008 04:19:15 +0000 (04:19 +0000)]
Implement RDTDemuxContext, which contains RDT-specific data (similar to
RTPDemuxContext for RTP) for these streams where the transport protocol
is RDT (as served by Realmedia servers).

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