summaryrefslogtreecommitdiffstats
path: root/libavcodec/mjpegdec.c
Commit message (Collapse)AuthorAgeFilesLines
* Add new decoder property max_lowres and do not init decoder if requested ↵Carl Eugen Hoyos2010-07-071-0/+2
| | | | | | value is higher. Originally committed as revision 24098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | 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-301-2/+2
| | | | | | 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-271-1/+1
| | | | | | 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-261-0/+4
| | | | 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-251-0/+4
| | | | 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-101-1/+2
| | | | Originally committed as revision 20796 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Flip red and blue in rct-less lossless jpeg.Michael Niedermayer2009-12-101-2/+2
| | | | | | 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-101-1/+1
| | | | | | big endian) Originally committed as revision 20789 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allocate pictures with enough padding for jpeg.Michael Niedermayer2009-11-201-2/+3
| | | | | | | 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-191-1/+4
| | | | | | | 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-021-3/+5
| | | | | | 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-191-1/+6
| | | | | | 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-161-0/+3
| | | | Originally committed as revision 20251 to svn://svn.ffmpeg.org/ffmpeg/trunk
* lavc MJPEG decoder is capable of decoding some extended sequentialKostya Shishkov2009-10-011-1/+1
| | | | | | | | 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-301-3/+1
| | | | 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-041-0/+4
| | | | | | | 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-041-0/+2
| | | | | | 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-041-0/+10
| | | | | | | | | 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-041-18/+2
| | | | | | | | | | 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-251-3/+2
| | | | | | 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-111-0/+1
| | | | 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-171-3/+1
| | | | Originally committed as revision 18548 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-071-1/+3
| | | | | | | | | | | 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-011-1/+1
| | | | | | | 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-191-1/+1
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove ff_get_fourcc() and use AV_RL32() insteadAurelien Jacobs2009-01-171-5/+5
| | | | 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-141-2/+2
| | | | | | and remove all ENABLE_ definitions. Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* clear_block mmxLoren Merritt2008-12-101-2/+2
| | | | Originally committed as revision 16045 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix progressive jpeg:Loren Merritt2008-12-101-45/+198
| | | | | | | | 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-271-3/+2
| | | | 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-271-2/+5
| | | | Originally committed as revision 15436 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check the 4th plane too when selecting the pixfmt.Michael Niedermayer2008-09-271-10/+11
| | | | | | 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-041-1/+2
| | | | | | 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-251-2/+2
| | | | 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-121-2/+2
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to many AVCodec declarations.Stefano Sabatini2008-04-271-2/+4
| | | | | | 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-191-1/+1
| | | | Originally committed as revision 12910 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-211-2/+2
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove #include "mpegvideo.h" where it is not neededAurelien Jacobs2008-03-051-1/+1
| | | | Originally committed as revision 12321 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-011-6/+6
| | | | Originally committed as revision 11712 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix MJPEG decoder for AMV files.Vladimir Voroshilov2007-10-131-1/+2
| | | | | | | | | 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-291-0/+5
| | | | | | 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-291-5/+14
| | | | | | 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-041-0/+3
| | | | | | | 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-191-1/+3
| | | | | | | | | | | 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-181-0/+3
| | | | | | | | 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-051-4/+4
| | | | Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix some printf format specifiersMåns Rullgård2007-06-161-3/+3
| | | | Originally committed as revision 9334 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix mjpeg decoding with broken huffman table headersOded Shimon2007-05-231-10/+16
| | | | Originally committed as revision 9111 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud