ffmpeg.git
10 years agoversion.sh: use standard sed syntax
Måns Rullgård [Sun, 16 Aug 2009 15:51:47 +0000 (15:51 +0000)]
version.sh: use standard sed syntax

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

10 years agoIndent libswscale:
Ramiro Polla [Sun, 16 Aug 2009 00:32:04 +0000 (00:32 +0000)]
Indent libswscale:
- Use 4 spaces throughout for indentation;
- Fix inconsistent indentation;
- Indent function calls and declarations aligning arguments on multiple lines
  to the column after the opening parentheses;
- Align asm code to the column 4 spaces after the call to __asm__();
- Align cases in switch statements to the same column as "switch".

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

10 years agoUse pkg-config to generate the linker flags for libdirac.
Diego Biurrun [Sat, 15 Aug 2009 12:35:15 +0000 (12:35 +0000)]
Use pkg-config to generate the linker flags for libdirac.
We do the same for libschroedinger and already use pkg-config to generate
the CFLAGS for libdirac anyway, so there is no new dependency.
Thanks to Kovensky for reporting breakage on IRC.

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

10 years agoFix bug caused by difference in stride and picture width.
Anuradha Suraparaju [Sat, 15 Aug 2009 11:59:53 +0000 (11:59 +0000)]
Fix bug caused by difference in stride and picture width.

When a frame is allocated using libschroedinger routines, the frame data size
does not match the actual frame size if the width is not a multiple of 16. So
we cannot do a straightforward memcpy of the frame returned by libschroedinger
into the FFmpeg picture as the stride differs from the width.

Fix this bug by allocating for the libschroedinger frame with the dimensions
in AVCodecContext within libavcodec and passing the frame to libschroedinger.

patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

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

10 years agocosmetics: indentation, prettyprinting, K&R coding style
Diego Biurrun [Sat, 15 Aug 2009 11:42:15 +0000 (11:42 +0000)]
cosmetics: indentation, prettyprinting, K&R coding style

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

10 years agoDrop some more useless braces around if/for constructs.
Diego Biurrun [Sat, 15 Aug 2009 11:32:11 +0000 (11:32 +0000)]
Drop some more useless braces around if/for constructs.

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

10 years agoSimplify another 'if' condition: Replace 'exp == 0' by '!exp'.
Diego Biurrun [Sat, 15 Aug 2009 11:31:42 +0000 (11:31 +0000)]
Simplify another 'if' condition: Replace 'exp == 0' by '!exp'.

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

10 years agoAdd a function that can apply an order 2 rational transfer function in-place.
Colin McQuillan [Sat, 15 Aug 2009 11:22:55 +0000 (11:22 +0000)]
Add a function that can apply an order 2 rational transfer function in-place.
This function will be used in the upcoming AMR-NB floating point decoder for
high-pass filtering.

Patch by Colin McQuillan ( m.niloc googlemail com )

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

10 years agoRemove useless braces around if/for/while expressions.
Diego Biurrun [Sat, 15 Aug 2009 11:12:47 +0000 (11:12 +0000)]
Remove useless braces around if/for/while expressions.

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

10 years agoSimplify 'if' condition statements.
Diego Biurrun [Sat, 15 Aug 2009 11:02:50 +0000 (11:02 +0000)]
Simplify 'if' condition statements.
Drop useless '!= 0' from 'exp != 0', replace 'exp == 0' by '!exp'.

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

10 years agoFix start_display_time/end_display_time to be relative to packet pts in xsub decoder.
Reimar Döffinger [Sat, 15 Aug 2009 09:12:58 +0000 (09:12 +0000)]
Fix start_display_time/end_display_time to be relative to packet pts in xsub decoder.
Makes no difference for the sample AVI files since they all have no packet pts values.

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

10 years agoIndent.
Ramiro Polla [Sat, 15 Aug 2009 02:35:55 +0000 (02:35 +0000)]
Indent.

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

10 years agoReindent.
Reimar Döffinger [Sat, 15 Aug 2009 00:58:26 +0000 (00:58 +0000)]
Reindent.

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

10 years agoRemove code that is now dead.
Reimar Döffinger [Sat, 15 Aug 2009 00:57:24 +0000 (00:57 +0000)]
Remove code that is now dead.

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

10 years agoSimplify initialization of AVSubtitle by using memset.
Reimar Döffinger [Sat, 15 Aug 2009 00:52:41 +0000 (00:52 +0000)]
Simplify initialization of AVSubtitle by using memset.

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

10 years agoMake sure AVSubtitle is initialized, memset it to 0.
Reimar Döffinger [Sat, 15 Aug 2009 00:46:33 +0000 (00:46 +0000)]
Make sure AVSubtitle is initialized, memset it to 0.

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

10 years ago100l, error out if subtitle encoder failed instead of writing an AVPacket
Reimar Döffinger [Sat, 15 Aug 2009 00:37:31 +0000 (00:37 +0000)]
100l, error out if subtitle encoder failed instead of writing an AVPacket
with ridiculous size and thus crashing.

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

10 years agoFix cmd_pos bounds check to avoid the overflow case.
Reimar Döffinger [Sat, 15 Aug 2009 00:02:42 +0000 (00:02 +0000)]
Fix cmd_pos bounds check to avoid the overflow case.

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

10 years agoFix typo.
Carl Eugen Hoyos [Fri, 14 Aug 2009 16:41:21 +0000 (16:41 +0000)]
Fix typo.

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

10 years agoVertical yuv -> yuv16 scaler.
Ramiro Polla [Fri, 14 Aug 2009 15:52:40 +0000 (15:52 +0000)]
Vertical yuv -> yuv16 scaler.

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

10 years agoBGR32 MMX special convertor.
Peter Schlaile [Fri, 14 Aug 2009 02:15:28 +0000 (02:15 +0000)]
BGR32 MMX special convertor.
Patch by Peter Schlaile < peter at schlaile dot de >

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

10 years ago10L: remove instruction left over from debugging
Måns Rullgård [Fri, 14 Aug 2009 01:05:48 +0000 (01:05 +0000)]
10L: remove instruction left over from debugging

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

10 years agoARM: NEON optimised vorbis_inverse_coupling
Måns Rullgård [Fri, 14 Aug 2009 01:02:06 +0000 (01:02 +0000)]
ARM: NEON optimised vorbis_inverse_coupling

12% faster Vorbis decoding on Cortex-A8.

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

10 years agoIndent.
Ramiro Polla [Thu, 13 Aug 2009 19:03:14 +0000 (19:03 +0000)]
Indent.

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

10 years agoIntroduce av_clip_uint16().
Ramiro Polla [Thu, 13 Aug 2009 18:47:13 +0000 (18:47 +0000)]
Introduce av_clip_uint16().

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

10 years agoswscale-example: Don't check for chroma planes in mono formats.
Ramiro Polla [Thu, 13 Aug 2009 18:39:39 +0000 (18:39 +0000)]
swscale-example: Don't check for chroma planes in mono formats.

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

10 years agoMMX2 horizontal scaler: Determine code size at runtime.
Ramiro Polla [Thu, 13 Aug 2009 18:31:07 +0000 (18:31 +0000)]
MMX2 horizontal scaler: Determine code size at runtime.

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

10 years agoProtect mmx2 filter code buffers so they are not executable and writeable at
Ramiro Polla [Thu, 13 Aug 2009 18:29:54 +0000 (18:29 +0000)]
Protect mmx2 filter code buffers so they are not executable and writeable at
the same time (only mmap for now).

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

10 years agoRemove duplicate define (it is the same in the lum code).
Ramiro Polla [Thu, 13 Aug 2009 18:28:55 +0000 (18:28 +0000)]
Remove duplicate define (it is the same in the lum code).

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

10 years agoRename "funny" code to "mmx2 filter" code.
Ramiro Polla [Thu, 13 Aug 2009 18:28:17 +0000 (18:28 +0000)]
Rename "funny" code to "mmx2 filter" code.

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

