summaryrefslogtreecommitdiff
path: root/libavcodec/proresdec.c
Commit message (Collapse)AuthorAge
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* prores: Extend the padding check to 16bitLuca Barbato2015-03-02
| | | | | | | | | | | Some files produced by the official encoder have up to 16bit of padding instead of the expected padding to the byte. Use a self-explanatory macro instead of a simple number. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avcodec: Don't anonymously typedef structsDiego Biurrun2015-02-14
|
* dsputil: Split off IDCT bits into their own contextDiego Biurrun2014-06-30
|
* prores: Reject negative run and level valuesLuca Barbato2013-10-10
| | | | | | | Sample-Id: 00000611-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* prores: Error out only on surely incomplete ac_coeffsLuca Barbato2013-10-10
|
* prores: Add a codepath for decoding errorsLuca Barbato2013-10-10
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* proresdec: Properly make sure an index doesn't run past the limitMartin Storsjö2013-09-16
| | | | | | | | | If idx equaled num_coeffs - 1 on entry to the loop, the previous check failed to break out of the loop. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* proresdec: simplify slice component offsets handlingKostya Shishkov2013-05-21
|
* prores: decode alpha plane when it's presentKostya Shishkov2013-05-18
|
* av_log_missing_feature() ---> avpriv_report_missing_feature()Diego Biurrun2013-03-13
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* Drop DCTELEM typedefDiego Biurrun2013-01-22
| | | | | | It does not help as an abstraction and adds dsputil dependencies. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* proresdec: support mixed interlaced/non-interlaced contentMichael Smith2013-01-22
| | | | | | Set interlaced to false if we don't have an interlaced frame Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-04
| | | | It's got_frame, not data size
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Improve wording and spelling of av_log_missing_feature messages.Diego Biurrun2012-10-23
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* prores: store and retrieve extended colourspace informationKostya Shishkov2012-02-29
| | | | Based on the patch by Phil Barrett.
* prores: handle 444 chroma in right orderKostya Shishkov2012-02-29
| | | | | | | ProRes codes chroma blocks in 444 mode in different order than luma blocks, so make both decoder and encoder read/write chroma blocks in right order. Reported by Phil Barrett
* prores: use natural integer type for the codebook indexChristophe GISQUET2012-02-22
| | | | | | | | | | | The operations that use it require it to be promoted to a larger (natural) type and thus perform sign extension on it. While an optimal compiler may account for this, gcc 4.6 (for x86 Windows) fails. Using the natural integer type provides a 2% speedup for Win64 and 1% for Win32. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* prores: move data shared between decoder and encoder to common fileKostya Shishkov2012-02-15
|
* prores: fix multithreaded decoding case when slice quantisers are not the sameKostya Shishkov2012-02-15
| | | | | | Since quantisation matrices are stored in context, decoding slices with different quantisers in parallel leads to unpredictable content of aforementioned matrices and wrong output picture thereof.
* prores: specify array size outside DECLARE_ALIGNED brackets.Ronald S. Bultje2012-02-09
|
* get_bits: remove A32 variantMans Rullgard2011-12-16
| | | | | | | | | | | | | | | | | The A32 bitstream reader variant is only used on ARMv5 and for Prores due to the larger bit cache this decoder requires. In benchmarks on ARMv5 (Marvell Sheeva) with gcc 4.6, the only statistically significant difference between ALT and A32 is a 4% advantage for ALT in FLAC decoding. There is thus no (longer) any reason to keep the A32 reader from this point of view. This patch adds an option to the ALT reader increasing the bit cache to 32 bits as required by the Prores decoder. Benchmarking shows no significant change in speed on Intel i7. Again, the A32 reader fails to justify its existence. Signed-off-by: Mans Rullgard <mans@mansr.com>
* proresdec: fix decode_slice() prototypeMans Rullgard2011-12-12
| | | | | | | | Make the function prototype match the argument of AVCodecCntext.execute() and remove the cast hiding this mismatch. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix a bunch of common typos.Diego Biurrun2011-12-11
|
* prores: get correct size for coded V plane if alpha is presentMans Rullgard2011-10-15
| | | | | | | The size check must be updated to take into account both manners in which v_data_size might be set. Signed-off-by: Mans Rullgard <mans@mansr.com>
* prores: do not set pixel format on codec initMans Rullgard2011-10-15
| | | | | | | | | The pixel format is not known until the frame header is parsed. Guessing it here only causes trouble for the caller if the guess turns out to be wrong (and actually causes very wrong output by avconv/avplay). Signed-off-by: Mans Rullgard <mans@mansr.com>
* prores: add missing feature warning for alphaJanne Grunau2011-10-14
|
* prores: implement multithreading.Ronald S. Bultje2011-10-11
| | | | | 60% speedup (overall decoding time) at 2 threads, and another 60% speedup at 4 threads.
* prores: idct sse2/sse4 optimizations.Ronald S. Bultje2011-10-11
| | | | ~3.0-3.5x as fast as original C version, 1.6x as fast overall.
* prores: extract idct into its own dspcontext and merge with put_pixels.Ronald S. Bultje2011-10-11
|
* prores: Handle 0 or fewer bits leftAlex Converse2011-09-29
| | | | | show_bits() is undefined when the number of bits is less than or equal to zero.
* prores: return more meaningful error valuesDiego Biurrun2011-09-23
|
* prores: improve error message wordingDiego Biurrun2011-09-23
|
* prores: cosmetics: prettyprinting, drop useless parenthesesDiego Biurrun2011-09-23
|
* prores: lowercase AVCodec name entryDiego Biurrun2011-09-23
| | | | All other codecs use lowercase names in that field.
* Apple ProRes decoderMaxim Poliakovski2011-09-22
Signed-off-by: Martin Storsjö <martin@martin.st>