Commit Graph

10091 Commits

Author SHA1 Message Date
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
2009-08-29 16:55:50 +00:00
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
2009-08-29 16:55:46 +00:00
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
2009-08-28 23:39:02 +00:00
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
2009-08-28 00:57:00 +00:00
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
2009-08-28 00:44:54 +00:00
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
2009-08-27 17:46:13 +00:00
Vitor Sessak
bf8202f352 Formatting K&R fixes
Originally committed as revision 19732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-27 16:38:57 +00:00
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
2009-08-27 15:52:44 +00:00
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
2009-08-27 15:49:05 +00:00
Vitor Sessak
50e23ae9d3 Mark parameter src of vector_clipf() as const
Originally committed as revision 19729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-27 15:38:59 +00:00
Vitor Sessak
0a68cd876e SSE optimized vector_clipf(). 10% faster TwinVQ decoding.
Originally committed as revision 19728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-27 14:49:36 +00:00
Loren Merritt
8fc9376c59 indent
Originally committed as revision 19727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-27 13:41:29 +00:00
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
2009-08-27 13:41:11 +00:00
Diego Biurrun
ae9253151f whitespace cosmetics
Originally committed as revision 19725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-26 23:12:41 +00:00
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
2009-08-26 23:07:07 +00:00
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
2009-08-26 22:10:35 +00:00
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
2009-08-26 21:25:43 +00:00
Sascha Sommer
85fecafe49 add decode_coeffs()
Originally committed as revision 19719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-26 21:23:21 +00:00
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
2009-08-26 21:18:54 +00:00
Måns Rullgård
b97e0d7fa2 4xm: provide 16-byte alignment where required
Originally committed as revision 19717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-26 15:22:15 +00:00
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
2009-08-26 13:17:06 +00:00
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
2009-08-26 12:12:40 +00:00
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
2009-08-26 11:31:37 +00:00
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
2009-08-26 10:08:00 +00:00
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
2009-08-26 09:10:51 +00:00
Reimar Döffinger
d5a30f86d4 Reindent.
Originally committed as revision 19708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-26 01:29:10 +00:00
Reimar Döffinger
c7d28f4388 Remove now dead code.
Originally committed as revision 19707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-26 01:28:41 +00:00
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
2009-08-26 01:27:58 +00:00
Måns Rullgård
a13e687034 mdec: remove unused members from struct MDECContext
Originally committed as revision 19705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-25 23:28:33 +00:00
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
2009-08-25 23:28:30 +00:00
Diego Biurrun
b979e4a289 whitespace cosmetics
Originally committed as revision 19703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-25 20:02:30 +00:00
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
2009-08-25 08:47:39 +00:00
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
2009-08-24 21:42:22 +00:00
Vitor Sessak
ce78113d5a Cosmetics: add some whitespace around operators
Originally committed as revision 19695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-24 17:35:47 +00:00
Diego Biurrun
deb1b2b699 Add necessary #include for config.h.
Originally committed as revision 19692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-24 10:59:14 +00:00
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
2009-08-24 10:36:13 +00:00
Diego Biurrun
1feec476aa Add missing header to fix 'make checkheaders'.
Originally committed as revision 19690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-24 10:06:26 +00:00
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
2009-08-23 11:02:41 +00:00
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
2009-08-23 11:02:37 +00:00
Vitor Sessak
7bd4733588 TwinVQ decoder
Originally committed as revision 19682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-23 01:55:54 +00:00
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
2009-08-22 15:56:06 +00:00
Sascha Sommer
31c57185c5 Add some more wmapro decoder hunks
Originally committed as revision 19678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-21 16:54:42 +00:00
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
2009-08-21 10:10:42 +00:00
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
2009-08-21 09:54:28 +00:00
Diego Biurrun
da47f0eecb Add missing #includes to pass 'make checkheaders'.
Originally committed as revision 19675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-21 08:46:49 +00:00
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
2009-08-20 18:54:50 +00:00
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
2009-08-19 21:59:44 +00:00
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
2009-08-19 21:59:40 +00:00
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
2009-08-19 21:59:36 +00:00
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
2009-08-17 02:23:53 +00:00
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
2009-08-17 00:17:58 +00:00
Alex Converse
8ba939d702 Mark the AOT escape value as supported.
Originally committed as revision 19662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-17 00:15:02 +00:00
Alex Converse
08dac48d61 Add USAC and SAOC AOTs to the AudioObjectType enum.
Originally committed as revision 19661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-17 00:14:10 +00:00
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
2009-08-15 11:59:53 +00:00
Diego Biurrun
0ebe3b8e2b cosmetics: indentation, prettyprinting, K&R coding style
Originally committed as revision 19652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-15 11:42:15 +00:00
Diego Biurrun
c64380009d Drop some more useless braces around if/for constructs.
Originally committed as revision 19651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-15 11:32:11 +00:00
Diego Biurrun
e6cb49bfa9 Simplify another 'if' condition: Replace 'exp == 0' by '!exp'.
Originally committed as revision 19650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-15 11:31:42 +00:00
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
2009-08-15 11:22:55 +00:00
Diego Biurrun
735a38045a Remove useless braces around if/for/while expressions.
Originally committed as revision 19648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-15 11:12:47 +00:00
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
2009-08-15 11:02:50 +00:00
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
2009-08-15 09:12:58 +00:00
Reimar Döffinger
4a3190ed40 Reindent.
Originally committed as revision 19645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-15 00:58:26 +00:00
Reimar Döffinger
fd35d6d097 Remove code that is now dead.
Originally committed as revision 19644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-15 00:57:24 +00:00
Reimar Döffinger
90ea6fce1e Simplify initialization of AVSubtitle by using memset.
Originally committed as revision 19643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-15 00:52:41 +00:00
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
2009-08-15 00:46:33 +00:00
Reimar Döffinger
ffbe087b58 Fix cmd_pos bounds check to avoid the overflow case.
Originally committed as revision 19640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-15 00:02:42 +00:00
Carl Eugen Hoyos
84c1b149b2 Fix typo.
Originally committed as revision 19639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-14 16:41:21 +00:00
Måns Rullgård
9ae443f420 10L: remove instruction left over from debugging
Originally committed as revision 19638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-14 01:05:48 +00:00
Måns Rullgård
e814015d69 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
2009-08-14 01:02:06 +00:00
Colin McQuillan
d4d6ae1603 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
2009-08-12 19:54:28 +00:00
Shehzad Salim
51fdb6f08d 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
2009-08-12 13:25:37 +00:00
Alexis Ballier
ffd38d8b64 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
2009-08-11 16:18:55 +00:00
Loren Merritt
d094052c8e fix a crash in SVQ1 with cmp!=sad
Originally committed as revision 19625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-11 07:04:33 +00:00
Diego Biurrun
10f840bd57 Remove pointless #ifdefs from conditionally used files.
Originally committed as revision 19615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-10 12:34:36 +00:00
Måns Rullgård
87a920c6bf eval: include libavutil/mathematics.h for NAN and M_PI
Originally committed as revision 19613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-10 01:27:33 +00:00
Måns Rullgård
9a88c1dfa8 eval: include our headers after system headers
Originally committed as revision 19612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-10 01:27:30 +00:00
Diego Biurrun
547d205545 Remove commented-out cruft.
Originally committed as revision 19605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-06 15:48:19 +00:00
Diego Biurrun
1746e2a936 Make WMV2 encoder depend on H.263 encoder in configure.
Originally committed as revision 19601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-06 15:04:59 +00:00
Diego Biurrun
c37de5e194 Make MPEG-4 encoder depend on H.263 encoder in configure.
Originally committed as revision 19600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-06 13:04:48 +00:00
Diego Biurrun
665507aac2 Make WMV1 encoder depend on H.263 encoder in configure.
Originally committed as revision 19599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-06 12:56:25 +00:00
Diego Biurrun
0bd485300e Do not check for both CONFIG_H263_ENCODER and CONFIG_FLV_ENCODER.
The latter can never be enabled without the former.

