Commit Graph

6447 Commits

Author SHA1 Message Date
Diego Biurrun
301df48074 Add comments to some #endif directives.
Originally committed as revision 12239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 17:13:42 +00:00
Diego Biurrun
e6464f8b5e cosmetics: spelling/grammar
Originally committed as revision 12238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 17:06:31 +00:00
Michael Niedermayer
c3a3d34427 Alternative and faster (on gcc x86) plane rotation.
Originally committed as revision 12237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 15:52:37 +00:00
Michael Niedermayer
8af4d0fc8d Get rid of another useless variable.
Originally committed as revision 12236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 15:44:49 +00:00
Michael Niedermayer
92ac614f85 Avoid a=b+c but rather use a+=b (gcc is too stupid to do this itself),
code is exactly the same just uses different variables.

Originally committed as revision 12235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 15:32:34 +00:00
Michael Niedermayer
e6d7ef648c One variable less. No real change to the actual code.
Originally committed as revision 12234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 15:19:37 +00:00
Michael Niedermayer
6f08c541b4 floating point AAN IDCT
Originally committed as revision 12233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 14:59:11 +00:00
Loren Merritt
042e0adda9 decode mng color decorrelation
Originally committed as revision 12228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 10:21:33 +00:00
Diego Biurrun
d248905ba5 Remove START_TIMER and STOP_TIMER macros.
Originally committed as revision 12227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 09:35:21 +00:00
Loren Merritt
00829b9bc1 simplify
Originally committed as revision 12224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 07:35:56 +00:00
Aurelien Jacobs
97d1d009e2 split encoding part of dsputil_mmx into its own file
Originally committed as revision 12223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 23:14:22 +00:00
Diego Biurrun
4847a997aa Remove commented-out av_log calls.
Originally committed as revision 12222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 22:44:35 +00:00
Michael Niedermayer
b6bffc46b8 Fix trellis quant + AAN DCT.
Originally committed as revision 12221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 22:43:42 +00:00
Michael Niedermayer
2936438a38 Make diego happy.
Originally committed as revision 12220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 22:32:52 +00:00
Aurelien Jacobs
57b98634c4 compile various fdct only when encoders are enabled
Originally committed as revision 12219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 21:43:19 +00:00
Michael Niedermayer
062942e782 Clarify which BSD license.
Originally committed as revision 12214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 14:59:04 +00:00
Michael Niedermayer
5b0d04d308 Allow use of my AAN DCT under BSD, AMD has agreed to write and contribute
SSE(float) AAN DCT and IDCT to ffmpeg (no C++, no crap).

Originally committed as revision 12212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 14:42:12 +00:00
Loren Merritt
4a5b619df7 png filters
Originally committed as revision 12195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 10:34:23 +00:00
Måns Rullgård
76a448ed4f Install headers in $prefix/include/$libname
Install each library's headers in $prefix/include/$libname.
The installed headers use #include "lib*/*.h"; applications
are expected to do the same.

Specify only $prefix/include in .pc files.

Originally committed as revision 12194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 09:22:11 +00:00
Loren Merritt
bd58e7f730 remove a memcpy
Originally committed as revision 12193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 05:46:53 +00:00
Måns Rullgård
6f4e2b5a95 fix memory leaks in vp3 decoder
Originally committed as revision 12191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-24 18:56:52 +00:00
Reimar Döffinger
f2217d6f90 __asm __volatile -> asm volatile part 2
Originally committed as revision 12189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-24 14:47:42 +00:00
Reimar Döffinger
78d3d94f14 __asm __volatile -> asm volatile, improves code consistency and works
(as far as that is possible) with the Sun C compiler.

Originally committed as revision 12188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-24 14:46:22 +00:00
Vitor Sessak
cf73e32a5f Fix bug I introduced in r11962.
Thanks to Uoti Urpala for spotting it and proposing the
fix.

