diff options
Diffstat (limited to 'src/image')
| -rw-r--r-- | src/image/internal/imageutil/impl.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/image/internal/imageutil/impl.go b/src/image/internal/imageutil/impl.go index cfd5047879..4c6de742da 100644 --- a/src/image/internal/imageutil/impl.go +++ b/src/image/internal/imageutil/impl.go @@ -42,7 +42,6 @@ func DrawYCbCr(dst *image.RGBA, r image.Rectangle, src *image.YCbCr, sp image.Po ci := (sy-src.Rect.Min.Y)*src.CStride + (sp.X - src.Rect.Min.X) for x := x0; x != x1; x, yi, ci = x+4, yi+1, ci+1 { - // This is an inline version of image/color/ycbcr.go's func YCbCrToRGB. yy1 := int32(src.Y[yi]) * 0x10101 cb1 := int32(src.Cb[ci]) - 128 @@ -212,7 +211,6 @@ func DrawYCbCr(dst *image.RGBA, r image.Rectangle, src *image.YCbCr, sp image.Po ci := (sy/2-src.Rect.Min.Y/2)*src.CStride + (sp.X - src.Rect.Min.X) for x := x0; x != x1; x, yi, ci = x+4, yi+1, ci+1 { - // This is an inline version of image/color/ycbcr.go's func YCbCrToRGB. yy1 := int32(src.Y[yi]) * 0x10101 cb1 := int32(src.Cb[ci]) - 128 |
