Difference between revisions of "Y2R:SetPackageParameter"

From 3dbrew
Jump to navigation Jump to search
m (Minor change.)
Line 7: Line 7:
 
| 0 || Header code [0x002901C0]
 
| 0 || Header code [0x002901C0]
 
|-
 
|-
| 1-3 || [[#ConversionParams|ConversionParams]], memcpy'd to &cmd_buff[1]
+
| 1-3 || [[#PackageParameter|PackageParameter]], memcpy'd to &cmd_buff[1]
 
|-
 
|-
 
|}
 
|}
Line 21: Line 21:
 
|}
 
|}
  
==ConversionParams==
+
==PackageParameter==
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-

Revision as of 02:02, 22 October 2015

Request

Index Word Description
0 Header code [0x002901C0]
1-3 PackageParameter, memcpy'd to &cmd_buff[1]

Response

Index Word Description
0 Header code
1 Resultcode

PackageParameter

Offset Name Type
0x0 input_format InputFormat (u8)
0x1 output_format OutputFormat (u8)
0x2 rotation Rotation (u8)
0x3 block_alignment BlockAlignment(u8)
0x4 input_line_width u16
0x6 input_lines u16
0x8 standard_coefficient StandardCoefficient (u8)
0x9 reserved u8
0xA alpha u16