summaryrefslogtreecommitdiffstats
path: root/libavcodec/zerocodec.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec: Mark some codecs with threadsafe init as suchDerek Buitenhuis2017-02-091-0/+1
| | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-271-1/+1
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avcodec: Don't anonymously typedef structsDiego Biurrun2015-02-141-1/+1
|
* zerocodec: use the AVFrame API properly.Anton Khirnov2013-11-161-5/+11
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-031-1/+1
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-081-28/+8
|
* zerocodec: remove an unused variable.Anton Khirnov2012-12-241-4/+0
|
* ZeroCodec: Flip outputCarl Eugen Hoyos2012-12-101-3/+6
| | | | | | | | | | The initial testing of the VFW binary codec was flawed, likely due to an AviSynth bug. Re-testing using VirtualDub and various professional editing applications has revealed it should have been flipped. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* lavc: fix decode_frame() third parameter semantics for video decodersAnton Khirnov2012-12-041-2/+2
| | | | It's got_frame, not data size
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-041-1/+2
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-081-1/+1
|
* Don't include common.h from avutil.hMartin Storsjö2012-08-151-0/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* zerocodec: Fix memleak in decode_frameDerek Buitenhuis2012-08-041-5/+6
| | | | | | | If there was a failure inflating, or reinitializing the zstream, the current frame's buffer would be lost. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* zerocodec: CosmeticsDerek Buitenhuis2012-08-041-12/+10
| | | | | | Be consistent with error messages and code formatting. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* zerocodec: fix direct rendering.Reimar Döffinger2012-07-231-17/+17
| | | | | | | | | | | | Set picture type before calling get_buffer. This allows the DR application to make better decisions. It also fixes a resource leak in case of missing reference frames since it would call get_buffer but never release_buffer. Also use FFSWAP to ensure that the AVFrame is properly initialized in the next get_buffer (in particular that data[0] is NULL). Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* zerocodec: check if the previous frame is missingPaul B Mahol2012-05-061-0/+4
| | | | | | | | | ZeroCodec relies on the keyframe flag being set in the container, and prev is the previously decoded frame. A keyframe flags incorrectly set will lead to this condition. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* zerocodec: factorize loopMichael Niedermayer2012-03-231-32/+13
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* ZeroCodec DecoderDerek Buitenhuis2012-03-191-0/+183
An obscure Japanese lossless video codec, originally intended for use with a remote desktop application. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
OpenPOWER on IntegriCloud