Repository URL to install this package:
|
Version:
1.0 ▾
|
!<arch>
__.PKGDEF 0 0 0 644 29409 `
go object linux amd64 go1.6 X:none
build id "fb3902578b2d834195c501555afda3f17e0a838a"
$$
package image
import bufio "bufio"
import errors "errors"
import io "io"
import color "image/color"
import strconv "strconv"
var @"".ErrFormat error
type @"image/color".Color interface { RGBA() (@"image/color".r uint32, @"image/color".g uint32, @"image/color".b uint32, @"image/color".a uint32) }
type @"".Point struct { X int; Y int }
func (@"".p·2 @"".Point) Add (@"".q·3 @"".Point) (? @"".Point) { return (@"".Point{ X:@"".p·2.X + @"".q·3.X, Y:@"".p·2.Y + @"".q·3.Y }) }
func (@"".p·2 @"".Point) Div (@"".k·3 int) (? @"".Point) { return (@"".Point{ X:@"".p·2.X / @"".k·3, Y:@"".p·2.Y / @"".k·3 }) }
func (@"".p·2 @"".Point) Eq (@"".q·3 @"".Point) (? bool) { return @"".p·2 == @"".q·3 }
func (@"".p·2 @"".Point) In (@"".r·3 @"".Rectangle) (? bool) { return @"".r·3.Min.X <= @"".p·2.X && @"".p·2.X < @"".r·3.Max.X && @"".r·3.Min.Y <= @"".p·2.Y && @"".p·2.Y < @"".r·3.Max.Y }
func (@"".p·2 @"".Point) Mod (@"".r·3 @"".Rectangle) (? @"".Point)
func (@"".p·2 @"".Point) Mul (@"".k·3 int) (? @"".Point) { return (@"".Point{ X:@"".p·2.X * @"".k·3, Y:@"".p·2.Y * @"".k·3 }) }
func (@"".p·2 @"".Point) String () (? string)
func (@"".p·2 @"".Point) Sub (@"".q·3 @"".Point) (? @"".Point) { return (@"".Point{ X:@"".p·2.X - @"".q·3.X, Y:@"".p·2.Y - @"".q·3.Y }) }
type @"image/color".Model interface { Convert(@"image/color".c @"image/color".Color) (? @"image/color".Color) }
type @"".Rectangle struct { Min @"".Point; Max @"".Point }
func (@"".r·2 @"".Rectangle) Add (@"".p·3 @"".Point) (? @"".Rectangle) { return (@"".Rectangle{ Min:(@"".Point{ X:@"".r·2.Min.X + @"".p·3.X, Y:@"".r·2.Min.Y + @"".p·3.Y }), Max:(@"".Point{ X:@"".r·2.Max.X + @"".p·3.X, Y:@"".r·2.Max.Y + @"".p·3.Y }) }) }
func (@"".r·2 @"".Rectangle) At (@"".x·3 int, @"".y·4 int) (? @"image/color".Color) { if (@"".Point{ X:@"".x·3, Y:@"".y·4 }).In(@"".r·2) { return @"image/color".Opaque }; return @"image/color".Transparent }
func (@"".r·2 @"".Rectangle) Bounds () (? @"".Rectangle) { return @"".r·2 }
func (@"".r·2 @"".Rectangle) Canon () (? @"".Rectangle) { if @"".r·2.Max.X < @"".r·2.Min.X { @"".r·2.Min.X, @"".r·2.Max.X = @"".r·2.Max.X, @"".r·2.Min.X }; if @"".r·2.Max.Y < @"".r·2.Min.Y { @"".r·2.Min.Y, @"".r·2.Max.Y = @"".r·2.Max.Y, @"".r·2.Min.Y }; return @"".r·2 }
func (@"".r·2 @"".Rectangle) ColorModel () (? @"image/color".Model) { return @"image/color".Alpha16Model }
func (@"".r·2 @"".Rectangle) Dx () (? int) { return @"".r·2.Max.X - @"".r·2.Min.X }
func (@"".r·2 @"".Rectangle) Dy () (? int) { return @"".r·2.Max.Y - @"".r·2.Min.Y }
func (@"".r·2 @"".Rectangle) Empty () (? bool) { return @"".r·2.Min.X >= @"".r·2.Max.X || @"".r·2.Min.Y >= @"".r·2.Max.Y }
func (@"".r·2 @"".Rectangle) Eq (@"".s·3 @"".Rectangle) (? bool) { return @"".r·2 == @"".s·3 || @"".r·2.Empty() && @"".s·3.Empty() }
func (@"".r·2 @"".Rectangle) In (@"".s·3 @"".Rectangle) (? bool) { if @"".r·2.Empty() { return bool(true) }; return @"".s·3.Min.X <= @"".r·2.Min.X && @"".r·2.Max.X <= @"".s·3.Max.X && @"".s·3.Min.Y <= @"".r·2.Min.Y && @"".r·2.Max.Y <= @"".s·3.Max.Y }
func (@"".r·2 @"".Rectangle) Inset (@"".n·3 int) (? @"".Rectangle)
func (@"".r·2 @"".Rectangle) Intersect (@"".s·3 @"".Rectangle) (? @"".Rectangle)
func (@"".r·2 @"".Rectangle) Overlaps (@"".s·3 @"".Rectangle) (? bool)
func (@"".r·2 @"".Rectangle) Size () (? @"".Point) { return (@"".Point{ X:@"".r·2.Max.X - @"".r·2.Min.X, Y:@"".r·2.Max.Y - @"".r·2.Min.Y }) }
func (@"".r·2 @"".Rectangle) String () (? string)
func (@"".r·2 @"".Rectangle) Sub (@"".p·3 @"".Point) (? @"".Rectangle) { return (@"".Rectangle{ Min:(@"".Point{ X:@"".r·2.Min.X - @"".p·3.X, Y:@"".r·2.Min.Y - @"".p·3.Y }), Max:(@"".Point{ X:@"".r·2.Max.X - @"".p·3.X, Y:@"".r·2.Max.Y - @"".p·3.Y }) }) }
func (@"".r·2 @"".Rectangle) Union (@"".s·3 @"".Rectangle) (? @"".Rectangle)
type @"".Image interface { At(@"".x int, @"".y int) (? @"image/color".Color); Bounds() (? @"".Rectangle); ColorModel() (? @"image/color".Model) }
type @"io".Reader interface { Read(@"io".p []byte) (@"io".n int, @"io".err error) }
type @"".Config struct { ColorModel @"image/color".Model; Width int; Height int }
func @"".RegisterFormat (@"".name·1 string, @"".magic·2 string, @"".decode·3 func(? @"io".Reader) (? @"".Image, ? error), @"".decodeConfig·4 func(? @"io".Reader) (? @"".Config, ? error)) { @"".formats = append(@"".formats, (@"".format{ @"".name:@"".name·1, @"".magic:@"".magic·2, @"".decode:@"".decode·3, @"".decodeConfig:@"".decodeConfig·4 })) }
func @"".Decode (@"".r·4 @"io".Reader) (? @"".Image, ? string, ? error)
func @"".DecodeConfig (@"".r·4 @"io".Reader) (? @"".Config, ? string, ? error)
var @"".ZP @"".Point
func @"".Pt (@"".X·2 int, @"".Y·3 int) (? @"".Point) { return (@"".Point{ X:@"".X·2, Y:@"".Y·3 }) }
var @"".ZR @"".Rectangle
func @"".Rect (@"".x0·2 int, @"".y0·3 int, @"".x1·4 int, @"".y1·5 int) (? @"".Rectangle) { if @"".x0·2 > @"".x1·4 { @"".x0·2, @"".x1·4 = @"".x1·4, @"".x0·2 }; if @"".y0·3 > @"".y1·5 { @"".y0·3, @"".y1·5 = @"".y1·5, @"".y0·3 }; return (@"".Rectangle{ Min:(@"".Point{ X:@"".x0·2, Y:@"".y0·3 }), Max:(@"".Point{ X:@"".x1·4, Y:@"".y1·5 }) }) }
type @"".PalettedImage interface { At(@"".x int, @"".y int) (? @"image/color".Color); Bounds() (? @"".Rectangle); ColorIndexAt(@"".x int, @"".y int) (? uint8); ColorModel() (? @"image/color".Model) }
type @"image/color".RGBA struct { R uint8; G uint8; B uint8; A uint8 }
func (@"image/color".c·5 @"image/color".RGBA) RGBA () (@"image/color".r·1 uint32, @"image/color".g·2 uint32, @"image/color".b·3 uint32, @"image/color".a·4 uint32) { @"image/color".r·1 = uint32(@"image/color".c·5.R); @"image/color".r·1 |= @"image/color".r·1 << uint(0x8); @"image/color".g·2 = uint32(@"image/color".c·5.G); @"image/color".g·2 |= @"image/color".g·2 << uint(0x8); @"image/color".b·3 = uint32(@"image/color".c·5.B); @"image/color".b·3 |= @"image/color".b·3 << uint(0x8); @"image/color".a·4 = uint32(@"image/color".c·5.A); @"image/color".a·4 |= @"image/color".a·4 << uint(0x8); return }
type @"".RGBA struct { Pix []uint8; Stride int; Rect @"".Rectangle }
func (@"".p·2 *@"".RGBA "esc:0x1") At (@"".x·3 int, @"".y·4 int) (? @"image/color".Color)
func (@"".p·2 *@"".RGBA "esc:0x1") Bounds () (? @"".Rectangle) { return @"".p·2.Rect }
func (@"".p·2 *@"".RGBA "esc:0x1") ColorModel () (? @"image/color".Model) { return @"image/color".RGBAModel }
func (@"".p·2 *@"".RGBA "esc:0x1") Opaque () (? bool)
func (@"".p·2 *@"".RGBA "esc:0x1") PixOffset (@"".x·3 int, @"".y·4 int) (? int) { return (@"".y·4 - @"".p·2.Rect.Min.Y) * @"".p·2.Stride + (@"".x·3 - @"".p·2.Rect.Min.X) * int(0x4) }
func (@"".p·2 *@"".RGBA "esc:0x1") RGBAAt (@"".x·3 int, @"".y·4 int) (? @"image/color".RGBA)
func (@"".p·1 *@"".RGBA "esc:0x1") Set (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".Color)
func (@"".p·1 *@"".RGBA "esc:0x1") SetRGBA (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".RGBA)
func (@"".p·2 *@"".RGBA "esc:0xa") SubImage (@"".r·3 @"".Rectangle) (? @"".Image)
func @"".NewRGBA (@"".r·2 @"".Rectangle) (? *@"".RGBA) { var @"".w·3 int; var @"".h·4 int; @"".w·3, @"".h·4 = @"".r·2.Dx(), @"".r·2.Dy(); var @"".buf·5 []uint8; @"".buf·5 = make([]uint8, int(0x4) * @"".w·3 * @"".h·4); return (&@"".RGBA{ Pix:@"".buf·5, Stride:int(0x4) * @"".w·3, Rect:@"".r·2 }) }
type @"image/color".RGBA64 struct { R uint16; G uint16; B uint16; A uint16 }
func (@"image/color".c·5 @"image/color".RGBA64) RGBA () (@"image/color".r·1 uint32, @"image/color".g·2 uint32, @"image/color".b·3 uint32, @"image/color".a·4 uint32) { return uint32(@"image/color".c·5.R), uint32(@"image/color".c·5.G), uint32(@"image/color".c·5.B), uint32(@"image/color".c·5.A) }
type @"".RGBA64 struct { Pix []uint8; Stride int; Rect @"".Rectangle }
func (@"".p·2 *@"".RGBA64 "esc:0x1") At (@"".x·3 int, @"".y·4 int) (? @"image/color".Color)
func (@"".p·2 *@"".RGBA64 "esc:0x1") Bounds () (? @"".Rectangle) { return @"".p·2.Rect }
func (@"".p·2 *@"".RGBA64 "esc:0x1") ColorModel () (? @"image/color".Model) { return @"image/color".RGBA64Model }
func (@"".p·2 *@"".RGBA64 "esc:0x1") Opaque () (? bool)
func (@"".p·2 *@"".RGBA64 "esc:0x1") PixOffset (@"".x·3 int, @"".y·4 int) (? int) { return (@"".y·4 - @"".p·2.Rect.Min.Y) * @"".p·2.Stride + (@"".x·3 - @"".p·2.Rect.Min.X) * int(0x8) }
func (@"".p·2 *@"".RGBA64 "esc:0x1") RGBA64At (@"".x·3 int, @"".y·4 int) (? @"image/color".RGBA64)
func (@"".p·1 *@"".RGBA64 "esc:0x1") Set (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".Color)
func (@"".p·1 *@"".RGBA64 "esc:0x1") SetRGBA64 (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".RGBA64)
func (@"".p·2 *@"".RGBA64 "esc:0xa") SubImage (@"".r·3 @"".Rectangle) (? @"".Image)
func @"".NewRGBA64 (@"".r·2 @"".Rectangle) (? *@"".RGBA64) { var @"".w·3 int; var @"".h·4 int; @"".w·3, @"".h·4 = @"".r·2.Dx(), @"".r·2.Dy(); var @"".pix·5 []uint8; @"".pix·5 = make([]uint8, int(0x8) * @"".w·3 * @"".h·4); return (&@"".RGBA64{ Pix:@"".pix·5, Stride:int(0x8) * @"".w·3, Rect:@"".r·2 }) }
type @"image/color".NRGBA struct { R uint8; G uint8; B uint8; A uint8 }
func (@"image/color".c·5 @"image/color".NRGBA) RGBA () (@"image/color".r·1 uint32, @"image/color".g·2 uint32, @"image/color".b·3 uint32, @"image/color".a·4 uint32) { @"image/color".r·1 = uint32(@"image/color".c·5.R); @"image/color".r·1 |= @"image/color".r·1 << uint(0x8); @"image/color".r·1 *= uint32(@"image/color".c·5.A); @"image/color".r·1 /= uint32(0xff); @"image/color".g·2 = uint32(@"image/color".c·5.G); @"image/color".g·2 |= @"image/color".g·2 << uint(0x8); @"image/color".g·2 *= uint32(@"image/color".c·5.A); @"image/color".g·2 /= uint32(0xff); @"image/color".b·3 = uint32(@"image/color".c·5.B); @"image/color".b·3 |= @"image/color".b·3 << uint(0x8); @"image/color".b·3 *= uint32(@"image/color".c·5.A); @"image/color".b·3 /= uint32(0xff); @"image/color".a·4 = uint32(@"image/color".c·5.A); @"image/color".a·4 |= @"image/color".a·4 << uint(0x8); return }
type @"".NRGBA struct { Pix []uint8; Stride int; Rect @"".Rectangle }
func (@"".p·2 *@"".NRGBA "esc:0x1") At (@"".x·3 int, @"".y·4 int) (? @"image/color".Color)
func (@"".p·2 *@"".NRGBA "esc:0x1") Bounds () (? @"".Rectangle) { return @"".p·2.Rect }
func (@"".p·2 *@"".NRGBA "esc:0x1") ColorModel () (? @"image/color".Model) { return @"image/color".NRGBAModel }
func (@"".p·2 *@"".NRGBA "esc:0x1") NRGBAAt (@"".x·3 int, @"".y·4 int) (? @"image/color".NRGBA)
func (@"".p·2 *@"".NRGBA "esc:0x1") Opaque () (? bool)
func (@"".p·2 *@"".NRGBA "esc:0x1") PixOffset (@"".x·3 int, @"".y·4 int) (? int) { return (@"".y·4 - @"".p·2.Rect.Min.Y) * @"".p·2.Stride + (@"".x·3 - @"".p·2.Rect.Min.X) * int(0x4) }
func (@"".p·1 *@"".NRGBA "esc:0x1") Set (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".Color)
func (@"".p·1 *@"".NRGBA "esc:0x1") SetNRGBA (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".NRGBA)
func (@"".p·2 *@"".NRGBA "esc:0xa") SubImage (@"".r·3 @"".Rectangle) (? @"".Image)
func @"".NewNRGBA (@"".r·2 @"".Rectangle) (? *@"".NRGBA) { var @"".w·3 int; var @"".h·4 int; @"".w·3, @"".h·4 = @"".r·2.Dx(), @"".r·2.Dy(); var @"".pix·5 []uint8; @"".pix·5 = make([]uint8, int(0x4) * @"".w·3 * @"".h·4); return (&@"".NRGBA{ Pix:@"".pix·5, Stride:int(0x4) * @"".w·3, Rect:@"".r·2 }) }
type @"image/color".NRGBA64 struct { R uint16; G uint16; B uint16; A uint16 }
func (@"image/color".c·5 @"image/color".NRGBA64) RGBA () (@"image/color".r·1 uint32, @"image/color".g·2 uint32, @"image/color".b·3 uint32, @"image/color".a·4 uint32) { @"image/color".r·1 = uint32(@"image/color".c·5.R); @"image/color".r·1 *= uint32(@"image/color".c·5.A); @"image/color".r·1 /= uint32(0xffff); @"image/color".g·2 = uint32(@"image/color".c·5.G); @"image/color".g·2 *= uint32(@"image/color".c·5.A); @"image/color".g·2 /= uint32(0xffff); @"image/color".b·3 = uint32(@"image/color".c·5.B); @"image/color".b·3 *= uint32(@"image/color".c·5.A); @"image/color".b·3 /= uint32(0xffff); @"image/color".a·4 = uint32(@"image/color".c·5.A); return }
type @"".NRGBA64 struct { Pix []uint8; Stride int; Rect @"".Rectangle }
func (@"".p·2 *@"".NRGBA64 "esc:0x1") At (@"".x·3 int, @"".y·4 int) (? @"image/color".Color)
func (@"".p·2 *@"".NRGBA64 "esc:0x1") Bounds () (? @"".Rectangle) { return @"".p·2.Rect }
func (@"".p·2 *@"".NRGBA64 "esc:0x1") ColorModel () (? @"image/color".Model) { return @"image/color".NRGBA64Model }
func (@"".p·2 *@"".NRGBA64 "esc:0x1") NRGBA64At (@"".x·3 int, @"".y·4 int) (? @"image/color".NRGBA64)
func (@"".p·2 *@"".NRGBA64 "esc:0x1") Opaque () (? bool)
func (@"".p·2 *@"".NRGBA64 "esc:0x1") PixOffset (@"".x·3 int, @"".y·4 int) (? int) { return (@"".y·4 - @"".p·2.Rect.Min.Y) * @"".p·2.Stride + (@"".x·3 - @"".p·2.Rect.Min.X) * int(0x8) }
func (@"".p·1 *@"".NRGBA64 "esc:0x1") Set (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".Color)
func (@"".p·1 *@"".NRGBA64 "esc:0x1") SetNRGBA64 (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".NRGBA64)
func (@"".p·2 *@"".NRGBA64 "esc:0xa") SubImage (@"".r·3 @"".Rectangle) (? @"".Image)
func @"".NewNRGBA64 (@"".r·2 @"".Rectangle) (? *@"".NRGBA64) { var @"".w·3 int; var @"".h·4 int; @"".w·3, @"".h·4 = @"".r·2.Dx(), @"".r·2.Dy(); var @"".pix·5 []uint8; @"".pix·5 = make([]uint8, int(0x8) * @"".w·3 * @"".h·4); return (&@"".NRGBA64{ Pix:@"".pix·5, Stride:int(0x8) * @"".w·3, Rect:@"".r·2 }) }
type @"image/color".Alpha struct { A uint8 }
func (@"image/color".c·5 @"image/color".Alpha) RGBA () (@"image/color".r·1 uint32, @"image/color".g·2 uint32, @"image/color".b·3 uint32, @"image/color".a·4 uint32) { @"image/color".a·4 = uint32(@"image/color".c·5.A); @"image/color".a·4 |= @"image/color".a·4 << uint(0x8); return @"image/color".a·4, @"image/color".a·4, @"image/color".a·4, @"image/color".a·4 }
type @"".Alpha struct { Pix []uint8; Stride int; Rect @"".Rectangle }
func (@"".p·2 *@"".Alpha "esc:0x1") AlphaAt (@"".x·3 int, @"".y·4 int) (? @"image/color".Alpha)
func (@"".p·2 *@"".Alpha "esc:0x1") At (@"".x·3 int, @"".y·4 int) (? @"image/color".Color)
func (@"".p·2 *@"".Alpha "esc:0x1") Bounds () (? @"".Rectangle) { return @"".p·2.Rect }
func (@"".p·2 *@"".Alpha "esc:0x1") ColorModel () (? @"image/color".Model) { return @"image/color".AlphaModel }
func (@"".p·2 *@"".Alpha "esc:0x1") Opaque () (? bool)
func (@"".p·2 *@"".Alpha "esc:0x1") PixOffset (@"".x·3 int, @"".y·4 int) (? int) { return (@"".y·4 - @"".p·2.Rect.Min.Y) * @"".p·2.Stride + (@"".x·3 - @"".p·2.Rect.Min.X) * int(0x1) }
func (@"".p·1 *@"".Alpha "esc:0x1") Set (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".Color)
func (@"".p·1 *@"".Alpha "esc:0x1") SetAlpha (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".Alpha)
func (@"".p·2 *@"".Alpha "esc:0xa") SubImage (@"".r·3 @"".Rectangle) (? @"".Image)
func @"".NewAlpha (@"".r·2 @"".Rectangle) (? *@"".Alpha) { var @"".w·3 int; var @"".h·4 int; @"".w·3, @"".h·4 = @"".r·2.Dx(), @"".r·2.Dy(); var @"".pix·5 []uint8; @"".pix·5 = make([]uint8, int(0x1) * @"".w·3 * @"".h·4); return (&@"".Alpha{ Pix:@"".pix·5, Stride:int(0x1) * @"".w·3, Rect:@"".r·2 }) }
type @"image/color".Alpha16 struct { A uint16 }
func (@"image/color".c·5 @"image/color".Alpha16) RGBA () (@"image/color".r·1 uint32, @"image/color".g·2 uint32, @"image/color".b·3 uint32, @"image/color".a·4 uint32) { @"image/color".a·4 = uint32(@"image/color".c·5.A); return @"image/color".a·4, @"image/color".a·4, @"image/color".a·4, @"image/color".a·4 }
type @"".Alpha16 struct { Pix []uint8; Stride int; Rect @"".Rectangle }
func (@"".p·2 *@"".Alpha16 "esc:0x1") Alpha16At (@"".x·3 int, @"".y·4 int) (? @"image/color".Alpha16)
func (@"".p·2 *@"".Alpha16 "esc:0x1") At (@"".x·3 int, @"".y·4 int) (? @"image/color".Color)
func (@"".p·2 *@"".Alpha16 "esc:0x1") Bounds () (? @"".Rectangle) { return @"".p·2.Rect }
func (@"".p·2 *@"".Alpha16 "esc:0x1") ColorModel () (? @"image/color".Model) { return @"image/color".Alpha16Model }
func (@"".p·2 *@"".Alpha16 "esc:0x1") Opaque () (? bool)
func (@"".p·2 *@"".Alpha16 "esc:0x1") PixOffset (@"".x·3 int, @"".y·4 int) (? int) { return (@"".y·4 - @"".p·2.Rect.Min.Y) * @"".p·2.Stride + (@"".x·3 - @"".p·2.Rect.Min.X) * int(0x2) }
func (@"".p·1 *@"".Alpha16 "esc:0x1") Set (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".Color)
func (@"".p·1 *@"".Alpha16 "esc:0x1") SetAlpha16 (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".Alpha16)
func (@"".p·2 *@"".Alpha16 "esc:0xa") SubImage (@"".r·3 @"".Rectangle) (? @"".Image)
func @"".NewAlpha16 (@"".r·2 @"".Rectangle) (? *@"".Alpha16) { var @"".w·3 int; var @"".h·4 int; @"".w·3, @"".h·4 = @"".r·2.Dx(), @"".r·2.Dy(); var @"".pix·5 []uint8; @"".pix·5 = make([]uint8, int(0x2) * @"".w·3 * @"".h·4); return (&@"".Alpha16{ Pix:@"".pix·5, Stride:int(0x2) * @"".w·3, Rect:@"".r·2 }) }
type @"image/color".Gray struct { Y uint8 }
func (@"image/color".c·5 @"image/color".Gray) RGBA () (@"image/color".r·1 uint32, @"image/color".g·2 uint32, @"image/color".b·3 uint32, @"image/color".a·4 uint32) { var @"image/color".y·6 uint32; ; @"image/color".y·6 = uint32(@"image/color".c·5.Y); @"image/color".y·6 |= @"image/color".y·6 << uint(0x8); return @"image/color".y·6, @"image/color".y·6, @"image/color".y·6, uint32(0xffff) }
type @"".Gray struct { Pix []uint8; Stride int; Rect @"".Rectangle }
func (@"".p·2 *@"".Gray "esc:0x1") At (@"".x·3 int, @"".y·4 int) (? @"image/color".Color)
func (@"".p·2 *@"".Gray "esc:0x1") Bounds () (? @"".Rectangle) { return @"".p·2.Rect }
func (@"".p·2 *@"".Gray "esc:0x1") ColorModel () (? @"image/color".Model) { return @"image/color".GrayModel }
func (@"".p·2 *@"".Gray "esc:0x1") GrayAt (@"".x·3 int, @"".y·4 int) (? @"image/color".Gray)
func (@"".p·2 *@"".Gray "esc:0x1") Opaque () (? bool) { return bool(true) }
func (@"".p·2 *@"".Gray "esc:0x1") PixOffset (@"".x·3 int, @"".y·4 int) (? int) { return (@"".y·4 - @"".p·2.Rect.Min.Y) * @"".p·2.Stride + (@"".x·3 - @"".p·2.Rect.Min.X) * int(0x1) }
func (@"".p·1 *@"".Gray "esc:0x1") Set (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".Color)
func (@"".p·1 *@"".Gray "esc:0x1") SetGray (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".Gray)
func (@"".p·2 *@"".Gray "esc:0xa") SubImage (@"".r·3 @"".Rectangle) (? @"".Image)
func @"".NewGray (@"".r·2 @"".Rectangle) (? *@"".Gray) { var @"".w·3 int; var @"".h·4 int; @"".w·3, @"".h·4 = @"".r·2.Dx(), @"".r·2.Dy(); var @"".pix·5 []uint8; @"".pix·5 = make([]uint8, int(0x1) * @"".w·3 * @"".h·4); return (&@"".Gray{ Pix:@"".pix·5, Stride:int(0x1) * @"".w·3, Rect:@"".r·2 }) }
type @"image/color".Gray16 struct { Y uint16 }
func (@"image/color".c·5 @"image/color".Gray16) RGBA () (@"image/color".r·1 uint32, @"image/color".g·2 uint32, @"image/color".b·3 uint32, @"image/color".a·4 uint32) { var @"image/color".y·6 uint32; ; @"image/color".y·6 = uint32(@"image/color".c·5.Y); return @"image/color".y·6, @"image/color".y·6, @"image/color".y·6, uint32(0xffff) }
type @"".Gray16 struct { Pix []uint8; Stride int; Rect @"".Rectangle }
func (@"".p·2 *@"".Gray16 "esc:0x1") At (@"".x·3 int, @"".y·4 int) (? @"image/color".Color)
func (@"".p·2 *@"".Gray16 "esc:0x1") Bounds () (? @"".Rectangle) { return @"".p·2.Rect }
func (@"".p·2 *@"".Gray16 "esc:0x1") ColorModel () (? @"image/color".Model) { return @"image/color".Gray16Model }
func (@"".p·2 *@"".Gray16 "esc:0x1") Gray16At (@"".x·3 int, @"".y·4 int) (? @"image/color".Gray16)
func (@"".p·2 *@"".Gray16 "esc:0x1") Opaque () (? bool) { return bool(true) }
func (@"".p·2 *@"".Gray16 "esc:0x1") PixOffset (@"".x·3 int, @"".y·4 int) (? int) { return (@"".y·4 - @"".p·2.Rect.Min.Y) * @"".p·2.Stride + (@"".x·3 - @"".p·2.Rect.Min.X) * int(0x2) }
func (@"".p·1 *@"".Gray16 "esc:0x1") Set (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".Color)
func (@"".p·1 *@"".Gray16 "esc:0x1") SetGray16 (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".Gray16)
func (@"".p·2 *@"".Gray16 "esc:0xa") SubImage (@"".r·3 @"".Rectangle) (? @"".Image)
func @"".NewGray16 (@"".r·2 @"".Rectangle) (? *@"".Gray16) { var @"".w·3 int; var @"".h·4 int; @"".w·3, @"".h·4 = @"".r·2.Dx(), @"".r·2.Dy(); var @"".pix·5 []uint8; @"".pix·5 = make([]uint8, int(0x2) * @"".w·3 * @"".h·4); return (&@"".Gray16{ Pix:@"".pix·5, Stride:int(0x2) * @"".w·3, Rect:@"".r·2 }) }
type @"image/color".CMYK struct { C uint8; M uint8; Y uint8; K uint8 }
func (@"image/color".c·5 @"image/color".CMYK) RGBA () (? uint32, ? uint32, ? uint32, ? uint32) { var @"image/color".w·6 uint32; ; @"image/color".w·6 = uint32(uint32(0xffff) - uint32(@"image/color".c·5.K) * uint32(0x101)); var @"image/color".r·7 uint32; ; @"image/color".r·7 = uint32(uint32(0xffff) - uint32(@"image/color".c·5.C) * uint32(0x101)) * @"image/color".w·6 / uint32(0xffff); var @"image/color".g·8 uint32; ; @"image/color".g·8 = uint32(uint32(0xffff) - uint32(@"image/color".c·5.M) * uint32(0x101)) * @"image/color".w·6 / uint32(0xffff); var @"image/color".b·9 uint32; ; @"image/color".b·9 = uint32(uint32(0xffff) - uint32(@"image/color".c·5.Y) * uint32(0x101)) * @"image/color".w·6 / uint32(0xffff); return uint32(@"image/color".r·7), uint32(@"image/color".g·8), uint32(@"image/color".b·9), uint32(0xffff) }
type @"".CMYK struct { Pix []uint8; Stride int; Rect @"".Rectangle }
func (@"".p·2 *@"".CMYK "esc:0x1") At (@"".x·3 int, @"".y·4 int) (? @"image/color".Color)
func (@"".p·2 *@"".CMYK "esc:0x1") Bounds () (? @"".Rectangle) { return @"".p·2.Rect }
func (@"".p·2 *@"".CMYK "esc:0x1") CMYKAt (@"".x·3 int, @"".y·4 int) (? @"image/color".CMYK)
func (@"".p·2 *@"".CMYK "esc:0x1") ColorModel () (? @"image/color".Model) { return @"image/color".CMYKModel }
func (@"".p·2 *@"".CMYK "esc:0x1") Opaque () (? bool) { return bool(true) }
func (@"".p·2 *@"".CMYK "esc:0x1") PixOffset (@"".x·3 int, @"".y·4 int) (? int) { return (@"".y·4 - @"".p·2.Rect.Min.Y) * @"".p·2.Stride + (@"".x·3 - @"".p·2.Rect.Min.X) * int(0x4) }
func (@"".p·1 *@"".CMYK "esc:0x1") Set (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".Color)
func (@"".p·1 *@"".CMYK "esc:0x1") SetCMYK (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".CMYK)
func (@"".p·2 *@"".CMYK "esc:0xa") SubImage (@"".r·3 @"".Rectangle) (? @"".Image)
func @"".NewCMYK (@"".r·2 @"".Rectangle) (? *@"".CMYK) { var @"".w·3 int; var @"".h·4 int; @"".w·3, @"".h·4 = @"".r·2.Dx(), @"".r·2.Dy(); var @"".buf·5 []uint8; @"".buf·5 = make([]uint8, int(0x4) * @"".w·3 * @"".h·4); return (&@"".CMYK{ Pix:@"".buf·5, Stride:int(0x4) * @"".w·3, Rect:@"".r·2 }) }
type @"image/color".Palette []@"image/color".Color
func (@"image/color".p·2 @"image/color".Palette "esc:0x2a") Convert (@"image/color".c·3 @"image/color".Color) (? @"image/color".Color)
func (@"image/color".p·2 @"image/color".Palette "esc:0x9") Index (@"image/color".c·3 @"image/color".Color) (? int)
type @"".Paletted struct { Pix []uint8; Stride int; Rect @"".Rectangle; Palette @"image/color".Palette }
func (@"".p·2 *@"".Paletted "esc:0x32") At (@"".x·3 int, @"".y·4 int) (? @"image/color".Color)
func (@"".p·2 *@"".Paletted "esc:0x1") Bounds () (? @"".Rectangle) { return @"".p·2.Rect }
func (@"".p·2 *@"".Paletted "esc:0x1") ColorIndexAt (@"".x·3 int, @"".y·4 int) (? uint8)
func (@"".p·2 *@"".Paletted "esc:0x22") ColorModel () (? @"image/color".Model) { return @"".p·2.Palette }
func (@"".p·2 *@"".Paletted "esc:0x9") Opaque () (? bool)
func (@"".p·2 *@"".Paletted "esc:0x1") PixOffset (@"".x·3 int, @"".y·4 int) (? int) { return (@"".y·4 - @"".p·2.Rect.Min.Y) * @"".p·2.Stride + (@"".x·3 - @"".p·2.Rect.Min.X) * int(0x1) }
func (@"".p·1 *@"".Paletted "esc:0x9") Set (@"".x·2 int, @"".y·3 int, @"".c·4 @"image/color".Color)
func (@"".p·1 *@"".Paletted "esc:0x1") SetColorIndex (@"".x·2 int, @"".y·3 int, @"".index·4 uint8)
func (@"".p·2 *@"".Paletted "esc:0xa") SubImage (@"".r·3 @"".Rectangle) (? @"".Image)
func @"".NewPaletted (@"".r·2 @"".Rectangle, @"".p·3 @"image/color".Palette) (? *@"".Paletted) { var @"".w·4 int; var @"".h·5 int; @"".w·4, @"".h·5 = @"".r·2.Dx(), @"".r·2.Dy(); var @"".pix·6 []uint8; @"".pix·6 = make([]uint8, int(0x1) * @"".w·4 * @"".h·5); return (&@"".Paletted{ Pix:@"".pix·6, Stride:int(0x1) * @"".w·4, Rect:@"".r·2, Palette:@"".p·3 }) }
type @"".Uniform struct { C @"image/color".Color }
func (@"".c·2 *@"".Uniform "esc:0x22") At (@"".x·3 int, @"".y·4 int) (? @"image/color".Color) { return @"".c·2.C }
func (@"".c·2 *@"".Uniform "esc:0x1") Bounds () (? @"".Rectangle) { return (@"".Rectangle{ Min:(@"".Point{ X:int(-0x3b9aca00), Y:int(-0x3b9aca00) }), Max:(@"".Point{ X:int(0x3b9aca00), Y:int(0x3b9aca00) }) }) }
func (@"".c·2 *@"".Uniform "esc:0x12") ColorModel () (? @"image/color".Model) { return @"".c·2 }
func (@"".c·2 *@"".Uniform "esc:0x22") Convert (? @"image/color".Color) (? @"image/color".Color) { return @"".c·2.C }
func (@"".c·2 *@"".Uniform "esc:0x9") Opaque () (? bool)
func (@"".c·5 *@"".Uniform "esc:0x9") RGBA () (@"".r·1 uint32, @"".g·2 uint32, @"".b·3 uint32, @"".a·4 uint32)
var @"".Black *@"".Uniform
var @"".White *@"".Uniform
var @"".Transparent *@"".Uniform
var @"".Opaque *@"".Uniform
func @"".NewUniform (@"".c·2 @"image/color".Color) (? *@"".Uniform) { return (&@"".Uniform{ C:@"".c·2 }) }
type @"".YCbCrSubsampleRatio int
func (@"".s·2 @"".YCbCrSubsampleRatio) String () (? string)
const @"".YCbCrSubsampleRatio444 @"".YCbCrSubsampleRatio = 0x0
const @"".YCbCrSubsampleRatio422 @"".YCbCrSubsampleRatio = 0x1
const @"".YCbCrSubsampleRatio420 @"".YCbCrSubsampleRatio = 0x2
const @"".YCbCrSubsampleRatio440 @"".YCbCrSubsampleRatio = 0x3
const @"".YCbCrSubsampleRatio411 @"".YCbCrSubsampleRatio = 0x4
const @"".YCbCrSubsampleRatio410 @"".YCbCrSubsampleRatio = 0x5
type @"image/color".YCbCr struct { Y uint8; Cb uint8; Cr uint8 }
func (@"image/color".c·5 @"image/color".YCbCr) RGBA () (? uint32, ? uint32, ? uint32, ? uint32)
type @"".YCbCr struct { Y []uint8; Cb []uint8; Cr []uint8; YStride int; CStride int; SubsampleRatio @"".YCbCrSubsampleRatio; Rect @"".Rectangle }
func (@"".p·2 *@"".YCbCr "esc:0x1") At (@"".x·3 int, @"".y·4 int) (? @"image/color".Color)
func (@"".p·2 *@"".YCbCr "esc:0x1") Bounds () (? @"".Rectangle) { return @"".p·2.Rect }
func (@"".p·2 *@"".YCbCr "esc:0x1") COffset (@"".x·3 int, @"".y·4 int) (? int)
func (@"".p·2 *@"".YCbCr "esc:0x1") ColorModel () (? @"image/color".Model) { return @"image/color".YCbCrModel }
func (@"".p·2 *@"".YCbCr "esc:0x1") Opaque () (? bool) { return bool(true) }
func (@"".p·2 *@"".YCbCr "esc:0xa") SubImage (@"".r·3 @"".Rectangle) (? @"".Image)
func (@"".p·2 *@"".YCbCr "esc:0x1") YCbCrAt (@"".x·3 int, @"".y·4 int) (? @"image/color".YCbCr)
func (@"".p·2 *@"".YCbCr "esc:0x1") YOffset (@"".x·3 int, @"".y·4 int) (? int) { return (@"".y·4 - @"".p·2.Rect.Min.Y) * @"".p·2.YStride + (@"".x·3 - @"".p·2.Rect.Min.X) }
func @"".NewYCbCr (@"".r·2 @"".Rectangle, @"".subsampleRatio·3 @"".YCbCrSubsampleRatio) (? *@"".YCbCr)
type @"image/color".NYCbCrA struct { ? @"image/color".YCbCr; A uint8 }
func (@"image/color".c·5 @"image/color".NYCbCrA) RGBA () (? uint32, ? uint32, ? uint32, ? uint32)
type @"".NYCbCrA struct { ? @"".YCbCr; A []uint8; AStride int }
func (@"".p·2 *@"".NYCbCrA "esc:0x1") AOffset (@"".x·3 int, @"".y·4 int) (? int) { return (@"".y·4 - @"".p·2.YCbCr.Rect.Min.Y) * @"".p·2.AStride + (@"".x·3 - @"".p·2.YCbCr.Rect.Min.X) }
func (@"".p·2 *@"".NYCbCrA "esc:0x1") At (@"".x·3 int, @"".y·4 int) (? @"image/color".Color)
func (@"".p·2 *@"".NYCbCrA "esc:0x1") ColorModel () (? @"image/color".Model) { return @"image/color".NYCbCrAModel }
func (@"".p·2 *@"".NYCbCrA "esc:0x1") NYCbCrAAt (@"".x·3 int, @"".y·4 int) (? @"image/color".NYCbCrA)
func (@"".p·2 *@"".NYCbCrA "esc:0x1") Opaque () (? bool)
func (@"".p·2 *@"".NYCbCrA "esc:0xa") SubImage (@"".r·3 @"".Rectangle) (? @"".Image)
func @"".NewNYCbCrA (@"".r·2 @"".Rectangle, @"".subsampleRatio·3 @"".YCbCrSubsampleRatio) (? *@"".NYCbCrA)
func @"".init ()
var @"image/color".Opaque @"image/color".Alpha16
var @"image/color".Transparent @"image/color".Alpha16
var @"image/color".Alpha16Model @"image/color".Model
type @"".format struct { @"".name string; @"".magic string; @"".decode func(? @"io".Reader) (? @"".Image, ? error); @"".decodeConfig func(? @"io".Reader) (? @"".Config, ? error) }
var @"".formats []@"".format
var @"image/color".RGBAModel @"image/color".Model
var @"image/color".RGBA64Model @"image/color".Model
var @"image/color".NRGBAModel @"image/color".Model
var @"image/color".NRGBA64Model @"image/color".Model
var @"image/color".AlphaModel @"image/color".Model
var @"image/color".GrayModel @"image/color".Model
var @"image/color".Gray16Model @"image/color".Model
var @"image/color".CMYKModel @"image/color".Model
var @"image/color".YCbCrModel @"image/color".Model
var @"image/color".NYCbCrAModel @"image/color".Model
$$
_go_.o 0 0 0 644 560648 `
go object linux amd64 go1.6 X:none
!
go13ldbufio.aerrors.aio.aimage/color.astrconv.a þ""".RegisterFormat dH% HD$ðH;Aå Hì H$ H$è 1ÛH\$`H\$hH\$pH\$xH$ H$ H$ H\$`H$ H\$hH$¨ H\$pH$° H\$xH$¸ H$ H$À H$ H H$è H H H
HËH)ÃHû}HH H$HT$HHT$HD$HL$XHL$HÃHD$PHÿÃH\$ è HT$(HD$0HL$8HÃHÿÃHL$XH9Ë¿ H\$PHÓHT$HHÅHD$@Hkí0HëH$HÇD$0 è H\$HHl$@Hkí0HëHl$`H\$Hl$H- H,$è H H$è H\$PH H\$XH H\$H= uH è HĐ ÃH- H,$H\$è ëÜè è éùýÿÿÌÌÌÌÌÌÌÌÌ.
X *runtime.racefuncenter Ú "".formats ì runtime.raceread ú "".formats "".formats "".formats ¼ type.[]"".format "runtime.growslice  ,runtime.racewriterange type."".format ¢ (runtime.typedmemmove ° "".formats  "runtime.racewrite Ú "".formats ò "".formats (runtime.writeBarrier "".formats ¦ (runtime.racefuncexit Ä "".formats à .runtime.writebarrierptr î $runtime.panicslice ü 0runtime.morestack_noctxt ` "".autotmp_0002 type.int "".autotmp_0001 type.[]"".format "".autotmp_0000 _type."".format "".decodeConfig PNtype.func(io.Reader) ("".Config, error) "".decode @Ltype.func(io.Reader) ("".Image, error) "".magic type.string "".name type.string ¿ B¸ +«0B>