Difference between revisions of "Y2R:SetPackageParameter"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 || Header code [0x002901C0] |- | 1-3 || ConversionParams, memcpy'd to &cmd_bu...")
 
(SetPackageParameter)
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
! Description
 
! Description
 
|-
 
|-
| 0 || Header code [0x002901C0]
+
| 0
|-
+
| Header code [0x002901C0]
| 1-3 || [[#ConversionParams|ConversionParams]], memcpy'd to &cmd_buff[1]
 
 
|-
 
|-
 +
| 1-3
 +
| [[Camera_Services#PackageParameter|PackageParameter]]
 
|}
 
|}
  
Line 14: Line 15:
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
! Index Word !! Description
+
! Index Word
|-
+
! Description
| 0 || Header code
 
|-
 
| 1 || Resultcode
 
|}
 
 
 
==ConversionParams==
 
{| class="wikitable" border="1"
 
|-
 
! 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
+
| 0
| reserved
+
| Header code
| u8
 
 
|-
 
|-
| 0xA
+
| 1
| alpha
+
| Result code
| u16
 
 
|}
 
|}

Latest revision as of 04:28, 22 October 2015

Request[edit]

Index Word Description
0 Header code [0x002901C0]
1-3 PackageParameter

Response[edit]

Index Word Description
0 Header code
1 Result code