Commit Graph

9034 Commits

Author SHA1 Message Date
Baptiste Coudurier
a7573719e5 remove warning about incompatible pointer
Originally committed as revision 17043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 05:49:42 +00:00
Kostya Shishkov
432f1f11ea Move RV3/4 frame type check up so 1-slice unanchored B-frames are checked, too.
Originally committed as revision 17031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-07 10:46:51 +00:00
Kostya Shishkov
186f155e1c Add decoder flush after seeking for RV3/4 decoders
Originally committed as revision 17030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-07 09:35:16 +00:00
Stefano Sabatini
9d385cfec4 Drop the deprecated function register_avcodec() at the next major
version bump.

Originally committed as revision 17028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 23:54:50 +00:00
Stefano Sabatini
9be26823b9 Replace the calls to the deprecated function register_avcodec() with
corresponding calls to avcodec_register().

Originally committed as revision 17027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 23:50:54 +00:00
Stefano Sabatini
85662f4935 Rename register_avcodec() as avcodec_register() and deprecate the old
function name.

Originally committed as revision 17026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 23:46:15 +00:00
Michael Niedermayer
271e6ddd4a Fix list of input pix_fmts supported by GIF. This makes it work with swscale.
It also allows encoding GIF with a 4-bit palette and with a graycale one as a
side effect.

Originally committed as revision 17019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 13:04:39 +00:00
Michael Niedermayer
6337178b4f Ensure that the palette is set in data[1] for all 8bit formats.
Also document it.

Originally committed as revision 17018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 12:59:50 +00:00
Jai Menon
9a77d59a89 Use libopenjpeg for jpeg2k decoding.
Patch by Jaikrishnan Menon

Originally committed as revision 17017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 11:49:31 +00:00
Michael Niedermayer
71a48ff23c Add size_in_bits to PutBitContext
Originally committed as revision 17006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 18:25:01 +00:00
Peter Ross
d8964f3afa Electronic Arts TQI decoder
Originally committed as revision 17002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 08:58:35 +00:00
Peter Ross
44ba8b650f don't assume quant_matrix[0]==8 in ff_mpeg1_decode_block_intra(). this is required for the Electronic Arts TQI decoder.
Originally committed as revision 17001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 07:59:11 +00:00
Peter Ross
50240e5646 convert mpeg1_decode_block_intra() to inline global
Originally committed as revision 17000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-05 07:57:11 +00:00
Måns Rullgård
5317c95b75 Remove CONFIG_H264_ENCODER references
Originally committed as revision 16996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 21:28:58 +00:00
Diego Biurrun
f0d5437275 Remove documentation of non-existing function parameters.
Originally committed as revision 16994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 20:43:17 +00:00
Diego Biurrun
181d8a7f3a Remove unused CONFIG_H264_ENCODER #define.
Originally committed as revision 16993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 20:41:09 +00:00
Diego Biurrun
c7f03f4e2a Remove pointless '#if CONFIG_ENCODERS' around forward declarations.
Originally committed as revision 16992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 20:36:37 +00:00
Roman Shaposhnik
f52901b305 No need to compute stype
Originally committed as revision 16988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-04 16:16:53 +00:00
Alex Converse
5363c43ea8 Add av_cold attributes to *_init and *_end functions.
Originally committed as revision 16980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 23:09:00 +00:00
Alex Converse
2c823b3ccc VP3: Prevent stack corruption from an unset custom coding method.
Originally committed as revision 16978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 22:59:47 +00:00
Gwenole Beauchesne
cb99c652eb Add fields to H264Context and SPS for upcoming VA API support.
Patch by Gwenole Beauchesne gbeauchesne A splitted-desktop dotcom

Originally committed as revision 16976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 20:49:02 +00:00
Stefan Gehrer
cc55c46498 check validity of pointer srcC
Originally committed as revision 16973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 17:56:24 +00:00
Michael Niedermayer
152714e1f1 Fix unknown header 10001000 / http://samples.mplayerhq.hu/real/VC-RV10/thankyou.rm / issue809
Originally committed as revision 16967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-03 03:01:17 +00:00
Reimar Döffinger
0b178e5629 Add av_ prefix to LZO stuff and thus make it officially part of the public API.
Keep lzo1x_decode until the next major version bump for binary compatibility.

Originally committed as revision 16946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 20:16:00 +00:00
Benjamin Larsson
aa8d024ce2 Allocate trellis tables on heap only when needed.
Originally committed as revision 16945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 18:51:02 +00:00
Robert Swain
b17f1a0764 Doxygen defgroups throw a warning if they don't have a title as well as a name
Originally committed as revision 16939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 10:31:51 +00:00
Diego Biurrun
70e493991d cosmetics: Place all subtitle entries together.
Originally committed as revision 16934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 09:35:23 +00:00
Justin Ruggles
faeb2bd41d flacdec: set default sample_fmt before parsing extradata
Originally committed as revision 16926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 01:53:40 +00:00
Diego Biurrun
6bf959fee5 Add av_unused to conditionally used variable, fixes the warning:
h264.c:6464: warning: unused variable 'dir'

Originally committed as revision 16925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 00:35:25 +00:00
Kostya Shishkov
55b557ece1 Silence compiler warnings for XL decoder
Originally committed as revision 16921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 16:14:54 +00:00
Kostya Shishkov
b709397530 Make WNV1 decoder use temporary buffer for bit-reversed input
Originally committed as revision 16920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 16:11:33 +00:00
Diego Biurrun
94f694a476 cosmetics: Remove period after copyright statement non-sentence.
Originally committed as revision 16919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 15:52:01 +00:00
Kostya Shishkov
ad4d0b9ef2 Make TM2 decoder byteswap input into separate buffer instead of doing it in-place.
Originally committed as revision 16918 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 15:27:44 +00:00
Kostya Shishkov
a2a986371c Factorize stream reading in TM2 decoder
Originally committed as revision 16917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 15:20:20 +00:00
Kostya Shishkov
3ffabd4e49 Silence two pointer assignment compiler warnings in rv34.c
Originally committed as revision 16916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 15:03:40 +00:00
Kostya Shishkov
5d44b2a138 Silence useless compiler warning when passing AVFrame* instead of AVPicture*
to ff_msrle_decode()

Originally committed as revision 16915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 14:44:51 +00:00
Diego Biurrun
bc4cccd483 Remove H.264 encoder initialization.
We have no H.264 encoder to speak of and this produces warnings.

Originally committed as revision 16914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 14:07:08 +00:00
Diego Biurrun
bad5537e2c Use full internal pathname in doxygen @file directives.
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.

Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 02:00:19 +00:00
Diego Biurrun
65ffe3e85c Fix filenames in doxygen comments.
Originally committed as revision 16911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01 01:29:30 +00:00
Baptiste Coudurier
7591b30499 remove some warnings due to avctx->execute
Originally committed as revision 16909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 22:49:58 +00:00
Måns Rullgård
a95d00b287 shorten: trivial simplification of signature check
Originally committed as revision 16908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 22:30:49 +00:00
Ben Hutchings
f579d24bad assume widescreen when ratio also > 17, patch by Ben Hutchings, ben at decadent dot org dot uk
Originally committed as revision 16907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 22:16:17 +00:00
Baptiste Coudurier
a4fd53c427 fix decoding 720p50 audio samples
Originally committed as revision 16906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 22:10:23 +00:00
Justin Ruggles
7f3a6a0553 cosmetics: change comment type and vertical alignment
Originally committed as revision 16882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 02:11:37 +00:00
Justin Ruggles
64cb376562 cosmetics: add some documentation to FLACContext
Originally committed as revision 16881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 02:10:43 +00:00
Roman Shaposhnik
1a969d6dfe Cosmetics: fixing indentation
Originally committed as revision 16880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:50:18 +00:00
Roman Shaposhnik
77cd35cdb5 unrolling encoding loops
Originally committed as revision 16879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:46:25 +00:00
Roman Shaposhnik
b45ba151cf Cosmetics: simplifying static initialization
Originally committed as revision 16878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:41:04 +00:00
Roman Shaposhnik
85eca52be4 simplifying DIF encoding process
Originally committed as revision 16877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:39:05 +00:00
Roman Shaposhnik
76bd5997a9 Cosmetics: fixing the indentation
Originally committed as revision 16876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:37:31 +00:00
Roman Shaposhnik
9b8390bfbe factoring code into dv_init_enc_block
Originally committed as revision 16875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:36:38 +00:00
Roman Shaposhnik
5c2a9dd64e Cosmetics: replacing 0 with NULL for pointer assignment
Originally committed as revision 16874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:36:00 +00:00
Roman Shaposhnik
2331854d0b Cosmetics: moving the function definition around
Originally committed as revision 16873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:35:29 +00:00
Roman Shaposhnik
b25d439233 Replacing the constant with a macro
Originally committed as revision 16872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:34:44 +00:00
Justin Ruggles
82159ad992 flacdec: add support for SAMPLE_FMT_32
Originally committed as revision 16871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 01:20:40 +00:00
Bitbreaker/METALVOTZE X
99b3812265 Fix documentation of the return value of avcodec_encode_video().
ripped out of a patch by Bitbreaker/METALVOTZE X bitbreaker ihlaid de Y

Originally committed as revision 16870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-31 00:45:34 +00:00
Diego Biurrun
67a7e4dbcf Use '#if defined()' for OS-specific preprocessor checks.
Avoids some warnings about undefined preprocessor directives.

Originally committed as revision 16869 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 23:50:13 +00:00
Måns Rullgård
e1f7cb7fa0 ARM: NEON optimised vector_fmul_window
Originally committed as revision 16868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 23:13:19 +00:00
Måns Rullgård
dd927e2e62 ARM: NEON optimised vector_fmul
Originally committed as revision 16867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 23:13:15 +00:00
Stefan Gehrer
8915009813 remove duplicate tables
Originally committed as revision 16866 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 20:39:39 +00:00
Alex Converse
63cae55d62 Use the new RDFT code in the QDM2 decoder.
Originally committed as revision 16865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 20:33:29 +00:00
Alex Converse
6860254044 Add the rdft family of transforms (fft/ifft of an all real sequence) to dsputil.
Originally committed as revision 16864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 20:15:48 +00:00
Diego Biurrun
dc8a7c93d3 Add missing void keyword to parameterless function declarations.
Originally committed as revision 16860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 18:38:25 +00:00
Gwenole Beauchesne
f92a6c66ed Record B-fraction index from frame header and two fields from entry point structure
into VC-1 context.

Patch by Gwenole Beauchesne
(gbeauchesne <whirlpool> splitted <dash> desktop <dit> com)
Thread [PATCH][VC-1] Record extra syntax elements for VA API support

Originally committed as revision 16859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 17:15:08 +00:00
Gwenole Beauchesne
3021a8a70b Make ff_h263_resync() return the bit position of the resync_marker or
a negative number if none was found.
Patch by Gwenolé Beauchesne: gbeauchesne splitted minus desktop com

Originally committed as revision 16858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 17:13:03 +00:00
Gwenole Beauchesne
73f184936d Use a constant instead of a magic number.
Patch by Gwenolé Beauchesne: gbeauchesne splitted minus desktop com

Originally committed as revision 16856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 08:18:06 +00:00
Stefan Gehrer
2ed421134e avoid indeterminate order of accessing src
Originally committed as revision 16855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-30 06:38:46 +00:00
Gwenole Beauchesne
2e584eea4b cosmetics: Add empty line for consistent formatting.
patch by Gwenolé Beauchesne, gbeauchesne splitted-desktop com

Originally committed as revision 16852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-29 22:08:32 +00:00
Alex Converse
eea325645c Mark ff_fft_end av_cold.
Originally committed as revision 16851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-29 17:08:51 +00:00
Loren Merritt
5a446bc88e fix an overflow in vc1 intra overlap filter
Originally committed as revision 16845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-28 11:12:19 +00:00
Kostya Shishkov
81169111ef Fix Doxygen comments for VC-1 decoder.
Originally committed as revision 16843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-28 07:16:52 +00:00
Kostya Shishkov
1aa7335149 Fix Doxygen comments for RV3/4 decoder.
Originally committed as revision 16842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-28 07:16:20 +00:00
Kostya Shishkov
20642e2840 Fix Doxygen comments for APE decoder.
Originally committed as revision 16841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-28 07:15:22 +00:00
Måns Rullgård
ca6532f620 ARM: remove some unused macro arguments
Originally committed as revision 16824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 16:34:10 +00:00
Måns Rullgård
d8f9269dc6 ARM: reorder some instructions in put_pixels*_arm for speed gains
Originally committed as revision 16823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 16:06:51 +00:00
Måns Rullgård
00c5727d90 ARM: replace jump tables with conditional branches
Originally committed as revision 16822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 16:06:47 +00:00
Måns Rullgård
d9e68f5c1a ARM: replace explicit literal loads with ldr Rd, =lit
Originally committed as revision 16821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 16:06:44 +00:00
Måns Rullgård
fc252eba02 ARM: change alignment of loops in put_pixels*_arm to 32
Originally committed as revision 16820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 16:06:41 +00:00
Måns Rullgård
4f928a4d2d ARM: optimised mid_pred()
Originally committed as revision 16819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 16:06:38 +00:00
Måns Rullgård
1214bd86dc ARM: allow register operands for shifts in MULL()
Originally committed as revision 16818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 16:06:34 +00:00
Stefan Gehrer
620b8a2ed7 fix doxygen file reference
Originally committed as revision 16816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 06:04:01 +00:00
Aurelien Jacobs
73c87551e5 vp5: don't try decoding a P frame before any I frame was parsed
fix issue802

Originally committed as revision 16813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 00:23:27 +00:00
Diego Biurrun
99ed41a808 Fix filenames in Doxygen comments.
Originally committed as revision 16811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-26 22:51:16 +00:00
Stefano Sabatini
e1b6bdbb83 Change "H.263 Intel" long name to "Intel H.263".
Originally committed as revision 16808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-26 19:46:47 +00:00
Kostya Shishkov
9289a32a8e Fix AAC data smuggling:
aactab.h declares only 316 of 428 elements in ff_aac_pow2sf_tab[]

Originally committed as revision 16805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-26 13:44:09 +00:00
Benoit Fouet
a6cef9651d Remove unneeded check.
Originally committed as revision 16803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-26 09:42:48 +00:00
Benoit Fouet
a44cb89b0f Fix an exploit in indeo by checking we are not writing out of the strip array.
Fixes issue 655

Originally committed as revision 16802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-26 09:41:23 +00:00
David Conrad
137ae32760 Workaround for gcc 3.4 to align sh properly
Originally committed as revision 16797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-26 03:40:48 +00:00
Diego Biurrun
c60208e7a1 Directly #include some required headers.
Originally committed as revision 16780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 19:11:10 +00:00
Reimar Döffinger
724cc2dfaa Use AV_WL32/AV_WB32 in bitstream.h
Originally committed as revision 16778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 18:12:13 +00:00
Stefano Sabatini
57be00bea7 Make more descriptive the long names for the various variants of H.263.
Originally committed as revision 16775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 16:59:48 +00:00
Måns Rullgård
bd53b426b7 ARM: NEON optimised H.264 weighted prediction
Originally committed as revision 16771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 13:04:45 +00:00
Måns Rullgård
5a29589b81 ARM: NEON optimised H.264 biweighted prediction
Originally committed as revision 16770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 13:04:41 +00:00
Diego Biurrun
4ceb4e3102 Add required headers to fix warnings during 'make checkheaders'.
Originally committed as revision 16769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 11:16:25 +00:00
Justin Ruggles
aeb987cebf flacdec: get total number of samples from STREAMINFO
Originally committed as revision 16768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 02:27:02 +00:00
Justin Ruggles
ce7e82144f move FLAC_STREAMINFO_SIZE to flac.h
Originally committed as revision 16766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 00:34:32 +00:00
Justin Ruggles
d38b88213e define FLAC metadata types in flac.h
Originally committed as revision 16765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-25 00:33:25 +00:00
Justin Ruggles
9f3d3ecf92 flacdec: cosmetics: some line wrapping at 80 chars
Originally committed as revision 16763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 19:05:52 +00:00
Justin Ruggles
1df0390eed flacdec: cosmetics: indentation
Originally committed as revision 16762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 18:52:30 +00:00
Justin Ruggles
1bec121f9e flacdec: cosmetics: use consistent coding style (K&R)
Originally committed as revision 16761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 18:51:43 +00:00
Diego Biurrun
799fde37cc Add a check for ppc4xx instructions; rename preprocessor directive accordingly.
Originally committed as revision 16756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 17:44:46 +00:00
Diego Biurrun
f5b96597bd Remove pointless #if HAVE_ALTIVEC around internal header #include
and function declarations.

Originally committed as revision 16755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 17:32:06 +00:00
Justin Ruggles
13de8a080a cosmetics: indentation
Originally committed as revision 16753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 16:13:21 +00:00
Justin Ruggles
5305f40bb8 flacdec: change several AV_LOG_DEBUG to AV_LOG_ERROR
Originally committed as revision 16752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 16:03:17 +00:00
Justin Ruggles
9f2db54594 flacdec: remove another unneeded debugging statement
Originally committed as revision 16751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 16:02:30 +00:00
Justin Ruggles
f7f3e3bf4a flacdec: remove unneeded debugging statements
Originally committed as revision 16750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 16:01:20 +00:00
Justin Ruggles
c5706efd57 flacdec: remove some unused code
Originally committed as revision 16749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 15:46:19 +00:00
Diego Biurrun
175da7dab7 Add required headers to fix 'make checkheaders'.
Originally committed as revision 16746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 14:46:00 +00:00
Stefan Gehrer
19e017f211 remove alloc_table_0 and alloc_table_2, the same
data exists in alloc_table_1 and alloc_table_3

Originally committed as revision 16745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 14:32:22 +00:00
Stefan Gehrer
45beb850de remove zigzag_scan8x8, it is the same as ff_zigzag_direct
Originally committed as revision 16744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 14:30:15 +00:00
Stefan Gehrer
3e7233688a avoid duplication of size_table and offset_table
Originally committed as revision 16743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 14:28:08 +00:00
Stefan Gehrer
fa79489fd3 avoid duplication of dquant_code
Originally committed as revision 16742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 14:26:40 +00:00
Vitor Sessak
e0df9e4425 Do not allocate RoqTempData on the stack
Originally committed as revision 16739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-24 08:15:43 +00:00
Justin Ruggles
8f51144bf4 rename flac.c to flacdec.c
Originally committed as revision 16735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 22:27:19 +00:00
Andreas Öman
cf92cec7d8 Avoid allocating MPADecodeContext on stack.
Instead move relevant fields into MPADecodeHeader and use it
where appropriate.

Originally committed as revision 16728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 12:09:32 +00:00
Kostya Shishkov
1cae2ef9a6 Remove the block with always false condition from vc1_parse_frame_header()
Originally committed as revision 16726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 06:33:04 +00:00
Kostya Shishkov
a28d522491 VC-1 postproc field is 2 bits wide while decoder read only single bit.
Spotted by Stephen Warren.

Originally committed as revision 16725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 06:31:17 +00:00
Justin Ruggles
959e000627 flacdec: add support for 3 additional sample rate codes
Originally committed as revision 16723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 22:23:58 +00:00
Alex Converse
3c4ea6d5ab Mark ff_fft_init with av_cold.
Originally committed as revision 16722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 19:48:10 +00:00
Alex Converse
8f05c995fd Clean up FFT related comments.
Originally committed as revision 16721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 19:46:23 +00:00
Baptiste Coudurier
4d6f600c58 Add const, remove warning:
libavcodec/audioconvert.c:190: warning: initialization discards qualifiers from pointer target type

Originally committed as revision 16716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 00:31:26 +00:00
Kostya Shishkov
716ba2d01c VMD first chunk of audio is not coded as many separate chunks of block_align
size. Thus, make demuxer and decoder handle it as a whole.

Originally committed as revision 16708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 13:24:35 +00:00
Carl Eugen Hoyos
0d9becc77c Sort VdpPictureInfo alphabetically.
Originally committed as revision 16705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 22:53:25 +00:00
Carl Eugen Hoyos
27052238c0 Cosmetics: Fix indentation after last commit.
Originally committed as revision 16700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:36:28 +00:00
NVIDIA Corporation
c5b42f4a80 Add VDPAU hardware accelerated decoding for WMV3 and VC1 which can
be used by video players.

Original patch by NVIDIA corporation.

Originally committed as revision 16699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:28:36 +00:00
Diego Biurrun
c2fef0c163 Use "" instead of <> when #including non-system headers.
Originally committed as revision 16689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19 23:41:46 +00:00
Diego Biurrun
406792e7b0 cosmetics: Remove pointless period after copyright statement non-sentences.
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19 15:46:40 +00:00
Stefano Sabatini
9c868219e9 Replace calls to the deprecated function av_init_random() with
corresponding calls to av_random_init().

Originally committed as revision 16682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 23:04:33 +00:00
Aurelien Jacobs
199436b952 moves mid_pred() into mathops.h (with arch specific code split by directory)
Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 22:57:40 +00:00
Måns Rullgård
77c4537313 ARM: simplify ff_put/avg_h264_chroma_mc4/8_neon definitions, no code change
Originally committed as revision 16677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 20:43:11 +00:00
Måns Rullgård
fd6045bae5 Alpha: fix pix_abs16
Originally committed as revision 16675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 18:31:52 +00:00
Jason Garrett-Glaser
5a44906d8e Fix 10L in r16670 (broke deblocking code)
Originally committed as revision 16671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 07:20:12 +00:00
Jason Garrett-Glaser
0a359cf157 Faster VC-1 C loopfilter using lots of xor magic
Originally committed as revision 16670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 07:14:36 +00:00
Måns Rullgård
2a839eeb02 dct-test: add Alpha idct
Originally committed as revision 16669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 05:52:20 +00:00
Måns Rullgård
179c56b879 Alpha: add ff_ prefix to idct functions
Originally committed as revision 16668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 05:52:17 +00:00
Måns Rullgård
7d95741f83 Alpha: indentation
Originally committed as revision 16667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 05:52:15 +00:00
Måns Rullgård
74c4746344 Alpha: proper IDCT selection
Only select the Alpha IDCT if auto or explicitly requested.  Also
disable it in lowres mode.

Originally committed as revision 16666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 05:52:12 +00:00
Måns Rullgård
c2fbf89398 Alpha: add some const, kill some warnings
Originally committed as revision 16665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-18 05:52:08 +00:00
Måns Rullgård
9dbd3ed6c3 Alpha: factor common parts from dct_unquantize_h263_intra/inter_axp
Originally committed as revision 16661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 21:44:58 +00:00
Måns Rullgård
1617220799 Alpha: fix dct_unquantize_h263_inter/intra_axp()
Originally committed as revision 16660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 21:44:56 +00:00
Stefan Gehrer
055dc116fc added demuxer for FunCom ISS audio files,
extended ADPCM decoder by ISS specific IMA variant

Originally committed as revision 16658 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 20:08:43 +00:00
Vitor Sessak
8a569fee99 Use shared sine window instead of defining another one.
Originally committed as revision 16657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 20:06:08 +00:00
Carl Eugen Hoyos
3cd329a3b7 Fix compilation with --enable-libxvid.
Originally committed as revision 16655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 12:51:26 +00:00
Aurelien Jacobs
2bb6eba21d remove ff_get_fourcc() and use AV_RL32() instead
Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 12:21:01 +00:00
Aurelien Jacobs
9ce6c13879 export gcd function as av_gcd()
Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 11:13:33 +00:00
Carl Eugen Hoyos
0d3d172f32 Remove CODEC_ID_H264_VDPAU.
Originally committed as revision 16649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 01:17:04 +00:00
Stefan Gehrer
439c650301 remove duplicate tables
Originally committed as revision 16647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 20:46:38 +00:00
Stefan Gehrer
74a4371d74 use assignment of structure instead of memcpy
Originally committed as revision 16644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 17:58:38 +00:00
Kostya Shishkov
2c96535af7 WavPack hybrid mode support
Originally committed as revision 16643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 17:46:19 +00:00
Stefan Gehrer
bef01ca08f rename XXX_t enums to cavs_XXX to fix POSIX namespace issue
Originally committed as revision 16642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 17:45:54 +00:00
Stefan Gehrer
e685e8eada rename vector_t to cavs_vector
Originally committed as revision 16641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 17:20:17 +00:00
Carl Eugen Hoyos
2b3242253d Add mpeg1_vdpau decoder.
Originally committed as revision 16640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 16:50:32 +00:00
Kenan Gillet
0ba39dd1a9 Split ff_log_missing_feature into ff_log_missing_feature
and ff_log_ask_for_sample.
Patch by Kenan Gillet: gmail_adress(author)

Originally committed as revision 16637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 16:20:42 +00:00
Carl Eugen Hoyos
e7edb2ea93 12l: Fix compilation with --disable-vdpau.
Originally committed as revision 16630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 02:50:20 +00:00
NVIDIA Corporation
d37edddc09 Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which can
be used by video players.

Original patch by NVIDIA corporation.

Originally committed as revision 16628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 02:14:07 +00:00
Aurelien Jacobs
8b192330d5 explicitly disable CONFIG_AUDIO_NONSHORT
Originally committed as revision 16620 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 00:03:51 +00:00
Aurelien Jacobs
469f5f251d WORDS_BIGENDIAN must be checked with #ifdef
Originally committed as revision 16608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 23:20:43 +00:00
Aurelien Jacobs
49cdad8d78 simplify: group all the AUDIO_NONSHORT parameters in the same place
Originally committed as revision 16602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 21:41:05 +00:00
Aurelien Jacobs
e29a95b1b8 libavutil/lzo.h is a local header
Originally committed as revision 16601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 21:34:48 +00:00
Aurelien Jacobs
49fb20cb8a replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
and remove all ENABLE_ definitions.

Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 17:19:17 +00:00
Måns Rullgård
7356aaa786 Fix mpeg audio regression test failure
Originally committed as revision 16599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 09:26:07 +00:00
Diego Biurrun
0f6a659ddf Replace #ifdef CONFIG_ preprocessor check by #if CONFIG_.
CONFIG_ changed semantics and is always defined now.

Originally committed as revision 16598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 07:57:12 +00:00
Diego Biurrun
576286ba81 Remove one more forgotten instance of USE_HIGHPRECISION indirection.
Originally committed as revision 16597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 07:55:43 +00:00
Diego Biurrun
ad1eebe360 Use CONFIG_MPEGAUDIO_HP directly instead of USE_HIGHPRECISION indirection.
Originally committed as revision 16594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 00:48:17 +00:00
Baptiste Coudurier
6d32ec6ce9 cleanup gif, use BISTREAM_WRITER_LE
Originally committed as revision 16591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 00:27:43 +00:00
Aurelien Jacobs
b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 23:44:16 +00:00
Michael Niedermayer
062e7c3ca8 Avoid using sub_id in mpeg1/2video.
Originally committed as revision 16587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 21:13:45 +00:00
Michael Niedermayer
c9b3c0c740 Remove hack to print mp2/mp1 with codec_id of CODEC_ID_MP3.
Originally committed as revision 16583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 19:38:54 +00:00
Michael Niedermayer
a14d138cb8 Let the mpeg audio parser correct the codec_id.
Originally committed as revision 16582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 19:35:34 +00:00
Michael Niedermayer
cb595b7f02 Add dummy mp1_decoder to complement the existing dummy mp2/mp3 decoders.
Originally committed as revision 16581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 19:32:08 +00:00
Michael Niedermayer
7f507b2d9e Add CODEC_ID_MP1.
Originally committed as revision 16580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 19:13:08 +00:00
Kostya Shishkov
7a96cd3123 VC-1 display dimensions should affect coded dimensions only (I think)
Originally committed as revision 16578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 08:05:40 +00:00
Kostya Shishkov
e9ca5f0892 Print VC-1 aspect ratio in debug
Originally committed as revision 16577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 08:03:45 +00:00
Kostya Shishkov
820089cb06 421l: fix loop filter for P-frames in VC-1
Originally committed as revision 16576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 08:02:31 +00:00
Kostya Shishkov
34f3f6d129 Cinepak strip ID is a single byte
Originally committed as revision 16575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 08:00:37 +00:00
Kostya Shishkov
d94b1f12c5 Cinepak strip and chunk sizes are 24-bit, not 16-bit as it was thought earlier.
This fixes issue 744

Originally committed as revision 16574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 06:43:46 +00:00
Aurelien Jacobs
af5f434f8c add the necessary include for LIBAV*_VERSION_*
Originally committed as revision 16571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-13 00:14:43 +00:00
Måns Rullgård
9a0cf9f8f8 ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
Originally committed as revision 16570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-12 20:37:49 +00:00
Måns Rullgård
e9497946bb ARM: simple_idct_armv6.S whitespace cosmetics
Originally committed as revision 16569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-12 20:37:39 +00:00
Måns Rullgård
7f727ace2a ARM: clean up pc-relative references in simple_idct_armv6.S
Originally committed as revision 16568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-12 20:37:33 +00:00
Måns Rullgård
3b16c71984 ARM: use rX register names in simple_idct_armv6.S
Originally committed as revision 16567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-12 20:37:29 +00:00
Stefano Sabatini
d9513de67c Add missing inclusion of libavutil/intreadwrite.h, fix compilation when
libtheora is enabled.

Originally committed as revision 16562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 23:26:52 +00:00
Diego Biurrun
6a5d31ac25 Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:19:48 +00:00
Diego Biurrun
84f8d1f604 Add missing #include to fix 'make checkheaders'.
Originally committed as revision 16545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 20:12:14 +00:00
Michael Niedermayer
c8af74a99b Increase BUFFER_SIZE.
Fixes issue719.

Originally committed as revision 16541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 16:35:04 +00:00
Michael Niedermayer
203fa6b4d1 fix indention
Originally committed as revision 16540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 16:17:36 +00:00
Michael Niedermayer
2083648383 All negative values are errors not just -1.
Originally committed as revision 16539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 16:16:33 +00:00
Kostya Shishkov
42b7678d65 30l: when reading mb_offset in RV30 slice header its size
should be calculated from current frame dimensions

Originally committed as revision 16536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 10:50:00 +00:00
Benjamin Larsson
336c2ca585 Add size that is needed for the wmapro codec
Originally committed as revision 16533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 10:40:05 +00:00
Kostya Shishkov
6751a00a3f RV30 decoder passes possible frame sizes in extradata and selects
an appropriate frame size from them in slice, make my decoder do
that as well.

This fixes issue 779

Originally committed as revision 16529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 08:03:45 +00:00
Carl Eugen Hoyos
1717031362 Remove H264Context from vdpau_internal.h.
Originally committed as revision 16524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 00:48:20 +00:00
Carl Eugen Hoyos
10652dd54f Fix OBJS-$(CONFIG_H264_VDPAU_DECODER).
Originally committed as revision 16522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 23:17:07 +00:00
Carl Eugen Hoyos
c639fc7213 Cosmetics: Rename ff_vdpau_h264_add_data_chunk as ff_vdpau_add_data_chunk.
Originally committed as revision 16521 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 23:00:48 +00:00
Carl Eugen Hoyos
1968e438d0 Use only MpegEncContext in ff_vdpau_h264_add_data_chunk.
Originally committed as revision 16520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 22:57:51 +00:00
Carl Eugen Hoyos
6f0b5d6fae Cosmetics: Break long line.
Originally committed as revision 16519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 22:55:26 +00:00
Carl Eugen Hoyos
63bfcb6997 Fill range_map* in VC1Context.
Originally committed as revision 16515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 09:55:55 +00:00
Stefano Sabatini
78acb9e74b Move the AVCodecContext options definition to a dedicated file, reduce
the utils.c clutter.

Originally committed as revision 16514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 09:53:21 +00:00
Carl Eugen Hoyos
7fd3c09e0f Move vdpau_h264_set_reference_frames() call from vdpauvideo.c into h264.c.
Originally committed as revision 16513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 02:45:07 +00:00
Carl Eugen Hoyos
7eb6ed78ea Move VDPAU check, make future VDPAU patches smaller.
Originally committed as revision 16508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-09 22:22:40 +00:00
Carl Eugen Hoyos
49186206eb Add refdist_flag to VC1Context.
Originally committed as revision 16504 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-09 16:51:21 +00:00
Måns Rullgård
6dde9f8c20 SH4: fix typo in asm constraint
Originally committed as revision 16503 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-09 03:05:11 +00:00
Carl Eugen Hoyos
090846f3b9 Rename ff_VDPAU as ff_vdpau.
Originally committed as revision 16492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 23:48:32 +00:00
Carl Eugen Hoyos
6cc01c245f Rename bitstreamBuffers* as bitstream_buffers*
Originally committed as revision 16491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 23:42:07 +00:00
Ramiro Polla
1bb04d5a44 configure: allow to disable sse code.
Based on patch by Michael Kostylev <mik at it-1 dot ru>

Originally committed as revision 16490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 23:38:54 +00:00
Diego Biurrun
218a6022e7 Only #include svq3.c if the SVQ3 decoder is enabled.
Originally committed as revision 16487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 23:03:04 +00:00
Diego Biurrun
ed09249c71 The SVQ3 decoder uses ff_svq1_packet_checksum from svq1dec.c.
Originally committed as revision 16486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 22:54:59 +00:00
Robert Swain
158b39126d Support ADTS AAC files in the ffaac decoder (limited to streams containing one
raw_data_block() per ADTS frame)

Patch by Alex Converse ( alex converse gmail com) based on a patch by Robert
Swain ( robert swain gmail com )

Originally committed as revision 16485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 22:09:21 +00:00
Michael Niedermayer
1b9bbf8674 Document the need of buf=NULL buf_size=0 at the end to obtain all frames.
Originally committed as revision 16482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 19:55:08 +00:00
Diego Biurrun
0d9efa287a Add missing headers to allow 'make checkheaders' to pass.
Originally committed as revision 16481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 18:42:24 +00:00
Diego Biurrun
25bd48bdb4 Use <> instead of "" for system headers.
Originally committed as revision 16480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 18:24:16 +00:00
Alex Converse
11d6f38cc9 Factorise enum of AC3 error types to be usable by AAC in the ADTS patch that
will follow

Patch by Alex Converse ( alex converse gmail com )

Originally committed as revision 16479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 18:10:10 +00:00
David Conrad
b06688ffed Add AltiVec versions of h264_idct_add(8|16|16intra),
allowing to re-enable ff_h264_idct_add_altivec's usage.

Patch by David Conrad %lessen42 A gmail P com%

Originally committed as revision 16465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 13:54:26 +00:00
Diego Biurrun
8b6871ed4d Disable SVQ3 checks if SVQ3 support is not compiled in.
Originally committed as revision 16462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-07 01:58:04 +00:00
David Conrad
4929c63679 Add Altivec version of vector_fmul_window.
Patch by David Conrad %lessen42 A gmail P com%

Originally committed as revision 16459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 23:03:33 +00:00
David Conrad
8b2bc85f29 add AltiVec implementation of weight_h264_pixels(16|8)x(16|8|4)
Patch by David Conrad %lessen42 A gmail P com%

Originally committed as revision 16458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 22:29:26 +00:00
Aurelien Jacobs
16cda1535e ensure that no GPL code is linked to LGPL only libavcodec
Originally committed as revision 16456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 22:01:57 +00:00
Carl Eugen Hoyos
448ecb68e3 Rename mpeg_set_pixelformat() as mpeg_get_pixelformat().
Originally committed as revision 16455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 18:58:18 +00:00
Carl Eugen Hoyos
93c69a94ea Factorise setting of avctx->pix_fmt.
Originally committed as revision 16453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 15:16:33 +00:00
David Conrad
aa9a9b7af7 Fix float_to_int16_altivec prototype to match float_to_int16's in dsputil.h
(parameter 'len' is a long not an int).
Patch by David Conrad % lessen42 A gmail P com %

Originally committed as revision 16451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 12:51:35 +00:00
David Conrad
628653449c fix compilation with GCC-4.3+
patch by David Conrad + fix by myself

Originally committed as revision 16450 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 10:44:45 +00:00
David Conrad
54b9095833 offset and weights are signed, fixes some non-bitexact issues.
Patch by David Conrad %lessen42 A gmail P com%

Originally committed as revision 16449 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 10:35:06 +00:00
Carl Eugen Hoyos
373745ae62 1l: Forgot to rename header guard.
Originally committed as revision 16448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-06 10:13:25 +00:00
Carl Eugen Hoyos
272081b0f8 Export VDPAU support by installing vdpau.h.
Originally committed as revision 16445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 23:25:58 +00:00
Carl Eugen Hoyos
8423186e65 Rename vdpau_render.h as vdpau.h.
Originally committed as revision 16444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 23:23:32 +00:00
David Conrad
df7fb43569 add AltiVec implementation of biweight_h264_pixels(16|8)x(16|8|4)
Patch by David Conrad %lessen42 A gmail P com%

Originally committed as revision 16443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 23:15:14 +00:00
David Conrad
c663cb0d4f AltiVec version of h264_idct(8)_dc_add
Patch by David Conrad %lessen42 A gmail P com%

Originally committed as revision 16442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 22:13:42 +00:00
Carl Eugen Hoyos
5d9c0615be Ministry of English Composition treatment: s/Alloced/Allocated
Originally committed as revision 16439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 18:44:32 +00:00
Carl Eugen Hoyos
91d553c386 Remove leading underscore from union declaration.
Originally committed as revision 16437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 14:46:04 +00:00
Diego Biurrun
c47d146be8 Add missing 'void' keyword to parameterless function declarations.
Originally committed as revision 16436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 13:57:43 +00:00
Diego Biurrun
5fd9c8b94a spelling/grammar and whitespace cosmetics
Originally committed as revision 16435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 11:49:15 +00:00
Jason Garrett-Glaser
26ef65daf3 50l: Reenable error resilience for H264 (Patch by Dark Shikari).
Originally committed as revision 16434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 08:46:59 +00:00
Carl Eugen Hoyos
f2c214a1ec Cosmetics: Fix indentation.
Originally committed as revision 16433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 00:48:44 +00:00
Carl Eugen Hoyos
e731b5c3d8 100l: Add a deleted '{'.
Originally committed as revision 16432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-05 00:31:39 +00:00
NVIDIA Corporation
369122dd77 Add VDPAU hardware accelerated decoding for H264 which can be used by
video players.

Original patch by NVIDIA corporation.

Originally committed as revision 16431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 23:55:27 +00:00
Michael Niedermayer
a6d18a0e6a Move metadata API from avcodec to avformat.
Originally committed as revision 16425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 18:58:49 +00:00
Michael Niedermayer
47146dfbf6 Generic metadata API.
avi is updated as example.
No version bump, the API still might change slightly ...
No update to ffmpeg.c as requested by aurel.

Originally committed as revision 16424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 18:48:37 +00:00
Mathieu Velten
21ff7689da Use H264 MMX chroma functions to accelerate RV40 decoding.
Patch by Mathieu Velten (matmaul A gmail)

Originally committed as revision 16419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-04 01:36:11 +00:00
Michael Niedermayer
1104a26a42 Bump LIBAVCODEC_VERSION_MINOR due to AVSubtitle changes.
Originally committed as revision 16418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 19:21:48 +00:00
Michael Niedermayer
f656106f76 Add type, text and ass to AVSubtitleRect.
Originally committed as revision 16417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 19:20:50 +00:00
Michael Niedermayer
25b4c651a3 Replace AVSubtitleRect.rgba_palette and bitmap by AVPicture.
Originally committed as revision 16416 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 19:17:18 +00:00
Michael Niedermayer
ebc466bb5f Replace some fixed width variable from AVSubtitle* by normal int.
Originally committed as revision 16415 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 18:41:35 +00:00
Michael Niedermayer
052571e75a Forgot to update (I likely missed it due to its similar name to dvb...)
Originally committed as revision 16414 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 18:26:07 +00:00
Michael Niedermayer
2e94fb5d46 Future doxy for a few fields of AVSubtitleRect.
Originally committed as revision 16413 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 17:58:25 +00:00
Michael Niedermayer
db4fac64db Change AVSubtitle.rects to an array of pointers so ABI does not break
when the size of AVSubtitleRect changes.

Originally committed as revision 16412 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 17:54:48 +00:00
Michael Niedermayer
c66216ed5d Add enum AVSubtitleType
Originally committed as revision 16410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 15:15:03 +00:00
Jason Garrett-Glaser
37fed10087 Add x264 SSE2 iDCT functions to H.264 decoder.
Originally committed as revision 16409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-03 00:46:17 +00:00
Diego Biurrun
c96da3edc3 Avoid POSIX-reserved _t namespace.
Originally committed as revision 16408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-02 16:21:22 +00:00
Diego Biurrun
0f0b707fa3 Avoid POSIX-reserved _t namespace.
Originally committed as revision 16407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-02 16:19:27 +00:00
Måns Rullgård
172a39d13c ARM: work around linker bug with movw/movt relocations in shared libs
Originally committed as revision 16395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-30 03:13:52 +00:00
Måns Rullgård
77e2249e2f ARM: rename coefficient table in NEON IDCT
Originally committed as revision 16392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-30 03:13:40 +00:00
Aurelien Jacobs
275131628d Remove duplicated dot product code. Use dsputil's
scalarproduct instead. Patch by Aurelien Jacobs.

Originally committed as revision 16391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-29 17:14:30 +00:00
Kostya Shishkov
592beefe99 It turned out that RV30 uses motion vectors for forward motion B-frame
macroblocks to predict motion vectors for backward motion B-frame macroblocks
and vice versa.

Originally committed as revision 16381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-29 10:20:03 +00:00
Michael Niedermayer
e4f1ec3a4c Explain the lack of +3/7
Originally committed as revision 16380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-28 23:26:12 +00:00
Carl Eugen Hoyos
6735e2c810 Revert r16375: It broke aac decoding.
Originally committed as revision 16376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-28 20:08:39 +00:00
Carl Eugen Hoyos
69b38d4dc3 Reduce number of warnings when compiling with icc by two.
Originally committed as revision 16375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-28 19:48:43 +00:00
Carl Eugen Hoyos
3a095bee2b Silence one warning when compiling with icc:
warning #188: enumerated type mixed with another type
      if((q->bitrate = determine_bitrate(avctx, buf_size, &buf)) == I_F_Q)
                     ^

Originally committed as revision 16374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-28 19:44:47 +00:00
Carl Eugen Hoyos
2c67c65963 Fix h264 decoding on SSE2 cores with icc compilation.
Originally committed as revision 16373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-28 19:40:13 +00:00
Måns Rullgård
23ae2b68b0 Replace UNALIGNED_STORES_ARE_BAD with !HAVE_FAST_UNALIGNED
Originally committed as revision 16364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 23:12:00 +00:00
Måns Rullgård
edf7c2b26f simple_idct: use MUL16 and MAC16 from mathops.h
Originally committed as revision 16362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 16:25:36 +00:00
Diego Biurrun
79cb09b2f7 consistency cosmetics: Rename POWERPC identifiers to PPC.
Originally committed as revision 16359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 11:33:26 +00:00
Luca Barbato
d89eae6f1a Remove stray code
Originally committed as revision 16358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 11:30:30 +00:00
Luca Barbato
a6b4448cdf Cleanup _t types in libavcodec/ppc
Originally committed as revision 16357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 11:21:28 +00:00
Reimar Döffinger
b870027a19 Bump minor number for many small improvements, tiff fax decoding,
AVCodecContext refs is set during decoding.

Originally committed as revision 16355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 09:22:21 +00:00
Måns Rullgård
f23740d96f ARM: NEON optimised float_to_int16
Originally committed as revision 16352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 19:52:52 +00:00
Michael Niedermayer
92799d3213 Enable faxcompr.
Originally committed as revision 16349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 18:42:26 +00:00
Michael Niedermayer
a56f82eaf8 indent
Originally committed as revision 16348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 18:39:24 +00:00
Michael Niedermayer
537bf4266f Simplify vertical mode
Originally committed as revision 16347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 18:39:07 +00:00
Michael Niedermayer
eb0094b224 And another sechole ...
Originally committed as revision 16346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 18:14:59 +00:00
Michael Niedermayer
268309750b Fix yet another sechole.
Originally committed as revision 16345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 18:06:29 +00:00
Michael Niedermayer
11c5999e20 Fix another sechole.
Originally committed as revision 16344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 17:51:10 +00:00
Michael Niedermayer
2a522579aa Minor simplification.
Originally committed as revision 16343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 17:32:11 +00:00
Michael Niedermayer
f78a679177 Remove unused run_start variable.
Originally committed as revision 16342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 17:11:19 +00:00
Michael Niedermayer
6f5c00eb9f Move sync line pointers code to the end of the loop, it is simpler that way.
Originally committed as revision 16341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 17:04:31 +00:00
Michael Niedermayer
e3a54b6694 Get rid of check for condition that is always true (run_off < avctx->width).
Originally committed as revision 16340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 16:59:10 +00:00
Michael Niedermayer
43ba8f3545 Get rid of pix_left in the 2d code, it is simpler that way.
Originally committed as revision 16339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 16:57:35 +00:00
Reynaldo H. Verdejo Pinochet
a3636fa033 COSMETICS Part 3 and final of Kenan Gillet's QCELP silence handling patch.
Originally committed as revision 16338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 16:50:21 +00:00
Reynaldo H. Verdejo Pinochet
4f54fb54e3 Part 2 of Kenan Gillet's QCELP silence handling patch.
Originally committed as revision 16337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 16:49:06 +00:00
Michael Niedermayer
6fe68c7b97 Factorize "avctx->width + 2" out to avoid someone mistakenly changing
some but not all.

Originally committed as revision 16336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 16:38:55 +00:00
Michael Niedermayer
621e6525a6 cosmetic (moving pix_left update)
Originally committed as revision 16335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 16:30:50 +00:00
Michael Niedermayer
1d7985072c Close gaping sechole. That is, a series of run=0 allows arbitrary data to
be written over the end of the runs array.

