Statistics
| Branch: | Revision:

ffmpeg / libavcodec / mjpeg.c @ c53d2d90

History | View | Annotate | Download (83.4 KB)

# Date Author Comment
c53d2d90 05/07/2007 12:47 AM Aurelien Jacobs

make some parser parameters const to avoid casting const to non-const

Originally committed as revision 8921 to svn://svn.ffmpeg.org/ffmpeg/trunk

4ea385bb 04/21/2007 12:36 AM Alex Beregszaszi

compile mjpeg parser if requested

Originally committed as revision 8766 to svn://svn.ffmpeg.org/ffmpeg/trunk

a7b91ac6 04/20/2007 11:59 PM Alex Beregszaszi

cosmetics: remove my email address

Originally committed as revision 8764 to svn://svn.ffmpeg.org/ffmpeg/trunk

d3255f6f 04/15/2007 08:53 AM Michael Niedermayer

fix mjpeg.mov

Originally committed as revision 8738 to svn://svn.ffmpeg.org/ffmpeg/trunk

fe2ad119 04/14/2007 10:58 PM Michael Niedermayer

fix playback of angels_480-mjpegcompress.avi

Originally committed as revision 8737 to svn://svn.ffmpeg.org/ffmpeg/trunk

6b5e72c9 04/14/2007 10:22 PM Michael Niedermayer

fix playback of odd_height.mov
this isnt the most beautifull solution but at least it works independant of the
random height in mov and it doesnt add any secholes

Originally committed as revision 8736 to svn://svn.ffmpeg.org/ffmpeg/trunk

6c3dba57 04/14/2007 10:05 PM Michael Niedermayer

correct another possible buffer overflow where interlaced would
get stuck to 1 but then width/height would change and interlaced
wouldnt be reset ...

Originally committed as revision 8735 to svn://svn.ffmpeg.org/ffmpeg/trunk

1106e4ab 04/14/2007 06:42 PM Baptiste Coudurier

remove MpegEncContext, patch by baptiste
approved by me already but apparently forgotten

Originally committed as revision 8733 to svn://svn.ffmpeg.org/ffmpeg/trunk

f8fb86e9 04/01/2007 10:20 PM Aurelien Jacobs

cosmetics: indentation

Originally committed as revision 8593 to svn://svn.ffmpeg.org/ffmpeg/trunk

efb0c399 04/01/2007 02:28 PM Diego Biurrun

support for the THP game format by Marco Gerards, mgerards xs4all nl

Originally committed as revision 8587 to svn://svn.ffmpeg.org/ffmpeg/trunk

9a63497b 03/02/2007 12:26 PM Baptiste Coudurier

support for mjpeg bottom field first in mov

Originally committed as revision 8192 to svn://svn.ffmpeg.org/ffmpeg/trunk

eafcac6a 02/24/2007 09:41 AM Diego Biurrun

cosmetics: Fix another common typo, dependAnt --> dependEnt.

Originally committed as revision 8114 to svn://svn.ffmpeg.org/ffmpeg/trunk

391fcef9 02/21/2007 06:10 PM Kostya Shishkov

100l: forgot to reset LS mode on new frame

Originally committed as revision 8053 to svn://svn.ffmpeg.org/ffmpeg/trunk

bcdf0d26 02/13/2007 04:06 PM Michel Bardiaux

Change some dprintf to av_log

Originally committed as revision 7964 to svn://svn.ffmpeg.org/ffmpeg/trunk

5959a298 02/07/2007 05:35 PM Reimar Döffinger

Fix incorrect use of ff_get_fourcc that made mjpgb not play on big endian.
Fixes bug 739.

Originally committed as revision 7875 to svn://svn.ffmpeg.org/ffmpeg/trunk

71e445fc 02/07/2007 01:48 AM Diego Biurrun

Replace deprecated PIX_FMT names by the newer variants.

Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk

fead30d4 01/19/2007 10:12 PM Alex Beregszaszi

rename BE/LE_8/16/32 to AV_RL/B_8/16/32

Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk

1a1c5385 12/01/2006 02:06 PM Baptiste Coudurier

mjpeg a dump header bitstream filter, modifies bitstream to be decoded by quicktime

Originally committed as revision 7201 to svn://svn.ffmpeg.org/ffmpeg/trunk

426b11a8 11/21/2006 06:15 AM Kostya Shishkov

Decode non-interleaved scans

Originally committed as revision 7143 to svn://svn.ffmpeg.org/ffmpeg/trunk

6ffdc53d 11/20/2006 05:21 AM Kostya Shishkov

Some progressive JPEG support

Originally committed as revision 7131 to svn://svn.ffmpeg.org/ffmpeg/trunk

9efe56f6 10/24/2006 05:01 AM Kostya Shishkov

JPEG-LS 16-bit gray support

Originally committed as revision 6781 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

2bb78759 10/04/2006 12:49 PM Baptiste Coudurier

mjpeg 4:2:2 encoding support

Originally committed as revision 6550 to svn://svn.ffmpeg.org/ffmpeg/trunk

191e8ca7 09/27/2006 07:47 PM Måns Rullgård

fix some signedness warnings

Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk

75807fe2 09/21/2006 04:28 AM Kostya Shishkov

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

ad8812be 03/31/2006 06:22 PM Michael Niedermayer

remove useless code

Originally committed as revision 5256 to svn://svn.ffmpeg.org/ffmpeg/trunk

002a7414 03/31/2006 06:04 PM Michael Niedermayer

simplify loop a little

Originally committed as revision 5255 to svn://svn.ffmpeg.org/ffmpeg/trunk

78d2d4e1 03/31/2006 05:43 PM Michael Niedermayer

do UPDATE_CACHE only when needed (which should be VERY rare)

Originally committed as revision 5254 to svn://svn.ffmpeg.org/ffmpeg/trunk

e7e2025a 03/31/2006 05:01 PM Michael Niedermayer

+ (sign&1) -> -sign (1 instruction less)

Originally committed as revision 5253 to svn://svn.ffmpeg.org/ffmpeg/trunk

ac2549b5 03/31/2006 04:50 PM Michael Niedermayer

avoid hard to predict branch (idea by arpi)

Originally committed as revision 5252 to svn://svn.ffmpeg.org/ffmpeg/trunk

60f3c0b8 03/29/2006 09:11 PM Michael Niedermayer

fix gcc 2.95 compilation

Originally committed as revision 5243 to svn://svn.ffmpeg.org/ffmpeg/trunk

b88a718a 03/29/2006 09:20 AM Michael Niedermayer

avoid if(i>=63) check at the end of decode_block()

Originally committed as revision 5239 to svn://svn.ffmpeg.org/ffmpeg/trunk

415365d2 03/29/2006 09:13 AM Michael Niedermayer

avoid i++ in decode_block()

Originally committed as revision 5238 to svn://svn.ffmpeg.org/ffmpeg/trunk

7d2b787d 03/29/2006 08:41 AM Michael Niedermayer

minor optimization of decode_block()

Originally committed as revision 5237 to svn://svn.ffmpeg.org/ffmpeg/trunk

22dde0e9 03/29/2006 01:59 AM Michael Niedermayer

optimizations by arpi

Originally committed as revision 5235 to svn://svn.ffmpeg.org/ffmpeg/trunk

68b51e58 02/05/2006 01:35 PM Steve L'Homme

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

98ddcd39 02/02/2006 02:28 AM Michael Niedermayer

JPEG-LS codec by (Kostya | kostya.forjunk gmail com)

Originally committed as revision 4917 to svn://svn.ffmpeg.org/ffmpeg/trunk

c06e734a 01/23/2006 06:40 AM Baptiste Coudurier

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

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk

762b5cd5 12/20/2005 11:07 PM D Richard Felker III

10l to michael for breaking gcc 2.95 compile :)

Originally committed as revision 4760 to svn://svn.ffmpeg.org/ffmpeg/trunk

5639729b 12/18/2005 01:17 PM Michael Niedermayer

unfinished jpeg-ls codec (feel free to finish it ...)

Originally committed as revision 4752 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

344b825c 09/18/2005 09:21 PM Diego Biurrun

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

95ae72b7 08/26/2005 07:05 PM Michael Niedermayer

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

4eecd5bc 07/22/2005 08:48 AM Reimar Döffinger

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

4c1a012e 07/17/2005 12:56 PM Michael Niedermayer

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

e3394372 07/17/2005 11:27 AM Michael Niedermayer

verify len field validity in mjpeg_decode_com()

Originally committed as revision 4451 to svn://svn.ffmpeg.org/ffmpeg/trunk

aa6ff39b 07/11/2005 11:39 PM Michael Niedermayer

check len (should fix #1165694)

Originally committed as revision 4436 to svn://svn.ffmpeg.org/ffmpeg/trunk

88730be6 02/24/2005 07:08 PM Måns Rullgård

kill warnings patch by (Måns Rullgård <mru inprovide com>)

Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk

934982c4 01/23/2005 06:09 PM Michael Niedermayer

avoid buf_size == 0 checks in every decoder

Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk

dd4f8a04 01/20/2005 12:30 AM Michael Niedermayer

jpeg style yuv fixes

Originally committed as revision 3852 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ecca7a4 01/12/2005 12:16 AM Michael Niedermayer

various security fixes and precautionary checks

Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk

073c2593 11/27/2004 06:10 PM Burkhard Plaum

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

21d7e2ff 11/25/2004 07:17 PM Jeff Muizelaar

fix some type mismatches patch by (Jeff Muizelaar <muizelaar rogers com>)

Originally committed as revision 3712 to svn://svn.ffmpeg.org/ffmpeg/trunk

55429b55 11/19/2004 08:49 PM Michael Niedermayer

workaround apps which dont provided correctly padded streams

Originally committed as revision 3695 to svn://svn.ffmpeg.org/ffmpeg/trunk

9287acd1 10/29/2004 08:45 PM Roberto Togni

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

8e6325b9 10/24/2004 10:37 PM Michael Niedermayer

mjpeg parser

Originally committed as revision 3634 to svn://svn.ffmpeg.org/ffmpeg/trunk

21adafec 09/27/2004 11:50 AM Michael Niedermayer

lowres width/height cleanup 3rd try

Originally committed as revision 3522 to svn://svn.ffmpeg.org/ffmpeg/trunk

f1cc95f0 09/27/2004 03:17 AM Michael Niedermayer

10l

Originally committed as revision 3519 to svn://svn.ffmpeg.org/ffmpeg/trunk

4f8a8319 09/27/2004 02:39 AM Michael Niedermayer

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

6aeb03d8 09/26/2004 09:00 AM Michael Niedermayer

low resolution decoding fix

Originally committed as revision 3510 to svn://svn.ffmpeg.org/ffmpeg/trunk

02da1f0d 08/21/2004 07:18 PM Alex Beregszaszi

new copyrights

Originally committed as revision 3404 to svn://svn.ffmpeg.org/ffmpeg/trunk

8a515d2d 08/16/2004 01:25 AM Michael Niedermayer

get_bits(32) fix

Originally committed as revision 3393 to svn://svn.ffmpeg.org/ffmpeg/trunk

53db1cae 05/21/2004 02:37 PM Michael Niedermayer

data_size = 0 cleanup

Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk

eea8c08f 04/30/2004 05:42 PM Michael Niedermayer

cleanup & memleak fix

Originally committed as revision 3095 to svn://svn.ffmpeg.org/ffmpeg/trunk

96d8b5a6 03/28/2004 11:10 PM Michael Niedermayer

hmm av_log(..., get_bits());

Originally committed as revision 2939 to svn://svn.ffmpeg.org/ffmpeg/trunk

046bee86 03/26/2004 02:06 AM Michael Niedermayer

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

3edcacde 03/16/2004 04:11 PM Michael Niedermayer

init cleanup

Originally committed as revision 2899 to svn://svn.ffmpeg.org/ffmpeg/trunk

9c3d33d6 02/13/2004 05:54 PM Michael Niedermayer

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...

99683a30 02/08/2004 10:52 PM Michael Niedermayer

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)...

fe455f33 02/06/2004 03:27 PM Alex Beregszaszi

get_bit_count -> put_bits_count

Originally committed as revision 2752 to svn://svn.ffmpeg.org/ffmpeg/trunk

303e50e6 01/22/2004 07:48 PM Michael Niedermayer

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

909678c7 01/10/2004 07:54 PM Michael Niedermayer

grayscale mjpeg decoding support based upon a patch by (Leon Bottou (leonb))

Originally committed as revision 2687 to svn://svn.ffmpeg.org/ffmpeg/trunk

5814beaa 12/11/2003 11:17 AM Michael Niedermayer

set AVCodecContext.width/height before get_buffer()

Originally committed as revision 2596 to svn://svn.ffmpeg.org/ffmpeg/trunk

9515c0c1 11/12/2003 10:06 PM Michael Niedermayer

better fix

Originally committed as revision 2513 to svn://svn.ffmpeg.org/ffmpeg/trunk

7d587359 11/12/2003 10:01 PM Michael Niedermayer

small mjpeg fix by (James Stembridge <jstembridge at users dot sourceforge dot net>)

Originally committed as revision 2512 to svn://svn.ffmpeg.org/ffmpeg/trunk

9b879566 11/03/2003 01:26 PM Michel Bardiaux

av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)

Originally committed as revision 2469 to svn://svn.ffmpeg.org/ffmpeg/trunk

369e2d50 10/22/2003 10:12 PM Alex Beregszaszi

10l

Originally committed as revision 2418 to svn://svn.ffmpeg.org/ffmpeg/trunk

5ff85f1d 10/20/2003 08:23 PM Michael Niedermayer