Originally committed as revision 19598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 15:27:22 +00:00
Diego Biurrun
4d4b4bd149 Make FLV encoder depend on H.263 encoder in configure.
Originally committed as revision 19597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 15:26:54 +00:00
Diego Biurrun
965424dad1 Do not check for both CONFIG_H263_ENCODER and CONFIG_H263P_ENCODER.
The latter can never be enabled without the former.

Originally committed as revision 19596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 15:22:16 +00:00
Diego Biurrun
fe629c2d2c Make H.263+ (H263P) encoder depend on H.263 encoder in configure.
Originally committed as revision 19595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 15:21:36 +00:00
Diego Biurrun
4e169d89f3 Declare the dependencies of the MSMPEG4v1/MSMPEG4v2/MSMPEG4v3 encoders on the
H.263 encoder in configure.

Originally committed as revision 19594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 13:02:04 +00:00
Diego Biurrun
735e36a3e4 Do not redundantly check for preprocessor definitions of CONFIG_RV10_ENCODER or
CONFIG_RV20_ENCODER when also checking for CONFIG_H263_ENCODER.
The RV10/RV20 encoders depend on the H.263 encoder.

Originally committed as revision 19593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 10:46:43 +00:00
Diego Biurrun
b2bf38b446 Declare the dependency of RV10/RV20 encoder on the H.263 encoder in configure.
Originally committed as revision 19592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 10:44:12 +00:00
Justin Ruggles
bb5b99a789 cosmetics: move fixed_coeffs into the aligned arrays comment group
Originally committed as revision 19590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 02:37:49 +00:00
Justin Ruggles
a521aadfe8 cosmetics: reindent after last commit
Originally committed as revision 19589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 02:31:13 +00:00
Justin Ruggles
25dcd1823c ac3dec: simplify zero-bit mantissa dithering by calculating it
conditionally during mantissa decoding, then only removing it from the
coupling range for coupled channels which do not use dithering.

