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"
#include "internal.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 26 of file txd.c.

Referenced by txd_probe(), and txd_read_packet().

#define TXD_INFO   0x01

Definition at line 27 of file txd.c.

Referenced by txd_read_packet().

#define TXD_EXTRA   0x03

Definition at line 28 of file txd.c.

Referenced by txd_read_packet().

#define TXD_TEXTURE   0x15

Definition at line 29 of file txd.c.

Referenced by txd_read_packet().

#define TXD_TEXTURE_DATA   0x01

Definition at line 30 of file txd.c.

#define TXD_MARKER   0x1803ffff

Definition at line 31 of file txd.c.

Referenced by txd_probe(), and txd_read_packet().

#define TXD_MARKER2   0x1003ffff

Definition at line 32 of file txd.c.

Referenced by txd_probe(), and txd_read_packet().

Function Documentation

static int txd_probe ( AVProbeData pd)
static

Definition at line 34 of file txd.c.

static int txd_read_header ( AVFormatContext s)
static

Definition at line 41 of file txd.c.

static int txd_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 56 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,
}
static int txd_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: txd.c:56
static int txd_read_header(AVFormatContext *s)
Definition: txd.c:41
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:180
static int txd_probe(AVProbeData *pd)
Definition: txd.c:34

Definition at line 95 of file txd.c.