platform/upstream/libav.git
15 years agoPPC: remove unnecessary alignment on local variables
Måns Rullgård [Mon, 24 Aug 2009 21:42:22 +0000 (21:42 +0000)]
PPC: remove unnecessary alignment on local variables

Storing a single element from a vector where all elements have the same
value does not require an aligned destination.  Which element is stored
depends on the alignment of the destination address, but since they all
have the same value, the result is the same regardless of the alignment.

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

15 years agoCosmetics: add some whitespace around operators
Vitor Sessak [Mon, 24 Aug 2009 17:35:47 +0000 (17:35 +0000)]
Cosmetics: add some whitespace around operators

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

15 years agomatroskadec: add correct extradata offset for V_MS/VFW/FOURCC tracks
Aurelien Jacobs [Mon, 24 Aug 2009 13:43:33 +0000 (13:43 +0000)]
matroskadec: add correct extradata offset for V_MS/VFW/FOURCC tracks

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

15 years agomatroskadec: factorize some code
Aurelien Jacobs [Mon, 24 Aug 2009 13:40:30 +0000 (13:40 +0000)]
matroskadec: factorize some code

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

15 years agoAdd necessary #include for config.h.
Diego Biurrun [Mon, 24 Aug 2009 10:59:14 +0000 (10:59 +0000)]
Add necessary #include for config.h.

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

15 years agoPPC: simplify loading some values into altivec registers
Måns Rullgård [Mon, 24 Aug 2009 10:36:13 +0000 (10:36 +0000)]
PPC: simplify loading some values into altivec registers

Instead of filling a local array with the desired value and loading it,
load a single element and vec_splat() it to fill the vector.

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

15 years agoAdd missing header to fix 'make checkheaders'.
Diego Biurrun [Mon, 24 Aug 2009 10:06:26 +0000 (10:06 +0000)]
Add missing header to fix 'make checkheaders'.

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

15 years agoswscale-example: Rename src->ref so as to not confuse with src being used in doTest().
Ramiro Polla [Sun, 23 Aug 2009 20:31:38 +0000 (20:31 +0000)]
swscale-example: Rename src->ref so as to not confuse with src being used in doTest().

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

15 years agoswscale-example: Use SWS_BILINEAR instead of hardcoded value.
Ramiro Polla [Sun, 23 Aug 2009 20:29:49 +0000 (20:29 +0000)]
swscale-example: Use SWS_BILINEAR instead of hardcoded value.

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

15 years agoAdd myself as maintainer for AVR32 and MIPS
Måns Rullgård [Sun, 23 Aug 2009 15:39:42 +0000 (15:39 +0000)]
Add myself as maintainer for AVR32 and MIPS

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

15 years agoconfigure: fix filter() function when matching multiple patterns
Måns Rullgård [Sun, 23 Aug 2009 15:39:39 +0000 (15:39 +0000)]
configure: fix filter() function when matching multiple patterns

This makes comma-separated patters to --disable-decoder and friends
work correctly with POSIX-compliant shells.

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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