Originally committed as revision 19588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 02:30:34 +00:00
Justin Ruggles
b972c06a8f cosmetics: indentation and line wrap
Originally committed as revision 19587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 01:58:28 +00:00
Justin Ruggles
c36ea0600c cosmetics after last commit
Originally committed as revision 19586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 01:14:28 +00:00
Justin Ruggles
3f93716809 Modify decode_band_structure() so that the actual band structure is only
used within the function.  This removes the need to have the coupling band
structure stored in the AC3DecodeContext.

Originally committed as revision 19585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 01:13:42 +00:00
Justin Ruggles
603139022d Use coupling band sizes instead of coupling band structure when
calculating coupling transform coefficients.

Originally committed as revision 19584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-05 01:00:41 +00:00
Ronald S. Bultje
faccfeec0e Parse frame size code, see "svq3.c: parse frame size" thread on ML.
Originally committed as revision 19583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-04 21:55:47 +00:00
John Adcock
3f87f39cb8 Update x264 asm code to latest to add support for 64-bit Windows.
Use the new x86inc features to support 64-bit Windows on all non-x264 nasm
assembly code as well.
Patch by John Adcock, dscaler.johnad AT googlemail DOT com.
Win64 changes originally by Anton Mitrofanov.
x86util changes mostly by Holger Lubitz.

Originally committed as revision 19580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-04 07:42:55 +00:00
Diego Biurrun
d8c2f8f71f Split RV10 encoder off into its own file.
Originally committed as revision 19579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-03 23:22:46 +00:00
Diego Biurrun
b6767d6d9b Split RV20 encoder into its own file.
Originally committed as revision 19578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-03 23:07:08 +00:00
Justin Ruggles
eb98cdfa8d cosmetics: add more detailed information to the documentation for
decode_band_structure().

Originally committed as revision 19577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-03 22:05:31 +00:00
Jeff Downs
81b44c42d5 Cosmetic: Reindent after last commit
Originally committed as revision 19576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-03 17:55:02 +00:00
Jeff Downs
ca6493ab40 Revert r18344. Fixes at least issue 1218, 1221, and 1187), see master
issue 1221 for details.
Briefly, out of bounds field mvs in field pictures would cause a crash.

Originally committed as revision 19575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-03 17:54:11 +00:00
Colin McQuillan
d5652f38fb Correct the sign of the arithmetic in ff_celp_lp_zero_synthesis_filterf()
Patch by Colin McQuillan ( m.niloc googlemail com )

Originally committed as revision 19574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-03 17:15:01 +00:00
Diego Biurrun
f7e1353523 Move AVCodec declarations for RV10/20 from mpegvideo_enc.c to rv10.c.
It is better to keep the declarations in conditionally compiled places.

