txd.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "s3tc.h"

Go to the source code of this file.

Data Structures

struct  TXDContext

Typedefs

typedef struct TXDContext TXDContext

Functions

static av_cold int txd_init (AVCodecContext *avctx)
static int txd_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
static av_cold int txd_end (AVCodecContext *avctx)

Variables

AVCodec ff_txd_decoder

Typedef Documentation

typedef struct TXDContext TXDContext

Function Documentation

static int txd_decode_frame ( AVCodecContext avctx,
void data,
int *  data_size,
AVPacket avpkt 
)
static

Definition at line 42 of file txd.c.

static av_cold int txd_end ( AVCodecContext avctx)
static

Definition at line 150 of file txd.c.

static av_cold int txd_init ( AVCodecContext avctx)
static

Definition at line 33 of file txd.c.

Variable Documentation

AVCodec ff_txd_decoder
Initial value:
{
.name = "txd",
.id = CODEC_ID_TXD,
.priv_data_size = sizeof(TXDContext),
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Renderware TXD (TeXture Dictionary) image"),
}

Definition at line 159 of file txd.c.