github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/image/internal/imageutil/impl.go (about) 1 // Code generated by go run gen.go; DO NOT EDIT. 2 3 package imageutil 4 5 import ( 6 "github.com/shogo82148/std/image" 7 ) 8 9 // DrawYCbCr draws the YCbCr source image on the RGBA destination image with 10 // r.Min in dst aligned with sp in src. It reports whether the draw was 11 // successful. If it returns false, no dst pixels were changed. 12 // 13 // This function assumes that r is entirely within dst's bounds and the 14 // translation of r from dst coordinate space to src coordinate space is 15 // entirely within src's bounds. 16 func DrawYCbCr(dst *image.RGBA, r image.Rectangle, src *image.YCbCr, sp image.Point) (ok bool)