10 years agoIndent.
Ramiro Polla [Thu, 13 Aug 2009 13:18:59 +0000 (13:18 +0000)]
Indent.

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

10 years agoswscale-example: Remove hack to end loop by setting variables to break.
Ramiro Polla [Thu, 13 Aug 2009 11:48:06 +0000 (11:48 +0000)]
swscale-example: Remove hack to end loop by setting variables to break.

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

10 years agoswscale-example: Don't return random value from main().
Ramiro Polla [Thu, 13 Aug 2009 11:34:27 +0000 (11:34 +0000)]
swscale-example: Don't return random value from main().

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

10 years agoswscale-example: Check for Gray formats.
Ramiro Polla [Thu, 13 Aug 2009 11:33:18 +0000 (11:33 +0000)]
swscale-example: Check for Gray formats.

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

10 years agoAdd ff_celp_circ_addf() function to be used for sparse vector circular
Colin McQuillan [Wed, 12 Aug 2009 19:54:28 +0000 (19:54 +0000)]
Add ff_celp_circ_addf() function to be used for sparse vector circular
convolution in the upcoming AMR-NB floating point decoder. The function scales
and adds a vector, that is lagged by some offset, to another vector with the
same number of elements.

Patch by Colin McQuillan ( m.niloc googlemail com )

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

10 years agoFix a memleak with win32 threads: the handle returned by _beginthreadex
Shehzad Salim [Wed, 12 Aug 2009 13:25:37 +0000 (13:25 +0000)]
Fix a memleak with win32 threads: the handle returned by _beginthreadex
must be closed (this differs from _beginthread).
Patch by Shehzad Salim (shehzadsalim gmail com)

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

10 years agoMoves the display of metadata to dump_format()
Peter Ross [Wed, 12 Aug 2009 13:17:39 +0000 (13:17 +0000)]
Moves the display of metadata to dump_format()

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

10 years agoParse ID3 tags in Musepack SV7 files
Matti Hamalainen [Tue, 11 Aug 2009 17:28:56 +0000 (17:28 +0000)]
Parse ID3 tags in Musepack SV7 files
Patch by Matti Hamalainen (mhamalai@students.oamk.+358)
Thread: [PATCH] 6/6 Add parsing of ID3v2 tags in Musepack SV7 demuxer

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

10 years agoParse APE metadata tags in Musepack SV7 files
Matti Hamalainen [Tue, 11 Aug 2009 17:18:10 +0000 (17:18 +0000)]
Parse APE metadata tags in Musepack SV7 files

Patch by Matti Hamalainen (to get his mail address remove common endings from
 "mhamalainen@studentsnen.oamknen.finen")
Thread: [PATCH]5/6 Add APE tag metadata reading support in Musepack SV7 demuxer

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

10 years agoMove APE tag parsing into separate module.
Kostya Shishkov [Tue, 11 Aug 2009 17:08:09 +0000 (17:08 +0000)]
Move APE tag parsing into separate module.
Based on patch by Matti Hamalainen (mhamalai<mot>students<punkt>oamk<punkt>)

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

10 years agoDo not use internals of ByteIOContext during APE tags parsing.
Matti Hamalainen [Tue, 11 Aug 2009 16:55:49 +0000 (16:55 +0000)]
Do not use internals of ByteIOContext during APE tags parsing.
Patch by Matti Hamalainen, mail = reverse("if.kmao.stneduts@ialamahm")
Thread: [PATCH] 2/6 Fix broken APE tag key handling

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

10 years agoRemove incorrect APE tag size adjustment based on flags.
Matti Hamalainen [Tue, 11 Aug 2009 16:43:44 +0000 (16:43 +0000)]
Remove incorrect APE tag size adjustment based on flags.
Patch by Matti Hamalainen (mhamalai <luona> students <piste> oamk <piste> fi)
Thread: [PATCH] 1/6 Remove incorrect APE tag size adjustment based on flags

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

