platform/upstream/libav.git
14 years agoapedec: add flush function
Måns Rullgård [Wed, 30 Jun 2010 09:33:59 +0000 (09:33 +0000)]
apedec: add flush function

Originally committed as revision 23900 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd a changelog entry for the RTSP tunneling, that was added a few weeks ago
Martin Storsjö [Wed, 30 Jun 2010 07:55:13 +0000 (07:55 +0000)]
Add a changelog entry for the RTSP tunneling, that was added a few weeks ago

Originally committed as revision 23899 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agomxfdec: Improve parsing of the PixelLayout item
Tomas Härdin [Wed, 30 Jun 2010 07:55:05 +0000 (07:55 +0000)]
mxfdec: Improve parsing of the PixelLayout item

Originally committed as revision 23898 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix "initialization from incompatible pointer type" warning in rv34.
Eli Friedman [Wed, 30 Jun 2010 06:50:44 +0000 (06:50 +0000)]
Fix "initialization from incompatible pointer type" warning in rv34.
Patch by Eli Friedman (at gmail).

Originally committed as revision 23897 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoChange AES code to be strict-aliasing-safe.
Reimar Döffinger [Wed, 30 Jun 2010 04:50:35 +0000 (04:50 +0000)]
Change AES code to be strict-aliasing-safe.
Makes it give correct results with e.g. gcc 4.4.
For unknown reasons the generate asm code also changes
on e.g. gcc 4.3, making the code a bit larger but also
a bit faster.

Originally committed as revision 23896 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSilense one warning:
Eli Friedman [Wed, 30 Jun 2010 01:57:05 +0000 (01:57 +0000)]
Silense one warning:
"passing argument 1 of ‘av_memcpy_backptr’ from incompatible pointer type"

Patch by Eli Friedman, eli D friedman A gmail

Originally committed as revision 23895 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix strict-aliasing violations in MPV_motion_internal.
Eli Friedman [Wed, 30 Jun 2010 01:47:42 +0000 (01:47 +0000)]
Fix strict-aliasing violations in MPV_motion_internal.

Patch by Eli Friedman, eli D friedman A gmail

Originally committed as revision 23894 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agorv40: make rv40_adaptive_loop_filter() always_inline
Måns Rullgård [Tue, 29 Jun 2010 22:41:22 +0000 (22:41 +0000)]
rv40: make rv40_adaptive_loop_filter() always_inline

This function is called from the rv40_[hv]_loop_filter() wrappers
with some arguments constant, so it really needs to be inlined.

3% faster overall on Cortex-A8.

Originally committed as revision 23893 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoffplay: remove VLA
Måns Rullgård [Tue, 29 Jun 2010 22:41:20 +0000 (22:41 +0000)]
ffplay: remove VLA

Originally committed as revision 23892 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse add instead of lshift in mmxext vp8 idct
Jason Garrett-Glaser [Tue, 29 Jun 2010 17:23:17 +0000 (17:23 +0000)]
Use add instead of lshift in mmxext vp8 idct

Originally committed as revision 23891 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRemove unused macros (duplicates from the now-LGPL x86util.asm).
Ronald S. Bultje [Tue, 29 Jun 2010 17:04:29 +0000 (17:04 +0000)]
Remove unused macros (duplicates from the now-LGPL x86util.asm).

Originally committed as revision 23890 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd CRC check to the ALS decoder.
Thilo Borgmann [Tue, 29 Jun 2010 16:56:28 +0000 (16:56 +0000)]
Add CRC check to the ALS decoder.

Originally committed as revision 23889 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoARM: add mov32 macro
Måns Rullgård [Tue, 29 Jun 2010 14:48:45 +0000 (14:48 +0000)]
ARM: add mov32 macro

Originally committed as revision 23888 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoARM: (mostly) whitespace cosmetics
Måns Rullgård [Tue, 29 Jun 2010 14:48:41 +0000 (14:48 +0000)]
ARM: (mostly) whitespace cosmetics

Originally committed as revision 23887 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoMMX idct_add for VP8.
Ronald S. Bultje [Tue, 29 Jun 2010 14:43:11 +0000 (14:43 +0000)]
MMX idct_add for VP8.

Originally committed as revision 23886 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd missing mm_support call toff_h264_pred_init_x86.
Jason Garrett-Glaser [Tue, 29 Jun 2010 12:28:06 +0000 (12:28 +0000)]
Add missing mm_support call toff_h264_pred_init_x86.
I'm not sure if this is supposed to be here, but it can't hurt.

Originally committed as revision 23885 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAltivec VP8 MC functions
David Conrad [Tue, 29 Jun 2010 06:42:17 +0000 (06:42 +0000)]
Altivec VP8 MC functions

Originally committed as revision 23884 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAltivec: Add helper function to load from a constant misalignment
David Conrad [Tue, 29 Jun 2010 06:42:12 +0000 (06:42 +0000)]
Altivec: Add helper function to load from a constant misalignment

Originally committed as revision 23883 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agovorbis: cosmetics, remove trailing comma for values that will never have
David Conrad [Tue, 29 Jun 2010 06:42:08 +0000 (06:42 +0000)]
vorbis: cosmetics, remove trailing comma for values that will never have
anything added

Originally committed as revision 23882 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFaster C VP8 normal inner loop filter
Jason Garrett-Glaser [Tue, 29 Jun 2010 04:34:04 +0000 (04:34 +0000)]
Faster C VP8 normal inner loop filter

Originally committed as revision 23881 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse crop table in C implementations of VP8 DSP functions.
Jason Garrett-Glaser [Tue, 29 Jun 2010 03:34:24 +0000 (03:34 +0000)]
Use crop table in C implementations of VP8 DSP functions.
Much faster VP8 C DSP functions; ~5-10% faster overall with asm off.

Originally committed as revision 23880 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUpdate x264 presets. Patch by Lou Logan <lou@fakeoutdoorsman.com>
Lou Logan [Tue, 29 Jun 2010 03:17:11 +0000 (03:17 +0000)]
Update x264 presets.  Patch by Lou Logan <lou@fakeoutdoorsman.com>

Originally committed as revision 23879 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd mmxext version of VP8 DC Hadamard transform
Jason Garrett-Glaser [Tue, 29 Jun 2010 01:41:59 +0000 (01:41 +0000)]
Add mmxext version of VP8 DC Hadamard transform

Originally committed as revision 23878 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoMake x86util.asm LGPL so we can use it in LGPL asm
Jason Garrett-Glaser [Tue, 29 Jun 2010 00:40:12 +0000 (00:40 +0000)]
Make x86util.asm LGPL so we can use it in LGPL asm
Strip out most x264-specific stuff (not used anywhere in ffmpeg).

Originally committed as revision 23877 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoMMXEXT version of vp8 4x4 vertical pred
Jason Garrett-Glaser [Tue, 29 Jun 2010 00:23:52 +0000 (00:23 +0000)]
MMXEXT version of vp8 4x4 vertical pred

Originally committed as revision 23876 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd mmx/mmxext/ssse3 4x4 TM intra pred functions for vp8
Jason Garrett-Glaser [Mon, 28 Jun 2010 23:53:07 +0000 (23:53 +0000)]
Add mmx/mmxext/ssse3 4x4 TM intra pred functions for vp8

Originally committed as revision 23875 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd missing comment header for predict_4x4_dc_mmxext
Jason Garrett-Glaser [Mon, 28 Jun 2010 23:37:24 +0000 (23:37 +0000)]
Add missing comment header for predict_4x4_dc_mmxext

Originally committed as revision 23874 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix some intra pred MMX functions that used MMXEXT instructions
Jason Garrett-Glaser [Mon, 28 Jun 2010 23:35:17 +0000 (23:35 +0000)]
Fix some intra pred MMX functions that used MMXEXT instructions
Also add predict_4x4_dc MMXEXT function for vp8/h264.

Originally committed as revision 23873 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix VP8 bilinear mc on x86_64
Jason Garrett-Glaser [Mon, 28 Jun 2010 22:13:14 +0000 (22:13 +0000)]
Fix VP8 bilinear mc on x86_64

Originally committed as revision 23872 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoaacenc: Start the lookahead pointer 1/4 of the way into the first short window.
Alex Converse [Mon, 28 Jun 2010 21:50:57 +0000 (21:50 +0000)]
aacenc: Start the lookahead pointer 1/4 of the way into the first short window.

Short windows are of length 256 and begin at sample 448.

Originally committed as revision 23871 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoaacenc: Fix window decision logic.
Alex Converse [Mon, 28 Jun 2010 21:49:26 +0000 (21:49 +0000)]
aacenc: Fix window decision logic.

This keeps the encoder from switching away from an wight short sequence
prematurely when attacks are detected two frames in a row. It also allows for
the legal and useful LONG_STOP_SEQUENCE to LONG_START_SEQUENCE transition.

Originally committed as revision 23870 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoaacenc: Fill in the estimated codebook for the final computed scalefactor in the...
Alex Converse [Mon, 28 Jun 2010 21:42:57 +0000 (21:42 +0000)]
aacenc: Fill in the estimated codebook for the final computed scalefactor in the TLS.

Originally committed as revision 23869 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years ago10l: Revert r23867. It didn't make any sense.
Alex Converse [Mon, 28 Jun 2010 21:40:38 +0000 (21:40 +0000)]
10l: Revert r23867. It didn't make any sense.

Originally committed as revision 23868 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoMake ff_psy_preprocess_end() act like av_freep().
Alex Converse [Mon, 28 Jun 2010 21:36:19 +0000 (21:36 +0000)]
Make ff_psy_preprocess_end() act like av_freep().

Originally committed as revision 23867 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoaacenc: Properly pad extradata.
Alex Converse [Mon, 28 Jun 2010 21:34:57 +0000 (21:34 +0000)]
aacenc: Properly pad extradata.

This fixes a valgrind error when encoding to ADTS.

Originally committed as revision 23866 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoChange MMXEXT to MMX2, MMXEXT is deprecated
Baptiste Coudurier [Mon, 28 Jun 2010 21:12:00 +0000 (21:12 +0000)]
Change MMXEXT to MMX2, MMXEXT is deprecated

Originally committed as revision 23865 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoIn mov demuxer, increase total size after debugging message
Baptiste Coudurier [Mon, 28 Jun 2010 21:02:16 +0000 (21:02 +0000)]
In mov demuxer, increase total size after debugging message

Originally committed as revision 23864 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoReindent
Josh Allmann [Mon, 28 Jun 2010 20:37:16 +0000 (20:37 +0000)]
Reindent

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 23862 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agortpdec: Clean up FMTP parsing code in AMR RTP depacketizer
Josh Allmann [Mon, 28 Jun 2010 20:35:21 +0000 (20:35 +0000)]
rtpdec: Clean up FMTP parsing code in AMR RTP depacketizer

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 23861 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agortpdec: Cleanup FMTP parsing code in Xiph RTP depacketizer
Josh Allmann [Mon, 28 Jun 2010 20:32:03 +0000 (20:32 +0000)]
rtpdec: Cleanup FMTP parsing code in Xiph RTP depacketizer

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 23860 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agortpdec: Malloc the fmtp value buffer
Josh Allmann [Mon, 28 Jun 2010 20:27:25 +0000 (20:27 +0000)]
rtpdec: Malloc the fmtp value buffer

This allows very large value strings, needed for xiph extradata.

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 23859 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd x86 asm functions for VP8 put_pixels
Jason Garrett-Glaser [Mon, 28 Jun 2010 19:14:40 +0000 (19:14 +0000)]
Add x86 asm functions for VP8 put_pixels

Originally committed as revision 23858 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd MMX, SSE2, SSSE3 asm for VP8 bilinear MC
Jason Garrett-Glaser [Mon, 28 Jun 2010 18:56:24 +0000 (18:56 +0000)]
Add MMX, SSE2, SSSE3 asm for VP8 bilinear MC

Originally committed as revision 23857 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoPass subshift an argument of the proper type.
Reimar Döffinger [Mon, 28 Jun 2010 17:19:55 +0000 (17:19 +0000)]
Pass subshift an argument of the proper type.
No changes in generated code.

Originally committed as revision 23856 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse a consistent type for multbl array function parameters.
Reimar Döffinger [Mon, 28 Jun 2010 17:11:48 +0000 (17:11 +0000)]
Use a consistent type for multbl array function parameters.

Originally committed as revision 23855 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSimplify MV parsing, removes laying out 2 or 4 (16x8/8x8/8x16) MVs over all
Ronald S. Bultje [Mon, 28 Jun 2010 16:04:14 +0000 (16:04 +0000)]
Simplify MV parsing, removes laying out 2 or 4 (16x8/8x8/8x16) MVs over all
16 subblocks (since we no longer need that), which should also lead to a
minor speedup.

Originally committed as revision 23854 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoOptimize split MC, so we don't always do 4x4 blocks of 4x4pixels each, but
Ronald S. Bultje [Mon, 28 Jun 2010 13:50:55 +0000 (13:50 +0000)]
Optimize split MC, so we don't always do 4x4 blocks of 4x4pixels each, but
we apply them as 16x8/8x16/8x8 subblocks where possible. Since this allows
us to use width=8/16 instead of width=4 MC functions, we can now take more
advantage of SSE2/SSSE3 optimizations, leading to a total speedup for splitMV
filter of about 10%.

Originally committed as revision 23853 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoReindent
Josh Allmann [Mon, 28 Jun 2010 11:35:18 +0000 (11:35 +0000)]
Reindent

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 23852 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agortpdec: Clean up FMTP parsing code in MPEG-4/AAC RTP depacketizer
Josh Allmann [Mon, 28 Jun 2010 11:30:44 +0000 (11:30 +0000)]
rtpdec: Clean up FMTP parsing code in MPEG-4/AAC RTP depacketizer

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 23851 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agortpdec: Clean up FMTP parsing code in H.264 RTP depacketizer
Josh Allmann [Mon, 28 Jun 2010 11:28:02 +0000 (11:28 +0000)]
rtpdec: Clean up FMTP parsing code in H.264 RTP depacketizer

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 23850 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoReindent
Josh Allmann [Mon, 28 Jun 2010 11:26:29 +0000 (11:26 +0000)]
Reindent

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 23849 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agortpdec: Return ENOMEM if H.264 RTP fails to allocate memory for SDP extradata
Josh Allmann [Mon, 28 Jun 2010 11:25:39 +0000 (11:25 +0000)]
rtpdec: Return ENOMEM if H.264 RTP fails to allocate memory for SDP extradata

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 23848 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agortpdec: Add generic function for iterating over FMTP configuration lines
Josh Allmann [Mon, 28 Jun 2010 11:24:12 +0000 (11:24 +0000)]
rtpdec: Add generic function for iterating over FMTP configuration lines

This will be used for cleaning up code that is common among RTP depacketizers.

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 23847 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agortpdec: Move space_chars from avformat/internal to rtpdec
Josh Allmann [Mon, 28 Jun 2010 11:21:34 +0000 (11:21 +0000)]
rtpdec: Move space_chars from avformat/internal to rtpdec

Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 23846 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoSet rv34 (0,0) subpel mc functions to the optimised h264 ones
Måns Rullgård [Mon, 28 Jun 2010 10:56:16 +0000 (10:56 +0000)]
Set rv34 (0,0) subpel mc functions to the optimised h264 ones

Originally committed as revision 23845 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix x86 build with h264dsp disabled
Måns Rullgård [Mon, 28 Jun 2010 10:02:15 +0000 (10:02 +0000)]
Fix x86 build with h264dsp disabled

Originally committed as revision 23844 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoconfigure: make --disable-everything soft-disable things
Måns Rullgård [Mon, 28 Jun 2010 10:02:12 +0000 (10:02 +0000)]
configure: make --disable-everything soft-disable things

This allows explicitly enabled things to _select others with the
intended result.

Originally committed as revision 23843 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix an "assignment from incompatible pointer type" warning in av_read_frame_internal
Eli Friedman [Mon, 28 Jun 2010 08:04:52 +0000 (08:04 +0000)]
Fix an "assignment from incompatible pointer type" warning in av_read_frame_internal

Patch by Eli Friedman, eli dot friedman at gmail

Originally committed as revision 23842 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd patcheck checks for assignments that look like compound assignments
Eli Friedman [Mon, 28 Jun 2010 08:02:24 +0000 (08:02 +0000)]
Add patcheck checks for assignments that look like compound assignments

Patch by Eli Friedman, eli dot friedman at gmail

Originally committed as revision 23841 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUse lookup table to avoid division in mp2 decoder
Vitor Sessak [Mon, 28 Jun 2010 04:55:36 +0000 (04:55 +0000)]
Use lookup table to avoid division in mp2 decoder

Originally committed as revision 23840 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix linking if MMX is disabled.
Stefano Sabatini [Sun, 27 Jun 2010 23:25:04 +0000 (23:25 +0000)]
Fix linking if MMX is disabled.

Originally committed as revision 23839 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoBump micro and add APIchanges entry after av_parse_color() extension.
Stefano Sabatini [Sun, 27 Jun 2010 22:48:12 +0000 (22:48 +0000)]
Bump micro and add APIchanges entry after av_parse_color() extension.

Originally committed as revision 23838 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoCosmetics: merge "} else" and "if (...) {" lines, less confusing.
Stefano Sabatini [Sun, 27 Jun 2010 22:35:42 +0000 (22:35 +0000)]
Cosmetics: merge "} else" and "if (...) {" lines, less confusing.

Originally committed as revision 23837 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoReindent after the last commit.
Stefano Sabatini [Sun, 27 Jun 2010 22:35:39 +0000 (22:35 +0000)]
Reindent after the last commit.

Originally committed as revision 23836 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoExtend color syntax, make it accept an alpha component specifier.
Stefano Sabatini [Sun, 27 Jun 2010 22:35:35 +0000 (22:35 +0000)]
Extend color syntax, make it accept an alpha component specifier.

Originally committed as revision 23835 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRename ColorEntry.rgba_color to rgb_color and do not reserve a fourth
Stefano Sabatini [Sun, 27 Jun 2010 22:35:32 +0000 (22:35 +0000)]
Rename ColorEntry.rgba_color to rgb_color and do not reserve a fourth
byte for the alpha component, as it is never used, clarify the code
and prevent bad usage of it.

Originally committed as revision 23834 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agovaapi: add missing #include "h263.h"
Måns Rullgård [Sun, 27 Jun 2010 20:18:28 +0000 (20:18 +0000)]
vaapi: add missing #include "h263.h"

Originally committed as revision 23833 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agora288: convert VLAs to fixed size
Måns Rullgård [Sun, 27 Jun 2010 19:30:31 +0000 (19:30 +0000)]
ra288: convert VLAs to fixed size

Originally committed as revision 23832 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoChange type of zz_table to uint8_t to match the scantables it points to.
Reimar Döffinger [Sun, 27 Jun 2010 19:27:08 +0000 (19:27 +0000)]
Change type of zz_table to uint8_t to match the scantables it points to.

Originally committed as revision 23831 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd a const declaration, fixing a warning
Eli Friedman [Sun, 27 Jun 2010 19:03:59 +0000 (19:03 +0000)]
Add a const declaration, fixing a warning

Patch by Eli Friedman, eli dot friedman at gmail

Originally committed as revision 23830 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix clang warning, make initialization more readable
Eli Friedman [Sun, 27 Jun 2010 19:02:15 +0000 (19:02 +0000)]
Fix clang warning, make initialization more readable

Patch by Eli Friedman, eli dot friedman at gmail

Originally committed as revision 23829 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRemove an unused label, fixing a warning
Eli Friedman [Sun, 27 Jun 2010 17:51:17 +0000 (17:51 +0000)]
Remove an unused label, fixing a warning

