summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* libvpxenc: restore vp8flags for compatibilityJames Zern2012-01-06
| | | | | | | | removed in 98df93c, this makes the documentation correct again. Found-by: j@v2v.cc Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tta: Fix regression of 24bit decoding.Michael Niedermayer2012-01-06
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Revert commit 599b4c6efddaed33b1667c386b34b07729ba732bMichael Niedermayer2012-01-06
| | | | | | | | | | | | | | | | | | Author: Mans Rullgard <mans@mansr.com> Date: Sun Dec 11 21:41:59 2011 +0000 x86: cabac: replace explicit memory references with "m" operands This replaces the explicit offset(reg) memory references with "m" operands for the same locations. As a result, one fewer register operand is needed for these inline asm statements. This change appears to have broken compilation on darwin, and subsequent fixes by martin (which did not fix compilation) removed the register advantage, thus this change seems not a good idea to keep. See: http://fate.ffmpeg.org/log.cgi?time=20120103122446&log=compile&slot=i386-darwin-llvm-gcc-4.2.1 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Fix compilation with --disable-everything --enable-demuxer=mov.Carl Eugen Hoyos2012-01-06
|
* pam: Reject 64bpp rgba.ami_stuff2012-01-06
| | | | Fixes ticket #883
* Allow decoding of uyvy422 CYUV with -vcodec rawvideo.Carl Eugen Hoyos2012-01-06
| | | | FourCC CYUV can be Creative YUV and uyvy422 rawvideo.
* Support decoding of some unusual jpeg samples.Carl Eugen Hoyos2012-01-06
| | | | | | Avoid unsupported pix_fmts by upscaling chroma. Fixes ticket #878.
* Check for overread in vqa video decoder.Reimar Döffinger2012-01-05
| | | | | | | | This issue was discovered while decoding the FATE sample vqa/ws_snd.vqa. For some unknown reason only audio decoding is tested by FATE for that file, but not video. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* sipr: fall back to setting mode based on bit_rate.Reimar Döffinger2012-01-05
| | | | | | | | | | | Not all applications (e.g. MPlayer) set block_align, and when using a different demuxer it might not even be easily available. So fall back to selecting mode based on bit rate as before if block_align has not useful value. It can't be worse than failing to decode completely. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* timecode: add avpriv_check_timecode_rate().Clément Bœsch2012-01-05
|
* Support 48bpp pam decoding.ami_stuff2012-01-05
| | | | Fixes ticket #882.
* Support 16bpp grayscale pam decoding.ami_stuff2012-01-05
| | | | Fixes ticket #881.
* libvpxenc: Remove duplicate AVOption constants.Michael Niedermayer2012-01-05
| | | | | Found-by: j@v2v.cc Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-05
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (46 commits) mtv: Make sure audio_subsegments is not 0 v4l2: use V4L2_FMT_FLAG_EMULATED only if it is defined avconv: add symbolic names for -vsync parameters flvdec: Fix compiler warning for uninitialized variables rtsp: Fix compiler warning for uninitialized variable ulti: convert to new bytestream API. swscale: Use standard multiple inclusion guards in ppc/ header files. Place some START_TIMER invocations in separate blocks. v4l2: list available formats v4l2: set the proper codec_tag v4l2: refactor device_open v4l2: simplify away io_method v4l2: cosmetics v4l2: uniform and format options v4l2: do not force interlaced mode avio: exit early in fill_buffer without read_packet vc1dec: fix invalid memory access for small video dimensions rv34: fix invalid memory access for small video dimensions rv34: joint coefficient decoding and dequantization avplay: Don't call avio_set_interrupt_cb(NULL) ... Conflicts: Changelog avconv.c doc/APIchanges doc/indevs.texi libavcodec/adxenc.c libavcodec/dnxhdenc.c libavcodec/h264.c libavdevice/v4l2.c libavformat/flvdec.c libavformat/mtv.c libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ulti: convert to new bytestream API.Ronald S. Bultje2012-01-04
| |
| * Place some START_TIMER invocations in separate blocks.Diego Biurrun2012-01-04
| | | | | | | | | | | | This fixes compilation failures related to START_TIMER/STOP_TIMER macros and -Werror=declaration-after-statement. START_TIMER declares variables and thus may not be placed after statements outside of a new block.
| * vc1dec: fix invalid memory access for small video dimensionsJohn Brooks2012-01-04
| | | | | | | | | | | | | | | | | | | | | | For small video dimensions, these calculations of the upper bound for pixel access may have a negative result. Using an unsigned comparison to bound a potentially negative value only works if the greater operand is non-negative. Fixed by doing edge emulation when the upper bound is probably negative, everywhere that this pattern appears. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
| * rv34: fix invalid memory access for small video dimensionsJohn Brooks2012-01-04
| | | | | | | | | | | | | | | | | | For small video dimensions calculations of the upper bound for pixel access may result in negative value. Using an unsigned comparison works only if the greater operand is non-negative. This is fixed by doing edge emulation explicitly for such conditions. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
| * rv34: joint coefficient decoding and dequantizationChristophe GISQUET2012-01-04
| | | | | | | | | | | | | | | | | | | | | | Perform dequantization while decoding coefficients instead of performing it on the entire coefficients buffer. Since quantized coefficients are very sparse, this usually causes a small speedup. Speedup of around 1% on Panda board compared to the removed here neon code. Global speedup is probably around 3%. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
| * h264: return index in buffer on end-of-sequence.Ronald S. Bultje2012-01-03
| | | | | | | | | | Fixes hangs if the last packet contains an end-of-sequence NAL unit, bug 158.
| * Merge some declarations and initializations.Diego Biurrun2012-01-04
| | | | | | | | | | | | This fixes compilation failures related to START_TIMER/STOP_TIMER macros and -Werror=declaration-after-statement. START_TIMER declares variables and thus may not be placed after statements outside of a new block.
| * cabac: drop unused and disabled get_cabac_u() / get_cabac_ueg() functionsDiego Biurrun2012-01-04
| |
| * cabac: drop unused STRICT_LIMITS code branchDiego Biurrun2012-01-04
| |
| * libspeexenc: fix pts calculations for more than 1 frame per packetJustin Ruggles2012-01-03
| |
| * adxdec: clear eof flag and channel states when seekingJustin Ruggles2012-01-03
| |
| * adxenc: check output buffer size before writingJustin Ruggles2012-01-03
| |
| * adxenc: use bytestream functions for header writing.Justin Ruggles2012-01-03
| | | | | | | | also add more documentation about the header structure
| * adxenc: use BLOCK_SIZE and BLOCK_SAMPLES macrosJustin Ruggles2012-01-03
| |
| * adxenc: use a loop to encode each channelJustin Ruggles2012-01-03
| |
| * adxenc: remove unneeded loopsJustin Ruggles2012-01-03
| | | | | | | | avctx->frame_size is 32, so that is how many samples we process per call.
| * adxenc: avoid stereo deinterleavingJustin Ruggles2012-01-03
| |
| * adxenc: remove unnecessary setting of coded_frame->key_frame.Justin Ruggles2012-01-03
| | | | | | | | It is already set by avcodec_alloc_frame().
| * adxenc: log an error message and return AVERROR(EINVAL) for invalid channelsJustin Ruggles2012-01-03
| |
| * adxenc: cosmetics: pretty-printingJustin Ruggles2012-01-03
| |
| * adxenc: change some data typesJustin Ruggles2012-01-03
| |
| * adxenc: remove unneeded log messageJustin Ruggles2012-01-03
| |
| * adxenc: remove unneeded commentsJustin Ruggles2012-01-03
| |
* | vorbis: make sure ch is non zero before calling vorbis_residue_decodeMichael Niedermayer2012-01-04
| | | | | | | | | | | | This possibly makes part of the CVE-2011-3895 fix unneeded. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vorbis: An additional defense in the Vorbis codec.Chris Evans2012-01-04
| | | | | | | | | | | | | | | | | | BUG=101458 Review URL: http://codereview.chromium.org/8414025 Fixes second part of CVE-2011-3895 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vorbis: Fix decoder bug.Chris Evans2012-01-04
| | | | | | | | | | | | | | | | | | BUG=101458 Review URL: http://codereview.chromium.org/8413019 This fixes part of 2011-3895 bigned-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vorbisdec: Make sure blocksize is not set to an invalid value.Michael Niedermayer2012-01-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | vorbis: Fix last quarter of CVE-2011-3893Michael Niedermayer2012-01-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ogg: Avoid the possibility to read out-of-bounds of a static global array in ↵Chris Evans2012-01-04
| | | | | | | | | | | | | | | | | | | | | | | | Vorbis decoding. BUG=100543 Review URL: http://codereview.chromium.org/8365014 This fixes 25% of CVE-2011-3893 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix possible infinite loop decoding als.Philippe Saint-Pierre2012-01-04
| | | | | | | | Reviewed-by: Thilo Borgmann
* | Replace deprecated FF_I_TYPE with AV_PICTURE_TYPE_I in v308 and yuv4.Carl Eugen Hoyos2012-01-04
| | | | | | | | Found-by: Paul B Mahol
* | yuv4 libquicktime packed 4:2:0 encoder and decoder.Carl Eugen Hoyos2012-01-04
| | | | | | | | | | Reviewed-by: Derek Buitenhuis Reviewed-by: Paul B Mahol
* | v308 Quicktim Uncompressed 4:4:4 encoder and decoder.Carl Eugen Hoyos2012-01-04
| | | | | | | | | | Reviewed-by: Derek Buitenhuis Reviewed-by: Paul B Mahol
* | Add decoder for Avid 1:1 10-bit RGB Packer (AVrp).Carl Eugen Hoyos2012-01-04
| | | | | | | | | | | | Fixes ticket #525. Reviewed-by: Paul B Mahol
* | jpegdec: Fix vlc table check for progressive jpegs.Michael Niedermayer2012-01-04
| | | | | | | | | | | | Fixes Ticket834 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: fate: add dxtory test adx_parser: rewrite. adxdec: Validate channel count to fix a division by zero. adxdec: Do not require extradata. cmdutils: K&R reformatting cosmetics alacdec: implement the 2-pass prediction type. alacenc: implement the 2-pass prediction type. alacenc: do not generate invalid multi-channel ALAC files alacdec: fill in missing or guessed info about the extradata format. utvideo: proper median prediction for interlaced videos lavu: bump lavu minor for av_popcount64 dca: K&R formatting cosmetics dct: K&R formatting cosmetics lavf: flush decoders in avformat_find_stream_info(). win32: detect number of CPUs using affinity Add av_popcount64 snow: Restore three mistakenly removed casts. Conflicts: cmdutils.c doc/APIchanges libavcodec/adx_parser.c libavcodec/adxdec.c libavcodec/alacenc.c libavutil/avutil.h tests/fate/screen.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>