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 |
Typedefs | |
| typedef struct LclDecContext | 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) |
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.
| typedef struct LclDecContext LclDecContext |
| static av_cold int decode_end | ( | AVCodecContext * | avctx | ) | [static] |
| static int decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
| static av_cold int decode_init | ( | AVCodecContext * | avctx | ) | [static] |
| static unsigned char fix | ( | int | pix14 | ) | [inline, static] |
| static unsigned char get_b | ( | unsigned char | yq, | |
| signed char | bq | |||
| ) | [inline, static] |
Definition at line 93 of file lcldec.c.
Referenced by decode_frame().
| static unsigned char get_g | ( | unsigned char | yq, | |
| signed char | bq, | |||
| signed char | rq | |||
| ) | [inline, static] |
Definition at line 100 of file lcldec.c.
Referenced by decode_frame().
| static unsigned char get_r | ( | unsigned char | yq, | |
| signed char | rq | |||
| ) | [inline, static] |
Definition at line 107 of file lcldec.c.
Referenced by decode_frame().
| static unsigned int mszh_decomp | ( | unsigned char * | srcptr, | |
| int | srclen, | |||
| unsigned char * | destptr, | |||
| unsigned int | destsize | |||
| ) | [static] |
Definition at line 114 of file lcldec.c.
Referenced by decode_frame().
1.7.1