Y2R:SetPackageParameter: Difference between revisions
Jump to navigation
Jump to search
Steveice10 (talk | contribs) m moved Y2R:SetConversionParams to Y2R:SetPackageParameter |
Steveice10 (talk | contribs) m Minor change. |
||
| Line 7: | Line 7: | ||
| 0 || Header code [0x002901C0] | | 0 || Header code [0x002901C0] | ||
|- | |- | ||
| 1-3 || [[# | | 1-3 || [[#PackageParameter|PackageParameter]], memcpy'd to &cmd_buff[1] | ||
|- | |- | ||
|} | |} | ||
| Line 21: | Line 21: | ||
|} | |} | ||
== | ==PackageParameter== | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Revision as of 03: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 |