summaryrefslogtreecommitdiff
path: root/libavcodec/mjpegdec.c
Commit message (Collapse)AuthorAge
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix misc typos, patch byStefano Sabatini2010-01-27
| | | | | | Fabian Greffrath base64_decode(PGZhYmlhbkBncmVmZnJhdGguY29tPg==). Originally committed as revision 21473 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Metasoft MJPEG codec has Cb and Cr swapped, fixes issue 1611.Carl Eugen Hoyos2010-01-26
| | | | Originally committed as revision 21451 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix heap overflow due to lack of nb_components check.Michael Niedermayer2010-01-25
| | | | Originally committed as revision 21450 to svn://svn.ffmpeg.org/ffmpeg/trunk
* (Partly) support Metasoft MJPEG Codec, fixes half of issue 1611.Carl Eugen Hoyos2009-12-10
| | | | Originally committed as revision 20796 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Flip red and blue in rct-less lossless jpeg.Michael Niedermayer2009-12-10
| | | | | | Fixes issue1466, and decoding of plain lossless jpeg. Originally committed as revision 20790 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Lossless jpeg expects and uses BGRA not RGB32 (this probably caused a problem onMichael Niedermayer2009-12-10
| | | | | | big endian) Originally committed as revision 20789 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allocate pictures with enough padding for jpeg.Michael Niedermayer2009-11-20
| | | | | | | Ensure that jpeg does not use mbs that could require larger padding. This might have been exploitable. Originally committed as revision 20566 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Disable image flipping during JPEG decoding if CODEC_FLAG_EMU_EDGE is setReimar Döffinger2009-11-19
| | | | | | | instead of either aborting on the assert or crashing due to writing beyond the array due to insufficient padding. Originally committed as revision 20552 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid huge array for rgb ljpeg on the stack.Michael Niedermayer2009-11-02
| | | | | | Code tested with an ljpeg i had laying around. Originally committed as revision 20433 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Flip (M)JPEG frames encoded by Intel JPEG library.Carl Eugen Hoyos2009-10-19
| | | | | | Fixes issues 1464 and 1468. Originally committed as revision 20312 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Release unreleased buffers found by make test.Carl Eugen Hoyos2009-10-16
| | | | Originally committed as revision 20251 to svn://svn.ffmpeg.org/ffmpeg/trunk
* lavc MJPEG decoder is capable of decoding some extended sequentialKostya Shishkov2009-10-01
| | | | | | | | Huffman-compressed JPEG files, so make it decode those files (samples are welcome). This fixes issue 1420 Originally committed as revision 20113 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change av_log() calls surrounded by '#ifdef DEBUG' into dprintf macros.Diego Biurrun2009-07-30
| | | | Originally committed as revision 19550 to svn://svn.ffmpeg.org/ffmpeg/trunk
* If the end of the input buffer is reached while decoding MJPEG and at leastReimar Döffinger2009-07-04
| | | | | | | a valid SOF was found, emulate an EOI. This allows e.g. to at least decode the available part of incomplete MJPEG frames. Originally committed as revision 19344 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the MJPEG decoder return -1 when no image was decoded so that decodeReimar Döffinger2009-07-04
| | | | | | errors are actually recognizable as such. Originally committed as revision 19343 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a got_picture flag to MJpegDecodeContext which indicates if its pictureReimar Döffinger2009-07-04
| | | | | | | | | element is valid. Skip the code handling SOS and EOI if not, since it can not work without a valid AVPicture. This fixes a crash with mjpeg/smclockmjpeg.avi.1.0 from issue 1240 where the decoder returned an invalid AVPicture. Originally committed as revision 19342 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mjpegdec: check that the coded dc_index and ac_index have a valid associated ↵Reimar Döffinger2009-07-04
| | | | | | | | | | VLC table. Removes some disabled dc_index/ac_index checking code that seems to have had some undocumented issues and should not really be necessary anymore now. Fixes from issue 1240 the files mjpeg/smclockmjpeg.avi.1.10 and mjpeg/smclockmjpeg.avi.1.171. Originally committed as revision 19341 to svn://svn.ffmpeg.org/ffmpeg/trunk
* honor restart interval in mjpeg, fix #861, SpectralFan.mov still decodes ↵Baptiste Coudurier2009-05-25
| | | | | | correctly Originally committed as revision 18937 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a chroma_sample_location field to define positioning of chroma samplesDavid Conrad2009-05-11
| | | | Originally committed as revision 18795 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variables from ff_mjpeg_decode_sos() found by CSA.Michael Niedermayer2009-04-17
| | | | Originally committed as revision 18548 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove ff_get_fourcc() and use AV_RL32() insteadAurelien Jacobs2009-01-17
| | | | Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_Aurelien Jacobs2009-01-14
| | | | | | and remove all ENABLE_ definitions. Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* clear_block mmxLoren Merritt2008-12-10
| | | | Originally committed as revision 16045 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix progressive jpeg:Loren Merritt2008-12-10
| | | | | | | | support refinement passes remove intermediate clipping remove redundant idct Originally committed as revision 16044 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace apparently always true condition by assert().Michael Niedermayer2008-09-27
| | | | Originally committed as revision 15437 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify pix_fmt_id instead of listing a subset of non-simplified ones.Michael Niedermayer2008-09-27
| | | | Originally committed as revision 15436 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check the 4th plane too when selecting the pixfmt.Michael Niedermayer2008-09-27
| | | | | | Fixes a crash with Test-4-component-YCCK.jpg. Originally committed as revision 15435 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Return an error when ff_jpegls_decode_picture fails.Mathieu Malaterre2008-08-04
| | | | | | Patch by Mathieu Malaterre: name.surname at gmail Originally committed as revision 14535 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove duplicate tablesStefan Gehrer2008-06-25
| | | | Originally committed as revision 13959 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to many AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement FFMAX3(a,b,c) - maximum over three arguments.Vladimir Voroshilov2008-04-19
| | | | Originally committed as revision 12910 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove #include "mpegvideo.h" where it is not neededAurelien Jacobs2008-03-05
| | | | Originally committed as revision 12321 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-01
| | | | Originally committed as revision 11712 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix MJPEG decoder for AMV files.Vladimir Voroshilov2007-10-13
| | | | | | | | | Since decoding is doing from the end and aligned by 16 previous code worked correctly only when picture height was dividable by 16, otherwise it provides garbage in top lines and truncates bottom. New code adjusts data[] pointers taking in account alignment issue. Originally committed as revision 10727 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AMV video decoder.Vladimir Voroshilov2007-09-29
| | | | | | Patch by Vladimir Voroshilov (voroshil - gmail - com) Originally committed as revision 10617 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add variables to prepare to the AMV decoder patch.Vladimir Voroshilov2007-09-29
| | | | | | Patch by Vladimir Voroshilov (voroshil - gmail - com) Originally committed as revision 10614 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for grayscale MJPEG streams sent by Axis cameras such as theSam Hocevar2007-08-04
| | | | | | | 207MW (http://www.axis.com/products/cam_207mw/). patch by Sam Hocevar, sam+ffmpeg zoy org Originally committed as revision 9913 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bail out on unknown jpeg pixel format instead of silently decoding data ↵Andreas Öman2007-07-19
| | | | | | | | | | | incorrectly patch by Andreas Öman % andreas A olebyn P nu % Original thread: date: Jul 19, 2007 4:50 PM subject: [FFmpeg-devel] [PATCH] bail out on unknown jpeg pixel format Originally committed as revision 9764 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add YUV440P and YUVJ440P supportAndreas Öman2007-07-18
| | | | | | | | patch by Andreas Öman: \andreas olebyn nu/ original thread: [FFmpeg-devel] half vertical chroma resolution from JPEGs.. date: 07/03/2007 01:29 PM Originally committed as revision 9732 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Group all copyright and author notices together.Diego Biurrun2007-07-05
| | | | Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix some printf format specifiersMåns Rullgård2007-06-16
| | | | Originally committed as revision 9334 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix mjpeg decoding with broken huffman table headersOded Shimon2007-05-23
| | | | Originally committed as revision 9111 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move mjpeg-b decoder in its own fileAurelien Jacobs2007-05-19
| | | | Originally committed as revision 9073 to svn://svn.ffmpeg.org/ffmpeg/trunk