Reset NTSC signal on each line

This commit is contained in:
Ivan Izaguirre 2019-05-05 12:51:30 +02:00
parent f2c935305b
commit 9247ae02af
1 changed files with 2 additions and 2 deletions

View File

@ -84,9 +84,9 @@ func filterNTSCColorMoving(blacker bool, in *image.RGBA) *image.RGBA {
size := image.Rect(0, 0, b.Dx()+3, b.Dy())
out := image.NewRGBA(size)
// We store the last four bits. We start will 0000
v := 0
for y := b.Min.Y; y < b.Max.Y; y++ {
// We store the last four bits. We start will 0000
v := 0
for x := b.Min.X; x < b.Dx(); x++ {
cIn := in.At(x, y)
r, _, _, _ := cIn.RGBA()