Måns Rullgård
5b1b014761
Move DECLARE_ALIGNED_8 definition next to DECLARE_ALIGNED_16
...
Originally committed as revision 19738 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
111641a97a
swscale-example: Free memory used by input data.
...
Originally committed as revision 29583 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Ramiro Polla
0607b09069
Restore comment that was partially removed.
...
Originally committed as revision 29582 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
15 years ago
Måns Rullgård
c4d6d318cf
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
15 years ago
Justin Ruggles
5c3b5e3053
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
15 years ago
Justin Ruggles
13db8750bb
Add myself as maintainer for libspeexdec.c
...
Originally committed as revision 19735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
eb5f3c5434
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
15 years ago
Alex Converse
dd0e43e4bb
Re-add search_for_ms to the coefficients encoders to silence warnings
...
Originally committed as revision 19733 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
bf8202f352
Formatting K&R fixes
...
Originally committed as revision 19732 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
9263a05aab
Mark "i" parameter of vector_clipf_sse() as early-clobber
...
Originally committed as revision 19731 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
d3b60aa685
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
15 years ago
Vitor Sessak
50e23ae9d3
Mark parameter src of vector_clipf() as const
...
Originally committed as revision 19729 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
0a68cd876e
SSE optimized vector_clipf(). 10% faster TwinVQ decoding.
...
Originally committed as revision 19728 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Loren Merritt
8fc9376c59
indent
...
Originally committed as revision 19727 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Loren Merritt
2f17f9c10c
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
15 years ago
Diego Biurrun
ae9253151f
whitespace cosmetics
...
Originally committed as revision 19725 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
21c6a0258c
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
15 years ago
Ivan Schreter
608be2acef
Cosmetic changes in read_seek* routines.
...
Originally committed as revision 19723 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Christian Schmidt
5dd3707b8d
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
15 years ago
Lars Täuber
2fee538a16
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
15 years ago
Sascha Sommer
85fecafe49
add decode_coeffs()
...
Originally committed as revision 19719 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
f53e96ed41
merge 2-channel M/S stereo decoding code with the multichannel version
...
Originally committed as revision 19718 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
b97e0d7fa2
4xm: provide 16-byte alignment where required
...
Originally committed as revision 19717 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
95d36bdbc3
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
15 years ago
Måns Rullgård
20e7c8ae0a
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
15 years ago
Stephen Backway
4a3178b012
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
15 years ago
Reimar Döffinger
7f4fca038d
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
15 years ago
Reimar Döffinger
63a78ef131
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
15 years ago
Reimar Döffinger
64e657fd2c
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
15 years ago
Reimar Döffinger
8b03c014f0
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
15 years ago
Reimar Döffinger
44ed34b790
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
15 years ago
Reimar Döffinger
d5a30f86d4
Reindent.
...
Originally committed as revision 19708 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
c7d28f4388
Remove now dead code.
...
Originally committed as revision 19707 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
b02316146b
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
15 years ago
Måns Rullgård
a13e687034
mdec: remove unused members from struct MDECContext
...
Originally committed as revision 19705 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
dd36b88b46
Remove explicit init to zero of static inv_zigzag_direct16
...
Originally committed as revision 19704 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
b979e4a289
whitespace cosmetics
...
Originally committed as revision 19703 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
6aa333471c
return AVERROR(ENOMEM) if stream could not be allocated
...
Originally committed as revision 19702 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kent Mein
b01c7b756e
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
15 years ago
Maksym Veremeyenko
7305d97f04
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
15 years ago
Stephen Backway
c58b82a29b
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
15 years ago
Reimar Döffinger
49056037a8
Mark video from .mtv files correctly as upside-down.
...
Originally committed as revision 19698 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
cf5ec60740
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
15 years ago
Måns Rullgård
afe08a728a
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 ago
Vitor Sessak
ce78113d5a
Cosmetics: add some whitespace around operators
...
Originally committed as revision 19695 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
429eeecd5a
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 ago
Aurelien Jacobs
e26444079c
matroskadec: factorize some code
...
Originally committed as revision 19693 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
deb1b2b699
Add necessary #include for config.h.
...
Originally committed as revision 19692 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
b662e8395b
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 ago
Diego Biurrun
1feec476aa
Add missing header to fix 'make checkheaders'.
...
Originally committed as revision 19690 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago