Statistics
| Branch: | Revision:

ffmpeg / libavcodec / mjpeg.c @ b6204677

History | View | Annotate | Download (72.9 KB)

# Date Author Comment
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

ce2749d2 03/09/2003 04:07 PM Alex Beregszaszi

simplified

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

983e3246 03/06/2003 11:32 AM Michael Niedermayer

per file doxy

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

b0368839 03/03/2003 02:54 PM Michael Niedermayer

MpegEncContext.(i)dct_* -> DspContext.(i)dct_*
bitexact cleanup

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

0c1a9eda 02/11/2003 04:35 PM Zdenek Kabelac
  • UINTX -> uintx_t INTX -> intx_t

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

dce778e0 02/10/2003 10:45 AM Zdenek Kabelac
  • check for potentialy problematic field len

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

5c91a675 02/10/2003 09:35 AM Zdenek Kabelac
  • static,const,compiler warning cleanup

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

68f593b4 01/21/2003 05:34 PM Michael Niedermayer

GetBitContext.size is allways multiplied by 8 -> use size_in_bits to avoid useless *8 in a few inner loops

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

ccfddafb 01/01/2003 03:10 PM bubu

warnings patch by (bubu <bubu at bubu dot net>)

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

a46a7052 12/22/2002 10:34 PM Alex Beregszaszi

disabled aspect code due to it is extra buggy

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

706fc4de 12/06/2002 03:01 PM Michael Niedermayer

fixing aspect (hopefully, i couldnt reproduce the bug)

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

1e491e29 12/04/2002 10:04 AM Michael Niedermayer

cleanup
adding AVVideoFrame
moving quality, pict_type, key_frame, qscale_table, ... to AVVideoFrame
removing obsolete variables in AVCodecContext
skiping of MBs in b frames
correctly initalizing AVCodecContext
picture buffer cleanup

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

17308326 12/03/2002 03:42 PM Alex Beregszaszi

10l fix

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

b135d9fb 11/20/2002 03:18 PM Alex Beregszaszi

mjpegb support (need more samples)

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

218baf10 11/06/2002 11:59 AM Michael Niedermayer

cleanup

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

81ada1ce 11/06/2002 09:30 AM Michael Niedermayer

cleanup

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

145956de 11/02/2002 10:49 PM Alex Beregszaszi

fixed some bugs in app parser - some jfif and adobe jpgs fixed

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

f9745d55 10/31/2002 09:24 AM Alex Beregszaszi

fixed 10l

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

f3a34447 10/28/2002 04:29 PM Alex Beregszaszi

FOURCC removed, using ff_get_fourcc instead (should be big-endian safe), workarounded a restart interval bug (Spectralfan.mov) (rst support should be rewritten and moved from decode_sos)

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

1c0a593a 10/27/2002 09:02 PM Michael Niedermayer

get_vlc2()

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

055317a7 10/27/2002 07:20 PM Arpi

3rd 10l - don't let it read data beyond the end of frame

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

9d3748be 10/27/2002 07:11 PM Alex Beregszaszi

2nd 10l (noticed by arpi)

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

7b5c80f6 10/27/2002 07:01 PM Alex Beregszaszi

minor speedup noticed by arpi

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

97d4469a 10/27/2002 06:03 PM Alex Beregszaszi

10l

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

109362cb 10/27/2002 05:59 PM Alex Beregszaszi

reworked decode_frame marker searching, fixes many non-working samples

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

2ad1516a 09/29/2002 10:44 PM Michael Niedermayer

idct permutation cleanup, idct can be selected per context now
fixing some threadunsafe code

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

5596c60c 09/14/2002 10:07 PM Michael Niedermayer

dont store version for bit-exact tests

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

85bf478e 09/14/2002 12:30 PM Alex Beregszaszi

complete aspect support

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

d6afa9c6 07/27/2002 08:27 AM Leon van Stuivenberg

handle DRI/RST markers patch by Leon van Stuivenberg <leonvs at iae dot nl>

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

6b765cd2 07/12/2002 12:41 PM Falk Hüffner

Warning fix.

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

d85c5979 07/11/2002 11:34 PM Arpi

don't exit decoder after decoding first field -> fixes angels.avi interlacing

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

f197d19a 07/10/2002 02:34 PM Zdenek Kabelac
  • clean compiler warning

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

d8592280 06/27/2002 01:21 PM Zdenek Kabelac
  • turned into debug message - it's annoying when watching mjpeg files

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

ee4b748b 06/05/2002 06:35 PM Fabrice Bellard

use ff_idct_put()

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

cd4af68a 05/27/2002 04:42 PM Zdenek Kabelac
  • started to cleanup name clashes for onetime compilation

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

3093185e 05/25/2002 10:39 PM Fabrice Bellard

fixed incorrect buffer handling

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

6000abfa 05/18/2002 11:03 PM Fabrice Bellard

removed useless header includes - use av memory functions

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

564ef23d 05/09/2002 05:42 AM Juanjo

- Warning fix.

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

a69b930c 05/07/2002 05:55 PM Alex Beregszaszi

clamp intra matrix to 8bit for mjpeg (workaround for qscale>=25)

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

723106b2 05/07/2002 05:21 PM Alex Beregszaszi

added support for various app headers, and writin FFmpeg comment

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