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
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
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
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
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
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
Måns Rullgård
c7312933ce
Include required headers in {mips,ppc}/mathops.h
...
Originally committed as revision 19686 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
95f2c769c3
Skip headers requiring external libs not present in checkheaders
...
Originally committed as revision 19685 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
7bd4733588
TwinVQ decoder
...
Originally committed as revision 19682 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Loren Merritt
50b1785a57
bring back some randomness in fft-test. (regression in r18070)
...
Originally committed as revision 19679 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
31c57185c5
Add some more wmapro decoder hunks
...
Originally committed as revision 19678 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
7056883be9
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 ago
Reimar Döffinger
f2d702e109
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 ago
Diego Biurrun
da47f0eecb
Add missing #includes to pass 'make checkheaders'.
...
Originally committed as revision 19675 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
29d7eef7dc
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 ago
Måns Rullgård
90d43b52e1
Get rid of large stack array in rd8x8_c()
...
Originally committed as revision 19671 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
0314dead4e
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 ago
Måns Rullgård
8313e17976
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 ago
Måns Rullgård
b7904f78c1
AVR32: optimised mathops.h
...
44% faster MP3 decoding
Originally committed as revision 19667 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
0cc4701a3a
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 ago
Alex Converse
8ba939d702
Mark the AOT escape value as supported.
...
Originally committed as revision 19662 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
08dac48d61
Add USAC and SAOC AOTs to the AudioObjectType enum.
...
Originally committed as revision 19661 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Anuradha Suraparaju
d15f2e00c5
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 ago
Diego Biurrun
0ebe3b8e2b
cosmetics: indentation, prettyprinting, K&R coding style
...
Originally committed as revision 19652 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
c64380009d
Drop some more useless braces around if/for constructs.
...
Originally committed as revision 19651 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
e6cb49bfa9
Simplify another 'if' condition: Replace 'exp == 0' by '!exp'.
...
Originally committed as revision 19650 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Colin McQuillan
bb937155ec
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 ago
Diego Biurrun
735a38045a
Remove useless braces around if/for/while expressions.
...
Originally committed as revision 19648 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
7c809dc3e2
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 ago
Reimar Döffinger
cea0b5272d
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 ago
Reimar Döffinger
4a3190ed40
Reindent.
...
Originally committed as revision 19645 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
fd35d6d097
Remove code that is now dead.
...
Originally committed as revision 19644 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
90ea6fce1e
Simplify initialization of AVSubtitle by using memset.
...
Originally committed as revision 19643 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
df47d24501
Make sure AVSubtitle is initialized, memset it to 0.
...
Originally committed as revision 19642 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago