Lines Matching refs:srcw
16 srcw, srch = 400, 300
79 src1 := image.NewCMYK(image.Rect(0, 0, srcw, srch))
81 for x := 0; x < srcw; x++ {
92 src1 := image.NewGray(image.Rect(0, 0, srcw, srch))
94 for x := 0; x < srcw; x++ {
102 src1 := image.NewRGBA(image.Rect(0, 0, srcw, srch))
104 for x := 0; x < srcw; x++ {
115 src1 := image.NewRGBA64(image.Rect(0, 0, srcw, srch))
117 for x := 0; x < srcw; x++ {
128 src1 := image.NewNRGBA(image.Rect(0, 0, srcw, srch))
130 for x := 0; x < srcw; x++ {
141 yy := make([]uint8, srcw*srch)
142 cb := make([]uint8, srcw*srch)
143 cr := make([]uint8, srcw*srch)
153 YStride: srcw,
154 CStride: srcw,
156 Rect: image.Rect(0, 0, srcw, srch),
167 mask1 := image.NewAlpha(image.Rect(0, 0, srcw, srch))
169 for x := 0; x < srcw; x++ {
186 x := 3 * i % (dstw - srcw)