10 years agoUse RGB5x5LE, RGB5x5BE, BGR5x5LE and BGR5x5BE instead of their native
Alexis Ballier [Tue, 11 Aug 2009 16:18:55 +0000 (16:18 +0000)]
Use RGB5x5LE, RGB5x5BE, BGR5x5LE and BGR5x5BE instead of their native
endian counterparts.

Patch by Alexis Ballier, alexis D ballier gmail

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

10 years agofix a crash in SVQ1 with cmp!=sad
Loren Merritt [Tue, 11 Aug 2009 07:04:33 +0000 (07:04 +0000)]
fix a crash in SVQ1 with cmp!=sad

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

10 years agoavidec: simplify, using av_rescale_q() instead of av_rescale()
Aurelien Jacobs [Mon, 10 Aug 2009 20:53:32 +0000 (20:53 +0000)]
avidec: simplify, using av_rescale_q() instead of av_rescale()

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

10 years agoactually define AVSEEK_FLAG_FRAME as described in avformat_seek_file() doc
Aurelien Jacobs [Mon, 10 Aug 2009 20:48:05 +0000 (20:48 +0000)]
actually define AVSEEK_FLAG_FRAME as described in avformat_seek_file() doc

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

10 years agomatroskadec: disable h264 parser as long as it totally mess up frame type
Aurelien Jacobs [Mon, 10 Aug 2009 18:12:02 +0000 (18:12 +0000)]
matroskadec: disable h264 parser as long as it totally mess up frame type

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

10 years agomatroskadec: correctly parse flags for simpleblock frames
Aurelien Jacobs [Mon, 10 Aug 2009 18:06:14 +0000 (18:06 +0000)]
matroskadec: correctly parse flags for simpleblock frames

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

10 years agoFix dependency generation with ccache/gcc
Måns Rullgård [Mon, 10 Aug 2009 17:25:46 +0000 (17:25 +0000)]
Fix dependency generation with ccache/gcc

When running behind ccache, the output from -MMD is corrupted unless
we also use the -MF and -MT flags.

Since ccache is difficult to detect and gcc 2.x doesn't support the
-MF and -MT flags, we always use the old dependency generation method
when gcc 2.x is detected.

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

10 years agoconfigure: fix gcc detection for v2.95
Måns Rullgård [Mon, 10 Aug 2009 17:25:42 +0000 (17:25 +0000)]
configure: fix gcc detection for v2.95

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

10 years agocosmetics: whitespace, prettyprinting, coding style fixes
Diego Biurrun [Mon, 10 Aug 2009 16:35:36 +0000 (16:35 +0000)]
cosmetics: whitespace, prettyprinting, coding style fixes

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

10 years agoSony Wave64 demuxer
Daniel Verkamp [Mon, 10 Aug 2009 16:27:33 +0000 (16:27 +0000)]
Sony Wave64 demuxer
patch by Daniel Verkamp, daniel drv nu

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

10 years agoRemove disabled code cruft.
Diego Biurrun [Mon, 10 Aug 2009 13:42:16 +0000 (13:42 +0000)]
Remove disabled code cruft.

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

10 years agoRemove pointless #ifdefs from conditionally used files.
Diego Biurrun [Mon, 10 Aug 2009 12:34:36 +0000 (12:34 +0000)]
Remove pointless #ifdefs from conditionally used files.

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

10 years agoRemove disabled debug code.
Diego Biurrun [Mon, 10 Aug 2009 10:53:32 +0000 (10:53 +0000)]
Remove disabled debug code.

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

10 years agoFix the EBX available configure check on Darwin/i386.
Alexander Strange [Mon, 10 Aug 2009 08:18:05 +0000 (08:18 +0000)]
Fix the EBX available configure check on Darwin/i386.

-mdynamic-no-pic is required for it, but it was only
added to CFLAGS and the check only used ASFLAGS.

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

10 years agoeval: include libavutil/mathematics.h for NAN and M_PI
Måns Rullgård [Mon, 10 Aug 2009 01:27:33 +0000 (01:27 +0000)]
eval: include libavutil/mathematics.h for NAN and M_PI

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

