Ramiro Polla [Sat, 29 Aug 2009 03:36:09 +0000 (03:36 +0000)]
swscale-example: Free memory used by input data.
Originally committed as revision 29583 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Ramiro Polla [Sat, 29 Aug 2009 02:44:03 +0000 (02:44 +0000)]
Restore comment that was partially removed.
Originally committed as revision 29582 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Måns Rullgård [Fri, 28 Aug 2009 23:39:02 +0000 (23:39 +0000)]
Make DECLARE_ALIGNED_8 align to 8 bytes, never to 16
The DECLARE_ALIGNED_8 macro is defined to align to 16 bytes instead
the 8 suggested by the name on some CPUs. None of the uses of this
macro ever need 16-byte alignment, cases which once did having been
changed to always specify 16 bytes explicitly.
Originally committed as revision 19737 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Fri, 28 Aug 2009 00:57:00 +0000 (00:57 +0000)]
Use the output data type to determine the maximum number of samples that can be
decoded.
Originally committed as revision 19736 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Fri, 28 Aug 2009 00:46:19 +0000 (00:46 +0000)]
Add myself as maintainer for libspeexdec.c
Originally committed as revision 19735 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Fri, 28 Aug 2009 00:44:54 +0000 (00:44 +0000)]
Modify the Ogg/Speex demuxer and the libspeex decoder so that they always treat
a packet of Speex frames as a single frame.
Originally committed as revision 19734 to svn://svn.ffmpeg.org/ffmpeg/trunk
Alex Converse [Thu, 27 Aug 2009 17:46:13 +0000 (17:46 +0000)]
Re-add search_for_ms to the coefficients encoders to silence warnings
Originally committed as revision 19733 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Thu, 27 Aug 2009 16:38:57 +0000 (16:38 +0000)]
Formatting K&R fixes
Originally committed as revision 19732 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Thu, 27 Aug 2009 15:52:44 +0000 (15:52 +0000)]
Mark "i" parameter of vector_clipf_sse() as early-clobber
Originally committed as revision 19731 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Thu, 27 Aug 2009 15:49:05 +0000 (15:49 +0000)]
100l, revision 19728 added a bug that broke twinvq decoding. I forgot to
multiply the buffer size by the number of channels.
Originally committed as revision 19730 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Thu, 27 Aug 2009 15:38:59 +0000 (15:38 +0000)]
Mark parameter src of vector_clipf() as const
Originally committed as revision 19729 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Thu, 27 Aug 2009 14:49:36 +0000 (14:49 +0000)]
SSE optimized vector_clipf(). 10% faster TwinVQ decoding.
Originally committed as revision 19728 to svn://svn.ffmpeg.org/ffmpeg/trunk
Loren Merritt [Thu, 27 Aug 2009 13:41:29 +0000 (13:41 +0000)]
indent
Originally committed as revision 19727 to svn://svn.ffmpeg.org/ffmpeg/trunk
Loren Merritt [Thu, 27 Aug 2009 13:41:11 +0000 (13:41 +0000)]
1.5x faster ff_vorbis_floor1_render_list, 5% faster vorbis decoding on Core2.
1.3x and 3% on G4.
Though I think only part of this speedup is due to my optimizations per se;
some of it is that I got a better roll on the GCC random code generator.
Trivial reorderings of this function have a disproportionate effect on speed.
Originally committed as revision 19726 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Wed, 26 Aug 2009 23:12:41 +0000 (23:12 +0000)]
whitespace cosmetics
Originally committed as revision 19725 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Wed, 26 Aug 2009 23:07:07 +0000 (23:07 +0000)]
Remove useless alignment from MpegEncContext.intra_scantable
The first member of struct ScanTable is a simple pointer, extra alignment
of which serves no purpose. The alignment specifier was added along with
some Altivec optimisations also adding a 16-byte-aligned array at the end
of struct ScanTable. Presumably the redundant, outer alignment was added
by mistake. The inner one is clearly sufficient.
Originally committed as revision 19724 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ivan Schreter [Wed, 26 Aug 2009 22:33:48 +0000 (22:33 +0000)]
Cosmetic changes in read_seek* routines.
Originally committed as revision 19723 to svn://svn.ffmpeg.org/ffmpeg/trunk
Christian Schmidt [Wed, 26 Aug 2009 22:10:35 +0000 (22:10 +0000)]
Decoder for LPCM as used in Bluray discs.
Patch by Christian Schmidt, schmidt digadd de
Originally committed as revision 19722 to svn://svn.ffmpeg.org/ffmpeg/trunk
Lars Täuber [Wed, 26 Aug 2009 21:25:43 +0000 (21:25 +0000)]
Fix comments after switching from CABAC to range coder in r3658.
Patch by Lars Täuber, lars D taeuber A gmx D net
Originally committed as revision 19720 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sascha Sommer [Wed, 26 Aug 2009 21:23:21 +0000 (21:23 +0000)]
add decode_coeffs()
Originally committed as revision 19719 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sascha Sommer [Wed, 26 Aug 2009 21:18:54 +0000 (21:18 +0000)]
merge 2-channel M/S stereo decoding code with the multichannel version
Originally committed as revision 19718 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Wed, 26 Aug 2009 15:22:15 +0000 (15:22 +0000)]
4xm: provide 16-byte alignment where required
Originally committed as revision 19717 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Wed, 26 Aug 2009 13:17:06 +0000 (13:17 +0000)]
dsputil: declare some arrays 16-byte aligned
These arrays are passed to functions for which we promise 16-byte
alignment, so make sure we fulfil that promise.
Originally committed as revision 19716 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Wed, 26 Aug 2009 12:12:40 +0000 (12:12 +0000)]
Remove some unnecessary alignment specifiers
None of these arrays are used in ways requiring extra alignment.
Originally committed as revision 19715 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stephen Backway [Wed, 26 Aug 2009 11:31:37 +0000 (11:31 +0000)]
Always allocate a buffer of AVPALETTE_SIZE for palette in the
Bluray subtitle decoder instead of as small as possible.
This avoids completely unnecessary issues with e.g. libswscale.
(See r19673)
Patch by Stephen Backway, stev391 A exemail D com D au
Originally committed as revision 19714 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Wed, 26 Aug 2009 10:22:27 +0000 (10:22 +0000)]
Increase maximum encoded subtitle size from 64 kB to 1 MB.
Fixes "dvd_subtitle too big" errors when encoding HD video subtitles
to DVD format.
Originally committed as revision 19713 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Wed, 26 Aug 2009 10:08:00 +0000 (10:08 +0000)]
100l typo, xsub encoder printed end time hours where minutes should have been.
Originally committed as revision 19712 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Wed, 26 Aug 2009 09:10:51 +0000 (09:10 +0000)]
100l, inv_zigzag_direct16 must be aligned to 16 bytes for dct_quantize_SSE2
(which uses movdqa to xmm1 on inv_zigzag_direct16).
Originally committed as revision 19711 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Wed, 26 Aug 2009 08:43:11 +0000 (08:43 +0000)]
Make sure that start_display_time is 0 by moving its value onto pts.
If it was not 0, subtitle encoding would fail.
Originally committed as revision 19710 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Wed, 26 Aug 2009 08:38:44 +0000 (08:38 +0000)]
Check for seek failures in avi_load_index, otherwise if the index offset
is invalid (e.g. truncated file) we might end up reading the whole file
since trying to seek beyond the end of file does not set EOF.
Originally committed as revision 19709 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Wed, 26 Aug 2009 01:29:10 +0000 (01:29 +0000)]
Reindent.
Originally committed as revision 19708 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Wed, 26 Aug 2009 01:28:41 +0000 (01:28 +0000)]
Remove now dead code.
Originally committed as revision 19707 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Wed, 26 Aug 2009 01:27:58 +0000 (01:27 +0000)]
Apply r19642 also pgssubdec:
Make sure AVSubtitle is initialized, memset it to 0.
Originally committed as revision 19706 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Tue, 25 Aug 2009 23:28:33 +0000 (23:28 +0000)]
mdec: remove unused members from struct MDECContext
Originally committed as revision 19705 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Tue, 25 Aug 2009 23:28:30 +0000 (23:28 +0000)]
Remove explicit init to zero of static inv_zigzag_direct16
Originally committed as revision 19704 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 25 Aug 2009 20:02:30 +0000 (20:02 +0000)]
whitespace cosmetics
Originally committed as revision 19703 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 25 Aug 2009 19:59:38 +0000 (19:59 +0000)]
return AVERROR(ENOMEM) if stream could not be allocated
Originally committed as revision 19702 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kent Mein [Tue, 25 Aug 2009 19:58:21 +0000 (19:58 +0000)]
check av_new_stream return value, patch by Kent Mein, mein at cs dot umn dot edu
Originally committed as revision 19701 to svn://svn.ffmpeg.org/ffmpeg/trunk
Maksym Veremeyenko [Tue, 25 Aug 2009 09:46:16 +0000 (09:46 +0000)]
Do not read index chunks as audio/video data; closes issue 1336.
patch by Maksym Veremeyenko, verem m1stereo tv
Originally committed as revision 19700 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stephen Backway [Tue, 25 Aug 2009 08:47:39 +0000 (08:47 +0000)]
Add Bluray Subtitle Support
Patch by Stephen Backway, stev391 A exemail D com D au
Originally committed as revision 19699 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Tue, 25 Aug 2009 07:47:34 +0000 (07:47 +0000)]
Mark video from .mtv files correctly as upside-down.
Originally committed as revision 19698 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Mon, 24 Aug 2009 21:42:25 +0000 (21:42 +0000)]
mpegts: change variable-length array to fixed length
The difference between 188 and 204 is not worth worrying about.
Originally committed as revision 19697 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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