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 |
| static int str_probe | ( | AVProbeData * | p | ) | [static] |
| static void dump | ( | unsigned char * | buf, | |
| size_t | len | |||
| ) | [static] |
| static int str_read_header | ( | AVFormatContext * | s, | |
| AVFormatParameters * | ap | |||
| ) | [static] |
| static int str_read_packet | ( | AVFormatContext * | s, | |
| AVPacket * | ret_pkt | |||
| ) | [static] |
| static int str_read_close | ( | AVFormatContext * | s | ) | [static] |
const char sync_header[12] = {0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00} [static] |
Initial value:
{
"psxstr",
"Sony Playstation STR format",
sizeof(StrDemuxContext),
str_probe,
str_read_header,
str_read_packet,
str_read_close,
}
1.5.5