Commit Graph

6245 Commits

Author SHA1 Message Date
Vitor Sessak f037f7e032 100l
Originally committed as revision 11964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:01:10 +00:00
Vitor Sessak db7ae7d1b9 Simplify avcodec_default_get_buffer()
Originally committed as revision 11962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 20:23:49 +00:00
Vitor Sessak 4fe109ebdd Add header for declaration of ff_xxxx functions in imgconvert.c
Originally committed as revision 11961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 20:20:57 +00:00
Vitor Sessak 6dd36490c7 This should not be part of the public API
Originally committed as revision 11960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 20:19:46 +00:00
Vitor Sessak fba95d3c23 My commit in r11942 broke compilation.
This fixes it.

Originally committed as revision 11959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:47:14 +00:00
Vitor Sessak cc9853d38f Split avpicture_fill() in two functions. This will be
useful for libavfilter and to simplify
avcodec_default_get_buffer().

Originally committed as revision 11942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 18:01:07 +00:00
Benjamin Larsson ad40b15394 silence wmaenc.c:181: warning:suggestparentheses around assignment used as truth value
Originally committed as revision 11940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 13:44:08 +00:00
Luca Abeni 6881b8e567 Fix
utils.c: In function ‘avcodec_get_context_defaults2’:
utils.c:793: warning: assignment discards qualifiers from pointer target type

Originally committed as revision 11938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 12:04:35 +00:00
Luca Abeni 408ed51cdb Fix
opt.c: In function ‘av_set_string’:
opt.c:164: warning: passing argument 9 of ‘ff_eval2’ from incompatible pointer type

Originally committed as revision 11937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 11:38:38 +00:00
Thorsten Jordan 134e5a9a65 Cosmetics: indentation
Patch by Thorsten Jordan (tjordan atay macrosystem otday de)
[FFmpeg-devel] Behaviour of liba52 decoder

Originally committed as revision 11927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 14:24:34 +00:00
Thorsten Jordan 95e5323510 Remove useless buffering of input data, so that avcodec_decode_audio never
returns 0 for a valid frame

Patch by Thorsten Jordan (tjordan atay macrosystem otday de)
[FFmpeg-devel] Behaviour of liba52 decoder

Originally committed as revision 11926 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 14:20:22 +00:00
Diego Biurrun 5e53486545 typo fix: inited --> initialized
Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 09:26:10 +00:00
Diego Biurrun 356306aca2 Print Theora bitstream version at DEBUG, not at VERBOSE level.
Originally committed as revision 11916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 08:05:51 +00:00
Diego Biurrun 5edac5dc94 cosmetics: Replace // by /* */ comments.
sync with upstream libmpeg2 0.4.1

Originally committed as revision 11915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 01:18:12 +00:00
Vitor Sessak 22ed53e5f4 Factor bytewidth determination in its own function
Originally committed as revision 11907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 21:49:24 +00:00
Paul Kelly f1618fd939 Add 'reservoir' flag to lavc's flags2 controlling whether or not codes may
utilize a bit reservoir. Also, make the lame encoder utilize this flag.

patch by Paul Kelly, paul a stjohnspoint d co d uk

Originally committed as revision 11903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 08:01:07 +00:00
Loren Merritt ec199cc94c asm argument that might be in memory needs a size
Originally committed as revision 11890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 01:45:42 +00:00
Michael Niedermayer a3689bf7b4 Remove pointless code.
Originally committed as revision 11887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 18:02:28 +00:00
Diego Biurrun 7bab3a26e4 Use HAVE_ALTIVEC preprocessor conditionals like in the rest of FFmpeg.
Originally committed as revision 11886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 17:55:07 +00:00
Michael Niedermayer dc6340e048 Remove pointless code.
Originally committed as revision 11885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 17:26:40 +00:00
Michael Niedermayer a4195e68b6 assert() and note about odd len.
Originally committed as revision 11884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 14:45:36 +00:00
Loren Merritt e1813a2f1e 30% faster ff_vorbis_floor1_render_list, 3% faster overall
Originally committed as revision 11883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 13:53:15 +00:00
Loren Merritt 2c70770e33 use fewer registers in apply_welch_window_sse2
Originally committed as revision 11882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 05:29:47 +00:00
Michael Niedermayer fa4ed8c10a optimize apply_welch_window()
Originally committed as revision 11881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-09 03:42:48 +00:00
Reimar Döffinger cb4ddf7765 Add support for speex in ogg
Originally committed as revision 11878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-06 12:37:37 +00:00
Loren Merritt 1d67b037f7 sse2 h264 motion compensation. not new code, just separate out the cases that didn't need ssse3.
Originally committed as revision 11877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-06 12:32:31 +00:00
Loren Merritt 20d565be6d put loop counter in a register if possible. makes some of the qpel functions 3% faster.
Originally committed as revision 11876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-06 04:44:21 +00:00
Loren Merritt 7080ec2937 fix aliasing warnings. simpler too.
Originally committed as revision 11875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-06 04:14:07 +00:00
Loren Merritt a2b7bc8e71 constant was excessively aligned
Originally committed as revision 11874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-06 03:51:53 +00:00
Reimar Döffinger 63f2670a53 Check that we have enough input data in IMC decoder.
Originally committed as revision 11872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-05 18:39:55 +00:00
Loren Merritt ddf969705f ssse3 h264 motion compensation.
25% faster tham mmx on core2, 35% if you discount fullpel, 4% overall decoding.

