FFmpeg
|
#include "libavutil/channel_layout.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | StrChannel |
struct | StrDemuxContext |
Macros | |
#define | RIFF_TAG MKTAG('R', 'I', 'F', 'F') |
#define | CDXA_TAG MKTAG('C', 'D', 'X', 'A') |
#define | RAW_CD_SECTOR_SIZE 2352 |
#define | RAW_CD_SECTOR_DATA_SIZE 2304 |
#define | VIDEO_DATA_CHUNK_SIZE 0x7E0 |
#define | VIDEO_DATA_HEADER_SIZE 0x38 |
#define | RIFF_HEADER_SIZE 0x2C |
#define | CDXA_TYPE_MASK 0x0E |
#define | CDXA_TYPE_DATA 0x08 |
#define | CDXA_TYPE_AUDIO 0x04 |
#define | CDXA_TYPE_VIDEO 0x02 |
#define | CDXA_TYPE_EMPTY 0x00 |
#define | STR_MAGIC (0x80010160) |
Functions | |
static int | str_probe (const AVProbeData *p) |
static int | str_read_header (AVFormatContext *s) |
static int | str_read_packet (AVFormatContext *s, AVPacket *ret_pkt) |
static int | str_read_close (AVFormatContext *s) |
Variables | |
static const uint8_t | sync_header [12] = {0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00} |
const FFInputFormat | ff_str_demuxer |
PSX STR file demuxer by Mike Melanson (melan) 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. son@ pcisy s.ne t
Definition in file psxstr.c.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 71 of file psxstr.c.
Referenced by str_probe().
const FFInputFormat ff_str_demuxer |