diff options
Diffstat (limited to 'llgo/third_party/gofrontend/libgo/go/image/ycbcr.go')
-rw-r--r-- | llgo/third_party/gofrontend/libgo/go/image/ycbcr.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llgo/third_party/gofrontend/libgo/go/image/ycbcr.go b/llgo/third_party/gofrontend/libgo/go/image/ycbcr.go index 5b73bef7895..7c773f2f0a4 100644 --- a/llgo/third_party/gofrontend/libgo/go/image/ycbcr.go +++ b/llgo/third_party/gofrontend/libgo/go/image/ycbcr.go @@ -60,6 +60,10 @@ func (p *YCbCr) Bounds() Rectangle { } func (p *YCbCr) At(x, y int) color.Color { + return p.YCbCrAt(x, y) +} + +func (p *YCbCr) YCbCrAt(x, y int) color.YCbCr { if !(Point{x, y}.In(p.Rect)) { return color.YCbCr{} } |