summaryrefslogtreecommitdiff
path: root/libavcodec/mjpegdec.c
Commit message (Collapse)AuthorAge
...
* 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
* move sp5x decoder in its own fileAurelien Jacobs2007-05-19
| | | | Originally committed as revision 9071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* allows to disable jpegls decoderAurelien Jacobs2007-05-19
| | | | Originally committed as revision 9070 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move mjpega_dump_header bitstream filter in its own fileAurelien Jacobs2007-05-19
| | | | Originally committed as revision 9068 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add proper prefix to new mjpeg extern func/varAurelien Jacobs2007-05-17
| | | | Originally committed as revision 9049 to svn://svn.ffmpeg.org/ffmpeg/trunk
* split mjpeg.c into an encoder and a decoder fileAurelien Jacobs2007-05-17
Originally committed as revision 9048 to svn://svn.ffmpeg.org/ffmpeg/trunk