Patch by Eli Friedman, eli dot friedman at gmail

Originally committed as revision 23828 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd proper const declaration to a cast, fixes a warning
Eli Friedman [Sun, 27 Jun 2010 17:33:52 +0000 (17:33 +0000)]
Add proper const declaration to a cast, fixes a warning

Patch by Eli Friedman, eli dot friedman at gmail

Originally committed as revision 23827 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd const to some pointer parameters.
Eli Friedman [Sun, 27 Jun 2010 15:11:38 +0000 (15:11 +0000)]
Add const to some pointer parameters.

Patch by Eli Friedman,  eli D friedman A gmail

Originally committed as revision 23826 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd myself as maintainer for table generation code.
Reimar Döffinger [Sun, 27 Jun 2010 14:34:00 +0000 (14:34 +0000)]
Add myself as maintainer for table generation code.

Originally committed as revision 23825 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoUpdate tablegen documentation for WRITE_ARRAY macro.
Reimar Döffinger [Sun, 27 Jun 2010 14:31:50 +0000 (14:31 +0000)]
Update tablegen documentation for WRITE_ARRAY macro.

Originally committed as revision 23824 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoMake implicit function declarations an error
Måns Rullgård [Sun, 27 Jun 2010 14:16:54 +0000 (14:16 +0000)]
Make implicit function declarations an error

Originally committed as revision 23823 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoMake ff_url_split() public
Måns Rullgård [Sun, 27 Jun 2010 14:16:46 +0000 (14:16 +0000)]
Make ff_url_split() public

ff_url_split() is retained as an alias, as it was used by ffserver,
to avoid breaking ABI compatibility with it.

Originally committed as revision 23822 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agotablegen: implement and use WRITE_ARRAY macros
Diego Pettenò [Sun, 27 Jun 2010 12:21:12 +0000 (12:21 +0000)]
tablegen: implement and use WRITE_ARRAY macros

Two macros (WRITE_ARRAY and WRITE_ARRAY_2D) take the prefix (modifiers)
(not all tables are static, and they might not be constant either), the
type, and the name of the array. It'll be copied with same name and type,
and with the correct size of the currently-defined object.

Originally committed as revision 23821 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agotableprint: use the type name as-is for the functions' names.
Diego Pettenò [Sun, 27 Jun 2010 12:20:39 +0000 (12:20 +0000)]
tableprint: use the type name as-is for the functions' names.

This drops one parameter from the functions' macros, and require structures
to be typedeffed, but ensures that it is possible to map 1-to-1 the type to
the function name.

Originally committed as revision 23820 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoadpcm: convert VLAs to malloc/free
Måns Rullgård [Sun, 27 Jun 2010 09:44:10 +0000 (09:44 +0000)]
adpcm: convert VLAs to malloc/free

Originally committed as revision 23819 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix libvorbis encoding with more than 2 channels
James Darnley [Sun, 27 Jun 2010 09:25:05 +0000 (09:25 +0000)]
Fix libvorbis encoding with more than 2 channels
Fixes issue 1325.

Patch by James Darnley, james dot darnley at gmail

Originally committed as revision 23818 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix implicit cast warning
Eli Friedman [Sun, 27 Jun 2010 09:07:35 +0000 (09:07 +0000)]
Fix implicit cast warning

Patch by Eli Friedman, eli dot friedman at gmail

Originally committed as revision 23817 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFix build without yasm
David Conrad [Sun, 27 Jun 2010 02:52:43 +0000 (02:52 +0000)]
Fix build without yasm

Originally committed as revision 23816 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoFirst shot at VP8 optimizations:
Jason Garrett-Glaser [Sun, 27 Jun 2010 02:01:45 +0000 (02:01 +0000)]
First shot at VP8 optimizations:
- MMXEXT, SSE2 and SSSE3 MC functions
- MMX and SSE4 IDCT dc_add functions

Patch by Jason Garrett-Glaser <darkshikari gmail com> and myself.