10 years agoeval: include our headers after system headers
Måns Rullgård [Mon, 10 Aug 2009 01:27:30 +0000 (01:27 +0000)]
eval: include our headers after system headers

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

10 years agoDefine INFINITIY and NAN in mathematics.h if missing
Måns Rullgård [Mon, 10 Aug 2009 01:27:27 +0000 (01:27 +0000)]
Define INFINITIY and NAN in mathematics.h if missing

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

10 years agoPut some altivec code under COMPILE_ALTIVEC, and not HAVE_ALTIVEC.
Ramiro Polla [Sun, 9 Aug 2009 15:34:57 +0000 (15:34 +0000)]
Put some altivec code under COMPILE_ALTIVEC, and not HAVE_ALTIVEC.

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

10 years agoRemove 'offset' argument from PUTRGB* macros since it's unneeded and caused
Kostya Shishkov [Sun, 9 Aug 2009 15:04:17 +0000 (15:04 +0000)]
Remove 'offset' argument from PUTRGB* macros since it's unneeded and caused
pixel swapping during some YUV2RGB conversions.

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

10 years agoDocument the output of ffmpeg -formats.
William R. Zwicky [Sun, 9 Aug 2009 10:42:38 +0000 (10:42 +0000)]
Document the output of ffmpeg -formats.

Patch by William R. Zwicky, wrzwicky pobox com

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

10 years agoGenerate dependencies while compiling if supported by compiler
Måns Rullgård [Sat, 8 Aug 2009 18:27:27 +0000 (18:27 +0000)]
Generate dependencies while compiling if supported by compiler

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

10 years agoGenerate dependencies when object files are built
Måns Rullgård [Sat, 8 Aug 2009 18:27:22 +0000 (18:27 +0000)]
Generate dependencies when object files are built

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

10 years agoRemove disabled crufty code.
Diego Biurrun [Sat, 8 Aug 2009 15:18:48 +0000 (15:18 +0000)]
Remove disabled crufty code.

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

10 years agofix riff subtitle timebase
Aurelien Jacobs [Fri, 7 Aug 2009 23:57:52 +0000 (23:57 +0000)]
fix riff subtitle timebase

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

10 years agoRemove some hunks of unused and disabled code cruft.
Diego Biurrun [Fri, 7 Aug 2009 14:53:31 +0000 (14:53 +0000)]
Remove some hunks of unused and disabled code cruft.

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

10 years agoRemove commented-out cruft.
Diego Biurrun [Thu, 6 Aug 2009 15:48:19 +0000 (15:48 +0000)]
Remove commented-out cruft.

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

10 years agoconfigure: allow comma-separated list in --enable/disable-thing=name
Måns Rullgård [Thu, 6 Aug 2009 15:45:25 +0000 (15:45 +0000)]
configure: allow comma-separated list in --enable/disable-thing=name

The argument to these options is now a comma-separated list of shell
patterns, e.g. --disable-decoder='indeo*,rv*'

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

10 years agoconfigure: allow wildcards in --enable/disable-thing=name
Måns Rullgård [Thu, 6 Aug 2009 15:45:22 +0000 (15:45 +0000)]
configure: allow wildcards in --enable/disable-thing=name

The name can now be a standard shell pattern.  For example,
--disable-encoder=* disables all encoders.

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

10 years agoconfigure: support --cpu=host to tune for the host system
Måns Rullgård [Thu, 6 Aug 2009 15:45:19 +0000 (15:45 +0000)]
configure: support --cpu=host to tune for the host system

This requires a gcc version with -march=native or -mcpu=native support,
which is somewhat random for non-x86.

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

10 years agoMake WMV2 encoder depend on H.263 encoder in configure.
Diego Biurrun [Thu, 6 Aug 2009 15:04:59 +0000 (15:04 +0000)]
Make WMV2 encoder depend on H.263 encoder in configure.

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

10 years agoMake MPEG-4 encoder depend on H.263 encoder in configure.
Diego Biurrun [Thu, 6 Aug 2009 13:04:48 +0000 (13:04 +0000)]
Make MPEG-4 encoder depend on H.263 encoder in configure.

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

10 years agoMake WMV1 encoder depend on H.263 encoder in configure.
Diego Biurrun [Thu, 6 Aug 2009 12:56:25 +0000 (12:56 +0000)]
Make WMV1 encoder depend on H.263 encoder in configure.

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

10 years agoDo not check for both CONFIG_H263_ENCODER and CONFIG_FLV_ENCODER.
Diego Biurrun [Wed, 5 Aug 2009 15:27:22 +0000 (15:27 +0000)]
Do not check for both CONFIG_H263_ENCODER and CONFIG_FLV_ENCODER.
The latter can never be enabled without the former.

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

10 years agoMake FLV encoder depend on H.263 encoder in configure.
Diego Biurrun [Wed, 5 Aug 2009 15:26:54 +0000 (15:26 +0000)]
Make FLV encoder depend on H.263 encoder in configure.

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

10 years agoDo not check for both CONFIG_H263_ENCODER and CONFIG_H263P_ENCODER.
Diego Biurrun [Wed, 5 Aug 2009 15:22:16 +0000 (15:22 +0000)]
Do not check for both CONFIG_H263_ENCODER and CONFIG_H263P_ENCODER.
The latter can never be enabled without the former.

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

10 years agoMake H.263+ (H263P) encoder depend on H.263 encoder in configure.
Diego Biurrun [Wed, 5 Aug 2009 15:21:36 +0000 (15:21 +0000)]
Make H.263+ (H263P) encoder depend on H.263 encoder in configure.

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

10 years agoDeclare the dependencies of the MSMPEG4v1/MSMPEG4v2/MSMPEG4v3 encoders on the
Diego Biurrun [Wed, 5 Aug 2009 13:02:04 +0000 (13:02 +0000)]
Declare the dependencies of the MSMPEG4v1/MSMPEG4v2/MSMPEG4v3 encoders on the
H.263 encoder in configure.

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

10 years agoDo not redundantly check for preprocessor definitions of CONFIG_RV10_ENCODER or
Diego Biurrun [Wed, 5 Aug 2009 10:46:43 +0000 (10:46 +0000)]
Do not redundantly check for preprocessor definitions of CONFIG_RV10_ENCODER or
CONFIG_RV20_ENCODER when also checking for CONFIG_H263_ENCODER.
The RV10/RV20 encoders depend on the H.263 encoder.

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

10 years agoDeclare the dependency of RV10/RV20 encoder on the H.263 encoder in configure.
Diego Biurrun [Wed, 5 Aug 2009 10:44:12 +0000 (10:44 +0000)]
Declare the dependency of RV10/RV20 encoder on the H.263 encoder in configure.

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

10 years agoAdd a Changelog entry for noX handling for OPT_BOOL X.
Benoit Fouet [Wed, 5 Aug 2009 06:14:39 +0000 (06:14 +0000)]
Add a Changelog entry for noX handling for OPT_BOOL X.

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

10 years agocosmetics: move fixed_coeffs into the aligned arrays comment group
Justin Ruggles [Wed, 5 Aug 2009 02:37:49 +0000 (02:37 +0000)]
cosmetics: move fixed_coeffs into the aligned arrays comment group

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

10 years agocosmetics: reindent after last commit
Justin Ruggles [Wed, 5 Aug 2009 02:31:13 +0000 (02:31 +0000)]
cosmetics: reindent after last commit

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

10 years agoac3dec: simplify zero-bit mantissa dithering by calculating it
Justin Ruggles [Wed, 5 Aug 2009 02:30:34 +0000 (02:30 +0000)]
ac3dec: simplify zero-bit mantissa dithering by calculating it
conditionally during mantissa decoding, then only removing it from the
coupling range for coupled channels which do not use dithering.

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

10 years agocosmetics: indentation and line wrap
Justin Ruggles [Wed, 5 Aug 2009 01:58:28 +0000 (01:58 +0000)]
cosmetics: indentation and line wrap

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