Originally committed as revision 16334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 16:29:01 +00:00
Michael Niedermayer
d02ab57a5f minor simplification
Originally committed as revision 16333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 15:21:48 +00:00
Michael Niedermayer
66909bc4f1 Merge ff_ccitt_unpack_1d and 2d.
Originally committed as revision 16332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 15:05:12 +00:00
Michael Niedermayer
d68542f019 Ensure that an invalid run terminates the line.
Originally committed as revision 16331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 14:57:42 +00:00
Michael Niedermayer
ec5bdf4989 10l != vs. == (yes, my fault not kostya's).
Originally committed as revision 16330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 14:39:21 +00:00
Michael Niedermayer
679f3fa901 indent
Originally committed as revision 16329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 13:52:07 +00:00
Michael Niedermayer
68d48cc592 Simplify zero run handling in put_line().
Originally committed as revision 16328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 13:51:52 +00:00
Michael Niedermayer
bc0f7a9c75 Avoid negation in put_line().
Originally committed as revision 16327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 13:50:00 +00:00
Michael Niedermayer
4e60b64324 Factorize mode switching in put_line().
Originally committed as revision 16326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 13:48:09 +00:00
Michael Niedermayer
eb12536a31 Fix (rewrite) find_group3_syncmarker().
Originally committed as revision 16325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 13:46:11 +00:00
Michael Niedermayer
8d48db314e CCITT Fax Group 3 and 4 decompression by kostya.
Will be activated after a little more reviewing and fixing by me.
Commited now, so as to not lose history of that.

Originally committed as revision 16323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 13:39:19 +00:00
Diego Biurrun
b8d62672f6 ASAO Nelly Moser implementation moved to a better place on mphq.
Originally committed as revision 16321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 11:00:30 +00:00
Benoit Fouet
5163c0d9a2 s/FFmpeg-devel/ffmpeg-devel/
Originally committed as revision 16314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 08:03:26 +00:00
Jason Garrett-Glaser
c1fc70362f Fix compilation without optimization under 64-bit with x264 deblock asm enabled.
Originally committed as revision 16313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 00:19:08 +00:00
Måns Rullgård
760badc1df ARM: add new h264 idct functions
Originally committed as revision 16312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 23:13:43 +00:00
Guillaume Poirier
337e3fd990 Disable usage of ff_h264_idct_add_altivec since AltiVec versions of h264_idct_add16,
h264_idct_add16intra, h264_idct_add8 need to be implemented.

Add C version of ff_h264_idct8_dc_add in AltiVec so that ff_h264_idct8_add_altivec
can be used.

Originally committed as revision 16311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 18:27:49 +00:00
Diego Biurrun
0fa5f24c3b Change mplayerhq.hu references to ffmpeg.org where appropriate.
Originally committed as revision 16310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 15:49:50 +00:00
Diego Biurrun
ddaf298cee Fix sample URL.
Originally committed as revision 16309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 15:49:02 +00:00
avcoder
bb0bfcd5ac The VC-1/WMV3 decoders depend on ENABLE_MSMPEG4_DECODER.
patch by avcoder, ffmpeg gmail com

Originally committed as revision 16308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 13:26:18 +00:00
Loren Merritt
1cca8d2423 flatten an array, since gcc fails at optimizing multidimensional arrays
h264_idct8_add_c: 780 -> 735 cycles on conroe

Originally committed as revision 16307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-25 01:20:37 +00:00
Michael Niedermayer
802e91466d export refs
Originally committed as revision 16306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-24 18:39:23 +00:00
Michael Niedermayer
53d55e9ea3 Allow decoders to set AVCodecContext.refs.
Originally committed as revision 16305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-24 17:38:27 +00:00
Michael Niedermayer
62ea19c061 Optimize pred_pskip_motion()
7 cpu cycles faster on pentium dual.

Originally committed as revision 16304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-24 03:23:38 +00:00
Michael Niedermayer
ebfb0449d3 Indent
Originally committed as revision 16302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 22:06:16 +00:00
Michael Niedermayer
05d3fd44d7 Integrate get_te0_golomb() calls into the code, this allows some checks
to be avoided and the function is pretty small.
3% speedup, though this is probably due to changed inlining and not directly
this change.

Originally committed as revision 16301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 22:04:34 +00:00
Michael Niedermayer
9963b332d1 Use get_ue_golomb_31() where possible, almost all are just in headers
though.

Originally committed as revision 16300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 21:12:19 +00:00
Michael Niedermayer
0be514625a Update golomb decoding tables so that get_*_golomb_31() return some
larger values for too large values.

Originally committed as revision 16299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 21:07:36 +00:00
Michael Niedermayer
0e921e97c1 Add get_ue_golomb_31()
Originally committed as revision 16298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 21:05:47 +00:00
Michael Niedermayer
2f2893ce9b indent
Originally committed as revision 16296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 19:12:50 +00:00
Michael Niedermayer
d42fc4a8ca Use the new VLC table for the first non trailing coeff too.
Sadly only 5 cycles faster here on pentium dual. So maybe the
complexity is not worth it and this should be reverted ...

Originally committed as revision 16295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 19:10:46 +00:00
Michael Niedermayer
593af7cdda Optimize esc removal code.
Originally committed as revision 16294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 18:31:44 +00:00
Kostya Shishkov
ffedb5c19a 352l: correct calculating number of bits for storing macroblock offset in RV3/4
Originally committed as revision 16293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 18:27:06 +00:00
Michael Niedermayer
2d76bf391a Indent
Originally committed as revision 16292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 17:50:36 +00:00
Michael Niedermayer
8140955d39 unified CAVLC level decoding LUT.
Quite a bit faster (HPCVMOLQ_BRCM_B.264 was 3% faster here)

Originally committed as revision 16291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 17:49:38 +00:00
Michael Niedermayer
5cb5023c78 Make h264 parser 50% faster.
Originally committed as revision 16286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 02:34:58 +00:00
Michael Niedermayer
abb27cfb24 100l, I broke H.264 again, forgot one hunk.
Thanks to FATE for finding it.

Originally committed as revision 16285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 01:11:56 +00:00
Michael Niedermayer
e08715d391 Optimize 0 0 0-3 search, 45% faster on pentium dual.
Originally committed as revision 16284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-23 00:38:45 +00:00
Andreas Öman
11c23b64ac Revert r16257:
Include "libavutil/common.h" where we use llrint() in case ffmpeg's
own llrint() is to be used.

Originally committed as revision 16282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 22:39:55 +00:00
Michael Niedermayer
ec3686e889 Simplify decode_cabac_mb_ref() a little bit, 2 cpu cycles faster on
pentium dual.

Originally committed as revision 16279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 17:14:13 +00:00
Michael Niedermayer
26695973c7 Indent
Originally committed as revision 16278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 16:56:05 +00:00
Michael Niedermayer
b68a455313 inline decode_cabac_mb_type for I & P frames, 9 cycles faster on pentium dual.
Originally committed as revision 16277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 16:46:17 +00:00
Michael Niedermayer
1952ac3713 Negate 2 more variables, 1 cpu cycle faster on pentium dual.
Originally committed as revision 16276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 16:20:13 +00:00
Michael Niedermayer
03a035e059 Simplify if/else, no speed change
Originally committed as revision 16275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 16:14:06 +00:00
Michael Niedermayer
6f3c50f2f9 Negate a few variables, this simplifies the code and makes it 5 cycles faster
on pentium dual.

Originally committed as revision 16274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 16:10:35 +00:00
Michael Niedermayer
60c6ba7aea Simplify ifs(), 8 cpu cycles faster on pentium dual
Originally committed as revision 16273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 15:54:27 +00:00
Michael Niedermayer
127a20e3b8 Simplify if(), 3 cpu cycles faster in pentium dual.
Originally committed as revision 16272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 15:53:00 +00:00
Diego Biurrun
a6493a8fbd Rename libavcodec/i386/ --> libavcodec/x86/.
It contains optimizations that are not specific to i386 and
libavutil uses this naming scheme already.

Originally committed as revision 16270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 09:12:42 +00:00
Kostya Shishkov
108c96d5e7 Decode TIFF image only after all tags have been decoded
Originally committed as revision 16268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 06:50:18 +00:00
Kostya Shishkov
8eedffde31 Some TIFFs declare -1 for the single strip height
Originally committed as revision 16267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 06:47:51 +00:00
Kostya Shishkov
89b4ec5c33 Add monochrome TIFF support
Originally committed as revision 16266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 06:43:14 +00:00
Kostya Shishkov
4386ed6922 Calculate line size variable correctly for lower bitdepths and use it for raw data copying
Originally committed as revision 16265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 06:39:31 +00:00
Kostya Shishkov
4a2f51de34 Register TIFF tags for CCITT Group 3 and 4 compression options
Originally committed as revision 16264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 06:36:10 +00:00
Diego Biurrun
bef05f05e4 Remove a bunch of unused variables.
Originally committed as revision 16263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 00:10:36 +00:00
Diego Biurrun
ebb160a0b0 Use ARCH_X86_32 instead of !ARCH_X86_64, it is more straightforward.
Originally committed as revision 16262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 00:03:30 +00:00
Anuradha Suraparaju
64bfc5845b Fix incorrectly constructed Dirac parse units that caused A/V sync loss.
Fixes issue 694.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 16261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 00:01:39 +00:00
Diego Biurrun
c4ff7c53e0 Do not use full include path for headers in the same directory.
Originally committed as revision 16260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 23:56:55 +00:00
Michael Niedermayer
c96bd21227 Change mpeg audio parser so it only sets frame_size, channels and bit_rate
after it has a few valid frames.
Fixes issue762

Originally committed as revision 16259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 23:50:16 +00:00
Andreas Öman
1af34f094e Include "libavutil/common.h" where we use llrint() in case ffmpeg's
own llrint() is to be used.

Originally committed as revision 16257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 21:53:42 +00:00
Michael Niedermayer
ed4c638a07 Fix PTS returned by the demuxers for mpeg4 without a decoder.
More precissely fix has_b_frames.
Fixes issue757

Originally committed as revision 16256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 21:47:29 +00:00
Michael Niedermayer
c62da7972b Move CODEC_FLAG_LOW_DELAY into ff_mpeg4_decode_picture_header().
Originally committed as revision 16255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 21:30:36 +00:00
Michael Niedermayer
befc8fe086 Remove useless code.
Originally committed as revision 16253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 17:49:40 +00:00
Michael Niedermayer
c212fb0cb1 Only execute clear_blocks() when needed.
+0.3% speedup for both aladin & cathedral.

Originally committed as revision 16252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 15:58:42 +00:00
Robert Swain
897c1703d0 AAC: Reindent after last commit
Originally committed as revision 16251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 05:32:55 +00:00
Alex Converse
aab5413323 AAC: Fix AAC prediction when used in conjunction with the CPE
Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 16250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 05:28:14 +00:00
Alex Converse
99665a21f4 AAC: Don't write an illegal sampling_index in a PCE to the MPEG4AudioConfig
member

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 16249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 05:08:32 +00:00
Michael Niedermayer
66c07ca96f Optimize get_dct8x8_allowed().
30 cpu cycles faster on pentium dual.

Originally committed as revision 16248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 23:11:30 +00:00
Kostya Shishkov
6beb8b2612 RV30 decoder
Originally committed as revision 16247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 18:06:01 +00:00
Kostya Shishkov
541e8f3bec RV30 loop filter
Originally committed as revision 16245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 06:09:54 +00:00
Reynaldo H. Verdejo Pinochet
3f16ed15df Cosmetics by Kenan Gillet. Part 1 of 3 of his 'qcelp: silence handling'
changeset.

Originally committed as revision 16244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 02:38:34 +00:00
Stefano Sabatini
64e74b68a4 Put under #if LIBAVCODEC_VERSION_MAJOR < 53 the deprecated functions
av_set_string() and av_set_string2(), they will be dropped at the next
major bump.

Originally committed as revision 16243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 22:37:56 +00:00
Stefano Sabatini
f16dd7e65a Remove calls to deprecated av_set_string2() with calls to
av_set_string3().

Originally committed as revision 16241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 22:29:30 +00:00
Jason Garrett-Glaser
aac8b76983 H.264 loopfilter speed tweaks
Originally committed as revision 16240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 14:49:17 +00:00
Jason Garrett-Glaser
a22eff36f9 Port x264 deblocking code to libavcodec.
This includes SSE2 luma deblocking code and both MMXEXT and SSE2 luma
intra deblocking code for H.264 decoding. This assembly is available
under --enable-gpl and speeds decoding of Cathedral by 7%.

Originally committed as revision 16239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 13:45:13 +00:00
Michael Niedermayer
6a1846eb4a Document new idct requirements.
Originally committed as revision 16237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 09:34:18 +00:00
Michael Niedermayer
a5805aa9d1 Fix decoding with the plain C idcts of
FRExt/HPCAMOLQ_BRCM_B
FRExt/HPCAQ2LQ_BRCM_B
FRExt/HPCVMOLQ_BRCM_B

Originally committed as revision 16236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 09:21:54 +00:00
Kostya Shishkov
bbc888d0c5 a table for upcoming RV30 loop filtering
Originally committed as revision 16235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 06:29:35 +00:00
Jason Garrett-Glaser
40c7d0ae3c Add automatic prefix handling to yasm functions. Does nothing now, but will
be useful for porting x264 asm in the future.

Originally committed as revision 16234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 03:01:08 +00:00
Michael Niedermayer
a5b807a6c1 Replace /2 by >>1 in decode_cabac_mb_dqp()
3 cpu cycles speed up on pentium dual.

Originally committed as revision 16233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 02:28:51 +00:00
Michael Niedermayer
1aea5d35e5 Simplify ctx update in decode_cabac_mb_dqp().
no speed change

Originally committed as revision 16232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 02:00:33 +00:00
Michael Niedermayer
7cfca0dfd8 Simplify ctx calculation in decode_cabac_mb_dqp()
no speed change

Originally committed as revision 16231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 01:50:20 +00:00
Alexander Strange
d43696309a Clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of NALs in rbsp_buffer.
Fixes valgrind uninitialized value warnings at the end of decoding H.264
frames.

Originally committed as revision 16230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 01:11:52 +00:00
Jason Garrett-Glaser
712ca84c21 Move filter_luma_intra into dsputil for later addition of asm.
Originally committed as revision 16228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 00:44:51 +00:00
Jason Garrett-Glaser
b9fe706305 Simplify chroma AC in CABAC residual decoding.
Originally committed as revision 16227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 00:43:30 +00:00
Michael Niedermayer
8955b66950 Optimize ctx calculation in decode_cabac_mb_mvd(), code by dark shikari.
The case for 16x16 blocks becomes 10 cpu cycles faster on pentium dual,
i could not find a speed difference in the case of subblocks though.

Originally committed as revision 16226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 00:05:39 +00:00
Michael Niedermayer
17779f39b6 Remove unacceptable NULL pointer hack from mc code.
Originally committed as revision 16225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 23:52:32 +00:00
Michael Niedermayer
04618b98e3 Check ref values in CABAC H.264 for validity.
Originally committed as revision 16224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 23:31:10 +00:00
Michael Niedermayer
c25ac15a07 Move idct_(dc)add closer to where it is needed.
Originally committed as revision 16223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 18:25:11 +00:00
Michael Niedermayer
aebb5d6d96 indent
Originally committed as revision 16222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 18:14:38 +00:00
Michael Niedermayer
96465b90a1 Reorder ifs in chroma hl_decode_mb to avoid a duplicate transform_bypass
check.
14 cpu cycles speedup on Pentium Dual

Originally committed as revision 16221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 18:12:59 +00:00
Michael Niedermayer
6456d6d87c s/h->cbp_table[mb_xy]/h->cbp/
Originally committed as revision 16220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 17:42:44 +00:00
Michael Niedermayer
04824298a9 Faster CAVLC decoding of trailing_ones. Based on a patch by dark shikari.
decode_residual is about 3.3% faster.

Originally committed as revision 16219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 16:11:19 +00:00
Jason Garrett-Glaser
93445d1617 Replace i by trailing_ones, part of a patch by dark shikari.
No speed change meassureable with START/STOP_TIMER, but this is needed
for future optimizations.

Originally committed as revision 16218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 15:51:32 +00:00
Michael Niedermayer
c375d87f6f Remove if() surrounding decode_cabac_mb_type() that can never be true.
Originally committed as revision 16217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 15:32:07 +00:00
Michael Niedermayer
c325b5054f Remove unreachable else clause, found by dark shikari.
Originally committed as revision 16216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 15:21:15 +00:00
Michael Niedermayer
dae006d7d7 Remove useless IS_8x8DCT check i forgot, spotted by dark shikari.
Originally committed as revision 16215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 11:17:12 +00:00
Michael Niedermayer
2a5a9c2815 10l, svq3 didnt set h->cbp, this broke decoding a little.
Originally committed as revision 16214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 11:01:38 +00:00
Kostya Shishkov
efeb298ea0 cosmetics: remove one unneeded space
Originally committed as revision 16211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 06:00:12 +00:00
Michael Niedermayer
1eb960352b Do not calculate idct_dc_add/idct_add when the variables are unused.
Originally committed as revision 16210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 04:13:02 +00:00
Michael Niedermayer
62bc966f8f Remove redundant nnz variable.
Originally committed as revision 16209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 03:04:53 +00:00
Michael Niedermayer
0a8ca22f4e indent
Originally committed as revision 16208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 02:56:44 +00:00
Michael Niedermayer
2fd1f0e026 Use the new idct functions (except chroma as it was slower in benchmarks)
cathedral +0.5% speed
aladin +0.6% speed [note aladin has been cat-ed 10 times to reduce the influence
of init time]
Speedup also verified via START/STOP_TIMER (difference was very significant
for the changed parts)

Originally committed as revision 16207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 02:53:18 +00:00
Michael Niedermayer
ac22385931 H.264 idct functions that include the chroma, inter luma and intra16 luma loops
thus avoiding the calling overhead.
New functions are not yet used.

Originally committed as revision 16206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 02:36:48 +00:00
Michael Niedermayer
49c084a745 Skip non intra luma code when there is no coded luma.
0.7% speedup for the cathedral sample.

Originally committed as revision 16203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 01:10:51 +00:00
Loren Merritt
00794ed0d9 1.6x faster pred*_vertical_add_c
Originally committed as revision 16202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 01:05:06 +00:00
Michael Niedermayer
621561cdf3 Skip chroma handling when there is no coded chroma.
0.5% overall speedup for the cathedral sample.

Originally committed as revision 16201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 00:46:54 +00:00
Kostya Shishkov
17b17c53f4 add const qualifier to some pointers for input data
Originally committed as revision 16195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 20:17:07 +00:00
Kostya Shishkov
bb39171beb use precalculated mb_pos where available
Originally committed as revision 16194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 20:10:15 +00:00
Kostya Shishkov
6c3fca6479 Merge deblocking pattern with CBP for RV30/40 loop filtering
Originally committed as revision 16192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 20:00:48 +00:00
Kostya Shishkov
26bc319c1d Generate correct deblock pattern for RV30
Originally committed as revision 16191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 19:39:56 +00:00
Kostya Shishkov
f610fc81c1 Unfortunately RV30 luma thirdpel MC functions cannot be substituted with
applying two separate filtering passes, so implement them explicitly.

Originally committed as revision 16190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 19:37:45 +00:00
Kostya Shishkov
6a4583e925 4l: TIFF stores short strings inside tag, do not interpret it is as an offset
Fixes issue 753

Originally committed as revision 16189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 17:39:35 +00:00
Guillaume Poirier
5f51afd602 add AltiVec implementation of int32_to_float_fmul_scalar
Originally committed as revision 16186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 09:47:06 +00:00
Michael Niedermayer
54dab66174 Fix svq3 decoding, is_complex was not initialized.
Originally committed as revision 16184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 03:41:48 +00:00
Michael Niedermayer
4080e67c8e Replace != 0 || check by |
3 cpu cycles faster

Originally committed as revision 16183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 02:53:03 +00:00
Michael Niedermayer
ad9ca7e720 Split filter_mb_dir() out of filter_mb().
1% overall decoding speed up for cathedral-beta2-400extra-crop-avc.mp4
no speed change for Aladin.mpg
Benchmarks done on Pentium dual

Originally committed as revision 16182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 02:35:14 +00:00
Måns Rullgård
6c414bb6d4 AC3: fix strict aliasing violation in parser
Originally committed as revision 16181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 02:30:26 +00:00
Måns Rullgård
cb56b44086 AAC: fix strict aliasing violation in parser
Originally committed as revision 16180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 02:30:22 +00:00
Måns Rullgård
a2fc0f6a6d ARM: replace "armv4l" with "arm"
Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 00:54:54 +00:00
Diego Biurrun
2600f8c86d Remove obsolete and misleading comments.
Originally committed as revision 16178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 00:39:45 +00:00
Michael Niedermayer
ac0623b23c Fix indention, also do a little vertical alignment of changed lines.
Originally committed as revision 16176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 22:16:11 +00:00
Stefano Sabatini
7b1454c439 Implement av_set_string3().
Originally committed as revision 16175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 21:35:35 +00:00
Michael Niedermayer
6120a343aa Factorize 3 multiplications out, code becomes 3 cpu cycles faster.
(not significant as thats just per MB)

Originally committed as revision 16174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 21:08:16 +00:00
Michael Niedermayer
1dd488e955 Move ENABLE_SMALL back to the per MB check, as otherwise gcc wont remove
the code.

Originally committed as revision 16173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 20:43:39 +00:00
Michael Niedermayer
89db0bae26 Do not recalculate constant part of is_complex for every MB.
Originally committed as revision 16172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 20:26:22 +00:00
Michael Niedermayer
41e4055b63 Support the new lossless mode.
Originally committed as revision 16171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 20:09:09 +00:00
Måns Rullgård
479044cea5 dct-test: add ARM IDCTs
Originally committed as revision 16170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 20:00:07 +00:00
Måns Rullgård
875f31259b dct-test: add PARTTRANS permutation
Originally committed as revision 16169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 19:59:50 +00:00
Michael Niedermayer
d358caed7e Horizontal and vertical prediction functions needed for new lossless mode
of H.264.

Originally committed as revision 16168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 19:39:01 +00:00
Benoit Fouet
f683ea1cab Add const qualifiers to decode functions.
Originally committed as revision 16165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 08:02:05 +00:00
Benoit Fouet
7d2cc552ed Fix warning "format not a string literal and no format arguments".
Originally committed as revision 16164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 07:56:33 +00:00
David Conrad
2169b79c2a Workaround for shared libs on OS X with Apple gcc 4.0.1
Originally committed as revision 16158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 00:47:59 +00:00
Laurent Aimar
ac52613c16 Check extradata is large enough.
Patch by Laurent Aimar fenrir \:/ via ecp fr

Originally committed as revision 16157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 23:01:54 +00:00
Stefano Sabatini
301cc4f370 Implement the av_set_number2() internal function, which makes possible
to distinguish between a not found option failure and a not valid
value failure.

Originally committed as revision 16156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:48:10 +00:00
Stefano Sabatini
a59d44fdf4 Remove ending period in a log message, which was inconsistent with
most other messages.

Originally committed as revision 16155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:40:28 +00:00
Diego Biurrun
b24298badc Switch xvmc over to a CONFIG_ option.
Originally committed as revision 16153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:22:51 +00:00
Diego Biurrun
6915cf3854 whitespace cosmetics
Originally committed as revision 16152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:14:58 +00:00
Måns Rullgård
1bf98d19d5 ARM: NEON optimised h264_idct_dc_add
Originally committed as revision 16151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:54 +00:00
Måns Rullgård
c598cf25f4 ARM: NEON optimised h264_idct_add
Originally committed as revision 16150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:51 +00:00
Måns Rullgård
5813e05d08 ARM: NEON optimised H.264 8x8 and 16x16 qpel MC
Originally committed as revision 16149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:47 +00:00
Måns Rullgård
ad74a0f8b3 ARM: NEON optimised H.264 loop filter
Originally committed as revision 16148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:44 +00:00
Måns Rullgård
1cce897aad ARM: NEON optimised {put,avg}_h264_chroma_mc[48]
Originally committed as revision 16147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:41 +00:00
Måns Rullgård
7eec43289a ARM: NEON optimised simple_idct
Originally committed as revision 16146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:37 +00:00
Måns Rullgård
569f5a756a ARM: NEON optimised put_pixels functions
Originally committed as revision 16145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:32 +00:00
Diego Biurrun
c4687bf607 Avoid invasion of POSIX-reserved _t namespace.
Originally committed as revision 16144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 21:02:17 +00:00
Daniel Verkamp
40a19c4434 Fix one peculiar case in Smacker decoding.
Patch by Daniel Verkamp ($firstname <at> drv <dot> nu)
Thread [PATCH] Smacker video decoder bug fix

Originally committed as revision 16143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 17:51:10 +00:00
Diego Biurrun
9506090df9 Avoid POSIX-reserved _t in identifier names.
Originally committed as revision 16142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 10:08:31 +00:00
Michael Niedermayer
40f0624121 Enable filter_mb_fast if CODEC_FLAG2_FAST is set.
Originally committed as revision 16141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 01:24:04 +00:00
Aurelien Jacobs
bf73801bec vp56: don't reset dimensions to 0 in codec init
Originally committed as revision 16140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 00:00:16 +00:00
Stefano Sabatini
d0a01fe84b Move documentation of avcodec_register_all() from allcodecs.c to
avcodec.h.

Originally committed as revision 16135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 21:38:03 +00:00
Stefano Sabatini
54c441c860 Remove set_all_opt() and its use in av_set_string2(). Make
av_set_string() and av_set_string2() do not accept as parameter the
name of a named constant.

This avoids av_set_string2() and av_set_string() to misbehave when
there is an option and a named constant with the same name.

See the thread: "[PATCH] Remove libavcodec/opt.c:set_all_opt()".

Originally committed as revision 16134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 21:34:12 +00:00
Stefano Sabatini
d1ca187fb6 Document register_avcodec().
Originally committed as revision 16132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 20:04:41 +00:00
Stefano Sabatini
7a961a46ba Make register_avcodec() call avcodec_init().
This avoids the possibility to use a registered codec without first
initializing libavcodec, which resulted in unexpected behavior.

Originally committed as revision 16131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 20:04:00 +00:00
Stefano Sabatini
335a761a90 Use a more explicit "codec" rather than "format" as the parameter of
register_avcodec().

Originally committed as revision 16130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 19:36:38 +00:00
Aurelien Jacobs
1238fa9fb8 indeo3: replace sizeof(struct ...) by sizeof(*var)
Originally committed as revision 16128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 16:41:51 +00:00
Diego Biurrun
39caffeb9a cosmetics: typo/grammar/wording/whitespace fixes
Originally committed as revision 16126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 15:48:01 +00:00
Anders Grönberg
31c3a4dc7e Prevent shift overflow, patch by Anders Grönberg, galileo.m2 gmail com.
Originally committed as revision 16121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 12:30:34 +00:00
Anders Grönberg
cac55c9196 Add a few const qualifiers in appropriate places.
patch by Anders Grönberg, galileo.m2 gmail com

Originally committed as revision 16120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 12:24:50 +00:00
Mike Melanson
70bbd0cee3 undoing revision 16118 for truemotion1.c; commit was premature
Originally committed as revision 16119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 03:41:11 +00:00
Mike Melanson
02fb2546e8 The POSIX namespace shall be held sacrosanct. To that end,
continue eliminating _t from structure names in FFmpeg.

Originally committed as revision 16118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 03:29:33 +00:00
Aurelien Jacobs
5e6604490a avoid POSIX reserved _t suffix
Originally committed as revision 16117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 00:48:16 +00:00
Aurelien Jacobs
d08ea32c23 Get rid of mmx_t.
Originally committed as revision 16116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 00:46:27 +00:00
Diego Biurrun
616deed28f Do not invade _t POSIX namespace.
Originally committed as revision 16109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 18:16:06 +00:00
Diego Biurrun
bda4e3940a Replace 'typedef struct ustr_t' by 'struct ustr', _t is POSIX namespace.
Originally committed as revision 16099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 13:34:59 +00:00
Diego Biurrun
db95d3bf50 Add img_convert() to imgconvert.h and #include it from imgresample.c.
This fixes an implicit declaration of img_convert() warning.
taken from a patchset from Anders Grönberg, galileo.m2 gmail com

Originally committed as revision 16097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 12:56:29 +00:00
Luca Barbato
537db58b6c Let imgresample altivec code build
Originally committed as revision 16093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 10:53:30 +00:00
Luca Barbato
7a8f36cccc Cleanup types
Originally committed as revision 16092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 10:52:34 +00:00
Luca Barbato
006c8e9e9c Unbreak imgresample altivec
Originally committed as revision 16091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 10:49:38 +00:00
Stefano Sabatini
8f993c6725 s/#AVClass/AVClass/, consistent with the rest of the doxy.
Originally committed as revision 16085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 23:02:21 +00:00
Michael Niedermayer
fe5c7e588d More POSIX _t namespace cleanup.
Originally committed as revision 16082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 16:21:23 +00:00
Guillaume Poirier
64adf4f28d add Altivec implementation of clear_block
Originally committed as revision 16078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 09:59:00 +00:00
Oded Shimon
05dee1b7df Rename all vorbis encoder related typedefs to not use _t for POSIX compatibility
Originally committed as revision 16076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 05:12:51 +00:00