Originally committed as revision 23815 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd myself as VP8 and vorbisdec maintainer
David Conrad [Sun, 27 Jun 2010 01:46:34 +0000 (01:46 +0000)]
Add myself as VP8 and vorbisdec maintainer

Originally committed as revision 23814 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoVP8 bilinear filter
David Conrad [Sun, 27 Jun 2010 01:46:29 +0000 (01:46 +0000)]
VP8 bilinear filter

Originally committed as revision 23813 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agovorbisdec: Take channels into account when checking against residue overflow
David Conrad [Sun, 27 Jun 2010 01:46:23 +0000 (01:46 +0000)]
vorbisdec: Take channels into account when checking against residue overflow

Fixes issue1969

Originally committed as revision 23812 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agovorbisdec: Fix header parsing with no floor1 partitions
David Conrad [Sun, 27 Jun 2010 01:46:20 +0000 (01:46 +0000)]
vorbisdec: Fix header parsing with no floor1 partitions

Originally committed as revision 23811 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agovorbisdec: Remove write-only variable
David Conrad [Sun, 27 Jun 2010 01:46:14 +0000 (01:46 +0000)]
vorbisdec: Remove write-only variable

Originally committed as revision 23810 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agovp8: warn and request sample if upscaling specified in header
Måns Rullgård [Sun, 27 Jun 2010 00:37:43 +0000 (00:37 +0000)]
vp8: warn and request sample if upscaling specified in header

Originally committed as revision 23809 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRemove PPC perf counter support
Måns Rullgård [Sat, 26 Jun 2010 22:23:35 +0000 (22:23 +0000)]
Remove PPC perf counter support

This functionality is better accessed through tools like oprofile.

Originally committed as revision 23808 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRemove --enable-gprof flag
Måns Rullgård [Sat, 26 Jun 2010 22:23:29 +0000 (22:23 +0000)]
Remove --enable-gprof flag

gprof is far too intrusive to be of use as a profile for ffmpeg,
and it fails to build in many configurations.  Oprofile is a
better tool for profiling on Linux.

Originally committed as revision 23807 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoRemove unnecessary ../ from include directives
Måns Rullgård [Sat, 26 Jun 2010 20:28:44 +0000 (20:28 +0000)]
Remove unnecessary ../ from include directives

Originally committed as revision 23806 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd -I flags to HOSTCFLAGS
Måns Rullgård [Sat, 26 Jun 2010 20:28:40 +0000 (20:28 +0000)]
Add -I flags to HOSTCFLAGS

Originally committed as revision 23805 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoARM: fix build with TI compiler
Måns Rullgård [Sat, 26 Jun 2010 18:34:56 +0000 (18:34 +0000)]
ARM: fix build with TI compiler

The TI compiler defines __eabi__ to signal that ARM EABI is in use.
We must check for this in addition to the gcc macro __ARM_EABI__.

Originally committed as revision 23804 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoAdd missing avutil.h include to libavutil/mem.h
Måns Rullgård [Sat, 26 Jun 2010 18:14:31 +0000 (18:14 +0000)]
Add missing avutil.h include to libavutil/mem.h

Originally committed as revision 23803 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoffv1: remove VLAs
Måns Rullgård [Sat, 26 Jun 2010 15:53:25 +0000 (15:53 +0000)]
ffv1: remove VLAs

Originally committed as revision 23802 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoshorten: remove VLA and check for buffer overflow
Måns Rullgård [Sat, 26 Jun 2010 14:34:21 +0000 (14:34 +0000)]
shorten: remove VLA and check for buffer overflow

Originally committed as revision 23798 to svn://svn.ffmpeg.org/ffmpeg/trunk

14 years agoalsdec: convert VLAs to fixed size
Måns Rullgård [Sat, 26 Jun 2010 14:34:18 +0000 (14:34 +0000)]
alsdec: convert VLAs to fixed size

The maximum value of sub_blocks is 8, a safe size to always allocate on
stack.

Originally committed as revision 23797 to svn://svn.ffmpeg.org/ffmpeg/trunk