libavformat/txd.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
Include dependency graph for libavformat/txd.c:

Go to the source code of this file.

Macros

#define TXD_FILE   0x16
 
#define TXD_INFO   0x01
 
#define TXD_EXTRA   0x03
 
#define TXD_TEXTURE   0x15
 
#define TXD_TEXTURE_DATA   0x01
 
#define TXD_MARKER   0x1803ffff
 
#define TXD_MARKER2   0x1003ffff
 

Functions

static int txd_probe (AVProbeData *pd)
 
static int txd_read_header (AVFormatContext *s)
 
static int txd_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_txd_demuxer
 

Macro Definition Documentation

#define TXD_EXTRA   0x03

Definition at line 27 of file libavformat/txd.c.

Referenced by txd_read_packet().

#define TXD_FILE   0x16

Definition at line 25 of file libavformat/txd.c.

Referenced by txd_probe(), and txd_read_packet().

#define TXD_INFO   0x01

Definition at line 26 of file libavformat/txd.c.

Referenced by txd_read_packet().

#define TXD_MARKER   0x1803ffff

Definition at line 30 of file libavformat/txd.c.

Referenced by txd_probe(), and txd_read_packet().

#define TXD_MARKER2   0x1003ffff

Definition at line 31 of file libavformat/txd.c.

Referenced by txd_probe(), and txd_read_packet().

#define TXD_TEXTURE   0x15

Definition at line 28 of file libavformat/txd.c.

Referenced by txd_read_packet().

#define TXD_TEXTURE_DATA   0x01

Definition at line 29 of file libavformat/txd.c.

Function Documentation

static int txd_probe ( AVProbeData pd)
static

Definition at line 33 of file libavformat/txd.c.

static int txd_read_header ( AVFormatContext s)
static

Definition at line 40 of file libavformat/txd.c.

static int txd_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 55 of file libavformat/txd.c.

Variable Documentation

AVInputFormat ff_txd_demuxer
Initial value:
= {
.name = "txd",
.long_name = NULL_IF_CONFIG_SMALL("Renderware TeXture Dictionary"),
.read_probe = txd_probe,
.read_header = txd_read_header,
.read_packet = txd_read_packet,
}
static int txd_read_packet(AVFormatContext *s, AVPacket *pkt)
static int txd_read_header(AVFormatContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int txd_probe(AVProbeData *pd)

Definition at line 94 of file libavformat/txd.c.