image.YCbCr.Rect (field)
30 uses
image (current package)
ycbcr.go#L60: Rect Rectangle
ycbcr.go#L68: return p.Rect
ycbcr.go#L81: if !(Point{x, y}.In(p.Rect)) {
ycbcr.go#L96: return (y-p.Rect.Min.Y)*p.YStride + (x - p.Rect.Min.X)
ycbcr.go#L104: return (y-p.Rect.Min.Y)*p.CStride + (x/2 - p.Rect.Min.X/2)
ycbcr.go#L106: return (y/2-p.Rect.Min.Y/2)*p.CStride + (x/2 - p.Rect.Min.X/2)
ycbcr.go#L108: return (y/2-p.Rect.Min.Y/2)*p.CStride + (x - p.Rect.Min.X)
ycbcr.go#L110: return (y-p.Rect.Min.Y)*p.CStride + (x/4 - p.Rect.Min.X/4)
ycbcr.go#L112: return (y/2-p.Rect.Min.Y/2)*p.CStride + (x/4 - p.Rect.Min.X/4)
ycbcr.go#L115: return (y-p.Rect.Min.Y)*p.CStride + (x - p.Rect.Min.X)
ycbcr.go#L121: r = r.Intersect(p.Rect)
ycbcr.go#L139: Rect: r,
ycbcr.go#L198: Rect: r,
ycbcr.go#L225: if !(Point{X: x, Y: y}.In(p.Rect)) {
ycbcr.go#L244: return (y-p.Rect.Min.Y)*p.AStride + (x - p.Rect.Min.X)
ycbcr.go#L250: r = r.Intersect(p.Rect)
ycbcr.go#L272: Rect: r,
ycbcr.go#L281: if p.Rect.Empty() {
ycbcr.go#L284: i0, i1 := 0, p.Rect.Dx()
ycbcr.go#L285: for y := p.Rect.Min.Y; y < p.Rect.Max.Y; y++ {
ycbcr.go#L324: Rect: r,
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |