libavformat/electronicarts.c File Reference

Electronic Arts Multimedia file demuxer (WVE/UV2/etc. More...

#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  EaDemuxContext

Defines

#define SCHl_TAG   MKTAG('S', 'C', 'H', 'l')
#define SEAD_TAG   MKTAG('S', 'E', 'A', 'D')
#define SNDC_TAG   MKTAG('S', 'N', 'D', 'C')
#define SEND_TAG   MKTAG('S', 'E', 'N', 'D')
#define SHEN_TAG   MKTAG('S', 'H', 'E', 'N')
#define SDEN_TAG   MKTAG('S', 'D', 'E', 'N')
#define SEEN_TAG   MKTAG('S', 'E', 'E', 'N')
#define ISNh_TAG   MKTAG('1', 'S', 'N', 'h')
#define EACS_TAG   MKTAG('E', 'A', 'C', 'S')
#define ISNd_TAG   MKTAG('1', 'S', 'N', 'd')
#define ISNe_TAG   MKTAG('1', 'S', 'N', 'e')
#define PT00_TAG   MKTAG('P', 'T', 0x0, 0x0)
#define GSTR_TAG   MKTAG('G', 'S', 'T', 'R')
#define SCDl_TAG   MKTAG('S', 'C', 'D', 'l')
#define SCEl_TAG   MKTAG('S', 'C', 'E', 'l')
#define kVGT_TAG   MKTAG('k', 'V', 'G', 'T')
#define fVGT_TAG   MKTAG('f', 'V', 'G', 'T')
#define mTCD_TAG   MKTAG('m', 'T', 'C', 'D')
#define MADk_TAG   MKTAG('M', 'A', 'D', 'k')
#define MADm_TAG   MKTAG('M', 'A', 'D', 'm')
#define MADe_TAG   MKTAG('M', 'A', 'D', 'e')
#define MPCh_TAG   MKTAG('M', 'P', 'C', 'h')
#define TGQs_TAG   MKTAG('T', 'G', 'Q', 's')
#define pQGT_TAG   MKTAG('p', 'Q', 'G', 'T')
#define pIQT_TAG   MKTAG('p', 'I', 'Q', 'T')
#define MVhd_TAG   MKTAG('M', 'V', 'h', 'd')
#define MV0K_TAG   MKTAG('M', 'V', '0', 'K')
#define MV0F_TAG   MKTAG('M', 'V', '0', 'F')
#define MVIh_TAG   MKTAG('M', 'V', 'I', 'h')
#define MVIf_TAG   MKTAG('M', 'V', 'I', 'f')

Functions

static uint32_t read_arbitary (AVIOContext *pb)
static int process_audio_header_elements (AVFormatContext *s)
static int process_audio_header_eacs (AVFormatContext *s)
static int process_audio_header_sead (AVFormatContext *s)
static int process_video_header_mdec (AVFormatContext *s)
static int process_video_header_vp6 (AVFormatContext *s)
static int process_video_header_cmv (AVFormatContext *s)
static int process_ea_header (AVFormatContext *s)
static int ea_probe (AVProbeData *p)
static int ea_read_header (AVFormatContext *s)
static int ea_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVInputFormat ff_ea_demuxer


Detailed Description

Electronic Arts Multimedia file demuxer (WVE/UV2/etc.

) by Robin Kay (komadori at gekkou.co.uk)

Definition in file electronicarts.c.


Define Documentation

#define EACS_TAG   MKTAG('E', 'A', 'C', 'S')

Definition at line 40 of file electronicarts.c.

Referenced by process_ea_header().

#define fVGT_TAG   MKTAG('f', 'V', 'G', 'T')

Definition at line 48 of file electronicarts.c.

Referenced by ea_read_packet().

#define GSTR_TAG   MKTAG('G', 'S', 'T', 'R')

Definition at line 44 of file electronicarts.c.

Referenced by process_ea_header().

#define ISNd_TAG   MKTAG('1', 'S', 'N', 'd')

Definition at line 41 of file electronicarts.c.

Referenced by ea_read_packet().

#define ISNe_TAG   MKTAG('1', 'S', 'N', 'e')

Definition at line 42 of file electronicarts.c.

Referenced by ea_read_packet().

#define ISNh_TAG   MKTAG('1', 'S', 'N', 'h')

Definition at line 39 of file electronicarts.c.

Referenced by ea_probe(), ea_read_packet(), and process_ea_header().

#define kVGT_TAG   MKTAG('k', 'V', 'G', 'T')

Definition at line 47 of file electronicarts.c.

#define MADe_TAG   MKTAG('M', 'A', 'D', 'e')

Definition at line 52 of file electronicarts.c.

#define MADk_TAG   MKTAG('M', 'A', 'D', 'k')

Definition at line 50 of file electronicarts.c.

#define MADm_TAG   MKTAG('M', 'A', 'D', 'm')

Definition at line 51 of file electronicarts.c.

#define MPCh_TAG   MKTAG('M', 'P', 'C', 'h')

Definition at line 53 of file electronicarts.c.

Referenced by ea_probe(), ea_read_packet(), and process_ea_header().

#define mTCD_TAG   MKTAG('m', 'T', 'C', 'D')

Definition at line 49 of file electronicarts.c.

Referenced by ea_read_packet(), and process_ea_header().

#define MV0F_TAG   MKTAG('M', 'V', '0', 'F')

Definition at line 59 of file electronicarts.c.

Referenced by ea_read_packet().

#define MV0K_TAG   MKTAG('M', 'V', '0', 'K')

Definition at line 58 of file electronicarts.c.

Referenced by ea_read_packet().

#define MVhd_TAG   MKTAG('M', 'V', 'h', 'd')

Definition at line 57 of file electronicarts.c.

Referenced by ea_probe(), and process_ea_header().

#define MVIf_TAG   MKTAG('M', 'V', 'I', 'f')

Definition at line 61 of file electronicarts.c.

Referenced by ea_read_packet().

#define MVIh_TAG   MKTAG('M', 'V', 'I', 'h')

Definition at line 60 of file electronicarts.c.

#define pIQT_TAG   MKTAG('p', 'I', 'Q', 'T')

Definition at line 56 of file electronicarts.c.

Referenced by ea_read_packet(), and process_ea_header().

#define pQGT_TAG   MKTAG('p', 'Q', 'G', 'T')

Definition at line 55 of file electronicarts.c.

Referenced by ea_read_packet(), and process_ea_header().

#define PT00_TAG   MKTAG('P', 'T', 0x0, 0x0)

Definition at line 43 of file electronicarts.c.

Referenced by process_ea_header().

#define SCDl_TAG   MKTAG('S', 'C', 'D', 'l')

Definition at line 45 of file electronicarts.c.

Referenced by ea_read_packet().

#define SCEl_TAG   MKTAG('S', 'C', 'E', 'l')

Definition at line 46 of file electronicarts.c.

Referenced by ea_read_packet().

#define SCHl_TAG   MKTAG('S', 'C', 'H', 'l')

Definition at line 32 of file electronicarts.c.

Referenced by ea_probe(), and process_ea_header().

#define SDEN_TAG   MKTAG('S', 'D', 'E', 'N')

Definition at line 37 of file electronicarts.c.

Referenced by ea_read_packet().

#define SEAD_TAG   MKTAG('S', 'E', 'A', 'D')

Definition at line 33 of file electronicarts.c.

Referenced by ea_probe(), and process_ea_header().

#define SEEN_TAG   MKTAG('S', 'E', 'E', 'N')

Definition at line 38 of file electronicarts.c.

Referenced by ea_read_packet().

#define SEND_TAG   MKTAG('S', 'E', 'N', 'D')

Definition at line 35 of file electronicarts.c.

Referenced by ea_read_packet().

#define SHEN_TAG   MKTAG('S', 'H', 'E', 'N')

Definition at line 36 of file electronicarts.c.

Referenced by ea_probe(), and process_ea_header().

#define SNDC_TAG   MKTAG('S', 'N', 'D', 'C')

Definition at line 34 of file electronicarts.c.

Referenced by ea_read_packet().

#define TGQs_TAG   MKTAG('T', 'G', 'Q', 's')

Definition at line 54 of file electronicarts.c.

Referenced by ea_read_packet(), and process_ea_header().


Function Documentation

static int ea_probe ( AVProbeData p  )  [static]

Definition at line 396 of file electronicarts.c.

static int ea_read_header ( AVFormatContext s  )  [static]

Definition at line 417 of file electronicarts.c.

static int ea_read_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 484 of file electronicarts.c.

static int process_audio_header_eacs ( AVFormatContext s  )  [static]

Definition at line 216 of file electronicarts.c.

Referenced by process_ea_header().

static int process_audio_header_elements ( AVFormatContext s  )  [static]

Definition at line 102 of file electronicarts.c.

Referenced by process_ea_header().

static int process_audio_header_sead ( AVFormatContext s  )  [static]

Definition at line 248 of file electronicarts.c.

Referenced by process_ea_header().

static int process_ea_header ( AVFormatContext s  )  [static]

Definition at line 306 of file electronicarts.c.

Referenced by ea_read_header().

static int process_video_header_cmv ( AVFormatContext s  )  [static]

Definition at line 288 of file electronicarts.c.

Referenced by process_ea_header().

static int process_video_header_mdec ( AVFormatContext s  )  [static]

Definition at line 261 of file electronicarts.c.

Referenced by process_ea_header().

static int process_video_header_vp6 ( AVFormatContext s  )  [static]

Definition at line 273 of file electronicarts.c.

Referenced by process_ea_header().

static uint32_t read_arbitary ( AVIOContext pb  )  [static]

Definition at line 81 of file electronicarts.c.

Referenced by process_audio_header_elements().


Variable Documentation

Initial value:

 {
    .name           = "ea",
    .long_name      = NULL_IF_CONFIG_SMALL("Electronic Arts Multimedia Format"),
    .priv_data_size = sizeof(EaDemuxContext),
    .read_probe     = ea_probe,
    .read_header    = ea_read_header,
    .read_packet    = ea_read_packet,
}

Definition at line 618 of file electronicarts.c.


Generated on Fri Oct 26 02:48:01 2012 for FFmpeg by  doxygen 1.5.8