Logo Search packages:      
Sourcecode: blender version File versions

smc.c File Reference


Detailed Description

QT SMC Video Decoder by Mike Melanson (melanson@pcisys.net) For more information about the SMC format, visit: http://www.pcisys.net/~melanson/codecs/

The SMC decoder outputs PAL8 colorspace data.

Definition in file smc.c.

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "common.h"
#include "avcodec.h"
#include "dsputil.h"

Go to the source code of this file.

Classes

struct  SmcContext

Defines

#define ADVANCE_BLOCK()
#define COCTET   8
#define COLORS_PER_TABLE   256
#define CPAIR   2
#define CQUAD   4
#define GET_BLOCK_COUNT()   (opcode & 0x10) ? (1 + s->buf[stream_ptr++]) : 1 + (opcode & 0x0F);

Functions

static int smc_decode_end (AVCodecContext *avctx)
static int smc_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int smc_decode_init (AVCodecContext *avctx)
static void smc_decode_stream (SmcContext *s)

Variables

AVCodec smc_decoder


Generated by  Doxygen 1.6.0   Back to index