github.com/goplus/gossa@v0.3.25/pkg/image/go114_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.14,!go1.15 4 5 package image 6 7 import ( 8 q "image" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "image", 19 Path: "image", 20 Deps: map[string]string{ 21 "bufio": "bufio", 22 "errors": "errors", 23 "image/color": "color", 24 "io": "io", 25 "strconv": "strconv", 26 "sync": "sync", 27 "sync/atomic": "atomic", 28 }, 29 Interfaces: map[string]reflect.Type{ 30 "Image": reflect.TypeOf((*q.Image)(nil)).Elem(), 31 "PalettedImage": reflect.TypeOf((*q.PalettedImage)(nil)).Elem(), 32 }, 33 NamedTypes: map[string]gossa.NamedType{ 34 "Alpha": {reflect.TypeOf((*q.Alpha)(nil)).Elem(), "", "AlphaAt,At,Bounds,ColorModel,Opaque,PixOffset,Set,SetAlpha,SubImage"}, 35 "Alpha16": {reflect.TypeOf((*q.Alpha16)(nil)).Elem(), "", "Alpha16At,At,Bounds,ColorModel,Opaque,PixOffset,Set,SetAlpha16,SubImage"}, 36 "CMYK": {reflect.TypeOf((*q.CMYK)(nil)).Elem(), "", "At,Bounds,CMYKAt,ColorModel,Opaque,PixOffset,Set,SetCMYK,SubImage"}, 37 "Config": {reflect.TypeOf((*q.Config)(nil)).Elem(), "", ""}, 38 "Gray": {reflect.TypeOf((*q.Gray)(nil)).Elem(), "", "At,Bounds,ColorModel,GrayAt,Opaque,PixOffset,Set,SetGray,SubImage"}, 39 "Gray16": {reflect.TypeOf((*q.Gray16)(nil)).Elem(), "", "At,Bounds,ColorModel,Gray16At,Opaque,PixOffset,Set,SetGray16,SubImage"}, 40 "NRGBA": {reflect.TypeOf((*q.NRGBA)(nil)).Elem(), "", "At,Bounds,ColorModel,NRGBAAt,Opaque,PixOffset,Set,SetNRGBA,SubImage"}, 41 "NRGBA64": {reflect.TypeOf((*q.NRGBA64)(nil)).Elem(), "", "At,Bounds,ColorModel,NRGBA64At,Opaque,PixOffset,Set,SetNRGBA64,SubImage"}, 42 "NYCbCrA": {reflect.TypeOf((*q.NYCbCrA)(nil)).Elem(), "", "AOffset,At,ColorModel,NYCbCrAAt,Opaque,SubImage"}, 43 "Paletted": {reflect.TypeOf((*q.Paletted)(nil)).Elem(), "", "At,Bounds,ColorIndexAt,ColorModel,Opaque,PixOffset,Set,SetColorIndex,SubImage"}, 44 "Point": {reflect.TypeOf((*q.Point)(nil)).Elem(), "Add,Div,Eq,In,Mod,Mul,String,Sub", ""}, 45 "RGBA": {reflect.TypeOf((*q.RGBA)(nil)).Elem(), "", "At,Bounds,ColorModel,Opaque,PixOffset,RGBAAt,Set,SetRGBA,SubImage"}, 46 "RGBA64": {reflect.TypeOf((*q.RGBA64)(nil)).Elem(), "", "At,Bounds,ColorModel,Opaque,PixOffset,RGBA64At,Set,SetRGBA64,SubImage"}, 47 "Rectangle": {reflect.TypeOf((*q.Rectangle)(nil)).Elem(), "Add,At,Bounds,Canon,ColorModel,Dx,Dy,Empty,Eq,In,Inset,Intersect,Overlaps,Size,String,Sub,Union", ""}, 48 "Uniform": {reflect.TypeOf((*q.Uniform)(nil)).Elem(), "", "At,Bounds,ColorModel,Convert,Opaque,RGBA"}, 49 "YCbCr": {reflect.TypeOf((*q.YCbCr)(nil)).Elem(), "", "At,Bounds,COffset,ColorModel,Opaque,SubImage,YCbCrAt,YOffset"}, 50 "YCbCrSubsampleRatio": {reflect.TypeOf((*q.YCbCrSubsampleRatio)(nil)).Elem(), "String", ""}, 51 }, 52 AliasTypes: map[string]reflect.Type{}, 53 Vars: map[string]reflect.Value{ 54 "Black": reflect.ValueOf(&q.Black), 55 "ErrFormat": reflect.ValueOf(&q.ErrFormat), 56 "Opaque": reflect.ValueOf(&q.Opaque), 57 "Transparent": reflect.ValueOf(&q.Transparent), 58 "White": reflect.ValueOf(&q.White), 59 "ZP": reflect.ValueOf(&q.ZP), 60 "ZR": reflect.ValueOf(&q.ZR), 61 }, 62 Funcs: map[string]reflect.Value{ 63 "Decode": reflect.ValueOf(q.Decode), 64 "DecodeConfig": reflect.ValueOf(q.DecodeConfig), 65 "NewAlpha": reflect.ValueOf(q.NewAlpha), 66 "NewAlpha16": reflect.ValueOf(q.NewAlpha16), 67 "NewCMYK": reflect.ValueOf(q.NewCMYK), 68 "NewGray": reflect.ValueOf(q.NewGray), 69 "NewGray16": reflect.ValueOf(q.NewGray16), 70 "NewNRGBA": reflect.ValueOf(q.NewNRGBA), 71 "NewNRGBA64": reflect.ValueOf(q.NewNRGBA64), 72 "NewNYCbCrA": reflect.ValueOf(q.NewNYCbCrA), 73 "NewPaletted": reflect.ValueOf(q.NewPaletted), 74 "NewRGBA": reflect.ValueOf(q.NewRGBA), 75 "NewRGBA64": reflect.ValueOf(q.NewRGBA64), 76 "NewUniform": reflect.ValueOf(q.NewUniform), 77 "NewYCbCr": reflect.ValueOf(q.NewYCbCr), 78 "Pt": reflect.ValueOf(q.Pt), 79 "Rect": reflect.ValueOf(q.Rect), 80 "RegisterFormat": reflect.ValueOf(q.RegisterFormat), 81 }, 82 TypedConsts: map[string]gossa.TypedConst{ 83 "YCbCrSubsampleRatio410": {reflect.TypeOf(q.YCbCrSubsampleRatio410), constant.MakeInt64(int64(q.YCbCrSubsampleRatio410))}, 84 "YCbCrSubsampleRatio411": {reflect.TypeOf(q.YCbCrSubsampleRatio411), constant.MakeInt64(int64(q.YCbCrSubsampleRatio411))}, 85 "YCbCrSubsampleRatio420": {reflect.TypeOf(q.YCbCrSubsampleRatio420), constant.MakeInt64(int64(q.YCbCrSubsampleRatio420))}, 86 "YCbCrSubsampleRatio422": {reflect.TypeOf(q.YCbCrSubsampleRatio422), constant.MakeInt64(int64(q.YCbCrSubsampleRatio422))}, 87 "YCbCrSubsampleRatio440": {reflect.TypeOf(q.YCbCrSubsampleRatio440), constant.MakeInt64(int64(q.YCbCrSubsampleRatio440))}, 88 "YCbCrSubsampleRatio444": {reflect.TypeOf(q.YCbCrSubsampleRatio444), constant.MakeInt64(int64(q.YCbCrSubsampleRatio444))}, 89 }, 90 UntypedConsts: map[string]gossa.UntypedConst{}, 91 }) 92 }