#include <zlib.h>
#include "avcodec.h"
#include "codec_internal.h"
#include "decode.h"
#include "zlib_wrapper.h"
#include "libavutil/attributes.h"
#include "libavutil/common.h"
Go to the source code of this file.
◆ zerocodec_decode_frame()
ZeroCodec has very simple interframe compression. If a value is the same as the previous frame, set it to 0.
Definition at line 33 of file zerocodec.c.
◆ zerocodec_decode_close()
◆ zerocodec_decode_init()
◆ zerocodec_decode_flush()
◆ ff_zerocodec_decoder
Initial value:= {
.p.name = "zerocodec",
}
#define FF_CODEC_DECODE_CB(func)
#define CODEC_LONG_NAME(str)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
static av_cold int zerocodec_decode_close(AVCodecContext *avctx)
static av_cold void zerocodec_decode_flush(AVCodecContext *avctx)
static int zerocodec_decode_frame(AVCodecContext *avctx, AVFrame *pic, int *got_frame, AVPacket *avpkt)
static av_cold int zerocodec_decode_init(AVCodecContext *avctx)
Definition at line 137 of file zerocodec.c.