Michael Niedermayer
ad8812be8f
remove useless code
...
Originally committed as revision 5256 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
002a7414b5
simplify loop a little
...
Originally committed as revision 5255 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
Michael Niedermayer
e7e2025a53
+ (sign&1) -> -sign (1 instruction less)
...
Originally committed as revision 5253 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
ac2549b583
avoid hard to predict branch (idea by arpi)
...
Originally committed as revision 5252 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
60f3c0b8fc
fix gcc 2.95 compilation
...
Originally committed as revision 5243 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
Michael Niedermayer
415365d225
avoid i++ in decode_block()
...
Originally committed as revision 5238 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
7d2b787daa
minor optimization of decode_block()
...
Originally committed as revision 5237 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
22dde0e955
optimizations by arpi
...
Originally committed as revision 5235 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
Michael Niedermayer
98ddcd3989
JPEG-LS codec by (Kostya | kostya.forjunk gmail com)
...
Originally committed as revision 4917 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
19 years ago
Michael Niedermayer
5639729bed
unfinished jpeg-ls codec (feel free to finish it ...)
...
Originally committed as revision 4752 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
Michael Niedermayer
e33943728e
verify len field validity in mjpeg_decode_com()
...
Originally committed as revision 4451 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
aa6ff39bb0
check len (should fix #1165694 )
...
Originally committed as revision 4436 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
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
20 years ago
Michael Niedermayer
934982c4ac
avoid buf_size == 0 checks in every decoder
...
Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
dd4f8a04fe
jpeg style yuv fixes
...
Originally committed as revision 3852 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
0ecca7a49f
various security fixes and precautionary checks
...
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
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
20 years ago
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
20 years ago
Michael Niedermayer
55429b5534
workaround apps which dont provided correctly padded streams
...
Originally committed as revision 3695 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
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
20 years ago
Michael Niedermayer
8e6325b96b
mjpeg parser
...
Originally committed as revision 3634 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
21adafec2a
lowres width/height cleanup 3rd try
...
Originally committed as revision 3522 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
f1cc95f0e9
10l
...
Originally committed as revision 3519 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
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
21 years ago
Michael Niedermayer
6aeb03d887
low resolution decoding fix
...
Originally committed as revision 3510 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Alex Beregszaszi
02da1f0d71
new copyrights
...
Originally committed as revision 3404 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
8a515d2d9c
get_bits(32) fix
...
Originally committed as revision 3393 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
53db1cae1c
data_size = 0 cleanup
...
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
eea8c08fa8
cleanup & memleak fix
...
Originally committed as revision 3095 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
96d8b5a62c
hmm av_log(..., get_bits());
...
Originally committed as revision 2939 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
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
21 years ago
Michael Niedermayer
3edcacde04
init cleanup
...
Originally committed as revision 2899 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
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
21 years ago
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
21 years ago
Alex Beregszaszi
fe455f3328
get_bit_count -> put_bits_count
...
Originally committed as revision 2752 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
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
21 years ago
Michael Niedermayer
909678c707
grayscale mjpeg decoding support based upon a patch by (Leon Bottou (leonb))
...
Originally committed as revision 2687 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
5814beaa87
set AVCodecContext.width/height before get_buffer()
...
Originally committed as revision 2596 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago