libavcodec/lclenc.c File Reference

LCL (LossLess Codec Library) Video Codec Decoder for MSZH and ZLIB codecs Experimental encoder for ZLIB RGB24. More...

#include <stdio.h>
#include <stdlib.h>
#include "avcodec.h"
#include "bitstream.h"
#include "lcl.h"

Go to the source code of this file.

Data Structures

struct  LclEncContext

Functions

static int encode_frame (AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data)
static av_cold int encode_init (AVCodecContext *avctx)
static av_cold int encode_end (AVCodecContext *avctx)

Variables

AVCodec zlib_encoder


Detailed Description

LCL (LossLess Codec Library) Video Codec Decoder for MSZH and ZLIB codecs Experimental encoder for ZLIB RGB24.

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.


Function Documentation

static av_cold int encode_end ( AVCodecContext avctx  )  [static]

Definition at line 210 of file lclenc.c.

static int encode_frame ( AVCodecContext avctx,
unsigned char *  buf,
int  buf_size,
void *  data 
) [static]

Definition at line 83 of file lclenc.c.

Referenced by encode_superframe(), MPA_encode_frame(), and qtrle_encode_frame().

static av_cold int encode_init ( AVCodecContext avctx  )  [static]

Definition at line 142 of file lclenc.c.


Variable Documentation

Initial value:

 {
    "zlib",
    CODEC_TYPE_VIDEO,
    CODEC_ID_ZLIB,
    sizeof(LclEncContext),
    encode_init,
    encode_frame,
    encode_end,
    .long_name = NULL_IF_CONFIG_SMALL("LCL (LossLess Codec Library) ZLIB"),
}

Definition at line 223 of file lclenc.c.


Generated on Fri Oct 26 02:35:43 2012 for FFmpeg by  doxygen 1.5.8