github.com/goplus/igop@v0.25.0/pkg/image/go114_export.go (about) 1 // export by github.com/goplus/igop/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/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 "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]reflect.Type{ 34 "Alpha": reflect.TypeOf((*q.Alpha)(nil)).Elem(), 35 "Alpha16": reflect.TypeOf((*q.Alpha16)(nil)).Elem(), 36 "CMYK": reflect.TypeOf((*q.CMYK)(nil)).Elem(), 37 "Config": reflect.TypeOf((*q.Config)(nil)).Elem(), 38 "Gray": reflect.TypeOf((*q.Gray)(nil)).Elem(), 39 "Gray16": reflect.TypeOf((*q.Gray16)(nil)).Elem(), 40 "NRGBA": reflect.TypeOf((*q.NRGBA)(nil)).Elem(), 41 "NRGBA64": reflect.TypeOf((*q.NRGBA64)(nil)).Elem(), 42 "NYCbCrA": reflect.TypeOf((*q.NYCbCrA)(nil)).Elem(), 43 "Paletted": reflect.TypeOf((*q.Paletted)(nil)).Elem(), 44 "Point": reflect.TypeOf((*q.Point)(nil)).Elem(), 45 "RGBA": reflect.TypeOf((*q.RGBA)(nil)).Elem(), 46 "RGBA64": reflect.TypeOf((*q.RGBA64)(nil)).Elem(), 47 "Rectangle": reflect.TypeOf((*q.Rectangle)(nil)).Elem(), 48 "Uniform": reflect.TypeOf((*q.Uniform)(nil)).Elem(), 49 "YCbCr": reflect.TypeOf((*q.YCbCr)(nil)).Elem(), 50 "YCbCrSubsampleRatio": reflect.TypeOf((*q.YCbCrSubsampleRatio)(nil)).Elem(), 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]igop.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]igop.UntypedConst{}, 91 }) 92 }