Commit Graph

11980 Commits

Author SHA1 Message Date
Reimar Döffinger
b0c73ba11f motion_est: fix implicit truncation warnings
Patch by Reimar Döffinger and Eli Friedman (independently).

Originally committed as revision 24083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-07 12:27:44 +00:00
Michael Niedermayer
69b56ed7a6 Move ff_dct_init(context) out of if(one time init)
fixes calling a null pointer in issue658

Originally committed as revision 24081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-07 10:36:26 +00:00
Eli Friedman
c7310b7b2b Silence warning "new qualifiers in middle of multi-level
non-const cast are unsafe".

Patch by Eli Friedman, eli d friedman a gmail

Originally committed as revision 24080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-07 10:24:34 +00:00
Vitor Sessak
881fd7a62f Move SSE optimized 32-point DCT to its own file. Should fix breakage with YASM
disabled.

Originally committed as revision 24078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-06 17:48:23 +00:00
Vitor Sessak
4dcc4f8eaa SSE optimized 32-point DCT
Originally committed as revision 24077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-06 16:58:54 +00:00
Måns Rullgård
a2ab5ad5f1 Rename av_tempfile() to ff_tempfile()
Originally committed as revision 24075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-06 13:22:44 +00:00
Måns Rullgård
25cbc8b46e Move av_tempfile() to libxvidff.c as only the xvid wrapper needs it
Originally committed as revision 24074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-06 13:04:21 +00:00
Eli Friedman
9049fa5479 Add av_unused to decode_mb_skip declaration to fix the following warning:
libavcodec/h264.h:1260: warning: ‘decode_mb_skip’ defined but not used
patch by Eli Friedman, eli.friedman gmail com

Originally committed as revision 24069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-06 07:40:35 +00:00
Måns Rullgård
86e41bc300 aacenc: replace VLA with fixed size
Number of channels is restricted to 6 so the size is acceptable
for the stack.

Originally committed as revision 24068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-06 00:06:15 +00:00
Michael Niedermayer
3d5421201b Perform sliding window operation during frame gap handling.
This avoids some warnings about too many reference frames.

Originally committed as revision 24057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-05 14:36:03 +00:00
Michael Niedermayer
733f5990d0 Factorize ff_generate_sliding_window_mmcos() out.
Originally committed as revision 24056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-05 12:42:19 +00:00
Nick Brereton
0712c230ae DCA: Occasionally a false XCH sync word can turn up after the core DTS data,
to verify the sync word the extension fsize field should be compared to
the core data length field.

Patch by nick.nbrereton@net

Originally committed as revision 24054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-05 08:16:43 +00:00
Benjamin Larsson
324a94b022 DCA: *_bits() -> *_bits_long() where needed, half fix for broken bitstream parsing
Originally committed as revision 24051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-05 01:43:47 +00:00
Måns Rullgård
aad9f50751 Fix build with hardcoded tables
The recently added dummy rule for missing headers took precedence
over the tablegen rules.  Listing the generated headers explicitly
overrides this.  A cleaner solution would be preferable.

Originally committed as revision 24046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-04 19:03:04 +00:00
Måns Rullgård
a46b84d120 PPC: convert Altivec FFT to pure assembler
On PPC a leaf function has a 288-byte red zone below the stack pointer,
sparing these functions the chore of setting up a full stack frame.

When a function call is disguised within an inline asm block, the
compiler might not adjust the stack pointer as required before a
function call, resulting in the red zone being clobbered.

Moving the entire function to pure asm avoids this problem and also
results in somewhat better code.

Originally committed as revision 24044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-04 18:33:47 +00:00
Måns Rullgård
deca86eab1 PPC: gas-preprocessor handles m[ft]spr shorthands
Originally committed as revision 24043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-04 18:33:43 +00:00
Måns Rullgård
fe3d2e4b02 PPC: add some asm support macros
Originally committed as revision 24042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-04 18:33:40 +00:00
Ronald S. Bultje
f2a30bd840 Simple H/V loopfilter for VP8 in MMX, MMX2 and SSE2 (yay for yasm macros).
Originally committed as revision 24029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-03 19:26:30 +00:00
Måns Rullgård
a075902f3d PPC: add _interleave versions of fft{4,6,16}_altivec
This removes the need for a post-swizzle with the small FFTs.

Originally committed as revision 24025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-03 18:36:10 +00:00
Rodney Baker
2d525ef483 Change all occurences of "inofficial" to "unofficial" in code, comments
and options. Keep old options until next major version bump.

Patch by Rodney Baker, rodney d baker a iinet d net d au

Originally committed as revision 24021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-03 15:35:23 +00:00
Baptiste Coudurier
bb943bb8fc Give context to av_log
Originally committed as revision 24018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-03 04:40:12 +00:00
Jason Garrett-Glaser
b06855f18a SSSE3 versions of vp8 width4 bilinear MC functions
Originally committed as revision 24013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-03 00:48:12 +00:00
David Conrad
5245c04da3 VP8: Move calculation of outer filter limit out of dsp functions for normal
filter to match the simple loop filter

Originally committed as revision 24010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 21:04:45 +00:00
Aurelien Jacobs
8ee82f40ca fix comment grammar
Originally committed as revision 24008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 19:26:27 +00:00
Reimar Döffinger
961b0c41b9 Fix use of unintialized variable introduced in r20411.
Originally committed as revision 24005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 17:05:36 +00:00
Aurelien Jacobs
c01694c889 saner default value for convergence_duration
Originally committed as revision 24002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 15:57:56 +00:00
Aurelien Jacobs
08b04ba9ce clarify convergence_duration documentation
Originally committed as revision 24001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 15:56:38 +00:00
Måns Rullgård
79042a6eb1 Fix memory leak introduced in r23933
Originally committed as revision 23998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 15:00:21 +00:00
Diego Biurrun
3c042da75d Remove stray Doxygen grouping command; fixes one Doxygen warning.
Originally committed as revision 23996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 13:00:18 +00:00
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