- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DrawYCbCr (0.13 sec)
-
src/image/internal/imageutil/gen.go
if err := os.WriteFile("impl.go", out, 0660); err != nil { log.Fatal(err) } } const pre = `// Code generated by go run gen.go; DO NOT EDIT. package imageutil import ( "image" ) // DrawYCbCr draws the YCbCr source image on the RGBA destination image with // r.Min in dst aligned with sp in src. It reports whether the draw was // successful. If it returns false, no dst pixels were changed. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 4.3K bytes - Viewed (0) -
src/image/draw/draw.go
// An image.YCbCr is always fully opaque, and so if the // mask is nil (i.e. fully opaque) then the op is // effectively always Src. Similarly for image.Gray and // image.CMYK. if imageutil.DrawYCbCr(dst0, r, src0, sp) { return } case *image.Gray: drawGray(dst0, r, src0, sp) return case *image.CMYK: drawCMYK(dst0, r, src0, sp) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:08:05 UTC 2024 - 33.9K bytes - Viewed (0) -
src/image/jpeg/reader.go
// out the 'Adobe inversion' described in the applyBlack doc comment // above, so in practice, only the fourth channel (black) is inverted. bounds := d.img3.Bounds() img := image.NewRGBA(bounds) imageutil.DrawYCbCr(img, bounds, d.img3, bounds.Min) for iBase, y := 0, bounds.Min.Y; y < bounds.Max.Y; iBase, y = iBase+img.Stride, y+1 { for i, x := iBase+3, bounds.Min.X; x < bounds.Max.X; i, x = i+4, x+1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 22.5K bytes - Viewed (0)