summaryrefslogtreecommitdiff
path: root/libavcodec/rawdec.c
Commit message (Collapse)AuthorAge
...
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-08
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (29 commits) sbrdsp.asm: convert all instructions to float/SSE ones. dv: cosmetics. dv: check buffer size before reading profile. Revert "AAC SBR: group some writes." udp: Print an error message if bind fails cook: extend channel uncoupling tables so the full bit range is covered. roqvideo: cosmetics. roqvideo: convert to bytestream2 API. dca: don't use av_clip_uintp2(). wmall: fix build with -DDEBUG enabled. smc: port to bytestream2 API. AAC SBR: group some writes. dsputil: remove shift parameter from scalarproduct_int16 SBR DSP: unroll sum_square rv34: remove dead code in intra availability check rv34: clean a bit availability checks. v4l2: update documentation tgq: convert to bytestream2 API. parser: remove forward declaration of MpegEncContext dca: prevent accessing static arrays with invalid indexes. ... Conflicts: doc/indevs.texi libavcodec/Makefile libavcodec/dca.c libavcodec/dvdata.c libavcodec/eatgq.c libavcodec/mmvideo.c libavcodec/roqvideodec.c libavcodec/smc.c libswscale/output.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-03
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (29 commits) amrwb: remove duplicate arguments from extrapolate_isf(). amrwb: error out early if mode is invalid. h264: change underread for 10bit QPEL to overread. matroska: check buffer size for RM-style byte reordering. vp8: disable mmx functions with sse/sse2 counterparts on x86-64. vp8: change int stride to ptrdiff_t stride. wma: fix invalid buffer size assumptions causing random overreads. Windows Media Audio Lossless decoder rv10/20: Fix slice overflow with checked bitstream reader. h263dec: Disallow width/height changing with frame threads. rv10/20: Fix a buffer overread caused by losing track of the remaining buffer size. rmdec: Honor .RMF tag size rather than assuming 18. g722: Fix the QMF scaling r3d: don't set codec timebase. electronicarts: set timebase for tgv video. electronicarts: parse the framerate for cmv video. ogg: don't set codec timebase electronicarts: don't set codec timebase avs: don't set codec timebase wavpack: Fix an integer overflow ... Conflicts: libavcodec/arm/vp8dsp_init_arm.c libavcodec/fraps.c libavcodec/h264.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/msmpeg4.c libavcodec/pnmdec.c libavcodec/qpeg.c libavcodec/rawenc.c libavcodec/ulti.c libavcodec/vcr1.c libavcodec/version.h libavcodec/wmalosslessdec.c libavformat/electronicarts.c libswscale/ppc/yuv2rgb_altivec.c tests/ref/acodec/g722 tests/ref/fate/ea-cmv Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Remove unnecessary AVFrame pointer casts.Diego Biurrun2012-03-01
| |
* | rawdec: fix input overread.Michael Niedermayer2012-03-02
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-09
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: pixdesc: mark pseudopaletted formats with a special flag. avconv: switch to avcodec_encode_video2(). libx264: implement encode2(). libx264: split extradata writing out of encode_nals(). lavc: add avcodec_encode_video2() that encodes from an AVFrame -> AVPacket cmdutils: update copyright year to 2012. swscale: sign-extend integer function argument to qword on x86-64. x86inc: support yasm -f win64 flag also. h264: manually save/restore XMM registers for functions using INIT_MMX. x86inc: allow manual use of WIN64_SPILL_XMM. aacdec: Use correct speaker order for 7.1. aacdec: Remove incorrect comment. aacdec: Simplify output configuration. Remove Sun medialib glue code. dsputil: set STRIDE_ALIGN to 16 for x86 also. pngdsp: swap argument inversion. Conflicts: cmdutils.c configure doc/APIchanges ffmpeg.c libavcodec/aacdec.c libavcodec/dsputil.h libavcodec/libx264.c libavcodec/mlib/dsputil_mlib.c libavcodec/utils.c libavfilter/vf_scale.c libavutil/avutil.h libswscale/mlib/yuv2rgb_mlib.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | Fix linesize for rawvideo in mov.Carl Eugen Hoyos2012-01-12
| | | | | | | | Fixes ticket #823.
* | Allow decoding of uyvy422 CYUV with -vcodec rawvideo.Carl Eugen Hoyos2012-01-06
| | | | | | | | FourCC CYUV can be Creative YUV and uyvy422 rawvideo.
* | AVOptions: rename remaining FF_OPT_TYPE_* to AV_OPT_TYPE_*.Clément Bœsch2011-10-17
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-30
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mxfdec: Include FF_INPUT_BUFFER_PADDING_SIZE when allocating extradata. H.264: tweak some other x86 asm for Atom probe: Fix insane flow control. mpegts: remove invalid error check s302m: use nondeprecated audio sample format API lavc: use designated initialisers for all codecs. x86: cabac: add operand size suffixes missing from 6c32576 Conflicts: libavcodec/ac3enc_float.c libavcodec/flacenc.c libavcodec/frwu.c libavcodec/pictordec.c libavcodec/qtrleenc.c libavcodec/v210enc.c libavcodec/wmv2dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | Support fourcc YV24.ami_stuff2011-07-06
| | | | | | | | Fixes ticket #306.
* | Fix internal buffer size for 2bpp and 4bpp raw video.Carl Eugen Hoyos2011-07-01
| |
* | Fix linesize for some rawvideo samples with odd width.Carl Eugen Hoyos2011-06-30
| |
* | Support fourcc YV16 (ticket 307).ami_stuff2011-06-27
| |
* | rawdec: fail in case of unknow pixel formatStefano Sabatini2011-05-30
| |
* | Fix 32bit rawvideo in avi on big-endian.Carl Eugen Hoyos2011-05-26
| |
* | rawdec: fix decoding of QT WRAW filesami_stuff2011-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | Fix decoding of QT WRAW files. From some tests it results that: 1. all of the AVI/MOV WRAW files (at least from the link posted to the trac ticket #108) 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 Fix decoding of file CarltonMovie2.mov, fix trac issue #108.
* | rawdec: Allow overriding top field first.Michael Niedermayer2011-05-16
| | | | | | | | | | | | | | Iam not sure this is the best way to implement it, but its the simplest and keeps the code seperate from the application. Keeping ffmpeg.c simple and not requireing user apps to duplicate this code. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Support decoding of 1bpp rawvideo in avi (ticket 205).ami_stuff2011-05-16
| |
* | Support decoding of 2bpp rawvideo in avi (ticket 206).ami_stuff2011-05-16
| |
* | rawdec: propagate pict_type information to the output frameStefano Sabatini2011-05-15
| |
* | Support more QT 1bpp rawvideo files.ami_stuff2011-05-13
| | | | | | | | Fixes ticket #189.
* | replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*Stefano Sabatini2011-05-02
| |
* | lavc: add a pkt_pos field to AVFrameStefano Sabatini2011-05-01
| | | | | | | | | | | | This is similar to what was done with pkt_pts. This simplifies the operation of extracting the pos information from the AVPacket, and allows further simplifications.
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-04-17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ac3dec: fix processing of delta bit allocation information. vc1: fix fate-vc1 after previous commit. wmv3dec: fix playback of complex WMV3 files using simple_idct. make av_dup_packet() more cautious on allocation failures make containers pass palette change in AVPacket introduce side information for AVPacket Politic commits that have not been pulled: Update regtest checksums after revision 6001dad. Replace more FFmpeg references by Libav. Replace references to ffmpeg-devel with libav-devel; fix roundup URL. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | Make find_pix_fmt() non staticMichael Niedermayer2011-04-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge libavcore into libavutilReinhard Tartler2011-02-16
| | | | | | | | Done to keep ABI compatible. Otherwise this is just silly
* | In the rawvideo decoder, set pkt_pts in the output frame.Stefano Sabatini2011-01-30
| | | | | | | | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 3c802cabba8e85e4f2949c57df947dd1823a15f5)
* | Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-28
|/ | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit d36beb3f6902b1217beda576aa18abf7eb72b03c)
* 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