aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* ttadec: frame multi-threading supportPaul B Mahol2013-06-051-15/+30
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* flacdec: frame multi-threading supportPaul B Mahol2013-06-051-2/+13
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* takdec: frame multi-threading supportPaul B Mahol2013-06-051-2/+18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* audio frame multi-threaded decodingPaul B Mahol2013-06-053-7/+17
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* jpeg2000dec: return error for invalid cdxy valuesMichael Niedermayer2013-06-051-0/+2
| | | | | | | Fixes division by 0 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* jpeg2000: Make nreslevel fields intMichael Niedermayer2013-06-051-2/+2
| | | | | | This prevents potential integer overflows Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* jpeg2000dec: Propagate error code from get_cox() correctlyMichael Niedermayer2013-06-051-4/+8
| | | | | | Without this the context state could become inconsistent Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* jpeg2000: check that nreslevels2decode has been initialized before useMichael Niedermayer2013-06-051-0/+5
| | | | | | | Fixes out of array accesses Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* pngdec: dont treat mpng like png with key and non keyframesMichael Niedermayer2013-06-041-1/+1
| | | | | | Fixes Ticket2618 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tak: simplify ff_tak_check_crc()Paul B Mahol2013-06-041-2/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* vc1dec: Disable dead codeMichael Niedermayer2013-06-041-5/+7
| | | | | | | | | Fixes CID732197/6 A assert is added to check that the disabled code wont be needed in the future. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* flacdec: use init_get_bits8()Paul B Mahol2013-06-031-1/+2
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Merge branch 'master' of https://github.com/upsuper/ffmpeg-vdadecMichael Niedermayer2013-06-031-46/+0
|\ | | | | | | | | | | | | * 'master' of https://github.com/upsuper/ffmpeg-vdadec: vda_h264_dec: remove check_format Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vda_h264_dec: remove check_formatXidorn Quan2013-06-011-46/+0
| | | | | | | | Since this function cannot work anymore, this patch simply removes it.
* | tiff: fix memleakMichael Niedermayer2013-06-031-1/+3
| | | | | | | | | | Fixes CID1026764 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | jpeg2000dec: assert that curtileno is valid when usedMichael Niedermayer2013-06-031-0/+2
| | | | | | | | | | Fixes CID1026755 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | jpeg2000: Fix unintended sign extension in malloc arguments of precMichael Niedermayer2013-06-031-1/+1
| | | | | | | | | | Fixes: CID1026772/3 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | jpeg2000: Fix Unintended sign extension in malloc arguments of cblk.Michael Niedermayer2013-06-031-1/+1
| | | | | | | | | | Fixes CID1026770 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | h264_ps: fix memleak in ff_h264_decode_picture_parameter_set()Michael Niedermayer2013-06-031-2/+2
| | | | | | | | | | Fixes: CID1026763 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1enc: Check return value of av_frame_ref()Michael Niedermayer2013-06-031-1/+2
| | | | | | | | | | Fixes CID1026740 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dwt: merge rescaling with interleave in 9/7 int IDWTMichael Niedermayer2013-06-031-13/+6
| | | | | | | | | | | | | | Tha fate tests change because the edge mirroring was wrong before this commit Reviewed-by: Nicolas BERTRAND <nicoinattendu@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jpeg2000dwt: merge rescaling with interleave in 9/7 float IDWTMichael Niedermayer2013-06-031-11/+4
| | | | | | | | | | | | | | 10% faster Reviewed-by: Nicolas BERTRAND <nicoinattendu@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | jpeg2000dec; optimize output sample convert a bitMichael Niedermayer2013-06-031-25/+43
| | | | | | | | | | | | | | 67935 -> 29984 kcycles Reviewed-by: Nicolas BERTRAND <nicoinattendu@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '2d66a58ccde05e764594bd7e5f0f9244634d0b2c'Michael Niedermayer2013-06-037-7/+837
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '2d66a58ccde05e764594bd7e5f0f9244634d0b2c': Go2Webinar decoder Conflicts: Changelog configure libavcodec/avcodec.h libavcodec/codec_desc.c libavcodec/version.h libavformat/riff.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | Go2Webinar decoderKostya Shishkov2013-06-036-2/+837
| | |
* | | Merge commit '31980b6abdd8ffb6953472a7a6b59f3aa5762c31'Michael Niedermayer2013-06-031-3/+10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '31980b6abdd8ffb6953472a7a6b59f3aa5762c31': vmd: decode videos with no LZ buffer size provided - they might not need it Conflicts: libavcodec/vmdav.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | vmd: decode videos with no LZ buffer size provided - they might not need itKostya Shishkov2013-06-021-3/+10
| | | | | | | | | | | | | | | | | | The buffer is used for an additional pass of frame compression, so videos can be coded without ever using it (and some are coded so indeed, e.g. in Woodruff and the Schnibble of Azimuth game).
* | | Merge commit '0aed0bfc62b273a780a2bfba3be56039fccd7423'Michael Niedermayer2013-06-031-14/+18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0aed0bfc62b273a780a2bfba3be56039fccd7423': vmd: fix mode 3 decoding Conflicts: libavcodec/vmdav.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | vmd: fix mode 3 decodingKostya Shishkov2013-06-021-12/+18
| | |
* | | Merge commit '46ce9ded96ffcb798b03da894cdb5fdac376a6ee'Michael Niedermayer2013-06-033-228/+237
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '46ce9ded96ffcb798b03da894cdb5fdac376a6ee': tiff: K&R formatting cosmetics Conflicts: libavcodec/tiff.c libavcodec/tiff.h libavcodec/tiffenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | tiff: K&R formatting cosmeticsDiego Biurrun2013-06-023-233/+237
| | |
* | | jpeg2000dec: remove redundant error log messagePaul B Mahol2013-06-031-3/+1
| | | | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | | wavpack: remove redundant error log messagePaul B Mahol2013-06-031-3/+1
| | | | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | | tta: use interger instead of pointer to iterate output samples for 24-bit casePaul B Mahol2013-06-021-1/+1
| | | | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | | tta: move GetBitContext out of private contextPaul B Mahol2013-06-021-19/+19
| | | | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | | tta encoderPaul B Mahol2013-06-024-2/+235
| | | | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | | tta: move code that will be shared with encoder to separate filePaul B Mahol2013-06-024-68/+117
| | | | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | | Fix compilation of libavcodec/tiff.cCarl Eugen Hoyos2013-06-021-2/+2
| | |
* | | tiff: planar rgbPaul B Mahol2013-06-021-16/+30
| | | | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | | use Kostyas full name in copyrightsMichael Niedermayer2013-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | This fixes 2 files that where not part of the original change See: de421b208578386bfb4416c67c9922877e670049 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | Merge commit '28306e6d620c109ddd672f7243adfbc2bbb3b18f'Michael Niedermayer2013-06-023-3/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '28306e6d620c109ddd672f7243adfbc2bbb3b18f': network: factor out bind-listening code use my full first name instead of short one in copyrights Conflicts: libavformat/tcp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | use my full first name instead of short one in copyrightsKostya Shishkov2013-06-013-3/+3
| | |
* | | tta: use get_unary()Paul B Mahol2013-06-011-11/+2
| | | | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | | lavc/avcodec: decodimg → decoding.Clément Bœsch2013-06-011-1/+1
| | |
* | | lavf/webvttdec: save cue id and settings as side dataMatthew Heaney2013-06-012-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the WebVTT demuxer parses the cues but throws away the cue id (the optional first line of the cue) and cue settings (the optional rendering instructions that follow the timestamp). However, in order to write inband text tracks (to WebM files), the entire cue payload from the WebVTT source must be preserved. This commit makes no change to the data part of the output buffer packet (where the actual cue text is stored), but does add the cue id and settings as a side data items, if they're present in the cue. Existing code that cares only about the data part of the packet can continue to ignore the side data. There are two new packet data type flags, AV_PKT_DATA_WEBVTT_IDENTIFIER and AV_PKT_DATA_WEBVTT_SETTINGS.
* | | lavc/avpacket: fill padding area on side data split.Clément Bœsch2013-06-011-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The padding data is assumed to be 0 in several places, notably in subtitles. This problem was not detected with fate-sub-srt test because the first element of the side data (x1) is 0 in the test, so the trailing side data present in the packet wasn't read by the decoder. The issue can be observed with a large enough x1. It is also noted in FF_INPUT_BUFFER_PADDING_SIZE doxy that MPEG bitstreams require that padding with 0, so it might fix other issues.
* | | jpeg2000: make sure s->numXtiles / s->numYtiles are reset when tile is ↵Michael Niedermayer2013-06-011-0/+1
| |/ |/| | | | | | | | | | | | | deallocated This keeps the structure fields more consistent after cleanup Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer2013-06-011-1/+2
|\ \ | | | | | | | | | | | | | | | | | | * cehoyos/master: Fix compilation with --disable-everything --enable-encoder=jpeg2000 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | Fix compilation with --disable-everything --enable-encoder=jpeg2000Carl Eugen Hoyos2013-06-011-1/+2
| | | | | | | | | | | | The JPEG2000 encoder depends on the discrete wavelet transform.
* | | jpeg2000dec: optimize dequantization_int()Michael Niedermayer2013-06-011-8/+8
| | | | | | | | | | | | | | | | | | 4400->2800 cycles Signed-off-by: Michael Niedermayer <michaelni@gmx.at>