Difference between revisions of "Camera Services"

From 3dbrew
Jump to navigation Jump to search
(Added some more command headers)
Line 13: Line 13:
 
!  Command Header
 
!  Command Header
 
!  Description
 
!  Description
 +
|-
 +
| 0x00010040
 +
| SetInputFormat(u8)
 +
|-
 +
| 0x00030040
 +
| SetOutputFormat(u8)
 +
|-
 +
| 0x00050040
 +
| SetRotation(u8)
 +
|-
 +
| 0x00070040
 +
| SetBlockAlignment(u8)
 
|-
 
|-
 
| 0x000D0040
 
| 0x000D0040
| unknown
+
| SetTransferEndInterrupt(bool)
 
|-
 
|-
 
| 0x000F0000
 
| 0x000F0000
| unknown
+
| GetTransferEndEvent(Handle*)
 
|-
 
|-
 
| 0x00100102
 
| 0x00100102
| This DMAs from 0x1EE02000 into your buf.
+
| SetSendingY(Handle, unsigned int, unsigned int, short, short). This DMAs from 0x1EE02000 into your buf.
 
|-
 
|-
 
| 0x00110102
 
| 0x00110102
| This DMAs from 0x1EE02080 into your buf.
+
| SetSendingU(Handle, unsigned int, unsigned int, short, short). This DMAs from 0x1EE02080 into your buf.
 
|-
 
|-
 
| 0x00120102
 
| 0x00120102
| This DMAs from 0x1EE02100 into your buf.
+
| SetSendingV(Handle, unsigned int, unsigned int, short, short). This DMAs from 0x1EE02100 into your buf.
 
|-
 
|-
 
| 0x00130102
 
| 0x00130102
Line 33: Line 45:
 
|-
 
|-
 
| 0x00180102
 
| 0x00180102
| This DMAs from 0x1EE02200 into your buf.
+
| SetReceiving(Handle, unsigned int, unsigned int, short, short). This DMAs from 0x1EE02200 into your buf.
 +
|-
 +
| 0x001A0040
 +
| SetInputLineWidth(short)
 +
|-
 +
| 0x001C0040
 +
| SetInputLines(short)
 +
|-
 +
| 0x00200040
 +
| SetStandardCoefficient(u8)
 +
|-
 +
| 0x00220040
 +
| SetAlpha(short)
 +
|-
 +
| 0x00260000
 +
| StartConversion
 +
|-
 +
| 0x00270000
 +
| StopConversion
 +
|-
 +
| 0x00280000
 +
| IsBusyConversion(bool *)
 +
|-
 +
| 0x002A0000
 +
| PingProcess(unsigned char *)
 
|-
 
|-
 
| 0x002B0000
 
| 0x002B0000
| unknown
+
| DriverInitialize
 +
|-
 +
| 0x002C0000
 +
| DriverFinalize
 
|}
 
|}

Revision as of 07:31, 2 January 2015

cam:c (PORT_REG)

cam:s (PORT_CAL)

cam:q (PORT_QTM)

This was added with New3DS.

cam:u (PORT_USER)

y2r:u

Command Header Description
0x00010040 SetInputFormat(u8)
0x00030040 SetOutputFormat(u8)
0x00050040 SetRotation(u8)
0x00070040 SetBlockAlignment(u8)
0x000D0040 SetTransferEndInterrupt(bool)
0x000F0000 GetTransferEndEvent(Handle*)
0x00100102 SetSendingY(Handle, unsigned int, unsigned int, short, short). This DMAs from 0x1EE02000 into your buf.
0x00110102 SetSendingU(Handle, unsigned int, unsigned int, short, short). This DMAs from 0x1EE02080 into your buf.
0x00120102 SetSendingV(Handle, unsigned int, unsigned int, short, short). This DMAs from 0x1EE02100 into your buf.
0x00130102 This DMAs from 0x1EE02180 into your buf.
0x00180102 SetReceiving(Handle, unsigned int, unsigned int, short, short). This DMAs from 0x1EE02200 into your buf.
0x001A0040 SetInputLineWidth(short)
0x001C0040 SetInputLines(short)
0x00200040 SetStandardCoefficient(u8)
0x00220040 SetAlpha(short)
0x00260000 StartConversion
0x00270000 StopConversion
0x00280000 IsBusyConversion(bool *)
0x002A0000 PingProcess(unsigned char *)
0x002B0000 DriverInitialize
0x002C0000 DriverFinalize