Go to the source code of this file.
Functions |
int | sceAsfCheckNeedMem (SceAsfParser *parser) |
| Check the memory of an asf parser.
|
int | sceAsfInitParser (SceAsfParser *parser, ScePVoid user_data, SceAsfParserReadCB read_cb, SceAsfParserSeekCB seek_cb) |
| Initialize asf parser.
|
int | sceAsfGetFrameData (SceAsfParser *parser, int unknown, SceAsfFrame *frame) |
| Get frame in asf stream.
|
int | sceAsfSeekTime (SceAsfParser *parser, int unknown, SceUInt32 *ms) |
| Seek in asf stream.
|
int | sceAsfParser_685E0DA7 (SceAsfParser *asf, void *ptr, int flag, void *arg4, SceUInt64 *start, SceUInt64 *size) |
| Get WMA Tag frame's offset and size.
|
int | sceAsfParser_C6D98C54 (SceAsfParser *asf, void *unk, SceUInt64 *start, SceUInt64 *size) |
| Get ASF stream header frame's offset and size.
|
Typedef Documentation
Function Documentation
Check the memory of an asf parser.
- Parameters
-
parser | - pointer to a SceAsfParser struct |
- Returns
- < 0 if error else if (parser->iNeedMem > 0x8000) also error.
Get frame in asf stream.
- Parameters
-
parser | - pointer to a SceAsfParser struct |
unknown | - unknown, set to 1 |
frame | - pointer to a SceAsfFrame struct |
- Returns
- < 0 if error else success.
Initialize asf parser.
- Parameters
-
parser | - pointer to a SceAsfParser struct |
user_data | - user pointer for read/seek callback |
read_cb | - read callback |
seek_cb | - seek callback |
- Returns
- < 0 if error else success.
Get WMA Tag frame's offset and size.
- Parameters
-
asf | pointer to a SceAsfParser struct |
ptr | unknown, pass NULL |
start | pointer to frame offset |
size | pointer to frame size |
flag | can be one of:
0x00000001: get asf file header information
0x00004000: get standard tag information
0x00008000: get extra tag infomration
0x00040000: unknown
0x00080000: unknown |
- Note
- use after sceAsfInitParser completed
Get ASF stream header frame's offset and size.
- Parameters
-
asf | pointer to a SceAsfParser struct |
unk | unknown, pass NULL |
start | pointer to frame offset |
size | pointer to frame size |
- Note
- use after sceAsfInitParser completed
Seek in asf stream.
- Parameters
-
parser | - pointer to a SceAsfParser struct |
unknown | - unknown, set to 1 |
ms | - will contain value of seek ms |
- Returns
- < 0 if error else success.