ffmpeg.git
11 years agoAdd PIC flags early so tests they affect give correct results
Måns Rullgård [Sun, 23 Aug 2009 13:46:07 +0000 (13:46 +0000)]
Add PIC flags early so tests they affect give correct results

This is mainly the checks for ebx on x86, but possibly others too.

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

11 years agoInclude required headers in {mips,ppc}/mathops.h
Måns Rullgård [Sun, 23 Aug 2009 11:02:41 +0000 (11:02 +0000)]
Include required headers in {mips,ppc}/mathops.h

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

11 years agoSkip headers requiring external libs not present in checkheaders
Måns Rullgård [Sun, 23 Aug 2009 11:02:37 +0000 (11:02 +0000)]
Skip headers requiring external libs not present in checkheaders

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

11 years agoconfigure: simplify directory creation for out of tree builds
Måns Rullgård [Sun, 23 Aug 2009 11:02:35 +0000 (11:02 +0000)]
configure: simplify directory creation for out of tree builds

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

11 years agoFix dependency generation for yasm assembler files
Måns Rullgård [Sun, 23 Aug 2009 11:02:32 +0000 (11:02 +0000)]
Fix dependency generation for yasm assembler files

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

11 years agoTwinVQ decoder
Vitor Sessak [Sun, 23 Aug 2009 01:55:54 +0000 (01:55 +0000)]
TwinVQ decoder

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

11 years agoFix inconsistent indentation.
Ramiro Polla [Sat, 22 Aug 2009 19:30:19 +0000 (19:30 +0000)]
Fix inconsistent indentation.

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

11 years agoUse generic multi-stream key frame finding routine to implement read_seek2 and map
Ivan Schreter [Sat, 22 Aug 2009 16:07:50 +0000 (16:07 +0000)]
Use generic multi-stream key frame finding routine to implement read_seek2 and map
read_seek to read_seek2.

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

11 years agoSupport for generic multi-stream key frame finding for new seek API.
Ivan Schreter [Sat, 22 Aug 2009 16:05:43 +0000 (16:05 +0000)]
Support for generic multi-stream key frame finding for new seek API.

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

11 years agobring back some randomness in fft-test. (regression in r18070)
Loren Merritt [Sat, 22 Aug 2009 15:56:06 +0000 (15:56 +0000)]
bring back some randomness in fft-test. (regression in r18070)

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

11 years agoAdd some more wmapro decoder hunks
Sascha Sommer [Fri, 21 Aug 2009 16:54:42 +0000 (16:54 +0000)]
Add some more wmapro decoder hunks

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

11 years agoReplace redundant GNUC_PREREQ macro by AV_GCC_VERSION_AT_LEAST from libavutil.
Diego Biurrun [Fri, 21 Aug 2009 10:10:42 +0000 (10:10 +0000)]
Replace redundant GNUC_PREREQ macro by AV_GCC_VERSION_AT_LEAST from libavutil.

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

11 years agoReplace #ifdef PIC checks with the more appropriate HAVE_EBX_AVAILABLE/HAVE_7REGS.
Reimar Döffinger [Fri, 21 Aug 2009 09:54:28 +0000 (09:54 +0000)]
Replace #ifdef PIC checks with the more appropriate HAVE_EBX_AVAILABLE/HAVE_7REGS.

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

11 years agoAdd missing #includes to pass 'make checkheaders'.
Diego Biurrun [Fri, 21 Aug 2009 08:46:49 +0000 (08:46 +0000)]
Add missing #includes to pass 'make checkheaders'.

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

11 years agoAdd support for S/PDIF encapsulation.
Bartlomiej Wolowiec [Fri, 21 Aug 2009 08:34:19 +0000 (08:34 +0000)]
Add support for S/PDIF encapsulation.

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

11 years agoAlways allocate a buffer of AVPALETTE_SIZE for palette in the subtitle
Reimar Döffinger [Thu, 20 Aug 2009 18:54:50 +0000 (18:54 +0000)]
Always allocate a buffer of AVPALETTE_SIZE for palette in the subtitle
decoders instead of as small as possible.
This avoids completely unnecessary issues with e.g. libswscale.

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

11 years agoCheck return values of sws_allocVec() and sws_getConstVec().
Ramiro Polla [Thu, 20 Aug 2009 01:55:45 +0000 (01:55 +0000)]
Check return values of sws_allocVec() and sws_getConstVec().

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

11 years agoconfigure: add --enable-pic flag
Måns Rullgård [Thu, 20 Aug 2009 01:06:18 +0000 (01:06 +0000)]
configure: add --enable-pic flag

Using this flag enables position-independent code even when not strictly
required.  It is impossible to use --disable-pic to forcibly disable PIC
when other properties mandate it.

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

11 years agoGet rid of large stack array in rd8x8_c()
Måns Rullgård [Wed, 19 Aug 2009 21:59:44 +0000 (21:59 +0000)]
Get rid of large stack array in rd8x8_c()

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

11 years agoeval: replace variable-length array with av_malloc/free
Måns Rullgård [Wed, 19 Aug 2009 21:59:40 +0000 (21:59 +0000)]
eval: replace variable-length array with av_malloc/free

There is a theoretical possibility to pass a very long string to ff_parse,
which could crash if allocated from the stack.  This allows the allocation
to be checked properly.

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

11 years agoflacdec: change variable-length array to fixed length
Måns Rullgård [Wed, 19 Aug 2009 21:59:36 +0000 (21:59 +0000)]
flacdec: change variable-length array to fixed length

pred_order can never exceed 32, so always allocating that amount is safe
and not very wasteful.

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

11 years agoFree initial swscale context, too. Avoids a valgrind warning.
Reimar Döffinger [Wed, 19 Aug 2009 08:21:55 +0000 (08:21 +0000)]
Free initial swscale context, too. Avoids a valgrind warning.

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

11 years agoRemove useless casts of malloc return value.
Reimar Döffinger [Wed, 19 Aug 2009 08:18:53 +0000 (08:18 +0000)]
Remove useless casts of malloc return value.

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

11 years agoRemove disabled code cruft.
Diego Biurrun [Wed, 19 Aug 2009 08:15:32 +0000 (08:15 +0000)]
Remove disabled code cruft.

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

11 years agoIntroduce and use sws_allocVec().
Ramiro Polla [Wed, 19 Aug 2009 01:33:17 +0000 (01:33 +0000)]
Introduce and use sws_allocVec().

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

11 years agoReuse sws_getConstVec() where possible.
Ramiro Polla [Wed, 19 Aug 2009 01:32:06 +0000 (01:32 +0000)]
Reuse sws_getConstVec() where possible.

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

11 years agoAVR32: optimised mathops.h
Måns Rullgård [Mon, 17 Aug 2009 02:23:53 +0000 (02:23 +0000)]
AVR32: optimised mathops.h

44% faster MP3 decoding

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

11 years agoswscale-example: Make selection of dstW, dstH, and flags more clear.
Ramiro Polla [Mon, 17 Aug 2009 02:06:00 +0000 (02:06 +0000)]
swscale-example: Make selection of dstW, dstH, and flags more clear.

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

11 years agoUse the AOT enum instead of integer literals for setting and comparing audio
Alex Converse [Mon, 17 Aug 2009 00:17:58 +0000 (00:17 +0000)]
Use the AOT enum instead of integer literals for setting and comparing audio
object types.

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

11 years agoAVR32: optimisations for intreadwrite.h
Måns Rullgård [Mon, 17 Aug 2009 00:15:53 +0000 (00:15 +0000)]
AVR32: optimisations for intreadwrite.h

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

11 years agoAVR32: inline asm for bswap.h
Måns Rullgård [Mon, 17 Aug 2009 00:15:51 +0000 (00:15 +0000)]
AVR32: inline asm for bswap.h

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

11 years agoconfigure: add AVR32 names for --cpu flag
Måns Rullgård [Mon, 17 Aug 2009 00:15:48 +0000 (00:15 +0000)]
configure: add AVR32 names for --cpu flag

Recognise AVR32 processor names as well as the generic "ap" and "uc"
family names as values for --cpu.  Also define two subtypes, avr32_ap
and avr32_uc.

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

11 years agoMark the AOT escape value as supported.
Alex Converse [Mon, 17 Aug 2009 00:15:02 +0000 (00:15 +0000)]
Mark the AOT escape value as supported.

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

11 years agoAdd USAC and SAOC AOTs to the AudioObjectType enum.
Alex Converse [Mon, 17 Aug 2009 00:14:10 +0000 (00:14 +0000)]
Add USAC and SAOC AOTs to the AudioObjectType enum.

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

11 years agoMore indentation changes leftover from r29522:
Ramiro Polla [Sun, 16 Aug 2009 21:37:07 +0000 (21:37 +0000)]
More indentation changes leftover from r29522:
- 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 29524 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agoCosmetics:
Ramiro Polla [Sun, 16 Aug 2009 21:11:28 +0000 (21:11 +0000)]
Cosmetics:
- Place curly brackets in the same line as while/for/if/switch/else/do;
- Place curly brackets at column 0 in the next line starting a function.

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

11 years agoMIPS: 100L: fix AV_[RW]N64 on MIPS64
Måns Rullgård [Sun, 16 Aug 2009 18:43:36 +0000 (18:43 +0000)]
MIPS: 100L: fix AV_[RW]N64 on MIPS64

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

11 years agocosmetics: reformat intreadwrite.h
Måns Rullgård [Sun, 16 Aug 2009 18:06:25 +0000 (18:06 +0000)]
cosmetics: reformat intreadwrite.h

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

11 years agointreadwrite: ensure arch-specific versions are always used if defined
Måns Rullgård [Sun, 16 Aug 2009 15:51:55 +0000 (15:51 +0000)]
intreadwrite: ensure arch-specific versions are always used if defined

The per-arch headers can define any combination of B/L/N variants.
This ensures that whatever is defined in an arch header gets used
for all equivalents not defined there.  E.g. on a little-endian
machine, AV_RN and AV_RL should give the same code.

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

11 years agointreadwrite: allow arch-specific 24-bit access macros
Måns Rullgård [Sun, 16 Aug 2009 15:51:52 +0000 (15:51 +0000)]
intreadwrite: allow arch-specific 24-bit access macros

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

11 years agoARM: first value loaded in AV_RN64 needs to be early-clobber
Måns Rullgård [Sun, 16 Aug 2009 15:51:50 +0000 (15:51 +0000)]
ARM: first value loaded in AV_RN64 needs to be early-clobber

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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