Y2R:SetPackageParameter: Difference between revisions
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..." |
Steveice10 (talk | contribs) m moved Y2R:SetConversionParams to Y2R:SetPackageParameter |
||
(No difference)
| |||
Revision as of 02:57, 22 October 2015
Request
| Index Word | Description |
|---|---|
| 0 | Header code [0x002901C0] |
| 1-3 | ConversionParams, memcpy'd to &cmd_buff[1] |
Response
| Index Word | Description |
|---|---|
| 0 | Header code |
| 1 | Resultcode |
ConversionParams
| 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 |