FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
txd.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"

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_FILE   0x16

Definition at line 25 of file txd.c.

Referenced by txd_probe(), and txd_read_packet().

#define TXD_INFO   0x01

Definition at line 26 of file txd.c.

Referenced by txd_read_packet().

#define TXD_EXTRA   0x03

Definition at line 27 of file txd.c.

Referenced by txd_read_packet().

#define TXD_TEXTURE   0x15

Definition at line 28 of file txd.c.

Referenced by txd_read_packet().

#define TXD_TEXTURE_DATA   0x01

Definition at line 29 of file txd.c.

#define TXD_MARKER   0x1803ffff

Definition at line 30 of file txd.c.

Referenced by txd_probe(), and txd_read_packet().

#define TXD_MARKER2   0x1003ffff

Definition at line 31 of file txd.c.

Referenced by txd_probe(), and txd_read_packet().

Function Documentation

static int txd_probe ( AVProbeData pd)
static

Definition at line 33 of file txd.c.

static int txd_read_header ( AVFormatContext s)
static

Definition at line 40 of file txd.c.

static int txd_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 55 of file 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,
}

Definition at line 94 of file txd.c.