Reimar Döffinger
b8791583e7
compatible_frame array can be static const, too.
Originally committed as revision 19779 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Sascha Sommer
5f28b5e750
do not decode more than one audio frame in a decode packet call
Originally committed as revision 19778 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Sascha Sommer
7dca334da2
avoid extra memcpy during scale factor decoding
Originally committed as revision 19777 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
d31dbec374
Rename CHECKED_ALLOC(Z) to FF_ALLOC(Z)_OR_GOTO and add context and label
parameters.
Originally committed as revision 19776 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Lars Täuber
35f6c15405
Make 16bit YUV formats compatible with NE avcodec_get_pix_fmt().
Patch by Lars Täuber <lars <dot> taeuber <at> gmx <dot> net>.
Originally committed as revision 19775 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
5333450ce6
Use memcpy to copy till end of line in one go instead of copying pixel by pixel
in xan_wc3_output_pixel_run and xan_wc3_copy_pixel_run
Originally committed as revision 19774 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
64b8e620cb
Slightly simplify detection of end of compressed data in xan_unpack
Originally committed as revision 19772 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
bb99108775
Make vp3 arrays static const where possible.
Originally committed as revision 19771 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
8444059fb3
Remove useless ulti_decode_end function.
Originally committed as revision 19770 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
d87d5025aa
prettyprinting cosmetics
Originally committed as revision 19767 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Sascha Sommer
bbb0bdd533
fix handling of packet loss when the output buffer is full
Originally committed as revision 19766 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Sascha Sommer
9244370a7c
reindent
Originally committed as revision 19765 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Sascha Sommer
42ea968188
remove no longer needed debug output
Originally committed as revision 19764 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Sascha Sommer
7551a55948
reduce output buffer needs
(fixes playback of some multichannel files)
Originally committed as revision 19763 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Sascha Sommer
2016932472
store packet GetBitContext in the decoder context
Originally committed as revision 19762 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
83614f2df9
Reduce pointless verbosity after seeks in the MP3 decoder.
Originally committed as revision 19759 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
d6ee035d7a
libspeex: Do not set AVCodecContext.frame_size in decoder init if there is no
header in extradata since the default value will be incorrect for multiple
frames per packet.
Originally committed as revision 19755 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
e0b1d6605b
cosmetics: indentation and other prettyprinting fixes
Originally committed as revision 19753 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Sascha Sommer
c1061cc7f7
add missing wmapro decoder parts
Originally committed as revision 19752 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Lars Täuber
7c6208d4c0
Use "FFmpeg video codec #1" instead of "FFmpeg codec #1" as codec long name.
patch by Lars Täuber, lars.taeuber gmx net
Originally committed as revision 19749 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
1369582777
Convert ZERO8x2 macro into inline function
Originally committed as revision 19746 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
23638d8778
Remove unused variable.
Originally committed as revision 19745 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
b7eb7ef6b5
Zeroing pic->motion_val in RV3/4 causes alignment problems on some 64-bit
architectures since stride is multiple of 4 and not of 8, so split
fill_rectangle() calls to operate on 32-bit words instead of 64-bit ones.
Originally committed as revision 19744 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
20622c4a8a
Adjust r->avail_cache[] indexes to avoid alignment issues when zeroing block
inside it.
Originally committed as revision 19743 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
6833385d30
Store the frame size in the LibSpeexContext in case the header does not exist.
Originally committed as revision 19741 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
e78516c6d8
One declaration of mm_flags is enough
Originally committed as revision 19740 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
4e36a5b46f
Move declarations of some mmx functions to dsputil_mmx.h
Originally committed as revision 19739 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
16 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
16 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
16 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
16 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
16 years ago
Vitor Sessak
bf8202f352
Formatting K&R fixes
Originally committed as revision 19732 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 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
16 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
16 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
16 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
16 years ago
Loren Merritt
8fc9376c59
indent
Originally committed as revision 19727 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 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
16 years ago
Diego Biurrun
ae9253151f
whitespace cosmetics
Originally committed as revision 19725 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 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
16 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
16 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
16 years ago
Sascha Sommer
85fecafe49
add decode_coeffs()
Originally committed as revision 19719 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 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
16 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
16 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
16 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
16 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
16 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
16 years ago