Commit Graph

10091 Commits

Author SHA1 Message Date
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
Diego Biurrun
e82dc4c91e Make VP6A/VP6F decoders depend on the VP6 decoder.
They share so much code that enabling one without the other is pointless.

Originally committed as revision 19468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-20 09:24:59 +00:00
Diego Biurrun
6410134000 Remove two more lines related to the WMV3 decoder.
They are now enabled by the VC-1 decoder.

Originally committed as revision 19467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-19 11:14:43 +00:00
Diego Biurrun
015f8ee009 Make WMV3 decoders depend on their VC-1 counterparts.
They share so much code that enabling one without the other is pointless.

Originally committed as revision 19466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-19 11:07:10 +00:00
Alex Converse
3d51be014c Replace pow(x, 0.75) with sqrtf(x * sqrtf(x)) for a 33% speedup.
Originally committed as revision 19459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 14:21:49 +00:00
Alex Converse
c369e83608 Dead code removal in the AAC encoder.
Originally committed as revision 19457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 14:06:53 +00:00
Carl Eugen Hoyos
36904c4c9f Icc 11.1 still does not align the stack pointer, disable some x264 functions.
Originally committed as revision 19454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-17 09:07:38 +00:00
Alex Converse
6bb17c5155 Add iirfilter to the TESTPROGS variable (and target)
Originally committed as revision 19448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-16 22:39:50 +00:00
Alex Converse
a5762c9b59 When calculating AAC quantized band cost, don't leave garbage in the bit count
for the 0 codebook.

Originally committed as revision 19444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-16 22:20:17 +00:00
Alex Converse
ca0f1e5092 IIR filter test program.
Originally committed as revision 19443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-16 22:17:20 +00:00
Diego Biurrun
359a9979ad cosmetics: Move some code blocks to reduce the number of #ifdefs.
Originally committed as revision 19442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-16 21:37:58 +00:00
Janne Grunau
d6a1611cc2 Set subtitle type in DVB subtitle decoder.
Patch by Janne Grunau <j?nne-f?mpeg@jannau?net>.

Originally committed as revision 19432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-14 23:12:43 +00:00
Alex Converse
2876a9dbaf Use cutoff frequency to adjust bandwidth in the generic psymodel preprocess.
Originally committed as revision 19429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-14 05:22:23 +00:00
David Conrad
3e962f315b Fix "warning: assignment discards qualifiers from pointer target type"
Originally committed as revision 19424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-13 01:59:48 +00:00
Art Clarke
870ee6f715 Fix memory leak in libtheora encoder
Patch by Art Clarke [aclark , xuggle . com]

Originally committed as revision 19423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-13 01:59:45 +00:00
Diego Biurrun
95a61cfc24 Make VAAPI/VDPAU variant of decoder foo depend on decoder foo.
The VAAPI/VDPAU variants of foo require almost all of the code of foo.
Thus it makes little sense to enable just the accelerated variant.
This allows refactoring some object dependencies in the Makefiles.

Originally committed as revision 19403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-12 13:22:01 +00:00
Alex Converse
36f517736f Cosmetics: reindent after last commit
Originally committed as revision 19400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-10 21:54:06 +00:00
Alex Converse
6308765cb5 Ignore subsequent channel configurations after the first in an AAC file. The
current code doesn't handle them properly, and they are a dubious construction
at best.

Originally committed as revision 19399 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-10 21:53:04 +00:00
Alex Converse
c8ec2f1cb8 Mark iir filter init and free functions av_cold.
Originally committed as revision 19398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-10 20:55:15 +00:00
Alex Converse
47f49f98ca Fix "iirfilter.c:55: warning: unused variable ‘size’"
Originally committed as revision 19397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-10 20:51:22 +00:00
Alex Converse
e187d87d7d Eliminate use of complex.h from iirfilter.c
Originally committed as revision 19396 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-10 20:45:13 +00:00
Alex Converse
988c170547 Change fminf/fmaxf to FFMIN/FFMAX to fix the build on broken operating systems.
Originally committed as revision 19391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-09 17:22:59 +00:00
Måns Rullgård
181b336304 Fix declarations of complex numbers
Complex numbers must be declared using a base type of float, double,
or long double.

Originally committed as revision 19390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-09 10:16:00 +00:00
Alex Converse
f11bfe3065 Reindent after last commit
Originally committed as revision 19382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-08 23:14:47 +00:00
Alex Converse
48d20c11ba Prevent AAC frame size overflows.
Originally committed as revision 19381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-08 23:12:53 +00:00
Alex Converse
5962f6b0da Refactor windowing and early psy from bitstream writing parts of the AAC encoder.
Originally committed as revision 19380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-08 23:10:13 +00:00
Alex Converse
7a4eebcdce Turn on AAC rate control.
Originally committed as revision 19379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-08 23:04:22 +00:00
Diego Biurrun
c8f47d8b79 cosmetics: Remove unnecessary {} around if/for blocks;
move statements after if/for to the next line.

Originally committed as revision 19378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-08 21:36:33 +00:00
Diego Biurrun
99d61d340c cosmetics: prettyprinting, K&R style, break overly long lines
Originally committed as revision 19377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-08 21:16:06 +00:00
Alex Converse
fd257dc4c0 Cosmetics: Pretty print the AAC encoder.
Originally committed as revision 19376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-08 20:36:45 +00:00
Alex Converse
78e65cd772 Merge the AAC encoder from SoC svn. It is still considered experimental.
Originally committed as revision 19375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-08 20:01:31 +00:00
Reimar Döffinger
5e039e1b4c Add extra validation checks to ff_vorbis_len2vlc.
They should not be necessary, but it seems like a reasonable precaution.

Originally committed as revision 19374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-08 19:39:23 +00:00
Reimar Döffinger
1de4ba7155 Make sure that values generated for ff_vorbis_len2vlc in
vorbis_parse_setup_hdr_codebooks are in the valid range (<=32).

Originally committed as revision 19373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-08 19:31:04 +00:00
Alexis Ballier
287fff266f Add PIX_FMT_ARGB encoding to qtrle.
Patch by Alexis Ballier, alexis ballier gmail

Originally committed as revision 19372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-08 14:58:16 +00:00
Diego Biurrun
6ae5c1f0fb whitespace cosmetics: Realign colums after last commit.
Originally committed as revision 19367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-07 09:33:53 +00:00
Diego Biurrun
36b38500b6 Check for CONFIG_LIBFOO_DECODER/CONFIG_LIBFOO_ENCODER instead of just
CONFIG_LIBFOO in the external libraries section.
This is more consistent with the rest of the Makefiles, it makes clearer what
is actually implemented and should be advantageous if we implement an external
library encoder where we previously just had the decoder and vice versa.

Originally committed as revision 19366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-07 09:33:08 +00:00
Diego Biurrun
fc1206a4d9 Remove support for nonfree libamr library for AMR-NB/WB decoding/encoding.
libopencore can now be used as a replacement except for AMR-WB encoding.

Originally committed as revision 19365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-07 00:28:16 +00:00
Reimar Döffinger
4f76697b3e Change av_free to av_freep
Originally committed as revision 19360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-06 16:49:36 +00:00
Reimar Döffinger
16c8318513 Reallocate internal buffer when coded frame size changes.
Fixes out-of-bounds reads and writes with i32/smclocki32.avi.1.0 from issue 1240.

Originally committed as revision 19359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-06 16:48:23 +00:00
Reimar Döffinger
28bcc76ab7 Change iv_decode_frame to get AVCodecContext as argument, so that
avcodec_check_dimensions can be called with a proper context instead of NULL.

Originally committed as revision 19358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-06 16:45:12 +00:00
Reimar Döffinger
c79c960ade Remove useless ret variable added in last revision again.
Originally committed as revision 19357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-06 10:28:58 +00:00
Reimar Döffinger
7cda815044 100l, theora_decode_init must pass on errors from vp3_decode_init
Originally committed as revision 19356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-06 09:35:00 +00:00
Reimar Döffinger
c4b7b8bf9c Make decode_init fail if the huffman tables are invalid and thus init_vlc fails.
Otherwise this will crash during decoding because the vlc tables are NULL.
Partially fixes ogv/smclock.ogv.1.101.ogv from issue 1240.

Originally committed as revision 19355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-06 09:22:39 +00:00
Reimar Döffinger
e13cca4b14 Ensure that the filter limit values do not exceed the maximum allowed value of 127.
Originally committed as revision 19351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-05 18:27:39 +00:00
Reimar Döffinger
7fa5f9990b Extend init_loop_filter to work for filter limit values up to 127 instead
of only up to 64. 127 is the maximum value allowed by the theora specification.

Originally committed as revision 19350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-05 18:25:58 +00:00
Reimar Döffinger
ad92108694 Add a check to vp6_parse_coeff_huffman to ensure it does not overread the input buffer.
Originally committed as revision 19349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-05 16:01:51 +00:00
Aurelien Jacobs
7576516a7e vp56dec: ensure range coder won't read past the end of input buffer
Originally committed as revision 19348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-05 15:23:42 +00:00
Reimar Döffinger
5be5daf1e5 Check that palctrl is available on init instead of crashing when trying to use
it on decode.
Fixes mpeg2/smclockmpeg2.avi.2.1 from issue 1240.

Originally committed as revision 19347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-05 12:14:05 +00:00
Loren Merritt
e30004fa73 fix a buffer overrun on corrupt huffyuv streams
Originally committed as revision 19346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-04 23:59:10 +00:00
David Conrad
2483298ae2 ARM: NEON VP3 IDCT
15% faster VP3/Theora, 10% faster VP6

Originally committed as revision 19345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-04 20:41:11 +00:00
Reimar Döffinger
82c9182fe3 If the end of the input buffer is reached while decoding MJPEG and at least
a valid SOF was found, emulate an EOI.
This allows e.g. to at least decode the available part of incomplete MJPEG frames.

Originally committed as revision 19344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-04 18:24:43 +00:00
Reimar Döffinger
1496b04c28 Make the MJPEG decoder return -1 when no image was decoded so that decode
errors are actually recognizable as such.

Originally committed as revision 19343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-04 18:22:33 +00:00
Reimar Döffinger
643fd8a198 Add a got_picture flag to MJpegDecodeContext which indicates if its picture
element is valid. Skip the code handling SOS and EOI if not, since it can not
work without a valid AVPicture.
This fixes a crash with mjpeg/smclockmjpeg.avi.1.0 from issue 1240 where the
decoder returned an invalid AVPicture.

Originally committed as revision 19342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-04 18:20:35 +00:00
Reimar Döffinger
b27bf2a7b4 mjpegdec: check that the coded dc_index and ac_index have a valid associated VLC table.
Removes some disabled dc_index/ac_index checking code that seems to have had
some undocumented issues and should not really be necessary anymore now.
Fixes from issue 1240 the files mjpeg/smclockmjpeg.avi.1.10 and mjpeg/smclockmjpeg.avi.1.171.

Originally committed as revision 19341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-04 12:54:36 +00:00
Alexander Strange
e5f61b94a1 H.264: Check the return value of decode_vui_parameters()
Files with invalid VUI are now rejected like
other invalid SPS are.

Fixes issue1231.

Originally committed as revision 19335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-04 07:46:58 +00:00
Alexander Strange
0410ee8f86 H.264: Don't set data_partitioning for invalid NAL_DPA.
Before, the decoder could interpret a corrupt frame
as a NAL_DPA and NAL_DPC, and then start decoding
even if decode_slice_header() returned an error.
This frequently caused crashes.

Fixes issue1228, issue1229, and partially issue1238.

Originally committed as revision 19328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-03 05:52:00 +00:00
Art Clarke
bda1ad1e73 Cleanup properly at the end of MPEG Audio parsing.
Patch by Art Clarke (aclarke AT xuggle com)

Originally committed as revision 19327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-02 13:13:20 +00:00
Baptiste Coudurier
6be8b20466 Revert r19317, "simplify slice_end, return size of output frame".
It returns non decodable B-frames.

Originally committed as revision 19324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-01 20:35:28 +00:00
Michael Niedermayer
fb6ecd7285 indent
Originally committed as revision 19323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-01 20:34:16 +00:00
Michael Niedermayer
37458d7e1b Make sure we dont read over the end.
Fixes issue1237.

