libavcodec/lcldec.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 "bytestream.h"
#include "lcl.h"
#include "libavutil/lzo.h"

Go to the source code of this file.

Data Structures

struct  LclDecContext

Functions

static unsigned int mszh_decomp (const unsigned char *srcptr, int srclen, unsigned char *destptr, unsigned int destsize)
static int decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
static av_cold int decode_init (AVCodecContext *avctx)
static av_cold int decode_end (AVCodecContext *avctx)


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 lcldec.c.


Function Documentation

static av_cold int decode_end ( AVCodecContext avctx  )  [static]

Definition at line 629 of file lcldec.c.

static int decode_frame ( AVCodecContext avctx,
void *  data,
int data_size,
AVPacket avpkt 
) [static]

Definition at line 166 of file lcldec.c.

static av_cold int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 481 of file lcldec.c.

static unsigned int mszh_decomp ( const unsigned char *  srcptr,
int  srclen,
unsigned char *  destptr,
unsigned int  destsize 
) [static]

Parameters:
srcptr compressed source buffer, must be padded with at least 5 extra bytes
destptr must be padded sufficiently for av_memcpy_backptr

Definition at line 79 of file lcldec.c.

Referenced by decode_frame().


Generated on Fri Oct 26 02:50:06 2012 for FFmpeg by  doxygen 1.5.8