summaryrefslogtreecommitdiff
path: root/libavcodec/proresdec.c
Commit message (Collapse)AuthorAge
* 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>