libavcodec/tscc.c File Reference

TechSmith Camtasia decoder. More...

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

Go to the source code of this file.

Data Structures

struct  TsccContext

Typedefs

typedef struct TsccContext CamtasiaContext

Functions

static int decode_rle (CamtasiaContext *c, unsigned int srcsize)
static int decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
static int decode_init (AVCodecContext *avctx)
static int decode_end (AVCodecContext *avctx)

Variables

AVCodec tscc_decoder


Detailed Description

TechSmith Camtasia decoder.

Fourcc: TSCC

Codec is very simple: it codes picture (picture difference, really) with algorithm almost identical to Windows RLE8, only without padding and with greater pixel sizes, then this coded picture is packed with ZLib

Supports: BGR8,BGR555,BGR24 - only BGR8 and BGR555 tested

Definition in file tscc.c.


Typedef Documentation

typedef struct TsccContext CamtasiaContext


Function Documentation

static int decode_end ( AVCodecContext avctx  )  [static]

Definition at line 319 of file tscc.c.

static int decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
const uint8_t buf,
int  buf_size 
) [static]

Definition at line 185 of file tscc.c.

static int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 256 of file tscc.c.

static int decode_rle ( CamtasiaContext c,
unsigned int  srcsize 
) [static]

Definition at line 75 of file tscc.c.


Variable Documentation

Initial value:

Definition at line 334 of file tscc.c.


Generated on Fri Oct 3 22:46:59 2008 for ffmpeg by  doxygen 1.5.6