image.YCbCr.CStride (field)
23 uses
image (current package)
ycbcr.go#L57: CStride int
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#L132: CStride: p.CStride,
ycbcr.go#L191: CStride: cw,
ycbcr.go#L260: CStride: p.CStride,
ycbcr.go#L312: CStride: cw,
image/internal/imageutil
impl.go#L43: ci := (sy-src.Rect.Min.Y)*src.CStride + (sp.X - src.Rect.Min.X)
impl.go#L99: ciBase := (sy-src.Rect.Min.Y)*src.CStride - src.Rect.Min.X/2
impl.go#L156: ciBase := (sy/2-src.Rect.Min.Y/2)*src.CStride - src.Rect.Min.X/2
impl.go#L213: ci := (sy/2-src.Rect.Min.Y/2)*src.CStride + (sp.X - src.Rect.Min.X)
image/jpeg
reader.go#L723: {d.img3.Cb, d.img3.CStride},
reader.go#L724: {d.img3.Cr, d.img3.CStride},
scan.go#L497: dst, stride = d.img3.Cb[8*(by*d.img3.CStride+bx):], d.img3.CStride
scan.go#L499: dst, stride = d.img3.Cr[8*(by*d.img3.CStride+bx):], d.img3.CStride
 |
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. |