mirror of
https://github.com/ivanizag/izapple2.git
synced 2025-01-03 11:30:29 +00:00
Reset NTSC signal on each line
This commit is contained in:
parent
f2c935305b
commit
9247ae02af
@ -84,9 +84,9 @@ func filterNTSCColorMoving(blacker bool, in *image.RGBA) *image.RGBA {
|
|||||||
size := image.Rect(0, 0, b.Dx()+3, b.Dy())
|
size := image.Rect(0, 0, b.Dx()+3, b.Dy())
|
||||||
out := image.NewRGBA(size)
|
out := image.NewRGBA(size)
|
||||||
|
|
||||||
|
for y := b.Min.Y; y < b.Max.Y; y++ {
|
||||||
// We store the last four bits. We start will 0000
|
// We store the last four bits. We start will 0000
|
||||||
v := 0
|
v := 0
|
||||||
for y := b.Min.Y; y < b.Max.Y; y++ {
|
|
||||||
for x := b.Min.X; x < b.Dx(); x++ {
|
for x := b.Min.X; x < b.Dx(); x++ {
|
||||||
cIn := in.At(x, y)
|
cIn := in.At(x, y)
|
||||||
r, _, _, _ := cIn.RGBA()
|
r, _, _, _ := cIn.RGBA()
|
||||||
|
Loading…
Reference in New Issue
Block a user