hvirtual/quicktime/ffmpeg/libavcodec/tscc.c File Reference

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

Include dependency graph for tscc.c:

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, 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 304 of file tscc.c.

References av_freep(), c, TsccContext::decomp_buf, TsccContext::pic, AVCodecContext::priv_data, and AVCodecContext::release_buffer.

Here is the call graph for this function:

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

static int decode_init ( AVCodecContext avctx  )  [static]

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

Definition at line 75 of file tscc.c.

References av_log(), AV_LOG_ERROR, TsccContext::avctx, TsccContext::bpp, TsccContext::decomp_buf, TsccContext::height, line, output, TsccContext::pic, and src.

Here is the call graph for this function:


Variable Documentation

Initial value:

Definition at line 319 of file tscc.c.

Referenced by avcodec_register_all().


Generated on Mon Apr 28 14:06:22 2008 for Cinelerra by  doxygen 1.5.5