summaryrefslogtreecommitdiff
path: root/libavcodec/rawdec.c
Commit message (Collapse)AuthorAge
* raw: move buffer size check up.Ronald S. Bultje2012-03-07
| | | | | | | This way, it protects against overreads for 4bpp/2bpp content also. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* Remove unnecessary AVFrame pointer casts.Diego Biurrun2012-03-01
|
* pixdesc: mark pseudopaletted formats with a special flag.Anton Khirnov2012-02-08
| | | | | | This makes it possible to dintinguish them from PAL8. Fixes an invalid write in avpicture_layout().
* rawdec: propagate pict_type information to the output frameStefano Sabatini2012-01-01
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rawdec: Support more QT 1bpp rawvideo files.Piotr Bandurski2012-01-01
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* rawdec: Fix decoding of QT WRAW files.ami_stuff2011-06-21
| | | | | | | From some tests it results that: 1. All of the AVI/MOV WRAW files need to be flipped. 2. MOV WRAW files need to use AVI color modes. 3. Assigning PAL8 mode by default to WRAW codec is not correct.
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* make containers pass palette change in AVPacketKostya Shishkov2011-04-15
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Merge libavcore into libavutilReinhard Tartler2011-02-15
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* In the rawvideo decoder, set pkt_pts in the output frame.Stefano Sabatini2011-01-28
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move internal function ff_set_systematic_pal() to libavcore, andStefano Sabatini2010-11-09
| | | | | | rename it ff_set_systematic_pal2(). Originally committed as revision 25712 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rawdec: Properly pass reordered_opaque through the decoderAlexander Strange2010-09-29
| | | | Originally committed as revision 25261 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rawdec: ensure that there is always a valid palette for formats thatReimar Döffinger2010-09-25
| | | | | | should have one like gray8 etc. Originally committed as revision 25190 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rawdec: only allocate a full-frame size buffer if it actually willReimar Döffinger2010-09-23
| | | | | | be used, place palette buffer in the context to simplify this. Originally committed as revision 25163 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avcodec.h: Clarify AVCodecContext::pix_fmt documentation since its value may ↵Tomas Härdin2010-06-10
| | | | | | | | be set by the demuxer rawdec.c: Only perform bits_per_coded_sample -> pix_fmt guesswork if pix_fmt hasn't been set Originally committed as revision 23561 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix rgb444 support in avi.Michael Niedermayer2010-06-06
| | | | Originally committed as revision 23503 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename pixelFormatBpsAVI to pix_fmt_bps_avi and pixelFormatBpsMOV toStefano Sabatini2010-05-21
| | | | | | | | pix_fmt_bps_mov. The new names are consistent with the predominant FFmpeg style. Originally committed as revision 23244 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename findPixelFormat() to find_pix_fmt().Stefano Sabatini2010-05-21
| | | | | | Less ugly and more consistent with the FFmpeg predominant style. Originally committed as revision 23243 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ff_raw_pixelFormatTags symbol to ff_raw_pix_fmt_tags.Stefano Sabatini2010-05-20
| | | | | | The new name is shorter and consistent with the FFmpeg style. Originally committed as revision 23206 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avi bgr24 padding fix.Michael Niedermayer2010-04-30
| | | | | | Fixes issue1901 Originally committed as revision 22997 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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 r21223: AVup samples (issue 1685) need a buf offset like AV1x (issue 1684).Carl Eugen Hoyos2010-02-02
| | | | Originally committed as revision 21617 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correctly decode some Avid AV1x samples, fixes issue 1684.Carl Eugen Hoyos2010-01-16
| | | | Originally committed as revision 21241 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not assign codec_tag to pix_fmt in rawdec.c, but in raw.cCarl Eugen Hoyos2010-01-15
| | | | Originally committed as revision 21218 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support uncompressed ("Resolution 1:1") Avid AVI Codec, (partially) fixes ↵Carl Eugen Hoyos2010-01-12
| | | | | | issue 1474. Originally committed as revision 21154 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Fix indentation and comment after r21027.Carl Eugen Hoyos2010-01-05
| | | | Originally committed as revision 21028 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support decoding raw 2bpp in mov, fixes issue 1528.Carl Eugen Hoyos2010-01-05
| | | | Originally committed as revision 21027 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Improve readability of 4bpp raw decoder and prepare for supporting 2bpp.Carl Eugen Hoyos2010-01-05
| | | | Originally committed as revision 21026 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix colourspace for 16 bit raw video in mov, fixes issue 1527 on big-endian.Carl Eugen Hoyos2009-12-31
| | | | Originally committed as revision 20985 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support raw black&white in mov, fixes issue 1654.Carl Eugen Hoyos2009-12-30
| | | | Originally committed as revision 20984 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use correct pixfmt for 32 bit raw in mov also on big-endian, fixes issue 1630.Carl Eugen Hoyos2009-12-29
| | | | Originally committed as revision 20962 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify: use FFSWAPReimar Döffinger2009-10-13
| | | | Originally committed as revision 20222 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add new FOURCC (0x0003) for raw DIB video, set flip flag accordingly.Jason Garrett-Glaser2009-06-12
| | | | | | Fixes a few AVI files from what is probably a mobile phone video camera. Originally committed as revision 19172 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support YVU9 AVI 4cc.Michael Niedermayer2009-05-26
| | | | | | Fixes issue1068. Originally committed as revision 18952 to svn://svn.ffmpeg.org/ffmpeg/trunk
* update comment for rgb 16 bit in .movBaptiste Coudurier2009-05-10
| | | | Originally committed as revision 18777 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
* Map MOV fourcc YUV2 correctly to PIX_FMT_YUYV422.Jai Menon2009-04-02
| | | | | | Patch by Jai Menon Originally committed as revision 18316 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2009-02-21
| | | | Originally committed as revision 17481 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix raw rgb/bgr vertical flip in avi based on info from ↵Michael Niedermayer2009-02-21
| | | | | | | | http://www.fourcc.org/fccbihgt.php. partially fixes issue862. Originally committed as revision 17475 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
* Fix some icc warnings by using enum PixelFormat instead of int where ↵Carl Eugen Hoyos2008-10-13
| | | | | | appropriate. Originally committed as revision 15611 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump Major version, this commit is almost just renaming bits_per_sample toLuca Abeni2008-09-08
| | | | | | | | | | | bits_per_coded_sample but that cannot be done seperately. Patch by Luca Abeni Also reset the minor version and fix the forgotton change to libfaad. Note: The API/ABI should not be considered stable yet, there still may be a change done here or there if some developer has some cleanup ideas and patches! Originally committed as revision 15262 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 AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13009 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