summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
| * adx: calculate the number of blocks in a packetJustin Ruggles2011-11-26
| |
| * adx: define and use 2 new macro constants BLOCK_SIZE and BLOCK_SAMPLESJustin Ruggles2011-11-26
| |
| * adx: check for unsupported ADX formatsJustin Ruggles2011-11-26
| |
| * adx: simplify encoding by using put_sbits()Justin Ruggles2011-11-26
| |
| * adx: calculate correct LPC coeffsJustin Ruggles2011-11-26
| | | | | | | | | | | | Instead of using fixed coefficients, the correct way is to calculate the coefficients using the highpass cutoff frequency from the ADX stream header and the sample rate.
| * adx: use 12-bit coefficients instead of 14-bit to avoid integer overflowJustin Ruggles2011-11-26
| |
| * adx: simplify adx_decode() by using get_sbits() to read residual samplesJustin Ruggles2011-11-26
| |
| * adx: fix the data offset parsing in adx_decode_header()Justin Ruggles2011-11-26
| | | | | | | | | | first 2 bytes are 0x80, 0x00. offset is only 16-bit. this is according to format descriptions on multimedia wiki and wikipedia.
| * adx: remove unneeded post-decode channel interleavingJustin Ruggles2011-11-26
| | | | | | | | instead interleave channels while decoding
| * adx: validate header valuesJustin Ruggles2011-11-26
| |
| * adx: cosmetics: general pretty-printing and comment clean-upJustin Ruggles2011-11-26
| |
| * adx: remove useless commentsJustin Ruggles2011-11-26
| |
| * adx: change short to int16_tJustin Ruggles2011-11-26
| |
| * adx: rename struct PREV to ADXChannelStateJustin Ruggles2011-11-26
| |
| * dnxhdenc: fix signed overflowsMans Rullgard2011-11-26
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * dv: simplify bitstream splicing in dv_decode_ac()Mans Rullgard2011-11-26
| | | | | | | | | | | | This is simpler and fixes some overflow checker warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * s3tc: fix shift overflow by using unsigned constantMans Rullgard2011-11-26
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * svq1enc: fix signed multiplication overflowMans Rullgard2011-11-26
| | | | | | | | | | | | | | | | This multiplication can overflow the signed range but not the unsigned. After right-shifting it will thus fit in the signed range again. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * svq1dec: use sign_extend()Mans Rullgard2011-11-26
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * rv34: fix signed multiplication overflowMans Rullgard2011-11-26
| | | | | | | | | | | | | | Multiply by unsigned 0x01010101 to replicate bytes into 32-bit word. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * [PATCH] Fix crash when initializing multi-threaded decoding for corrupted file.Cheng Sun2011-11-26
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * cook: use a table for xor key rotationMans Rullgard2011-11-26
| | | | | | | | | | | | | | This is simpler and avoids an invalid shift by 32 in the aligned case. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * apedec: fix signed integer overflowsMans Rullgard2011-11-26
| | | | | | | | | | | | | | This bit manipulation is equivalent but avoids undefined shifts and overflows. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * qtrle: simplify 32-bit decode using intreadwrite macrosMans Rullgard2011-11-26
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * gif: fix invalid signed shiftsMans Rullgard2011-11-26
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * rtjpeg: simplify get_block() by using get_bits_left.Reimar Döffinger2011-11-26
| | | | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * rtjpeg: check get_block return value for error.Reimar Döffinger2011-11-26
| | | | | | | | | | | | This avoids crashes due to reading out-of-bounds. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * nuv: check per-frame header for validity.Reimar Döffinger2011-11-26
| | | | | | | | | | | | | | Since it contains dimensions parsing an invalid one has rather annoying effects. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * nuv: use FFALIGN.Reimar Döffinger2011-11-26
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * flicvideo: check extradata_size before accessing extradata.Carl Eugen Hoyos2011-11-26
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * fraps: check for overread.Michael Niedermayer2011-11-26
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * cook: fix apparent typo in extradata parsingK.Y.H2011-11-26
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * lavc: update doxy to use nondeprecated API.Anton Khirnov2011-11-26
| |
* | vc1: Fix pic_header_flag=0 (SA10143.vc1)Michael Niedermayer2011-11-26
| | | | | | | | | | | | | | | | | | | | | | Bug introduced in: commit 4509be3d2f46a52ada8e2ecb476faed93e19abf3 Author: Michael Niedermayer <michaelni@gmx.at> Date: Tue Oct 11 11:56:42 2011 +0200 vc1: reset interlaced variables, prevent another bunch of crashes. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | pthreads: fix segfault due to the thread beimg killed before it has been ↵Michael Niedermayer2011-11-26
| | | | | | | | | | | | allocated Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | aacdec: Fix Sound fragments after seekingkaptnole2011-11-26
| | | | | | | | | | | | Fixes Ticket420 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-11-26
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: swscale: Readd #define _SVID_SOURCE Fix av_get_channel_layout_string() for positions >31 configure: Store vda lib flags in extralibs instead of ldflags Make channel layout masks unsigned dca: ARMv6 optimised decode_blockcode() nullenc: drop AVFMT_RAWPICTURE from the flags frame-mt: return consumed packet size in ff_thread_decode_frame aacdec: add more fate tests covering SBR and PS MK(BE)TAG: avoid undefined shifts Conflicts: configure libavcodec/arm/dca.h libavcodec/dca.c libavcodec/mlp_parser.c libavcodec/version.h libavfilter/asrc_anullsrc.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/defaults.c libavutil/audioconvert.c libavutil/avutil.h libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Make channel layout masks unsignedMans Rullgard2011-11-25
| | | | | | | | | | | | | | | | | | | | It makes more sense for a bit mask to use an unsigned type. The change should be source and binary compatible on all supported systems, hence micro version bump. Fixes a few invalid shifts. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * dca: ARMv6 optimised decode_blockcode()Mans Rullgard2011-11-25
| | | | | | | | | | | | | | | | | | This is a hand-tuned version of the code with impossible parts of the FASTDIV function ommitted. 2-5% faster overall on Cortex-A8. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * frame-mt: return consumed packet size in ff_thread_decode_frameJanne Grunau2011-11-25
| | | | | | | | | | This is required to fulfill avcodec_decode_video2() promise to return the number of consumed bytes on success.
* | vc1dec: fix scantable for advanced P framesMichael Niedermayer2011-11-25
| | | | | | | | | | | | | | | | Fixes: vc1 file from Ticket606 Fixes: vc1+vc1+++artifacts*.vc1 Fixes: mpeg+vc1+++salxxos.evo Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vc1dec: fix 10l typoMichael Niedermayer2011-11-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vc1dec: drop damaged B framesMichael Niedermayer2011-11-25
| | | | | | | | | | | | Fixes: vc1_error_spilt.avi of Ticket606 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vc1dec: fix used ER flags in vc1_decode_b_blocks()Michael Niedermayer2011-11-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | indeo3: out of array read checks for decode_plane()Michael Niedermayer2011-11-25
| | | | | | | | | | | | Fixes: avi+indeo3+++1-dog.avi Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | indeo3: Check remaining bits in parse_bintree()Michael Niedermayer2011-11-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | H264: Check if more RBSP data in PPS provided by current profile due to Annex A.Anatoly Nenashev2011-11-25
| | | | | | | | | | | | This patch also fix issue https://ffmpeg.org/trac/ffmpeg/ticket/685. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-11-25
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: snow: split snow in snowdec and snowenc tiffenc: deprecate using compression_level swscale: fix failing fate tests. swscale: add support for planar RGB input. h264: add support for decoding planar RGB images. Clean up swscale pixfmt macros using av_pix_fmt_descriptors[]. pixfmt: add planar RGB formats. Conflicts: libavcodec/h264.c libavcodec/snow.c libavcodec/utils.c libavutil/avutil.h libavutil/pixdesc.c libavutil/pixfmt.h libswscale/swscale.c libswscale/swscale_internal.h libswscale/swscale_unscaled.c libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * snow: split snow in snowdec and snowencLuca Barbato2011-11-24
| | | | | | | | | | The common non inlined code goes in snow.c, the common inlined code in snow.h, tables move in snowdata.h (included only by snow.c)
| * tiffenc: deprecate using compression_levelAnton Khirnov2011-11-24
| |