1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-25 11:17:26 +00:00

Adds superficially correct compositeSampleLuminance8Phase8 function.

Thereby uncovering a minor error in my decoding of colour phase.
This commit is contained in:
Thomas Harte
2020-08-10 21:33:59 -04:00
parent 525233e10b
commit 8374a5e579
3 changed files with 14 additions and 35 deletions
+4 -2
View File
@@ -75,8 +75,10 @@ enum class InputDataType {
// of a colour subcarrier. So they can be used to generate a luminance signal,
// or an s-video pipeline.
Luminance8Phase8, // 2 bytes/pixel; first is luminance, second is phase.
// Phase is encoded on a 192-unit circle; anything
Luminance8Phase8, // 2 bytes/pixel; first is luminance, second is phase
// of a cosine wave.
//
// Phase is encoded on a 128-unit circle; anything
// greater than 192 implies that the colour part of
// the signal should be omitted.