#include <stdio.h>
#include <stdlib.h>
#include "libavutil/avassert.h"
#include "avcodec.h"
#include "internal.h"
#include "lcl.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
#include <zlib.h>
Go to the source code of this file.
Data Structures | |
| struct | LclEncContext |
Functions | |
| static int | encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) |
| static av_cold int | encode_init (AVCodecContext *avctx) |
| static av_cold int | encode_end (AVCodecContext *avctx) |
Variables | |
| AVCodec | ff_zlib_encoder |
Fourcc: MSZH, ZLIB
Original Win32 dll: Ver2.23 By Kenji Oshima 2000.09.20 avimszh.dll, avizlib.dll
A description of the decoding algorithm can be found here: http://www.pcisys.net/~melanson/codecs
Supports: BGR24 (RGB 24bpp)
Definition in file lclenc.c.
| static av_cold int encode_end | ( | AVCodecContext * | avctx | ) | [static] |
| static int encode_frame | ( | AVCodecContext * | avctx, | |
| AVPacket * | pkt, | |||
| const AVFrame * | pict, | |||
| int * | got_packet | |||
| ) | [static] |
| static av_cold int encode_init | ( | AVCodecContext * | avctx | ) | [static] |
Initial value:
{
.name = "zlib",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_ZLIB,
.priv_data_size = sizeof(LclEncContext),
.init = encode_init,
.encode2 = encode_frame,
.close = encode_end,
.pix_fmts = (const enum PixelFormat[]) { PIX_FMT_BGR24, PIX_FMT_NONE },
.long_name = NULL_IF_CONFIG_SMALL("LCL (LossLess Codec Library) ZLIB"),
}
1.5.8