AVRational
sample_aspect_ratio
aspect ratio in JPEG JFIF is SAR not DAR !
removed nonsense SAR guessing code
various related cleanups
bugs?

Originally committed as revision 2403 to svn://svn.ffmpeg.org/ffmpeg/trunk

764ef400 10/14/2003 04:15 AM Mike Melanson

disable encoders where appropriate (patch courtesy of BERO
<bero at geocities.co.jp>)

Originally committed as revision 2375 to svn://svn.ffmpeg.org/ffmpeg/trunk

ed7debda 10/12/2003 09:25 PM Alex Beregszaszi

removed the obsolete and unused parameters of init_put_bits

Originally committed as revision 2366 to svn://svn.ffmpeg.org/ffmpeg/trunk

5e83dec4 10/11/2003 09:49 PM Alex Beregszaszi

Sunplus JPEG codec (SP5X) support

Originally committed as revision 2362 to svn://svn.ffmpeg.org/ffmpeg/trunk

688cbabe 10/11/2003 08:29 AM Michael Niedermayer

recommit of
direct rendering support

Originally committed as revision 2356 to svn://svn.ffmpeg.org/ffmpeg/trunk

158c7f05 10/07/2003 11:32 AM Michael Niedermayer

use lagrange multipler instead of qp for ratecontrol, this may break some things, tell me ASAP if u notice anything broken
quality which was 1..31 float is now a 1..FF_LAMBDA_MAX int, and FF_QP2LAMBDA * qp can be used to convert to the new range

Originally committed as revision 2348 to svn://svn.ffmpeg.org/ffmpeg/trunk

b1609412 09/09/2003 10:59 PM Fabrice Bellard

removed warnings

Originally committed as revision 2248 to svn://svn.ffmpeg.org/ffmpeg/trunk

68a48891 07/14/2003 09:07 PM Michael Niedermayer

10l

Originally committed as revision 2042 to svn://svn.ffmpeg.org/ffmpeg/trunk

7e9e2b55 07/12/2003 08:21 PM Michael Niedermayer

cleanup

Originally committed as revision 2038 to svn://svn.ffmpeg.org/ffmpeg/trunk

ec0eeaa2 07/10/2003 07:09 PM Michael Niedermayer

postprocessing support
fix duplicate frames bug?

Originally committed as revision 2031 to svn://svn.ffmpeg.org/ffmpeg/trunk

0273ceeb 07/08/2003 10:12 PM Michael Niedermayer

few more error checks

Originally committed as revision 2021 to svn://svn.ffmpeg.org/ffmpeg/trunk

2a250222 06/22/2003 11:08 AM Michael Niedermayer

CONFIG_ENCODERS cleanup

Originally committed as revision 1984 to svn://svn.ffmpeg.org/ffmpeg/trunk

eb60dddc 06/20/2003 03:21 PM Alex Beregszaszi

some warning fixes

Originally committed as revision 1977 to svn://svn.ffmpeg.org/ffmpeg/trunk

b1e6b355 06/17/2003 10:48 PM Michael Niedermayer

lossless mjpeg encoding (planar yuv & RGB) and somerelated bugfixes

Originally committed as revision 1968 to svn://svn.ffmpeg.org/ffmpeg/trunk

971eb237 06/16/2003 03:06 PM Alex Beregszaszi

10l

Originally committed as revision 1965 to svn://svn.ffmpeg.org/ffmpeg/trunk

63efe9a7 06/16/2003 01:19 PM Michael Niedermayer

cleanup
pegasus "pseudo yuv" (=RCT) lossless decoding support
bigendian fix?

Originally committed as revision 1963 to svn://svn.ffmpeg.org/ffmpeg/trunk

e4d2b1f3 06/15/2003 12:15 AM Michael Niedermayer

lossless jpeg decoding support

Originally committed as revision 1959 to svn://svn.ffmpeg.org/ffmpeg/trunk

9fe690c8 05/23/2003 04:04 PM Michael Niedermayer

optimize

Originally committed as revision 1900 to svn://svn.ffmpeg.org/ffmpeg/trunk

6d50b2e6 05/20/2003 01:03 AM Michael Niedermayer

cleanup

Originally committed as revision 1893 to svn://svn.ffmpeg.org/ffmpeg/trunk

3db320ea 05/15/2003 01:34 AM Falk Hüffner

Warning fixes.

Originally committed as revision 1884 to svn://svn.ffmpeg.org/ffmpeg/trunk

1984f635 03/22/2003 12:09 PM Michael Niedermayer

user setable quantizer bias

Originally committed as revision 1701 to svn://svn.ffmpeg.org/ffmpeg/trunk