Originally committed as revision 19322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-01 20:30:37 +00:00
Måns Rullgård
ec62d942ea Fix potentially unaligned accesses in ff_copy_bits()
A pointer should never be assigned a value which may have less than the
required alignment of the target type.  Compilers may assume pointer
values have the required alignment, and emit normal load/store instructions.

Unaligned pointers should use a character type or compiler-specific
type modifiers.

Originally committed as revision 19318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-01 17:48:22 +00:00
Baptiste Coudurier
f7f1eb6cc9 simplify slice_end, return size of output frame
Originally committed as revision 19317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-01 17:29:52 +00:00
Kostya Shishkov
39c601b5e7 RV3/4 intra types array causes alignment issues (at least on ARM5), thus change
its stride and offset to always have align 4.

Originally committed as revision 19316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-01 15:08:02 +00:00
Måns Rullgård
4a30fff60d Fix argument type mismatches for av_picture_crop and av_picture_fill
Originally committed as revision 19314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-01 10:36:18 +00:00
Baptiste Coudurier
fb0a835ff4 add missing \n to error message
Originally committed as revision 19313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-01 06:48:27 +00:00
Måns Rullgård
6816f8b8e4 ADPCM: remove unreachable break statement after return
Originally committed as revision 19312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-01 00:55:17 +00:00
Jason Garrett-Glaser
fe022ce2f8 Fix libx264.c to not drop SEI userdata from x264 encoder.
Most muxers in ffmpeg ignore the SEI if it is placed in extradata, so instead
it has to be catted to the front of the first video frame.

Originally committed as revision 19310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-30 23:45:01 +00:00
Reimar Döffinger
8d8409ca9f Fix nalsize check to avoid an integer overflow that made the check
incorrect for nalsize > INT_MAX - buf_index

Originally committed as revision 19307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-30 12:11:29 +00:00
Stefan Gehrer
470de55aa1 fix slice header checking
Originally committed as revision 19303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-30 06:44:32 +00:00
Michael Niedermayer
822d0a6e0c Drop code that attempts to decode frames that are prefixed by junk.
Too often it ends up decoding random data into noise without detecting
it (for example after seeking of some MP3 data with oddly often occurring
startcode emulation).
Fixes issue1154.

Originally committed as revision 19302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-30 03:57:27 +00:00
Kostya Shishkov
f3ac96e4d8 Support RGB48 PNG decoding
Originally committed as revision 19301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-30 03:37:20 +00:00
Michael Niedermayer
2073fc84ff Rewrite mp3 parser. New code is much simpler and does not drop
stuff at random.

Originally committed as revision 19300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-30 03:12:50 +00:00
Ronald S. Bultje
684aa30251 Add doxy to av_log_missing_feature() etc. stating that the function is
primarily intended for internal use in lavc/lavf, not for use in apps.

Originally committed as revision 19296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-29 19:17:03 +00:00
Ronald S. Bultje
4811f89bc6 Move av_log_missing_feature() from the internal.h to the public avcodec.h
header file.

Originally committed as revision 19295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-29 19:11:53 +00:00
Ronald S. Bultje
ce863d7f36 Rename ff_log_missing_feature() to av_log_missing_feature().
Originally committed as revision 19294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-29 19:07:04 +00:00
David Conrad
29024501b7 Revert r19149 "Disable native Vorbis encoder"
Originally committed as revision 19290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-29 09:02:07 +00:00
Carl Eugen Hoyos
a10de6dc4b Replace an occurence of -1 by PIX_FMT_NONE, fixes icc warning #188:
enumerated type mixed with another type

Originally committed as revision 19283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-27 08:39:56 +00:00
Vladimir Voroshilov
d266709055 Pitch delay decoding
Originally committed as revision 19281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-26 17:43:05 +00:00
Vladimir Voroshilov
2b0691349f Replace pitch_delay_int array with single variable.
Originally committed as revision 19280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-26 17:42:25 +00:00
Stefano Sabatini
d171a651db Rewrite doxy for av_strtod().
Originally committed as revision 19268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-24 22:35:11 +00:00
Haruhiko Yamagata
c173a0881f Improve wording: s/reseted/reset
Patch by Haruhiko Yamagata, h D yamagata A nifty D com

Originally committed as revision 19266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-24 12:10:20 +00:00
Vladimir Voroshilov
3c70902bf5 LSF (Line Spectral Frequencies) decoding routine.
Originally committed as revision 19260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-24 04:38:48 +00:00
Haruhiko Yamagata
2722c3a30d Fix H.264 picture reordering, 2nd try.
First, reverted one was r19239.

Patch by Haruhiko Yamagata, h D yamagata A nifty D com

Originally committed as revision 19258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-23 21:03:35 +00:00
Brian Crowell
ce9dd8f509 Make documentation better match the code. Now AVCodecContext.sample_fmt
is used.

Patch by Brian Crowell <($firstname)@fluggo.com>

Originally committed as revision 19257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-23 18:17:15 +00:00
Kostya Shishkov
74a30595b2 Edge emulation should be used in B-frame MC in mspel mode with
mv_x < 1 or mv_y < 1.

Originally committed as revision 19255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-23 07:41:38 +00:00
Stefano Sabatini
1c2744d139 Export av_strtod() to eval.h.
Originally committed as revision 19252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-22 22:22:40 +00:00
Stefano Sabatini
e877eaacf3 Cosmetics: rename 'name' av_strtod() param to 'numstr'. The new name
is more expressive.

Originally committed as revision 19249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-21 21:37:05 +00:00
Baptiste Coudurier
b27758bc02 Fetch timestamp for the first frame of field only if frame_offset and
next_frame_offset are not set, because second field has next frame offset set
but not frame_offset, otherwise this wrongly fetch timestamp for the
second field.

Originally committed as revision 19244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-21 03:50:26 +00:00
Carl Eugen Hoyos
df028e8c6a Revert r19239: It broke four conformance tests.
Originally committed as revision 19241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-20 14:47:38 +00:00
Vladimir Voroshilov
630c97ff4b Convertion of LSF values to coefficients of linear prediction filter
Originally committed as revision 19240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-20 13:36:21 +00:00
Haruhiko Yamagata
6ee0eb38c0 Fix H.264 picture reordering.
Patch by Haruhiko Yamagata, h D yamagata A nifty D com

Originally committed as revision 19239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-20 13:16:07 +00:00
Carl Eugen Hoyos
1efe9fd5c0 Fix indentation after last commit.
Originally committed as revision 19238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-20 13:10:17 +00:00
Yoshihisa Uchida
d8b2d83473 Fix yamaha adpcm stereo (issue 1117).
Patch by Yoshihisa Uchida, yoshihisa D uchida A gmail

Originally committed as revision 19237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-20 13:07:21 +00:00
Sascha Sommer
4c7615c40e Make remaining run level decode comments doxygen comments
Originally committed as revision 19235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-20 11:22:25 +00:00
Sascha Sommer
4df8bdeef3 Simplify run level decoding:
- remove unneeded vlc code < 0 check
- reorder vlc code handling so that the unlikely escape decoding
  part comes last
- move overflow check out of the decode loop
- branchless sign conversion

Originally committed as revision 19234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-20 11:06:48 +00:00
Sascha Sommer
4d67e067e2 Fix indentation after the previous commit
Originally committed as revision 19233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-20 10:33:18 +00:00
Sascha Sommer
891bd2e5aa Add support for escape coded wmapro run level coefficients
Originally committed as revision 19232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-20 10:28:55 +00:00
Sascha Sommer
9970c61b4b Introduce WMACoef typedef for decoded coefficients
and change default type to float so that the run level
decoding functionality can be shared with wmapro

Originally committed as revision 19231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-20 09:05:28 +00:00
Reimar Döffinger
a4276ba2ac Add support for encoding XSUB subtitles. Muxing support is still missing.
Based on code by DivX, Inc., heavily changed by Björn Axelsson [gecko acc.umu.se] and me.

Originally committed as revision 19222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-19 09:56:35 +00:00
Reimar Döffinger
4bbe788ab7 Add pts field to AVSubtitle, for use by future XSUB encoder (and XSUB decoder
should use it, too).

Originally committed as revision 19221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-19 08:28:07 +00:00
Vladimir Voroshilov
17dbe25438 G.729 decoding routine (skeleton, including parameters decoding).
Originally committed as revision 19218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-18 18:14:38 +00:00