Line 136: |
Line 136: |
| |- | | |- |
| | 0x002901C0 | | | 0x002901C0 |
− | | SetConversionParams(ConversionParams conversion_params). The struct is memcpy'd to &cmd_buff[1]. | + | | [[Y2R:SetConversionParams|SetConversionParams]] |
| |- | | |- |
| | 0x002A0000 | | | 0x002A0000 |
Line 148: |
Line 148: |
| |- | | |- |
| | 0x002D.... | | | 0x002D.... |
− | | GetConversionParams | + | | [[Y2R:GetConversionParams|GetConversionParams]] |
| |} | | |} |
| | | |
Line 252: |
Line 252: |
| | COEFFICIENT_MAX | | | COEFFICIENT_MAX |
| | 0x4 | | | 0x4 |
− | |}
| |
− |
| |
− |
| |
− | '''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
| |
− | | reserved
| |
− | | u8
| |
− | |-
| |
− | | 0xA
| |
− | | alpha
| |
− | | u16
| |
| |} | | |} |