Originally committed as revision 19573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-03 15:23:53 +00:00
Colin McQuillan
33ae681f5c Expose QCELP's floating-point LSP-to-LPC function
qcelp_lsp exported a single function, ff_acelp_lspd2lpc, which was not
specific to qcelp. It can be kept with its fixed-point version
ff_acelp_lsp2lpc in lpc.c.

Patch by Colin McQuillan ( m.niloc googlemail com )

Originally committed as revision 19571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-03 08:37:02 +00:00
Colin McQuillan
1e1e02eacd Make the LSP naming more consistent
Use the convention from lsp.c: an LSF is a frequency, an LSP is the
cosine of an LSF, and LSP functions should have an ff_acelp prefix.
Use a "d" suffix to specify doubles.

Patch by Colin McQuillan ( m.niloc googlemail com )

Originally committed as revision 19570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-03 08:31:20 +00:00
Justin Ruggles
b5fe06abf0 Replace 5 with AOT_SBR when referring to the MPEG-4 audio object type.
Originally committed as revision 19569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-03 02:09:23 +00:00
Diego Biurrun
e4d65ba590 Remove commented-out cruft.
Originally committed as revision 19566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 15:10:03 +00:00
Diego Biurrun
4d8eecf475 Make XVMC mpegvideo decoder depend on mpegvideo decoder.
It makes no sense to enable the former without the latter.

Originally committed as revision 19565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 14:47:26 +00:00
Diego Biurrun
b25a881851 cosmetics: K&R coding style, prettyprinting
Originally committed as revision 19564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 13:35:42 +00:00
Sascha Sommer
da136c7e05 add approved hunks of the wmapro decoder
Originally committed as revision 19563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 12:57:07 +00:00
Diego Biurrun
577d383b0c cosmetics: K&R coding style
Originally committed as revision 19562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 10:50:59 +00:00
Diego Biurrun
954489244e cosmetics: K&R coding style
Originally committed as revision 19561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 10:34:30 +00:00
Baptiste Coudurier
6b620372a8 cosmetics, reindent
Originally committed as revision 19560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 08:47:02 +00:00
Baptiste Coudurier
ee5b26f5ff cosmetics, reindent
Originally committed as revision 19559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 08:46:43 +00:00
Baptiste Coudurier
4546bf4116 fix jpeg parser when PARSER_FLAG_COMPLETE_FRAMES is set
Originally committed as revision 19558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-02 08:46:11 +00:00
Diego Biurrun
8b44de14d1 Change av_log() calls surrounded by '#ifdef DEBUG' into dprintf macros.
Originally committed as revision 19550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 21:00:08 +00:00
Diego Biurrun
7881793dd0 Remove unused debug av_log() calls.
Originally committed as revision 19549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 20:57:41 +00:00
Diego Biurrun
07fd17823f Remove unused variable intra_count.
Originally committed as revision 19537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-30 07:33:16 +00:00
Diego Biurrun
700363afe7 Only enable WMV3 decoder when it has been turned on in the build system.
Originally committed as revision 19534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-29 11:31:52 +00:00
Diego Biurrun
9be6f0d2f8 Do not check for both CONFIG_VC1_DECODER and CONFIG_WMV3_DECODER,
the former depends upon the latter.

Originally committed as revision 19533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-29 09:54:49 +00:00
Diego Biurrun
e0f58e39c4 Do not check for both CONFIG_VC1_VDPAU_DECODER and CONFIG_WMV3_VDPAU_DECODER,
the former depends upon the latter.

Originally committed as revision 19532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-29 09:54:00 +00:00
Diego Biurrun
fe3608d577 Do not check for CONFIG_VC1_VAAPI_HWACCEL, the file is only
compiled if that condition is true.

Originally committed as revision 19531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-29 09:51:51 +00:00
Diego Biurrun
ff736f84e2 Use dprintf() instead of '#ifdef DEBUG' and av_log().
Originally committed as revision 19528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-28 12:50:32 +00:00
Måns Rullgård
341f394f0d ARM: cleaner selection of ELF-spefic assembler directives
Originally committed as revision 19522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-27 22:55:55 +00:00
Diego Biurrun
ce6636b1c1 Remove disabled function get_num().
It is small and has been disabled and unused for more than four years.

Originally committed as revision 19520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-27 16:10:38 +00:00
Martin Storsjö
e21a892163 Conditionally compile ELF-specific ARM assembly bits that fail on Windows CE.
patch by Martin Storsjö, martin martin st