Originally committed as revision 12187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-24 07:47:02 +00:00
Benjamin Larsson
7bb8d51c1f Riff ids for wmapro and wmavoice, this adds support for stream copy of these codecs between asf,avi and wav containers.
Originally committed as revision 12182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-23 23:30:41 +00:00
Michael Niedermayer
a939a005f9 Remove apparently unneeded and buggy align.
Originally committed as revision 12179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-22 19:27:22 +00:00
Loren Merritt
917f55cc03 cleaner way of writing packed-byte constants.
suggested by Uoti Urpala

Originally committed as revision 12177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-22 16:53:26 +00:00
Loren Merritt
31304587da indent
Originally committed as revision 12166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 07:55:42 +00:00
Loren Merritt
469bd7b150 pseudo-simd add_bytes and diff_bytes
2x faster than scalar in 32bit, 4x faster in 64bit (as opposed to 8x in mmx)

Originally committed as revision 12165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 07:54:46 +00:00
Loren Merritt
4a9ca0a279 simd and unroll png_filter_row
cycles per 1000 pixels on core2:
left: 9211->5170
top: 9283->2138
avg: 12215->7611
paeth: 64024->17360
overall rgb png decoding speed: +45%
overall greyscale png decoding speed: +6%

Originally committed as revision 12164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 07:10:46 +00:00
Michael Niedermayer
1435e4ccde Disabling all SSE* code for old gcc to avoid alignment issues.
Originally committed as revision 12163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 00:06:07 +00:00
Michael Niedermayer
635fbcb17f revert 12156
Log:
Make timestamp interpolation work with mpeg2 field pictures.
Cleaner/simpler solutions are welcome.
----
A IMHO cleaner solution has been implemented.

Originally committed as revision 12162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 20:24:38 +00:00
Michael Niedermayer
bdd745da60 Forgot this, which is needed for merging field pics too.
Originally committed as revision 12161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 19:48:25 +00:00
Michael Niedermayer
21da962cf1 Make find_frame_end() merge 2 mpeg2 field pictures. This should make mpeg2
field pictures much more digestable.

Originally committed as revision 12160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 19:45:38 +00:00
Michael Niedermayer
ff2635b273 Make timestamp interpolation work with mpeg2 field pictures.
Cleaner/simpler solutions are welcome.

Originally committed as revision 12156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 03:20:06 +00:00
Måns Rullgård
e97ac1e6f5 Clean up lib* version definitions
Updating version numbers now requires changing only one place.

Originally committed as revision 12154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:50:28 +00:00
Michael Niedermayer
cea9642014 Fix ;;
Originally committed as revision 12153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:09:08 +00:00
Reimar Döffinger
754bf3d8a1 Fix warnings:
i386/vp3dsp_sse2.c:805: warning: cast discards qualifiers from pointer target type
i386/vp3dsp_sse2.c:806: warning: cast discards qualifiers from pointer target type

Originally committed as revision 12150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 21:55:13 +00:00
Reimar Döffinger
816ebf9320 Remove duplicate ;
Originally committed as revision 12149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 21:46:40 +00:00
Reimar Döffinger
721052e981 Add casts to avoid warnings:
fraps.c:102: warning: passing argument 1 of ‘s->dsp.bswap_buf’ from incompatible pointer type
fraps.c:102: warning: passing argument 2 of ‘s->dsp.bswap_buf’ from incompatible pointer type

Originally committed as revision 12148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 21:42:10 +00:00
Reimar Döffinger
e3cb2c4a08 Missing const
Originally committed as revision 12147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 21:37:53 +00:00
Michael Niedermayer
0521808158 Reduce the number of senselessly scanned bytes.
Originally committed as revision 12144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 15:55:14 +00:00
Guillaume Poirier
c367d0c653 arg 10000l. Fix wrong fix committed in r12141
Originally committed as revision 12143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 07:24:00 +00:00
Guillaume Poirier
d6267d027b fix broken indentation
Originally committed as revision 12142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 07:20:03 +00:00
Guillaume Poirier
9d8109ad0f 10l: fix always false test: Binary & has lower precedence than ==
Originally committed as revision 12141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 07:19:15 +00:00
Diego Biurrun
42a362e57b Refactor vcprm and vcii macros by using the AVV macro.
Originally committed as revision 12140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-18 23:01:26 +00:00
Diego Biurrun
35c27389c0 Refactor the FOUROF macro using the AVV macro.
Originally committed as revision 12139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-18 22:26:46 +00:00
Diego Biurrun
b0e21a3b47 Remove stray #undef.
Originally committed as revision 12138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-18 22:22:17 +00:00
Alexander Strange
3518c5a96b fix crash on non-AltiVec powered machines: MPV_common_init_altivec doesn't check mm_flags
Patch by Alexander Strange %astrange A ithinksw PP com %

