Måns Rullgård
191e8ca752
fix some signedness warnings
...
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:47:39 +00:00
Kostya Shishkov
75807fe26e
Zero number of current scan after decoding one picture.
...
This fixes grayscale JPEG-LS decoding.
Originally committed as revision 6306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 04:28:46 +00:00
Michael Niedermayer
ad8812be8f
remove useless code
...
Originally committed as revision 5256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 18:22:35 +00:00
Michael Niedermayer
002a7414b5
simplify loop a little
...
Originally committed as revision 5255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 18:04:36 +00:00
Michael Niedermayer
78d2d4e111
do UPDATE_CACHE only when needed (which should be VERY rare)
...
Originally committed as revision 5254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 17:43:28 +00:00
Michael Niedermayer
e7e2025a53
+ (sign&1) -> -sign (1 instruction less)
...
Originally committed as revision 5253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 17:01:58 +00:00
Michael Niedermayer
ac2549b583
avoid hard to predict branch (idea by arpi)
...
Originally committed as revision 5252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 16:50:43 +00:00
Michael Niedermayer
60f3c0b8fc
fix gcc 2.95 compilation
...
Originally committed as revision 5243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 21:11:57 +00:00
Michael Niedermayer
b88a718a11
avoid if(i>=63) check at the end of decode_block()
...
Originally committed as revision 5239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 09:20:44 +00:00
Michael Niedermayer
415365d225
avoid i++ in decode_block()
...
Originally committed as revision 5238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 09:13:43 +00:00
Michael Niedermayer
7d2b787daa
minor optimization of decode_block()
...
Originally committed as revision 5237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 08:41:53 +00:00
Michael Niedermayer
22dde0e955
optimizations by arpi
...
Originally committed as revision 5235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 01:59:24 +00:00
Steve L'Homme
68b51e58ce
MSVC-compatible __align8/__align16 declaration
...
patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr
Originally committed as revision 4942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-05 13:35:17 +00:00
Michael Niedermayer
98ddcd3989
JPEG-LS codec by (Kostya | kostya.forjunk gmail com)
...
Originally committed as revision 4917 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 02:28:33 +00:00
Baptiste Coudurier
c06e734a01
Mjpeg interlaced decoding fix, height was wrong while decoding (/2).
...
Patch by Baptiste Coudurier, baptiste _ coudurier at smartjog _ com.
Originally committed as revision 4885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-23 06:40:08 +00:00
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
D Richard Felker III
762b5cd50c
10l to michael for breaking gcc 2.95 compile :)
...
Originally committed as revision 4760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-20 23:07:25 +00:00
Michael Niedermayer
5639729bed
unfinished jpeg-ls codec (feel free to finish it ...)
...
Originally committed as revision 4752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-18 13:17:44 +00:00
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Diego Biurrun
344b825ceb
Rename put_string to ff_put_string to avoid a symbol clash on Mac OS X.
...
Originally committed as revision 4597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-18 21:21:01 +00:00
Michael Niedermayer
95ae72b7e0
Compilation fixes part 1 patch by (Arvind R. and Burkhard Plaum, plaum, ipf uni-stuttgart de)
...
Originally committed as revision 4540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-26 19:05:44 +00:00
Reimar Döffinger
4eecd5bc66
reset restart_count when restart_interval is set and fill the
...
MJpegDecodeContext with 0 on init.
Originally committed as revision 4464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-22 08:48:00 +00:00
Michael Niedermayer
4c1a012e9c
dont pre allocate uselessly large buffer and dont ignore FF_INPUT_BUFFER_PADDING_SIZE
...
Originally committed as revision 4452 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 12:56:56 +00:00
Michael Niedermayer
e33943728e
verify len field validity in mjpeg_decode_com()
...
Originally committed as revision 4451 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 11:27:00 +00:00
Michael Niedermayer
aa6ff39bb0
check len (should fix #1165694 )
...
Originally committed as revision 4436 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 23:39:47 +00:00
Måns Rullgård
88730be651
kill warnings patch by (Måns Rullgård <mru inprovide com>)
...
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 19:08:50 +00:00
Michael Niedermayer
934982c4ac
avoid buf_size == 0 checks in every decoder
...
Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 18:09:06 +00:00
Michael Niedermayer
dd4f8a04fe
jpeg style yuv fixes
...
Originally committed as revision 3852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-20 00:30:20 +00:00
Michael Niedermayer
0ecca7a49f
various security fixes and precautionary checks
...
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:16:25 +00:00
Burkhard Plaum
073c2593c9
Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>)
...
Originally committed as revision 3717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-27 18:10:06 +00:00
Jeff Muizelaar
21d7e2ff40
fix some type mismatches patch by (Jeff Muizelaar <muizelaar rogers com>)
...
Originally committed as revision 3712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-25 19:17:27 +00:00
Michael Niedermayer
55429b5534
workaround apps which dont provided correctly padded streams
...
Originally committed as revision 3695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-19 20:49:12 +00:00
Roberto Togni
9287acd197
Fix mjpeg-b (padding bytes can exist between end of sos and image data)
...
Originally committed as revision 3653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-29 20:45:47 +00:00
Michael Niedermayer
8e6325b96b
mjpeg parser
...
Originally committed as revision 3634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-24 22:37:29 +00:00
Michael Niedermayer
21adafec2a
lowres width/height cleanup 3rd try
...
Originally committed as revision 3522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 11:50:56 +00:00
Michael Niedermayer
f1cc95f0e9
10l
...
Originally committed as revision 3519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 03:17:26 +00:00
Michael Niedermayer
4f8a831994
set AVCodecContext.width/height to the picture width/height instead of the one stored in the bitstream (that only matters if lowres!=0)
...
Originally committed as revision 3518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-27 02:39:55 +00:00
Michael Niedermayer
6aeb03d887
low resolution decoding fix
...
Originally committed as revision 3510 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-26 09:00:37 +00:00
Alex Beregszaszi
02da1f0d71
new copyrights
...
Originally committed as revision 3404 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-21 19:18:45 +00:00
Michael Niedermayer
8a515d2d9c
get_bits(32) fix
...
Originally committed as revision 3393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-16 01:25:52 +00:00
Michael Niedermayer
53db1cae1c
data_size = 0 cleanup
...
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 14:37:16 +00:00
Michael Niedermayer
eea8c08fa8
cleanup & memleak fix
...
Originally committed as revision 3095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 17:42:58 +00:00
Michael Niedermayer
96d8b5a62c
hmm av_log(..., get_bits());
...
Originally committed as revision 2939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-28 23:10:53 +00:00
Michael Niedermayer
046bee8620
always parse APP* as it sometimes contains startcodes which confuse the decoder otherwise
...
Originally committed as revision 2927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-26 02:06:34 +00:00
Michael Niedermayer
3edcacde04
init cleanup
...
Originally committed as revision 2899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-16 16:11:29 +00:00
Michael Niedermayer
9c3d33d67f
multithreaded/SMP motion estimation
...
multithreaded/SMP encoding for MPEG1/MPEG2/MPEG4/H263
all pthread specific code is in pthread.c
to try it, run configure --enable-pthreads and ffmpeg ... -threads <num>
the internal thread API is a simple AVCodecContext.execute() callback which executes a given function pointer with different arguments and returns after finishing all, that way no mutexes or other thread-mess is needed outside pthread.c
Originally committed as revision 2772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-13 17:54:10 +00:00
Michael Niedermayer
99683a3077
2 byte shorter userdata for mpeg4
...
in the past it was startcode,string,00,7F,startcode
now it is startcode,string,stratcode
both are mpeg4 compliant, as according to the standard the userdata lasts until the next 00 00 01 (startcode prefix) but some very primitive decoders which simply skip until the first 00 byte and then expect the next valid startcode might fail with the old variant, just a theory though (didnt test if quicktime can decode it now)
Originally committed as revision 2767 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-08 22:52:35 +00:00
Alex Beregszaszi
fe455f3328
get_bit_count -> put_bits_count
...
Originally committed as revision 2752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 15:27:31 +00:00
Michael Niedermayer
303e50e65b
closed gop support & flags2 as all bits in flags are used
...
and a few minor things i forgot to commit ...
Originally committed as revision 2718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-22 19:48:28 +00:00