Diego Biurrun
423c254c18
Disambiguate bitstream groups for AAC and RV30/RV40.
...
Originally committed as revision 23995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 12:55:36 +00:00
Diego Biurrun
2d62158091
Replace '\0 bytes' by 'NULL bytes' in Doxygen comments.
...
Doxygen mistakes the \ for the start of a Doxygen command.
Originally committed as revision 23994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 12:53:37 +00:00
Diego Biurrun
34630b93dc
Move DECODE_BYTES_PAD* macros before Doxygen comments.
...
Doxygen thinks the comments belong to the macros otherwise.
Originally committed as revision 23993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 12:52:14 +00:00
Diego Biurrun
0baf34d844
Remove angular brackets from Doxygen comments; Doxygen confuses them for HTML.
...
Originally committed as revision 23991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 12:48:32 +00:00
Diego Biurrun
58772292c0
@begingroup --> @defgroup, only the latter is correct Doxygen syntax.
...
Originally committed as revision 23990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 12:45:49 +00:00
Diego Biurrun
094b18b683
Fix doxy of gb parameter in decode_gain_info().
...
Originally committed as revision 23989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 12:42:32 +00:00
Diego Biurrun
b34aaed2cf
Move #ifdef before zlib_decomp() up so it covers the Doxygen comments.
...
Otherwise Doxygen gets confused and cannot map comments to functions.
Originally committed as revision 23988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 12:41:07 +00:00
Diego Biurrun
bbd6684f39
Fix doxy of fixed_mean_energy parameter in ff_amr_set_fixed_gain().
...
Originally committed as revision 23987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 12:35:51 +00:00
Diego Biurrun
8d84a909c3
Fix the signature of ff_set_min_dist_lsf() to match the implementation
...
and add doxy for the size parameter.
Originally committed as revision 23986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 12:26:22 +00:00
Diego Biurrun
503f9c0bd6
Fix Doxygen documentation of gb parameter in ff_wma_get_large_val().
...
Originally committed as revision 23984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 11:55:42 +00:00
Diego Biurrun
6da88bd389
Fix typo in Doxygen function parameter name.
...
Originally committed as revision 23983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 11:54:34 +00:00
Diego Biurrun
daf6c68d33
Avoid one more instance of angular brackets in Doxygen comments.
...
Originally committed as revision 23982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 11:53:00 +00:00
Diego Biurrun
3fa7626863
Avoid square brackets in Doxygen comments; Doxygen chokes on them.
...
Originally committed as revision 23979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 11:44:58 +00:00
Diego Biurrun
791384ec29
Remove two more non-existing stray Doxygen function arguments.
...
Originally committed as revision 23977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 11:37:53 +00:00
Diego Biurrun
09f6a45dc2
Remove non-existing stray arguments from Doxygen function documentation.
...
Originally committed as revision 23976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 11:19:29 +00:00
Diego Biurrun
96e07a73ec
Fix two more instances of wrong @ usage in Doxygen comments.
...
Originally committed as revision 23974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 11:09:12 +00:00
Diego Biurrun
fd566520c7
Fix printing of '@' symbols in Doxygen comments; the correct syntax is '@@'.
...
Originally committed as revision 23973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 11:05:47 +00:00
Diego Biurrun
33edd31f5f
Remove redundant and harmful explicit filename after @file Doxygen command.
...
Originally committed as revision 23971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 10:59:35 +00:00
Diego Biurrun
9a58234fea
Fix misspelled parameter names in Doxygen documentation.
...
This fixes one Doxygen warning each.
Originally committed as revision 23970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 10:49:29 +00:00
Diego Biurrun
5298b070c2
Remove misplaced Doxygen comment.
...
Originally committed as revision 23969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 10:37:13 +00:00
Jason Garrett-Glaser
dcc602d802
SSSE3 versions of width4 VP8 6-tap MC functions
...
Also make some small changes to saturation order of 4-tap SSSE3 MC to fix a
non-bitexactness bug.
Patch mostly by Eli Friedman <eli.friedman AT gmail DOT com>.
Originally committed as revision 23965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 05:27:41 +00:00
Diego Pettenò
cb9b39fba9
tablegen: the executable depends on tablegen headers as well
...
Make sure that the *_tablegen.h header is listed in the dependencies, but
filter it out in the compile line.
Originally committed as revision 23963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 00:30:27 +00:00
Måns Rullgård
9bbb50648d
PPC: fix build on OSX without gas-preprocessor
...
Originally committed as revision 23962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 00:20:26 +00:00
Måns Rullgård
48966b02cb
Grammar fixes
...
Originally committed as revision 23961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 00:03:48 +00:00
Måns Rullgård
3c35da2f7f
vorbisdec: remove variable-length arrays
...
Originally committed as revision 23960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 23:36:48 +00:00
Loren Merritt
cf61994a17
PPC: Altivec IMDCT
...
Patch by Loren Merritt
Originally committed as revision 23959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 23:21:49 +00:00
Måns Rullgård
fe20bdf9db
Indent
...
Originally committed as revision 23958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 23:21:46 +00:00
Måns Rullgård
588d28ac08
Remove vestiges of radix-2 FFT
...
Patch (mostly) by Loren Merritt
Originally committed as revision 23957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 23:21:42 +00:00
Måns Rullgård
bf7ba15372
PPC: Altivec split-radix FFT
...
1.8x faster than altivec radix-2 on a G4
8% faster vorbis decoding
Patch (mostly) by Loren Merritt
Originally committed as revision 23956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 23:21:39 +00:00
Måns Rullgård
2f0c136e1f
Check whether IBM or Apple PPC assembler syntax is used
...
This checks which assembler syntax is supported and defines macros
for register names accordingly.
Originally committed as revision 23952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 23:21:27 +00:00
Måns Rullgård
59bebb11e0
mpegaudio: move compute_antialias_float() to mpegaudiodec_float.c
...
Also put compute_antialias_integer() under !CONFIG_FLOAT and change
forward declarations to declare only the relevant one of these.
Fixes warnings about unused functions and pointer type mismatches.
Originally committed as revision 23950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 23:21:20 +00:00
Måns Rullgård
35d597d556
mpegaudio: call ff_mpegaudiodec_init_mmx() only from float decoder
...
The mmx code is floating-point only, and this function does not know
from which decoder it is called. Without this change, the integer
decoder only "works" because the size of the context struct is smaller
in this case, and the mmx init function writes the function pointer
outside the allocated context.
Fixes issue 2054.
Originally committed as revision 23949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 23:21:17 +00:00
Jason Garrett-Glaser
8434fc26eb
Fix 100L in vp8dsp asm init
...
Originally committed as revision 23946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 22:09:22 +00:00
Aurelien Jacobs
956dae9e77
adu and mp3on4 functions are also needed by their respective float decoders
...
Originally committed as revision 23944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 21:08:20 +00:00
Vitor Sessak
060dd93000
Altivec-optimized mp{1,2,3} windowing
...
Originally committed as revision 23943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 21:04:12 +00:00
Stefano Sabatini
2b4abbd6f5
Move colorspace.h from libavcodec to libavutil.
...
Avoid a compile-time dependency of the pad filter on libavcodec.
Originally committed as revision 23940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 18:49:44 +00:00
Aurelien Jacobs
6eabaef4b8
cosmetic: improve comment breaking at 80 cols
...
Originally committed as revision 23938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 16:28:38 +00:00
Aurelien Jacobs
7bcef8483f
fix dependencies of vp5 and vp6 decoders after r23915
...
they now also depends on cabac.o for ff_h264_norm_shift
Originally committed as revision 23937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 16:09:38 +00:00
Måns Rullgård
2cbd734a38
Maybe fix threaded mpeg*video encoding
...
This allocates per-thread copies of some MpegEncContext.ac_val which
is used concurrently from the encoding threads.
Originally committed as revision 23933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 11:51:01 +00:00
Jason Garrett-Glaser
17dc7c7a60
Fix h264/vp8 intra pred on Athlon XP
...
Whose idea was it to have a CPU that didn't SIGILL on an invalid instruction?
Originally committed as revision 23927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 10:29:47 +00:00
Rafaël Carré
b47a52dc86
mpegaudioenc: Remove write-only variables from the context.
...
Patch by Rafaël Carré (rafael <dot> carre <at> gmail).
Originally committed as revision 23926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 05:17:02 +00:00
Jason Garrett-Glaser
4148855ee4
Eliminate another redundant instruction in vp56/8 arithcoder
...
Necessary because of this GCC bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44474
To do this, convert some, but not all (!) of the variables in VP56RangeCoder
into local variables.
If we convert c->high into a local variable, gcc gets the stupids and refuses
to use a conditional move for the unpredictable main branch.
TODO: dispense with this bullshit and write an asm version.
Originally committed as revision 23924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 23:59:27 +00:00
Jason Garrett-Glaser
36d6b545a1
CMOV-ify vp56 arithcoder
...
This incantation causes gcc 4.3 to generate cmov on x86, a vastly better option
than a completely unpredictable branch.
Hopefully this carries over to newer versions and other CPUs with conditionals.
~5 cycles saved per call on a Core i7.
Originally committed as revision 23921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 23:18:47 +00:00
Jason Garrett-Glaser
2e6ed48d6e
Optimize vp56 arithmetic decoder
...
Negate "bits" to eliminate a negate in cache refilling.
Originally committed as revision 23920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 23:15:25 +00:00
Måns Rullgård
cf60d669a6
Add more int packing macros, name them consistently
...
Originally committed as revision 23916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 22:33:38 +00:00
Stefan Gehrer
bce3bd1ced
renormalize VP5/6/7/8 range coder without loop
...
Originally committed as revision 23915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 22:05:29 +00:00
Daniel Kristjansson
0db2d3cf1d
Do not skip one of three bits zero padding.
...
Patch by Daniel Kristjansson, danielk cuymedia net
Originally committed as revision 23914 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 21:46:03 +00:00
Måns Rullgård
809b7a99b2
Add missed file dct32.c
...
Originally committed as revision 23913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 21:45:51 +00:00
Vitor Sessak
06d01188e9
More mp{1,2,3} 32-point DCT transform to our common DCT framework.
...
Should allow for future SIMD optimizations.
Originally committed as revision 23912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 20:11:27 +00:00
Måns Rullgård
1782460b38
Improve av_resample() documentation
...
Originally committed as revision 23906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 20:09:37 +00:00
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 15:38:06 +00:00
Måns Rullgård
df92772c55
apedec: add flush function
...
Originally committed as revision 23900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 09:33:59 +00:00
Eli Friedman
85b76ce990
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
2010-06-30 06:50:44 +00:00
Eli Friedman
25fe863062
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
2010-06-30 01:57:05 +00:00
Eli Friedman
99267eb702
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
2010-06-30 01:47:42 +00:00
Måns Rullgård
dd8e127a4d
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
2010-06-29 22:41:22 +00:00
Jason Garrett-Glaser
82a8d0f114
Use add instead of lshift in mmxext vp8 idct
...
Originally committed as revision 23891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-29 17:23:17 +00:00
Ronald S. Bultje
565344e7e4
Remove unused macros (duplicates from the now-LGPL x86util.asm).
...
Originally committed as revision 23890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-29 17:04:29 +00:00
Thilo Borgmann
cbb39648c1
Add CRC check to the ALS decoder.
...
Originally committed as revision 23889 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-29 16:56:28 +00:00
Måns Rullgård
a4edc5a9df
ARM: add mov32 macro
...
Originally committed as revision 23888 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-29 14:48:45 +00:00
Måns Rullgård
480cb7edd3
ARM: (mostly) whitespace cosmetics
...
Originally committed as revision 23887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-29 14:48:41 +00:00
Ronald S. Bultje
2dd2f71692
MMX idct_add for VP8.
...
Originally committed as revision 23886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-29 14:43:11 +00:00
Jason Garrett-Glaser
29e719377f
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
2010-06-29 12:28:06 +00:00
David Conrad
982fac7357
Altivec VP8 MC functions
...
Originally committed as revision 23884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-29 06:42:17 +00:00
David Conrad
7bf4e9d7f7
Altivec: Add helper function to load from a constant misalignment
...
Originally committed as revision 23883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-29 06:42:12 +00:00
David Conrad
a3ef994cea
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
2010-06-29 06:42:08 +00:00
Jason Garrett-Glaser
95275094a5
Faster C VP8 normal inner loop filter
...
Originally committed as revision 23881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-29 04:34:04 +00:00
Jason Garrett-Glaser
9942b6a1b0
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
2010-06-29 03:34:24 +00:00
Jason Garrett-Glaser
004cda8e79
Add mmxext version of VP8 DC Hadamard transform
...
Originally committed as revision 23878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-29 01:41:59 +00:00
Jason Garrett-Glaser
37355fe823
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
2010-06-29 00:40:12 +00:00
Jason Garrett-Glaser
bc14f04b2f
MMXEXT version of vp8 4x4 vertical pred
...
Originally committed as revision 23876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-29 00:23:52 +00:00
Jason Garrett-Glaser
fb9927ad7d
Add mmx/mmxext/ssse3 4x4 TM intra pred functions for vp8
...
Originally committed as revision 23875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-28 23:53:07 +00:00
Jason Garrett-Glaser
8b746bb473
Add missing comment header for predict_4x4_dc_mmxext
...
Originally committed as revision 23874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-28 23:37:24 +00:00
Jason Garrett-Glaser
270a85d259
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
2010-06-28 23:35:17 +00:00
Jason Garrett-Glaser
a912da761d
Fix VP8 bilinear mc on x86_64
...
Originally committed as revision 23872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-28 22:13:14 +00:00
Alex Converse
4e42debc8d
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
2010-06-28 21:50:57 +00:00
Alex Converse
75ef689884
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
2010-06-28 21:49:26 +00:00
Alex Converse
804d489c4a
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
2010-06-28 21:42:57 +00:00
Alex Converse
7ca4a72f47
10l: Revert r23867. It didn't make any sense.
...
Originally committed as revision 23868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-28 21:40:38 +00:00
Alex Converse
9a3fe1ae6e
Make ff_psy_preprocess_end() act like av_freep().
...
Originally committed as revision 23867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-28 21:36:19 +00:00
Alex Converse
072c0d605f
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
2010-06-28 21:34:57 +00:00
Baptiste Coudurier
50f70541d3
Change MMXEXT to MMX2, MMXEXT is deprecated
...
Originally committed as revision 23865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-28 21:12:00 +00:00
Jason Garrett-Glaser
0fecad09fe
Add x86 asm functions for VP8 put_pixels
...
Originally committed as revision 23858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-28 19:14:40 +00:00
Jason Garrett-Glaser
a173aa8940
Add MMX, SSE2, SSSE3 asm for VP8 bilinear MC
...
Originally committed as revision 23857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-28 18:56:24 +00:00
Ronald S. Bultje
7ed06b2be8
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
2010-06-28 16:04:14 +00:00
Ronald S. Bultje
7c4dcf8165
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
2010-06-28 13:50:55 +00:00
Måns Rullgård
eca9e4035a
Set rv34 (0,0) subpel mc functions to the optimised h264 ones
...
Originally committed as revision 23845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-28 10:56:16 +00:00
Måns Rullgård
1f65b67c46
Fix x86 build with h264dsp disabled
...
Originally committed as revision 23844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-28 10:02:15 +00:00
Vitor Sessak
186d02150e
Use lookup table to avoid division in mp2 decoder
...
Originally committed as revision 23840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-28 04:55:36 +00:00
Stefano Sabatini
a64fadf62b
Fix linking if MMX is disabled.
...
Originally committed as revision 23839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 23:25:04 +00:00
Måns Rullgård
7447204d2d
vaapi: add missing #include "h263.h"
...
Originally committed as revision 23833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 20:18:28 +00:00
Måns Rullgård
0b37cccaab
ra288: convert VLAs to fixed size
...
Originally committed as revision 23832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 19:30:31 +00:00
Reimar Döffinger
0724a674fc
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
2010-06-27 19:27:08 +00:00
Eli Friedman
b3858964d6
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
2010-06-27 15:11:38 +00:00
Diego Pettenò
350120d269
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
2010-06-27 12:21:12 +00:00
Diego Pettenò
ac014798ff
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
2010-06-27 12:20:39 +00:00
Måns Rullgård
07ece20c69
adpcm: convert VLAs to malloc/free
...
Originally committed as revision 23819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 09:44:10 +00:00
James Darnley
9577838f2f
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
2010-06-27 09:25:05 +00:00
David Conrad
30bdefd1de
Fix build without yasm
...
Originally committed as revision 23816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 02:52:43 +00:00
Jason Garrett-Glaser
0178d14fe5
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
2010-06-27 02:01:45 +00:00
David Conrad
0ef1dbedcb
VP8 bilinear filter
...
Originally committed as revision 23813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 01:46:29 +00:00
David Conrad
a02bb835ac
vorbisdec: Take channels into account when checking against residue overflow
...
Fixes issue1969
Originally committed as revision 23812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 01:46:23 +00:00
David Conrad
54fdf5d150
vorbisdec: Fix header parsing with no floor1 partitions
...
Originally committed as revision 23811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 01:46:20 +00:00
David Conrad
780621b832
vorbisdec: Remove write-only variable
...
Originally committed as revision 23810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 01:46:14 +00:00
Måns Rullgård
92a544267b
vp8: warn and request sample if upscaling specified in header
...
Originally committed as revision 23809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 00:37:43 +00:00
Måns Rullgård
2829ce4b40
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
2010-06-26 22:23:35 +00:00
Måns Rullgård
a788196e20
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
2010-06-26 22:23:29 +00:00
Måns Rullgård
69d12904da
Remove unnecessary ../ from include directives
...
Originally committed as revision 23806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-26 20:28:44 +00:00
Måns Rullgård
f30d51d74f
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
2010-06-26 18:34:56 +00:00
Måns Rullgård
cbabccc367
ffv1: remove VLAs
...
Originally committed as revision 23802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-26 15:53:25 +00:00
Måns Rullgård
02591641f8
shorten: remove VLA and check for buffer overflow
...
Originally committed as revision 23798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-26 14:34:21 +00:00
Måns Rullgård
17253f598e
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
2010-06-26 14:34:18 +00:00
Måns Rullgård
70f2314df0
pcx: convert VLAs to malloc/free
...
Originally committed as revision 23796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-26 14:34:15 +00:00
Måns Rullgård
164d166e85
lsp: convert variable-length arrays to fixed size
...
Max LP order is defined to be 16, fixed-size buffers are OK.
Originally committed as revision 23795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-26 14:34:12 +00:00
Måns Rullgård
5228bcd870
svq1dec: replace VLA with malloc/free
...
Originally committed as revision 23794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-26 14:34:08 +00:00
Måns Rullgård
9502441408
huffyuv: remove unnecessary size argument from generate_len_table()
...
Originally committed as revision 23791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 19:28:10 +00:00
Måns Rullgård
0912db0206
Make vp8 select h264dsp and use this to pull in mmx intrapred
...
Originally committed as revision 23790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 19:10:08 +00:00
Carl Eugen Hoyos
0c59074868
Fix compilation without --enable-gpl.
...
Originally committed as revision 23789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 19:06:29 +00:00
Jason Garrett-Glaser
15d31aa1e1
Really fix r23782
...
Originally committed as revision 23788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 19:03:03 +00:00
Måns Rullgård
36672bac52
elbg: remove VLAs
...
Originally committed as revision 23787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 18:51:25 +00:00
Jason Garrett-Glaser
cd29c2b5a1
Fix c99ism in r23782
...
Originally committed as revision 23786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 18:48:45 +00:00
Carl Eugen Hoyos
96da2a6967
Cosmetics: Fix indentation.
...
Originally committed as revision 23785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 18:34:03 +00:00
Måns Rullgård
d45b771ca0
huffyuv: make VLAs fixed size
...
Originally committed as revision 23784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 18:32:29 +00:00
Jason Garrett-Glaser
4af8cdfc3f
16x16 and 8x8c x86 SIMD intra pred functions for VP8 and H.264
...
Originally committed as revision 23783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 18:25:49 +00:00
Jason Garrett-Glaser
d6f8476be4
Make VP8 DSP functions take two strides
...
This isn't useful for the C functions, but will allow re-using H and V functions
for HV functions without adding separate H and V wrappers.
Originally committed as revision 23782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 18:14:07 +00:00
Måns Rullgård
becfe99ad5
twinvq: remove VLAs
...
Originally committed as revision 23775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 13:43:55 +00:00
Måns Rullgård
9bfb72d9e9
rv34: kill VLAs
...
Originally committed as revision 23774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 08:19:20 +00:00
Jason Garrett-Glaser
03ac56e7f1
fix typo in vp8 decoder error message
...
Originally committed as revision 23765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-25 04:23:45 +00:00
Måns Rullgård
5113b3bd5c
tta: replace potentially huge VLAs with malloc/free in context
...
Originally committed as revision 23759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-24 18:17:12 +00:00
Thad Ward
741b5fd44a
Set an opaque alpha value when decoding rgba ffv1.
...
Patch by Thad Ward coderjoe69¤yahoo°com
Originally committed as revision 23757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-24 15:22:33 +00:00
Måns Rullgård
dd93649b71
Remove VLA in ff_kbd_window_init, limit window size to 1024
...
Originally committed as revision 23755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-24 09:42:34 +00:00
Måns Rullgård
796cea09b6
vp6: convert VLA to fixed size
...
Originally committed as revision 23754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-24 09:02:44 +00:00
Vitor Sessak
89c7d8058c
Fix compilation on x64.
...
Originally committed as revision 23753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-24 08:53:32 +00:00
Vitor Sessak
57dbd12b6d
Fix asm constraints in apply_window()
...
Originally committed as revision 23752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-24 08:46:47 +00:00
Måns Rullgård
986f143a38
alac: change VLAs to fixed size
...
Originally committed as revision 23751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-24 08:26:40 +00:00
Vitor Sessak
bc2b368215
SSE-optimized MP3 floating point windowing functions
...
Originally committed as revision 23750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-24 07:44:50 +00:00
Måns Rullgård
5262f7ed1d
snow: remove unused parameter to mc_block()
...
Originally committed as revision 23746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 23:44:48 +00:00
Stefan Gehrer
8f910a5621
avoid conditional and division in chroma MV calculation
...
Originally committed as revision 23745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 21:45:26 +00:00
Måns Rullgård
79aec75792
flacenc: convert VLA to fixed size
...
Originally committed as revision 23744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 21:22:56 +00:00
Vitor Sessak
47ba787442
Move float-specific function to mpegaudiodec_float.c
...
Originally committed as revision 23743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 20:45:36 +00:00
Vitor Sessak
9dac6dbb22
Remove pointless condition in #if
...
Originally committed as revision 23742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 20:43:37 +00:00
Alex Converse
d6e0080175
Fix alphabetization of the CONFIG_HARDCODED_TABLES Makefile section.
...
Originally committed as revision 23741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 19:32:02 +00:00
Alex Converse
e29af81818
aactab: Tablegenify ff_aac_pow2sf_tab.
...
Originally committed as revision 23740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 19:30:01 +00:00
Jason Garrett-Glaser
2966cc1849
Update x264asm header files to latest versions.
...
Modify the asm accordingly.
GLOBAL is now no longoer necessary for PIC-compliant loads.
Originally committed as revision 23739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 19:20:46 +00:00
Ronald S. Bultje
44c70a9b3d
Fix a typo, spotted by Diego.
...
Originally committed as revision 23738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 13:02:05 +00:00
Diego Biurrun
c1bffe25fa
Add required #includes to pass 'make checkheaders'.
...
Originally committed as revision 23736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 11:44:07 +00:00
Måns Rullgård
20843f51e7
Remove OS/2 threads support
...
OS/2 SMP support is rare, and a pthreads library exists.
No need to keep this code.
Originally committed as revision 23731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 00:08:21 +00:00
Måns Rullgård
9f342dabc6
Remove beosthreads support
...
Relevant BeOS variants support pthreads, so there is no need to
maintain the beos-native threads interface.
Originally committed as revision 23729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-22 23:18:13 +00:00
Måns Rullgård
8fbd4f51a8
Improve some uses of ff_cropTbl with constant offset
...
Originally committed as revision 23728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-22 23:12:48 +00:00
Jason Garrett-Glaser
c31a25e79c
Use right-shift instead of division by two.
...
Patch by Dark Shikari
Originally committed as revision 23723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-22 21:12:42 +00:00