summaryrefslogtreecommitdiff
path: root/libavcodec/proresenc.c
Commit message (Collapse)AuthorAge
* 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>
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* proresenc: Don't free a buffer not owned by the codecMartin Storsjö2012-09-04
| | | | | | | | | | The data in coded_frame isn't allocated using get_buffer, but is copied from the input frame to the encoder, so we should not try to free it ourselves. This fixes an assert failure when running in debug mode. Signed-off-by: Martin Storsjö <martin@martin.st>
* proresenc: Write the full value in one put_bits callMartin Storsjö2012-09-04
| | | | | | | | | Previously, the put_bits call writing the value wrote a value larger than the number of bits specified, failing asserts in debug mode. There was no actual bitstream writer corruption, since the overwritten bit already always was set to 1. Signed-off-by: Martin Storsjö <martin@martin.st>
* prores: interlaced ProRes encodingMaksalov Boris2012-08-14
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* proresenc: use the edge emulation bufferBoris Maksalov2012-08-13
| | | | | | Prevents reading past the end of frame buffer. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* proresenc: make a variable local to the loop where it is usedMans Rullgard2012-07-01
| | | | | | | This moves the mbs_per_slice declaration inside the only loop where it is used. Fixes a dead assignment. Signed-off-by: Mans Rullgard <mans@mansr.com>
* proresenc: multithreaded quantiser searchKostya Shishkov2012-04-17
|
* prores: allow user to set fixed quantiserKostya Shishkov2012-03-18
|
* proresenc: give user a possibility to alter some encoding parametersKostya Shishkov2012-03-04
| | | | | This allows user to select quantisation matrix from different profile, stamp frames with custom vendor string and change target bitrate.
* prores: store and retrieve extended colourspace informationKostya Shishkov2012-02-29
| | | | Based on the patch by Phil Barrett.
* proresenc: correct edge emulationPhil Barrett2012-02-29
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* 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>
* proresenc: force bitrate not to exceed given limitKostya Shishkov2012-02-18
| | | | | | Apple ProRes Format Specifications mentions target data size for every frame, so make sure frame meets it. This also allows encoder to demand much smaller packet sizes for output.
* proresenc: initialise 'sign' variableKostya Shishkov2012-02-16
|
* prores encoderKostya Shishkov2012-02-15