Logo Search packages:      
Sourcecode: blender version File versions

tscc.c File Reference

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.

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

Go to the source code of this file.


struct  TsccContext


typedef struct TsccContext CamtasiaContext


static int decode_end (AVCodecContext *avctx)
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_rle (CamtasiaContext *c, unsigned int srcsize)


AVCodec tscc_decoder

Generated by  Doxygen 1.6.0   Back to index