10 years agocosmetics after last commit
Justin Ruggles [Wed, 5 Aug 2009 01:14:28 +0000 (01:14 +0000)]
cosmetics after last commit

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

10 years agoModify decode_band_structure() so that the actual band structure is only
Justin Ruggles [Wed, 5 Aug 2009 01:13:42 +0000 (01:13 +0000)]
Modify decode_band_structure() so that the actual band structure is only
used within the function.  This removes the need to have the coupling band
structure stored in the AC3DecodeContext.

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

10 years agoUse coupling band sizes instead of coupling band structure when
Justin Ruggles [Wed, 5 Aug 2009 01:00:41 +0000 (01:00 +0000)]
Use coupling band sizes instead of coupling band structure when
calculating coupling transform coefficients.

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

10 years agoParse frame size code, see "svq3.c: parse frame size" thread on ML.
Ronald S. Bultje [Tue, 4 Aug 2009 21:55:47 +0000 (21:55 +0000)]
Parse frame size code, see "svq3.c: parse frame size" thread on ML.

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

10 years agoMake me maintainer of rtp_asf.*
Ronald S. Bultje [Tue, 4 Aug 2009 21:43:53 +0000 (21:43 +0000)]
Make me maintainer of rtp_asf.*

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

10 years agoMake 'stats' a bool option again.
Benoit Fouet [Tue, 4 Aug 2009 09:26:33 +0000 (09:26 +0000)]
Make 'stats' a bool option again.
To disable stats, use -nostats option.

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

10 years agoUpdate x264 asm code to latest to add support for 64-bit Windows.
John Adcock [Tue, 4 Aug 2009 07:42:55 +0000 (07:42 +0000)]
Update x264 asm code to latest to add support for 64-bit Windows.
Use the new x86inc features to support 64-bit Windows on all non-x264 nasm
assembly code as well.
Patch by John Adcock, dscaler.johnad AT googlemail DOT com.
Win64 changes originally by Anton Mitrofanov.
x86util changes mostly by Holger Lubitz.

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

10 years agoSplit RV10 encoder off into its own file.
Diego Biurrun [Mon, 3 Aug 2009 23:22:46 +0000 (23:22 +0000)]
Split RV10 encoder off into its own file.

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

10 years agoSplit RV20 encoder into its own file.
Diego Biurrun [Mon, 3 Aug 2009 23:07:08 +0000 (23:07 +0000)]
Split RV20 encoder into its own file.

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

10 years agocosmetics: add more detailed information to the documentation for
Justin Ruggles [Mon, 3 Aug 2009 22:05:31 +0000 (22:05 +0000)]
cosmetics: add more detailed information to the documentation for
decode_band_structure().

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

10 years agoCosmetic: Reindent after last commit
Jeff Downs [Mon, 3 Aug 2009 17:55:02 +0000 (17:55 +0000)]
Cosmetic: Reindent after last commit

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

10 years agoRevert r18344. Fixes at least issue 1218, 1221, and 1187), see master
Jeff Downs [Mon, 3 Aug 2009 17:54:11 +0000 (17:54 +0000)]
Revert r18344.  Fixes at least issue 1218, 1221, and 1187), see master
issue 1221 for details.
Briefly, out of bounds field mvs in field pictures would cause a crash.

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

10 years agoCorrect the sign of the arithmetic in ff_celp_lp_zero_synthesis_filterf()
Colin McQuillan [Mon, 3 Aug 2009 17:15:01 +0000 (17:15 +0000)]
Correct the sign of the arithmetic in ff_celp_lp_zero_synthesis_filterf()

Patch by Colin McQuillan ( m.niloc googlemail com )

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

10 years agoMove AVCodec declarations for RV10/20 from mpegvideo_enc.c to rv10.c.
Diego Biurrun [Mon, 3 Aug 2009 15:23:53 +0000 (15:23 +0000)]
Move AVCodec declarations for RV10/20 from mpegvideo_enc.c to rv10.c.
It is better to keep the declarations in conditionally compiled places.

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