Originally committed as revision 11871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-05 11:22:55 +00:00
Loren Merritt b64dfbb8d2 add qpel rounder once during hv rather than twice during hv and whatever it's averaged with
Originally committed as revision 11870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-05 03:58:13 +00:00
Loren Merritt fa9b873e08 clean up an ugliness introduced in r11826. this syntax will require fewer changes when adding future sse2 code.
Originally committed as revision 11868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-05 01:16:48 +00:00
Michael Niedermayer 9a7871f77d Deprecate old and inefficient per instruction asm().
Originally committed as revision 11865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 20:03:08 +00:00
Loren Merritt b2f775860b reduce code duplication
Originally committed as revision 11863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 16:20:46 +00:00
Diego Biurrun 1db38dad33 Make luma_dc_quant_i and luma_dc_quant_p const, fixes a couple of
"assignment discards qualifiers from pointer target type" warnings.
blessed by Konstantin Shishkov

Originally committed as revision 11850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 10:26:35 +00:00
Michael Niedermayer 1701cbfafc const
Originally committed as revision 11846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-04 00:49:14 +00:00
Michael Niedermayer 20e4beaef7 const
Originally committed as revision 11840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 23:25:35 +00:00
Uoti Urpala 4bdd3b76fe mpegvideo.h has two function declarations with the 'inline' specifier
but no definition for those functions. The C standard requires a
definition to appear in the same translation unit for any function
declared with 'inline'. Most of the files including mpegvideo.h do not
define those functions. Fix this by removing the 'inline' specifiers
from the header.
patch by Uoti Urpala

Originally committed as revision 11830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 17:54:30 +00:00
Loren Merritt b313e8159c avg_pixels4_mmx2
Originally committed as revision 11829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 17:04:33 +00:00
Loren Merritt 6c01d0069d use mmx2/3dnow avg functions in avg_qpel*_mc00
Originally committed as revision 11828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 16:19:37 +00:00
Loren Merritt ed5d7a531c ff_h264_idct8_add_sse2.
compared to mmx, 217->126 cycles on core2, 262->220 on k8.

Originally committed as revision 11826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 07:05:11 +00:00
Loren Merritt 51f0ac65df remove some movq in ff_h264_idct8_add_mmx. 225->217 cycles on core2.
Originally committed as revision 11825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-03 03:21:47 +00:00
Michael Niedermayer 2efa7fd10d Make avcodec_decode_* functions take const input buffers.
Originally committed as revision 11823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 22:54:50 +00:00
Reimar Döffinger 909063f745 100l, since we already check for buf_size == 769 we should also
handle buf_size < 769 instead of just crashing in smacker decoder.

Originally committed as revision 11822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 22:34:44 +00:00
Reimar Döffinger 3e368d726a Use bytestream_get_be24 to simplify palette parsing.
Originally committed as revision 11821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 22:31:11 +00:00
Reimar Döffinger 04deea9ad2 mark qtrle input data as const.
Originally committed as revision 11820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 22:09:07 +00:00
Reimar Döffinger b3d5468d87 Add some const where appropriate
Originally committed as revision 11818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 21:55:56 +00:00
Reimar Döffinger 6be4042c52 Fix warning:
libavcodec/tiffenc.c:136: warning: pointer type mismatch in conditional expression

Originally committed as revision 11817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 21:38:25 +00:00
Reimar Döffinger eee7e7998b Some consts for cscd decoder helper functions
Originally committed as revision 11809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 14:34:43 +00:00