Rec plugin: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 8: | Line 8: | ||
0: 0 Parameter: - returns 0 | 0: 0 Parameter: - returns 0 | ||
1: start, 0 Parameter: | 1: start, 0 Parameter: - RecStart | ||
2: stop, 0 Parameter: | 2: stop, 0 Parameter: - RecStop | ||
3: close, 1 Parameter: int isdiscard | 3: close, 1 Parameter: int isdiscard (0=save, 1=clear recorded movie) | ||
4: geti, Parameter: int giprm (must be 5) | 4: geti, 1 Parameter: int giprm (must be 5 = Movie Time msec) - RecGetInfo | ||
5: md, 2 Parameter: uint8_t mdarg[ | 5: md, 2 Parameter: uint8_t mdarg[0x2C8], int (must be 0x2C8 = 712) - RecSetInfo (MetaData) | ||
6: etis, 1 Parameter: int time | 6: etis, 1 Parameter: int time - RecSetInfo (Movie start time msec) | ||
7: etie, 1 Parameter: int time | 7: etie, 1 Parameter: int time - RecSetInfo (Movie end time msec) | ||
=Initialization= | =Initialization= | ||
Line 27: | Line 27: | ||
filename = char * [0x400] | filename = char * [0x400] | ||
notifyParam = int | notifyParam = int | ||
(vshMode = ) | |||
optFlag1 = int | optFlag1 = int | ||
ringSec = int | ringSec = int | ||
Line 34: | Line 35: | ||
srate = uint8_t | srate = uint8_t | ||
capPrio = uint8_t | capPrio = uint8_t | ||
<!-- | |||
*video format | |||
**MPEG4 | |||
**AVC_MP | |||
**AVC_BL | |||
**MJPEG | |||
**M4HD | |||
*video input | |||
**DISABLE | |||
**ARGB_4_3 | |||
**ARGB_16_9 | |||
**RGBA_4_3 | |||
**RGBA_16_9 | |||
**YUV420PLANAR_16_9 | |||
*Audio format | |||
**AAC | |||
**ULAW | |||
**PCM | |||
** ? | |||
--> | |||
{{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude> | {{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude> |
Latest revision as of 02:04, 12 April 2015
1 Identifiers:
- 1
1 Interface[edit | edit source]
contains 8 subs:
0: 0 Parameter: - returns 0 1: start, 0 Parameter: - RecStart 2: stop, 0 Parameter: - RecStop 3: close, 1 Parameter: int isdiscard (0=save, 1=clear recorded movie) 4: geti, 1 Parameter: int giprm (must be 5 = Movie Time msec) - RecGetInfo 5: md, 2 Parameter: uint8_t mdarg[0x2C8], int (must be 0x2C8 = 712) - RecSetInfo (MetaData) 6: etis, 1 Parameter: int time - RecSetInfo (Movie start time msec) 7: etie, 1 Parameter: int time - RecSetInfo (Movie end time msec)
Initialization[edit | edit source]
Load up parameters:
videoFmt = int audioFmt = int ppuPrio = int spuPrio = int container = int bgCntnr = (Background Memory Container 4) filename = char * [0x400] notifyParam = int (vshMode = ) optFlag1 = int ringSec = int aMixVol = uint8_t vInput = uint8_t metaF = char * [0x400] srate = uint8_t capPrio = uint8_t