diff --git a/src/samplesrc/dcgrrgb.pla b/src/samplesrc/dcgrrgb.pla index e9194e6..40619b8 100644 --- a/src/samplesrc/dcgrrgb.pla +++ b/src/samplesrc/dcgrrgb.pla @@ -49,6 +49,7 @@ def rgbpix(r, g, b, x, y)#0 var zdist, cdist byte i + // Error propogation //r = r - er/4 //g = g - eg/4 //b = b - eb/4 @@ -87,7 +88,7 @@ def rgbpix(r, g, b, x, y)#0 //puts("Dist to Zero (Black):"); puti(zdist); putln //puts("Dist to Chroma Color:"); puti(cdist); putln if cdist < zdist - // RGB closer to Chroma Color + // RGB closer to chroma color er = dr eg = dg eb = db @@ -96,7 +97,7 @@ def rgbpix(r, g, b, x, y)#0 ntscCycle[i+BLU] = ntscChroma[i+BLU] dhgrSet(x, y) else - // RGB closer to Black + // RGB closer to black ntscCycle[i+RED] = 0 ntscCycle[i+GRN] = 0 ntscCycle[i+BLU] = 0