Originally committed as revision 19514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-27 12:53:44 +00:00
Janne Grunau
6dc13ccbcc Set subtitle type in DVD and XSUB subtitle decoders.
Patch by Janne Grunau <ja?ne-f?mpeg jannau net>.

Originally committed as revision 19512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-26 23:08:04 +00:00
Diego Biurrun
7e4ceabe7c Remove unnecessary mpeg12data.o entries from OBJS- variables.
Originally committed as revision 19511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-26 21:22:57 +00:00
Diego Biurrun
81a65673a5 Remove duplicated mpeg12data.o entries.
Originally committed as revision 19510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-26 21:04:12 +00:00
Måns Rullgård
63613fe615 Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-26 12:20:04 +00:00
Aurelien Jacobs
84c04e2519 fix various compilation dependencies
Originally committed as revision 19507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-24 21:28:44 +00:00
Diego Biurrun
d15153244f refactoring: properly separate AC-3 and E-AC-3 code
Originally committed as revision 19501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-23 02:33:25 +00:00
Diego Biurrun
89547cfb36 Make sure that eac3_decoder only gets enabled when CONFIG_EAC3_DECODER is set.
Originally committed as revision 19500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-23 00:15:23 +00:00
Måns Rullgård
3aab27b459 Remove useless #include <unistd.h> from many files
Originally committed as revision 19499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 23:37:53 +00:00
Diego Biurrun
7f4e15e2f4 cosmetics: Reorder some tables/lines to make future diffs smaller.
Originally committed as revision 19498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 23:33:58 +00:00
Diego Biurrun
84ef7e7fc3 #include just the required stdint.h instead of libavutil/common.h.
Originally committed as revision 19497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 22:57:17 +00:00
Diego Biurrun
4c4b50530e cosmetics: small typo fixes
Originally committed as revision 19496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 22:43:43 +00:00
Diego Biurrun
7d90972c84 cosmetics: reindent/prettyprint after last commit
Originally committed as revision 19495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 22:38:26 +00:00
Diego Biurrun
31cf61b447 Only compile in NEON optimizations for H.264 when the H.264 decoder is enabled.
Originally committed as revision 19494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 22:33:33 +00:00
Diego Biurrun
99e5a9d1ea Do not redundantly check for both CONFIG_THEORA_DECODER and CONFIG_VP3_DECODER.
The Theora decoder depends on the VP3 decoder.

Originally committed as revision 19492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 22:27:10 +00:00
Diego Biurrun
4eef77c1a3 Make Theora decoder depend on the VP3 decoder.
Practically all the code is shared.

Originally committed as revision 19491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 21:36:50 +00:00
Diego Biurrun
b06da1725a Add missing stdint.h #include to fix 'make checkheaders'.
Originally committed as revision 19484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 15:11:00 +00:00
Alex Converse
04e257fa84 Revert unintended portion of last commit. (Setting the default coder to
twoloop.)

Originally committed as revision 19481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 03:56:08 +00:00
Alex Converse
a62d6cfeff Be sure to increment our position in the coefficient array when skipping a zero
band in the twoloop scalefactor search.

Originally committed as revision 19480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 03:53:30 +00:00
Diego Biurrun
baf91bb9a3 Make E-AC-3 decoder depend on the AC-3 decoder.
It is impossible to build E-AC-3 without AC-3.

Originally committed as revision 19477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-21 09:03:45 +00:00
Måns Rullgård
0a8958c849 ARM: handle VFP register arguments in ff_vector_fmul_window_neon()
Originally committed as revision 19475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-20 22:30:27 +00:00
Måns Rullgård
ce742de22c ARM: check for VFP register arguments
Originally committed as revision 19474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-20 22:30:24 +00:00
Alex Converse
5cf20d07ad Remove an unused field from the BandCodingPath struct.
Originally committed as revision 19473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-20 21:52:03 +00:00
Alex Converse
0193992252 Actually use all the codebooks we are iterating over in the two-loop scalefactor search.
Originally committed as revision 19472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-20 20:32:27 +00:00
Alex Converse
932e6a5a4c Fix an integer overflow in the AAC encoder.
Originally committed as revision 19470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-20 18:27:17 +00:00