Reality Display Processor/Commands: Difference between revisions
Set Convert
(Set Scissor) |
(Set Convert) |
||
Line 526:
}}
====<span style="display:none;">0x2c -
----
{| class="wikitable" style="text-align: center; white-space:nowrap;"
! colspan="17"|
|-
| 63:48 || — || — || colspan=6| command = 0x2c[5:0] || — || — || colspan=6| convert.k[0][8:3]
|-
| 47:32 || colspan=3|
|-
| 31:16 || colspan=5|
|-
| 15:0 || colspan=7|
|}
{{#invoke:Register table|definitions
| 61:56 | command[5:0] | 0x2c
| 53:45 |
| 44:36 |
| 35:27 |
| 26:18 |
| 17:9 |
|
}}
Sets colorspace conversion coefficients intended for YUV -> RGB conversion.
K0 through K3 are used in the Texture Filter color conversion step:
<math>
\begin{pmatrix}
R \\
G \\
B \\
A \\
\end{pmatrix}
=
\begin{pmatrix}
1 & 0 & K_0 \\
1 & K_1 & K_2 \\
1 & K_3 & 0 \\
1 & 0 & 0 \\
\end{pmatrix}
\begin{pmatrix}
Y \\
U \\
V \\
\end{pmatrix}
</math>
K4 and K5 are made available as Color Combiner inputs, with the intention that the CC complete the colorspace conversion process after receiving values from the Texture Filter.
K4 and K5 may also simply be used as additional general-purpose CC inputs.
====<span style="display:none;">0x2d - Set Scissor ====
|