summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* png_parserPeter Holik2012-05-043-0/+124
| | | | | | | This adds support for png image2pipe streaming Update to latest git by: Eugene Ware <eugene@noblesamurai.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* zerocodec: check if there is previous framePaul B Mahol2012-05-041-0/+4
| | | | | | Fixes crash in bug #1219. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* shorten: unsigned 8bit supportPaul B Mahol2012-05-041-17/+33
|
* Merge https://github.com/mjbshaw/FFmpeg-OpenJPEG-J2K-EncoderMichael Niedermayer2012-05-031-62/+75
|\ | | | | | | | | | | | | * https://github.com/mjbshaw/FFmpeg-OpenJPEG-J2K-Encoder: libopenjpegdec: respect JP2 color space, fix ticket 1179 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libopenjpegdec: respect JP2 color space, fix ticket 1179Michael Bradshaw2012-05-031-62/+75
| | | | | | | | Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-05-039-24/+41
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mpeg12: fixed parsing in some mpeg2 streams Add SMPTE240M transfer characteristics flag. mpegts: Some additional HDMV types and reg descriptors for mpegts motionpixels: Clip YUV values after applying a gradient. jpeg: handle progressive in second field of interlaced. ituh263dec: Implement enough of Annex O (scalability) to fix a FPE. h263: more strictly forbid frame size changes with frame-mt. h264: additional protection against unsupported size/bitdepth changes. tta: prevents overflows for 32bit integers in header. configure: remove malloc_aligned. vp8: update frame size changes on thread context switches. snowdsp: explicitily state instruction size. wmall: fix reconstructing audio with uncoded channels WMAL cosmetics: fix indentation gitignore: add Win32 library suffixes Conflicts: configure libavcodec/h263dec.c libavcodec/h264.c libavcodec/ituh263dec.c libavcodec/mjpegdec.c libavcodec/wmalosslessdec.c libavcodec/x86/snowdsp_mmx.c libavformat/mpegts.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpeg12: fixed parsing in some mpeg2 streamsHendrik Leppkes2012-05-031-0/+1
| | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * Add SMPTE240M transfer characteristics flag.Hendrik Leppkes2012-05-031-0/+1
| | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * motionpixels: Clip YUV values after applying a gradient.Alex Converse2012-05-021-0/+6
| | | | | | | | | | | | Prevents illegal reads on truncated and malformed input. CC: libav-stable@libav.org
| * jpeg: handle progressive in second field of interlaced.Ronald S. Bultje2012-05-021-3/+2
| | | | | | | | | | | | | | | | Progressive data is allocated later in decode_sof(), not allocating that data leads to NULL dereferences. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * ituh263dec: Implement enough of Annex O (scalability) to fix a FPE.Michael Niedermayer2012-05-021-0/+16
| | | | | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * h263: more strictly forbid frame size changes with frame-mt.Ronald S. Bultje2012-05-021-5/+7
| | | | | | | | | | | | | | Prevents crashes because the old check was incomplete. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * h264: additional protection against unsupported size/bitdepth changes.Ronald S. Bultje2012-05-022-2/+5
| | | | | | | | | | | | | | Fixes crashes in codepaths not covered by original checks. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * tta: prevents overflows for 32bit integers in header.Ronald S. Bultje2012-05-021-3/+5
| | | | | | | | | | | | | | | | This prevents sample_rate/data_length from going negative, which caused various crashes and undefined behaviour further down. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
| * vp8: update frame size changes on thread context switches.Ronald S. Bultje2012-05-021-0/+2
| | | | | | | | | | | | | | | | | | This properly synchronizes frame size changes between threads if subsequent threads abort decoding before frame size is initialized, i.e. it prevents the thread after that from ping-ponging back to the original value. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
| * snowdsp: explicitily state instruction size.Ronald S. Bultje2012-05-021-2/+2
| | | | | | | | Fixes a compile error with clang at -O0.
| * wmall: fix reconstructing audio with uncoded channelsKostya Shishkov2012-05-021-3/+3
| |
| * WMAL cosmetics: fix indentationMashiat Sarker Shakkhar2012-05-021-1/+1
| | | | | | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* | JACOsub demuxer, decoder and muxer.Clément Bœsch2012-05-036-1/+254
| |
* | lavc: implement accessors for some AVFrame fields.Nicolas George2012-05-033-6/+29
| | | | | | | | | | | | | | | | | | Compared to av_opt_ptr, accessors bring: - better performance (negligible); - compile-time type check; - link-time existence check (or at worst, a dynamic linker error instead of a NULL dereference).
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-05-021-2/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: arm: intreadwrite: disable inline asm for gcc 4.7 and later arm: intreadwrite: fix inline asm constraints for gcc 4.6 and later indeo3: fix motion vector validation pcm_bluray: set bits_per_raw_sample for > 16-bit twinvq: fix out of bounds array access lavr: use 8.8 instead of 10.6 as the 16-bit fixed-point mixing coeff type Conflicts: doc/APIchanges libavcodec/indeo3.c libavcodec/pcm-mpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * indeo3: fix motion vector validationHendrik Leppkes2012-05-011-2/+2
| | | | | | | | | | | | | | | | The index of the motion vector has to be checked before being multiplied by 2 for the array index. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * pcm_bluray: set bits_per_raw_sample for > 16-bitHendrik Leppkes2012-05-011-0/+1
| | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * twinvq: fix out of bounds array accessMans Rullgard2012-05-011-2/+4
| | | | | | | | | | | | | | | | | | ModeTab.fmode has only 3 elements, so indexing it with ftype in the initialier for 'size' is invalid when ftype == FT_PPC. This fixes crashes with gcc 4.8. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Don't restrict reverse decorrelation to both coded channels. It is also used ↵Jakub Stachowski2012-05-021-1/+1
| | | | | | | | | | | | for mono data. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | xbmdec: fix decoding when variable name contains an 'x'.Reimar Döffinger2012-05-011-0/+3
| | | | | | | | | | | | Fixes trac ticket #1142. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | xbmdec: print more details on decode error.Reimar Döffinger2012-05-011-1/+5
| | | | | | | | | | | | Makes debugging issues easier. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-05-015-122/+114
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: avplay: use libavresample for sample format conversion and channel mixing Fix compilation with YASM/NASM without AVX support. WMAL: do not output last frame again if nothing was decoded in current packet WMAL: do not start decoding if frame does not end in current packet adpcm-thp: fix invalid array indexing ppc: add const where needed in scalarproduct_int16_altivec() ppc: remove shift parameter from scalarproduct_int16_altivec() ppc: dsputil: do unaligned block accesses correctly dvenc: do not call dsputil functions with stride not a multiple of 16 APIchanges: fill in some dates and commit hashes Conflicts: doc/APIchanges ffplay.c libavcodec/adpcm.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * WMAL: do not output last frame again if nothing was decoded in current packetJakub Stachowski2012-05-011-0/+2
| | | | | | | | | | | | Reviewed-by: Mashiat Sarker Shakkhar <mashiat.sarker@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
| * WMAL: do not start decoding if frame does not end in current packetMashiat Sarker Shakkhar2012-05-011-2/+2
| | | | | | | | | | | | | | This fixes decoding of frames which span more than two packets. Tested with recit24.wma. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
| * adpcm-thp: fix invalid array indexingMans Rullgard2012-05-011-4/+6
| | | | | | | | | | | | Indexing outside array limits is invalid and breaks with gcc 4.8. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * ppc: add const where needed in scalarproduct_int16_altivec()Mans Rullgard2012-05-011-3/+4
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * ppc: remove shift parameter from scalarproduct_int16_altivec()Mans Rullgard2012-05-011-10/+1
| | | | | | | | | | | | | | The shift parameter was removed from this interface in 7e1ce6a. This updates the Altivec implementation to match. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * ppc: dsputil: do unaligned block accesses correctlyMans Rullgard2012-05-012-100/+98
| | | | | | | | | | | | | | | | | | | | | | | | To load unaligned vector data in the usual way, explicit vec_ld() should be used rather than dereferencing a pointer to a vector type. When the VSX extension is enabled, gcc may compile vector pointer dereferences using the VSX lxvw4x instruction instead of the lvx instruction typically used with Altivec/VMX. As the behaviour of these instructions with unaligned addresses differs, it is important that only lvx is used here. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * dvenc: do not call dsputil functions with stride not a multiple of 16Mans Rullgard2012-05-011-3/+3
| | | | | | | | | | | | | | | | Allowing dsputil functions to assume the stride is a multiple of 16 even for smaller block sizes can simplify their implementation. This appears to be the only place this guarantee is not met. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-302-42/+43
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mkv: mark corrupted packets and return them mkv: forward EMBL block data error avcodec: introduce YCoCg colorspace avcodec: cosmetic cleanup on header aac sbr: align struct member by 32 byte. Conflicts: libavcodec/avcodec.h libavformat/matroskadec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: introduce YCoCg colorspaceHendrik Leppkes2012-04-291-0/+1
| | | | | | | | | | | | | | | | Non perceptual color model that aims to have an increase effectiveness in compression like the normal YCbCr while having near-lossless/lossless mapping to RGB. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * avcodec: cosmetic cleanup on headerLuca Barbato2012-04-291-39/+39
| | | | | | | | Apply coding style to the structs.
| * aac sbr: align struct member by 32 byte.Ronald S. Bultje2012-04-291-1/+1
| | | | | | | | | | | | | | Required because it's used in a call to imdct_half(), which is an AVX function. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Exposing forced flag for DVD and PGS subtitleshakuya2012-04-304-0/+11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Added AVClass for AVSubtitleRecthakuya2012-04-302-0/+31
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1: 10l add forgotten avclassMichael Niedermayer2012-04-301-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1: add slicecrc optionMichael Niedermayer2012-04-301-1/+21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | EC: fix dest index for non 420 chroma.Michael Niedermayer2012-04-301-0/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-297-51/+132
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: 4xm: fix invalid array indexing rv34dsp: factorize a multiplication in the noround inverse transform rv40: perform bitwise checks in loop filter rv34: remove inline keyword from rv34_decode_block(). rv40: change a logical test into a bitwise one. rv34: remove constant parameter rv40: don't always do the full prev_type search dsputil x86: revert a test back to its previous value rv34dsp x86: implement MMX2 inverse transform Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 4xm: fix invalid array indexingMans Rullgard2012-04-291-9/+12
| | | | | | | | | | | | Indexing outside arrays is invalid and breaks with gcc 4.8. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * rv34dsp: factorize a multiplication in the noround inverse transformChristophe GISQUET2012-04-281-9/+9
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * rv40: perform bitwise checks in loop filterChristophe Gisquet2012-04-281-8/+8
| | | | | | | | | | | | Down from 95 kcycles to 93 (including all called functions). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * rv34: remove inline keyword from rv34_decode_block().Ronald S. Bultje2012-04-281-1/+1
| | | | | | | | Force-inlining increases object size by 8kB and causes a 2% slowdown.
| * rv40: change a logical test into a bitwise one.Christophe Gisquet2012-04-281-1/+1
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
OpenPOWER on IntegriCloud