github.com/goplus/igop@v0.25.0/pkg/image/go115_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package image 6 7 import ( 8 q "image" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.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 "math/bits": "bits", 26 "strconv": "strconv", 27 "sync": "sync", 28 "sync/atomic": "atomic", 29 }, 30 Interfaces: map[string]reflect.Type{ 31 "Image": reflect.TypeOf((*q.Image)(nil)).Elem(), 32 "PalettedImage": reflect.TypeOf((*q.PalettedImage)(nil)).Elem(), 33 }, 34 NamedTypes: map[string]reflect.Type{ 35 "Alpha": reflect.TypeOf((*q.Alpha)(nil)).Elem(), 36 "Alpha16": reflect.TypeOf((*q.Alpha16)(nil)).Elem(), 37 "CMYK": reflect.TypeOf((*q.CMYK)(nil)).Elem(), 38 "Config": reflect.TypeOf((*q.Config)(nil)).Elem(), 39 "Gray": reflect.TypeOf((*q.Gray)(nil)).Elem(), 40 "Gray16": reflect.TypeOf((*q.Gray16)(nil)).Elem(), 41 "NRGBA": reflect.TypeOf((*q.NRGBA)(nil)).Elem(), 42 "NRGBA64": reflect.TypeOf((*q.NRGBA64)(nil)).Elem(), 43 "NYCbCrA": reflect.TypeOf((*q.NYCbCrA)(nil)).Elem(), 44 "Paletted": reflect.TypeOf((*q.Paletted)(nil)).Elem(), 45 "Point": reflect.TypeOf((*q.Point)(nil)).Elem(), 46 "RGBA": reflect.TypeOf((*q.RGBA)(nil)).Elem(), 47 "RGBA64": reflect.TypeOf((*q.RGBA64)(nil)).Elem(), 48 "Rectangle": reflect.TypeOf((*q.Rectangle)(nil)).Elem(), 49 "Uniform": reflect.TypeOf((*q.Uniform)(nil)).Elem(), 50 "YCbCr": reflect.TypeOf((*q.YCbCr)(nil)).Elem(), 51 "YCbCrSubsampleRatio": reflect.TypeOf((*q.YCbCrSubsampleRatio)(nil)).Elem(), 52 }, 53 AliasTypes: map[string]reflect.Type{}, 54 Vars: map[string]reflect.Value{ 55 "Black": reflect.ValueOf(&q.Black), 56 "ErrFormat": reflect.ValueOf(&q.ErrFormat), 57 "Opaque": reflect.ValueOf(&q.Opaque), 58 "Transparent": reflect.ValueOf(&q.Transparent), 59 "White": reflect.ValueOf(&q.White), 60 "ZP": reflect.ValueOf(&q.ZP), 61 "ZR": reflect.ValueOf(&q.ZR), 62 }, 63 Funcs: map[string]reflect.Value{ 64 "Decode": reflect.ValueOf(q.Decode), 65 "DecodeConfig": reflect.ValueOf(q.DecodeConfig), 66 "NewAlpha": reflect.ValueOf(q.NewAlpha), 67 "NewAlpha16": reflect.ValueOf(q.NewAlpha16), 68 "NewCMYK": reflect.ValueOf(q.NewCMYK), 69 "NewGray": reflect.ValueOf(q.NewGray), 70 "NewGray16": reflect.ValueOf(q.NewGray16), 71 "NewNRGBA": reflect.ValueOf(q.NewNRGBA), 72 "NewNRGBA64": reflect.ValueOf(q.NewNRGBA64), 73 "NewNYCbCrA": reflect.ValueOf(q.NewNYCbCrA), 74 "NewPaletted": reflect.ValueOf(q.NewPaletted), 75 "NewRGBA": reflect.ValueOf(q.NewRGBA), 76 "NewRGBA64": reflect.ValueOf(q.NewRGBA64), 77 "NewUniform": reflect.ValueOf(q.NewUniform), 78 "NewYCbCr": reflect.ValueOf(q.NewYCbCr), 79 "Pt": reflect.ValueOf(q.Pt), 80 "Rect": reflect.ValueOf(q.Rect), 81 "RegisterFormat": reflect.ValueOf(q.RegisterFormat), 82 }, 83 TypedConsts: map[string]igop.TypedConst{ 84 "YCbCrSubsampleRatio410": {reflect.TypeOf(q.YCbCrSubsampleRatio410), constant.MakeInt64(int64(q.YCbCrSubsampleRatio410))}, 85 "YCbCrSubsampleRatio411": {reflect.TypeOf(q.YCbCrSubsampleRatio411), constant.MakeInt64(int64(q.YCbCrSubsampleRatio411))}, 86 "YCbCrSubsampleRatio420": {reflect.TypeOf(q.YCbCrSubsampleRatio420), constant.MakeInt64(int64(q.YCbCrSubsampleRatio420))}, 87 "YCbCrSubsampleRatio422": {reflect.TypeOf(q.YCbCrSubsampleRatio422), constant.MakeInt64(int64(q.YCbCrSubsampleRatio422))}, 88 "YCbCrSubsampleRatio440": {reflect.TypeOf(q.YCbCrSubsampleRatio440), constant.MakeInt64(int64(q.YCbCrSubsampleRatio440))}, 89 "YCbCrSubsampleRatio444": {reflect.TypeOf(q.YCbCrSubsampleRatio444), constant.MakeInt64(int64(q.YCbCrSubsampleRatio444))}, 90 }, 91 UntypedConsts: map[string]igop.UntypedConst{}, 92 }) 93 }