psxstr.c File Reference


Detailed Description

PSX STR file demuxer by Mike Melanson (melanson@pcisys.net) This module handles streams that have been ripped from Sony Playstation CD games.

This demuxer can handle either raw STR files (which are just concatenations of raw compact disc sectors) or STR files with 0x2C-byte RIFF headers, followed by CD sectors.

Definition in file psxstr.c.

Go to the source code of this file.

Classes

struct  StrChannel
struct  StrDemuxContext

Functions

static int str_probe (AVProbeData *p)
static void dump (unsigned char *buf, size_t len)
static int str_read_header (AVFormatContext *s, AVFormatParameters *ap)
static int str_read_packet (AVFormatContext *s, AVPacket *ret_pkt)
static int str_read_close (AVFormatContext *s)

Variables

static const char sync_header [12] = {0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00}
AVInputFormat str_demuxer


Function Documentation

static int str_probe ( AVProbeData p  )  [static]

Definition at line 87 of file psxstr.c.

static void dump ( unsigned char *  buf,
size_t  len 
) [static]

Definition at line 113 of file psxstr.c.

Referenced by MythSocket::readStringList().

static int str_read_header ( AVFormatContext s,
AVFormatParameters ap 
) [static]

Definition at line 125 of file psxstr.c.

static int str_read_packet ( AVFormatContext s,
AVPacket ret_pkt 
) [static]

Definition at line 249 of file psxstr.c.

static int str_read_close ( AVFormatContext s  )  [static]

Definition at line 347 of file psxstr.c.


Variable Documentation

const char sync_header[12] = {0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00} [static]

Definition at line 85 of file psxstr.c.

Referenced by str_probe().

Initial value:

 {
    "psxstr",
    "Sony Playstation STR format",
    sizeof(StrDemuxContext),
    str_probe,
    str_read_header,
    str_read_packet,
    str_read_close,
}

Definition at line 356 of file psxstr.c.


Generated on Sat Dec 18 05:15:55 2010 for MythTV by  doxygen 1.5.5