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 "bitstream.h"
#include "lcl.h"
Go to the source code of this file.
|
Data Structures |
struct | LclDecContext |
Functions |
static unsigned char | fix (int pix14) |
static unsigned char | get_b (unsigned char yq, signed char bq) |
static unsigned char | get_g (unsigned char yq, signed char bq, signed char rq) |
static unsigned char | get_r (unsigned char yq, signed char rq) |
static unsigned int | mszh_decomp (unsigned char *srcptr, int srclen, unsigned char *destptr, unsigned int destsize) |
static int | decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size) |
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 int decode_frame |
( |
AVCodecContext * |
avctx, |
|
|
void * |
data, |
|
|
int * |
data_size, |
|
|
const uint8_t * |
buf, |
|
|
int |
buf_size | |
|
) |
| | [static] |
static unsigned char fix |
( |
int |
pix14 |
) |
[inline, static] |
static unsigned char get_b |
( |
unsigned char |
yq, |
|
|
signed char |
bq | |
|
) |
| | [inline, static] |
static unsigned char get_g |
( |
unsigned char |
yq, |
|
|
signed char |
bq, |
|
|
signed char |
rq | |
|
) |
| | [inline, static] |
static unsigned char get_r |
( |
unsigned char |
yq, |
|
|
signed char |
rq | |
|
) |
| | [inline, static] |
static unsigned int mszh_decomp |
( |
unsigned char * |
srcptr, |
|
|
int |
srclen, |
|
|
unsigned char * |
destptr, |
|
|
unsigned int |
destsize | |
|
) |
| | [static] |