image.YCbCr.Rect (field)
46 uses
image (current package)
ycbcr.go#L59: Rect Rectangle
ycbcr.go#L67: return p.Rect
ycbcr.go#L75: if !(Point{x, y}.In(p.Rect)) {
ycbcr.go#L90: return (y-p.Rect.Min.Y)*p.YStride + (x - p.Rect.Min.X)
ycbcr.go#L98: return (y-p.Rect.Min.Y)*p.CStride + (x/2 - p.Rect.Min.X/2)
ycbcr.go#L100: return (y/2-p.Rect.Min.Y/2)*p.CStride + (x/2 - p.Rect.Min.X/2)
ycbcr.go#L102: return (y/2-p.Rect.Min.Y/2)*p.CStride + (x - p.Rect.Min.X)
ycbcr.go#L104: return (y-p.Rect.Min.Y)*p.CStride + (x/4 - p.Rect.Min.X/4)
ycbcr.go#L106: return (y/2-p.Rect.Min.Y/2)*p.CStride + (x/4 - p.Rect.Min.X/4)
ycbcr.go#L109: return (y-p.Rect.Min.Y)*p.CStride + (x - p.Rect.Min.X)
ycbcr.go#L115: r = r.Intersect(p.Rect)
ycbcr.go#L133: Rect: r,
ycbcr.go#L192: Rect: r,
ycbcr.go#L214: if !(Point{X: x, Y: y}.In(p.Rect)) {
ycbcr.go#L233: return (y-p.Rect.Min.Y)*p.AStride + (x - p.Rect.Min.X)
ycbcr.go#L239: r = r.Intersect(p.Rect)
ycbcr.go#L261: Rect: r,
ycbcr.go#L270: if p.Rect.Empty() {
ycbcr.go#L273: i0, i1 := 0, p.Rect.Dx()
ycbcr.go#L274: for y := p.Rect.Min.Y; y < p.Rect.Max.Y; y++ {
ycbcr.go#L313: Rect: r,
image/internal/imageutil
impl.go#L41: yi := (sy-src.Rect.Min.Y)*src.YStride + (sp.X - src.Rect.Min.X)
impl.go#L43: ci := (sy-src.Rect.Min.Y)*src.CStride + (sp.X - src.Rect.Min.X)
impl.go#L97: yi := (sy-src.Rect.Min.Y)*src.YStride + (sp.X - src.Rect.Min.X)
impl.go#L99: ciBase := (sy-src.Rect.Min.Y)*src.CStride - src.Rect.Min.X/2
impl.go#L154: yi := (sy-src.Rect.Min.Y)*src.YStride + (sp.X - src.Rect.Min.X)
impl.go#L156: ciBase := (sy/2-src.Rect.Min.Y/2)*src.CStride - src.Rect.Min.X/2
impl.go#L211: yi := (sy-src.Rect.Min.Y)*src.YStride + (sp.X - src.Rect.Min.X)
impl.go#L213: ci := (sy/2-src.Rect.Min.Y/2)*src.CStride + (sp.X - src.Rect.Min.X)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |