Home | History | Annotate | Download | only in jpeg

Lines Matching refs:Bounds

685 		bounds := d.img3.Bounds()
686 img := image.NewRGBA(bounds)
687 imageutil.DrawYCbCr(img, bounds, d.img3, bounds.Min)
688 for iBase, y := 0, bounds.Min.Y; y < bounds.Max.Y; iBase, y = iBase+img.Stride, y+1 {
689 for i, x := iBase+3, bounds.Min.X; x < bounds.Max.X; i, x = i+4, x+1 {
690 img.Pix[i] = 255 - d.blackPix[(y-bounds.Min.Y)*d.blackStride+(x-bounds.Min.X)]
705 bounds := d.img3.Bounds()
706 img := image.NewCMYK(bounds)
719 for iBase, y := 0, bounds.Min.Y; y < bounds.Max.Y; iBase, y = iBase+img.Stride, y+1 {
720 sy := y - bounds.Min.Y
724 for i, x := iBase+t, bounds.Min.X; x < bounds.Max.X; i, x = i+4, x+1 {
725 sx := x - bounds.Min.X
750 bounds := d.img3.Bounds()
751 img := image.NewRGBA(bounds)
752 for y := bounds.Min.Y; y < bounds.Max.Y; y++ {
753 po := img.PixOffset(bounds.Min.X, y)
754 yo := d.img3.YOffset(bounds.Min.X, y)
755 co := d.img3.COffset(bounds.Min.X, y)
756 for i, iMax := 0, bounds.Max.X-bounds.Min.X; i < iMax; i++ {