Reality Display Processor/Commands: Difference between revisions
Set Key R/GB
(Set Convert: Fix some formatting) |
(Set Key R/GB) |
||
Line 483:
}}
====<span style="display:none;">0x2a -
----
{| class="wikitable" style="text-align: center; white-space:nowrap;"
! colspan="17"|
|-
| 63:48 || — || — || colspan=6| command = 0x2a[5:0] || colspan=8|
|-
| 47:32 || colspan=4|
|-
| 31:16 || colspan=8|
|-
| 15:0 || colspan=8|
|}
{{#invoke:Register table|definitions
| 61:56 | command[5:0] | 0x2a
| 55:44 |
| 43:32 |
| 31:24 |
| 23:16 |
| 15:8 |
| 7:0 |
}}
Sets chroma Key parameters for the green and blue color channels.
====<span style="display:none;">0x2b - Set_Key_R ====▼
Key width is used exclusively in the chroma key pipeline stage following the Color Combiner (if enabled in othermodes)
<math>\mathrm{key\_alpha} = \mathrm{clamp}(-\mathrm{abs}(\mathrm{Combined}) + \mathrm{Width}, 0.0, 1.0)</math>
Key center and scale are Color Combiner inputs, the expectation is that the Color Combiner is configured to <math>(X - \mathrm{Center}) \cdot \mathrm{Scale}</math> when chroma keying, where <math>X</math> is any color source. If not chroma keying, these may be used as general-purpose Color Combiner inputs.
----
{| class="wikitable" style="text-align: center; white-space:nowrap;"
! colspan="17"|
|-
| 63:48 || — || — || colspan=6| command = 0x2b[5:0] || — || — || — || — || — || — || — || —
Line 515 ⟶ 523:
| 47:32 || — || — || — || — || — || — || — || — || — || — || — || — || — || — || — || —
|-
| 31:16 || — || — || — || — || colspan=12|
|-
| 15:0 || colspan=8|
|}
{{#invoke:Register table|definitions
| 61:56 | command[5:0] | 0x2b
| 27:16 |
| 15:8 |
| 7:0 |
}}
Sets Chroma Key parameters for the red color channel. See '''Set Key GB''' for discussion.
====<span style="display:none;">0x2c - Set Convert ====
|