Rec plugin: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
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, Parameter: int giprm (must be 5 = Movie Time msec) - RecGetInfo
  5: md, 2 Parameter: uint8_t mdarg[0x220/0x2C8], int (must be 0x2C8 = 712)
  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=

Revision as of 19:53, 16 August 2014

1 Identifiers:

  • 1

1 Interface

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, 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

Load up parameters:

videoFmt = int
audioFmt = int
ppuPrio = int
spuPrio = int
container = int
bgCntnr = (Background Memory Container 4)
filename = char * [0x400]
notifyParam = int
optFlag1 = int 
ringSec = int
aMixVol = uint8_t
vInput = uint8_t
metaF = char * [0x400]
srate = uint8_t
capPrio = uint8_t