Originally committed as revision 12137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-18 21:35:31 +00:00
Måns Rullgård
5ff1b0675f remove duplicate AV_STRINGIFY() definition
Originally committed as revision 12129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-17 03:44:47 +00:00
Måns Rullgård
5c319d3334 clean up definition of DECLARE_ALIGNED_8 and STRIDE_ALIGN
Originally committed as revision 12126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-16 19:18:30 +00:00
Mike Frysinger
e44d7c659b FLAT objects cannot have multiple sections, so using the L1 attributes breaks
linking. The FDPIC relocs also break for any other format. Thus check the
compiler environment and select the appropriate sections/relocs.
patch by Mike Frysinger, vapier.adi a gmail d com

Originally committed as revision 12125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-16 15:17:31 +00:00
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
Loren Merritt
ffbc5e04ce "swap first two elements of L1 if L0 and L1 are identical" applies after splitting the lists into fields
Originally committed as revision 11808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 10:54:20 +00:00
Loren Merritt
02f7695b0b fix mbaff diagonal neighbor mv
Originally committed as revision 11807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 10:53:15 +00:00
Loren Merritt
50b3ab0fa5 mbaff spatial direct
Originally committed as revision 11806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 10:51:56 +00:00
Kostya Shishkov
4990eb5f49 Do not modify input data
Originally committed as revision 11805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 08:28:07 +00:00
Kostya Shishkov
0fe04628b9 IMC decoder always operates on 64-byte blocks
Originally committed as revision 11804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-02 08:26:49 +00:00
Aurelien Jacobs
2755e41d26 use AV_RL* instead of le2me_*
Originally committed as revision 11802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 23:49:56 +00:00
Aurelien Jacobs
4e56af8253 don't cast const away
Originally committed as revision 11801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 23:48:39 +00:00
Aurelien Jacobs
60b6dbe716 const
Originally committed as revision 11800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 23:25:27 +00:00
Aurelien Jacobs
9f5bd89506 const
Originally committed as revision 11799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 23:24:35 +00:00
Michael Niedermayer
c67102f902 const
Originally committed as revision 11796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:24:33 +00:00
Michael Niedermayer
31d889ec0a const
Originally committed as revision 11795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:22:26 +00:00
Michael Niedermayer
896b438915 const
Originally committed as revision 11794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:21:22 +00:00
Michael Niedermayer
1786784259 const
Originally committed as revision 11793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:20:59 +00:00
Reimar Döffinger
b034f72b17 Add some const keywords in rtjpeg decoder
Originally committed as revision 11792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:20:27 +00:00
Michael Niedermayer
7e5cdb5b1b const
Originally committed as revision 11791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:16:40 +00:00
Michael Niedermayer
74dc744850 const
Originally committed as revision 11790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:14:32 +00:00
Michael Niedermayer
473dde1700 const
Originally committed as revision 11789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:13:16 +00:00
Michael Niedermayer
94ef6d11ac const
Originally committed as revision 11788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:12:00 +00:00
Michael Niedermayer
2ab12b39cd const
Originally committed as revision 11787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:08:39 +00:00
Michael Niedermayer
8c4bd28bec const
Originally committed as revision 11786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:07:11 +00:00
Michael Niedermayer
e37e53350e const
Originally committed as revision 11785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:06:40 +00:00
Michael Niedermayer
14ff144c1b some const
Originally committed as revision 11784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:04:29 +00:00
Michael Niedermayer
63410f2ca5 const
Originally committed as revision 11783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 16:03:03 +00:00
Michael Niedermayer
521c38f1ef const
Originally committed as revision 11782 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:59:41 +00:00
Michael Niedermayer
67d9ca0c00 const
Originally committed as revision 11781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:58:47 +00:00
Michael Niedermayer
6fd4315ee2 const
Originally committed as revision 11780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:58:29 +00:00
Michael Niedermayer
d177b6200f const
Originally committed as revision 11779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:57:54 +00:00
Michael Niedermayer
04650579ec more const
Originally committed as revision 11778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:57:38 +00:00
Michael Niedermayer
4a431e9e51 const
Originally committed as revision 11777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:56:51 +00:00
Michael Niedermayer
bed9dc1662 const
Originally committed as revision 11776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:54:28 +00:00
Michael Niedermayer
4894578b58 const
Originally committed as revision 11775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:54:04 +00:00
Michael Niedermayer
ffb52962d0 some const
Originally committed as revision 11774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:53:25 +00:00
Michael Niedermayer
b31178c92a some const
Originally committed as revision 11773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:44:27 +00:00
Michael Niedermayer
3cc89383f7 const
Originally committed as revision 11772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:43:53 +00:00
Michael Niedermayer
96c5ba1584 const
Originally committed as revision 11771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:43:38 +00:00
Michael Niedermayer
0179178666 forgotten const
Originally committed as revision 11770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:41:16 +00:00
Michael Niedermayer
13c2619e7c const
Originally committed as revision 11769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:40:03 +00:00
Michael Niedermayer
fb8a82d20a const
Originally committed as revision 11768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:39:25 +00:00
Michael Niedermayer
0942f55cdc const
Originally committed as revision 11767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:37:24 +00:00
Michael Niedermayer
3052e4b58b some const
Originally committed as revision 11766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:34:00 +00:00
Michael Niedermayer
317b3092cf const
Originally committed as revision 11765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:30:29 +00:00
Michael Niedermayer
1855abe556 const
Originally committed as revision 11764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:28:46 +00:00
Michael Niedermayer
fbdad670e4 const
Originally committed as revision 11761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:13:38 +00:00
Michael Niedermayer
10313fe08e const
Originally committed as revision 11760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:11:24 +00:00
Michael Niedermayer
2cc7c6555a const
Originally committed as revision 11759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:10:01 +00:00
Michael Niedermayer
095f08d599 some const
Originally committed as revision 11758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:08:55 +00:00
Michael Niedermayer
4bae195ff5 const
Originally committed as revision 11757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:01:05 +00:00
Michael Niedermayer
ec9f649371 Replace get32() by AV_RL32().
Originally committed as revision 11755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:57:49 +00:00
Michael Niedermayer
530902f3c7 const
Originally committed as revision 11754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:55:18 +00:00
Michael Niedermayer
48670d4740 const
Originally committed as revision 11753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:50:36 +00:00
Michael Niedermayer
cd5a654ed5 const
Originally committed as revision 11752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:37:36 +00:00
Michael Niedermayer
5cbbbf378f const
Originally committed as revision 11751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:36:44 +00:00
Michael Niedermayer
81ef51e669 const
Originally committed as revision 11750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:36:33 +00:00
Michael Niedermayer
a8a8f204f0 const
Originally committed as revision 11749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:30:35 +00:00
Michael Niedermayer
f5b2e90010 const
Originally committed as revision 11748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:28:50 +00:00
Michael Niedermayer
08e5052930 const
Originally committed as revision 11747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:28:22 +00:00
Michael Niedermayer
7e2ea58313 some const
Originally committed as revision 11746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:18:09 +00:00
Michael Niedermayer
6ea28fc5ea const
Originally committed as revision 11745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:16:08 +00:00
Michael Niedermayer
0e03ed2eed const
Originally committed as revision 11744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:15:10 +00:00
Michael Niedermayer
2b57b46313 const
Originally committed as revision 11743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:10:56 +00:00
Michael Niedermayer
3d37b11f92 some const
Originally committed as revision 11742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:09:52 +00:00
Michael Niedermayer
16db358520 const
Originally committed as revision 11741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:08:35 +00:00
Michael Niedermayer
92ddaf2622 const
Originally committed as revision 11740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:07:02 +00:00
Michael Niedermayer
f61bf0526b const
Originally committed as revision 11739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:06:54 +00:00
Michael Niedermayer
da2036c54e const
Originally committed as revision 11738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:03:56 +00:00
Michael Niedermayer
3cd7c7fb1b const
Originally committed as revision 11737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:03:47 +00:00
Michael Niedermayer
1dc5527934 const
Originally committed as revision 11736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 14:00:31 +00:00
Michael Niedermayer
3c71bc55dc const
Originally committed as revision 11735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:58:41 +00:00
Michael Niedermayer
07311324a3 const
Originally committed as revision 11734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:55:15 +00:00
Michael Niedermayer
0ff4670a21 Casts to silcence "incompatible pointer type" warnings.
Originally committed as revision 11733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:51:06 +00:00
Michael Niedermayer
96711ecff9 const src for bswap
Originally committed as revision 11732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:49:15 +00:00
Michael Niedermayer
2ec3861238 const
Originally committed as revision 11731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:42:08 +00:00
Michael Niedermayer
972c99c112 Use bytestream.
Originally committed as revision 11730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:38:55 +00:00
Michael Niedermayer
9bb5e9e945 const
Originally committed as revision 11729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 13:32:41 +00:00
Michael Niedermayer
c27fc644d4 const
Originally committed as revision 11727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:17:56 +00:00
Michael Niedermayer
c82fbf7fba const
Originally committed as revision 11726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:16:26 +00:00
Michael Niedermayer
1545c5e535 const
Originally committed as revision 11725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:14:46 +00:00
Michael Niedermayer
fb2cf1bcf0 const
Originally committed as revision 11724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:14:04 +00:00
Michael Niedermayer
bd0e945f8e const
Originally committed as revision 11723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:11:06 +00:00
Michael Niedermayer
21cc343d85 const
Originally committed as revision 11722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:07:48 +00:00
Michael Niedermayer
75739ba290 const
Originally committed as revision 11721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:04:44 +00:00
Michael Niedermayer
d31522b8f1 const
Originally committed as revision 11720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:02:28 +00:00
Michael Niedermayer
1a2c94cb69 const
Originally committed as revision 11719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:59:06 +00:00
Michael Niedermayer
8687f7679d const
Originally committed as revision 11718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:54:08 +00:00
Michael Niedermayer
ea494db398 const
Originally committed as revision 11717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:51:51 +00:00
Michael Niedermayer
ebc0790441 const
Originally committed as revision 11716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:48:55 +00:00
Michael Niedermayer
f64bbca55d const
Originally committed as revision 11715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:48:32 +00:00
Michael Niedermayer
5d9375da77 const
Originally committed as revision 11714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:47:32 +00:00
Michael Niedermayer
f84a02c0d1 const
Originally committed as revision 11713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:46:11 +00:00
Michael Niedermayer
2b3c8f8a6a const
Originally committed as revision 11712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:40:46 +00:00
Michael Niedermayer
b5777b942d const
Originally committed as revision 11711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:39:15 +00:00
Michael Niedermayer
e68c7a4abe const
Originally committed as revision 11710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:34:43 +00:00
Michael Niedermayer
0431d3b121 one "cast discards qualifiers from pointer target type" less
Originally committed as revision 11709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:29:43 +00:00
Michael Niedermayer
7993df6527 consts
I have underestimated this a little, and these are just some ...

Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 03:26:31 +00:00
Michael Niedermayer
b1f5712e3c consts
Originally committed as revision 11706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 02:36:09 +00:00
Michael Niedermayer
30317501a0 consts
Originally committed as revision 11705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 02:35:11 +00:00
Michael Niedermayer
6ddaa63cf4 The buffer passed into the decoder should be const.
Originally committed as revision 11704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 02:26:19 +00:00
Michael Niedermayer
a9f8715854 Fix const qualifer issues found by -Wcast-qual.
Originally committed as revision 11703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 01:40:46 +00:00