Documentation
¶
Overview ¶
Package coreimage provides a fluent Go API over the macOS CoreImage framework.
Construction ¶
New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.
Lifecycle ¶
A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.
Types ¶
Each base type below lists the concrete types you construct and pass where the base is accepted:
- BarcodeDescriptor: AztecCodeDescriptor, DataMatrixCodeDescriptor, PDF417CodeDescriptor, QRCodeDescriptor
- ColorKernel: BlendKernel
- Feature: FaceFeature, QRCodeFeature, RectangleFeature, TextFeature
- Filter: RAWFilter
- Kernel: ColorKernel, WarpKernel
Index ¶
- func CIDetectorAccuracy() obj.Object
- func CIDetectorAccuracyHigh() obj.Object
- func CIDetectorAccuracyLow() obj.Object
- func CIDetectorAspectRatio() obj.Object
- func CIDetectorEyeBlink() obj.Object
- func CIDetectorFocalLength() obj.Object
- func CIDetectorImageOrientation() obj.Object
- func CIDetectorMaxFeatureCount() obj.Object
- func CIDetectorMinFeatureSize() obj.Object
- func CIDetectorNumberOfAngles() obj.Object
- func CIDetectorReturnSubFeatures() obj.Object
- func CIDetectorSmile() obj.Object
- func CIDetectorTracking() obj.Object
- func CIDetectorTypeFace() obj.Object
- func CIDetectorTypeQRCode() obj.Object
- func CIDetectorTypeRectangle() obj.Object
- func CIDetectorTypeText() obj.Object
- func CIFeatureTypeFace() obj.Object
- func CIFeatureTypeQRCode() obj.Object
- func CIFeatureTypeRectangle() obj.Object
- func CIFeatureTypeText() obj.Object
- func CIRAWDecoderVersion6() obj.Object
- func CIRAWDecoderVersion6DNG() obj.Object
- func CIRAWDecoderVersion7() obj.Object
- func CIRAWDecoderVersion7DNG() obj.Object
- func CIRAWDecoderVersion8() obj.Object
- func CIRAWDecoderVersion8DNG() obj.Object
- func CIRAWDecoderVersion9() obj.Object
- func CIRAWDecoderVersion9DNG() obj.Object
- func CIRAWDecoderVersionNone() obj.Object
- func FilterNamesInCategories(categories []string) []string
- func FilterNamesInCategory(category string) []string
- func FormatForInputAtIndex(inputIndex int) int
- func KCIActiveKeys() obj.Object
- func KCIApplyOptionColorSpace() obj.Object
- func KCIApplyOptionDefinition() obj.Object
- func KCIApplyOptionExtent() obj.Object
- func KCIApplyOptionUserInfo() obj.Object
- func KCIAttributeClass() obj.Object
- func KCIAttributeDefault() obj.Object
- func KCIAttributeDescription() obj.Object
- func KCIAttributeDisplayName() obj.Object
- func KCIAttributeFilterAvailable_Mac() obj.Object
- func KCIAttributeFilterAvailable_iOS() obj.Object
- func KCIAttributeFilterCategories() obj.Object
- func KCIAttributeFilterDisplayName() obj.Object
- func KCIAttributeFilterName() obj.Object
- func KCIAttributeIdentity() obj.Object
- func KCIAttributeMax() obj.Object
- func KCIAttributeMin() obj.Object
- func KCIAttributeName() obj.Object
- func KCIAttributeReferenceDocumentation() obj.Object
- func KCIAttributeSliderMax() obj.Object
- func KCIAttributeSliderMin() obj.Object
- func KCIAttributeType() obj.Object
- func KCIAttributeTypeAngle() obj.Object
- func KCIAttributeTypeBoolean() obj.Object
- func KCIAttributeTypeColor() obj.Object
- func KCIAttributeTypeCount() obj.Object
- func KCIAttributeTypeDistance() obj.Object
- func KCIAttributeTypeGradient() obj.Object
- func KCIAttributeTypeImage() obj.Object
- func KCIAttributeTypeInteger() obj.Object
- func KCIAttributeTypeOffset() obj.Object
- func KCIAttributeTypeOpaqueColor() obj.Object
- func KCIAttributeTypePosition() obj.Object
- func KCIAttributeTypePosition3() obj.Object
- func KCIAttributeTypeRectangle() obj.Object
- func KCIAttributeTypeScalar() obj.Object
- func KCIAttributeTypeTime() obj.Object
- func KCIAttributeTypeTransform() obj.Object
- func KCICategoryBlur() obj.Object
- func KCICategoryBuiltIn() obj.Object
- func KCICategoryColorAdjustment() obj.Object
- func KCICategoryColorEffect() obj.Object
- func KCICategoryCompositeOperation() obj.Object
- func KCICategoryDistortionEffect() obj.Object
- func KCICategoryFilterGenerator() obj.Object
- func KCICategoryGenerator() obj.Object
- func KCICategoryGeometryAdjustment() obj.Object
- func KCICategoryGradient() obj.Object
- func KCICategoryHalftoneEffect() obj.Object
- func KCICategoryHighDynamicRange() obj.Object
- func KCICategoryInterlaced() obj.Object
- func KCICategoryNonSquarePixels() obj.Object
- func KCICategoryReduction() obj.Object
- func KCICategorySharpen() obj.Object
- func KCICategoryStillImage() obj.Object
- func KCICategoryStylize() obj.Object
- func KCICategoryTileEffect() obj.Object
- func KCICategoryTransition() obj.Object
- func KCICategoryVideo() obj.Object
- func KCIContextAllowLowPower() obj.Object
- func KCIContextCVMetalTextureCache() obj.Object
- func KCIContextCacheIntermediates() obj.Object
- func KCIContextHighQualityDownsample() obj.Object
- func KCIContextMemoryLimit() obj.Object
- func KCIContextName() obj.Object
- func KCIContextOutputColorSpace() obj.Object
- func KCIContextOutputPremultiplied() obj.Object
- func KCIContextPriorityRequestLow() obj.Object
- func KCIContextUseSoftwareRenderer() obj.Object
- func KCIContextWorkingColorSpace() obj.Object
- func KCIContextWorkingFormat() obj.Object
- func KCIDynamicRangeConstrainedHigh() obj.Object
- func KCIDynamicRangeHigh() obj.Object
- func KCIDynamicRangeStandard() obj.Object
- func KCIFilterGeneratorExportedKey() obj.Object
- func KCIFilterGeneratorExportedKeyName() obj.Object
- func KCIFilterGeneratorExportedKeyTargetObject() obj.Object
- func KCIFormatA8() int
- func KCIFormatA16() int
- func KCIFormatABGR8() int
- func KCIFormatARGB8() int
- func KCIFormatAf() int
- func KCIFormatAh() int
- func KCIFormatBGRA8() int
- func KCIFormatL8() int
- func KCIFormatL16() int
- func KCIFormatLA8() int
- func KCIFormatLA16() int
- func KCIFormatLAf() int
- func KCIFormatLAh() int
- func KCIFormatLf() int
- func KCIFormatLh() int
- func KCIFormatR8() int
- func KCIFormatR16() int
- func KCIFormatRG8() int
- func KCIFormatRG16() int
- func KCIFormatRGB10() int
- func KCIFormatRGBA8() int
- func KCIFormatRGBA16() int
- func KCIFormatRGBAf() int
- func KCIFormatRGBAh() int
- func KCIFormatRGBX8() int
- func KCIFormatRGBX16() int
- func KCIFormatRGBXf() int
- func KCIFormatRGBXh() int
- func KCIFormatRGf() int
- func KCIFormatRGh() int
- func KCIFormatRf() int
- func KCIFormatRh() int
- func KCIImageApplyCleanAperture() obj.Object
- func KCIImageApplyOrientationProperty() obj.Object
- func KCIImageAutoAdjustCrop() obj.Object
- func KCIImageAutoAdjustEnhance() obj.Object
- func KCIImageAutoAdjustFeatures() obj.Object
- func KCIImageAutoAdjustLevel() obj.Object
- func KCIImageAutoAdjustRedEye() obj.Object
- func KCIImageAuxiliaryDepth() obj.Object
- func KCIImageAuxiliaryDisparity() obj.Object
- func KCIImageAuxiliaryHDRGainMap() obj.Object
- func KCIImageAuxiliaryPortraitEffectsMatte() obj.Object
- func KCIImageAuxiliarySemanticSegmentationGlassesMatte() obj.Object
- func KCIImageAuxiliarySemanticSegmentationHairMatte() obj.Object
- func KCIImageAuxiliarySemanticSegmentationSkinMatte() obj.Object
- func KCIImageAuxiliarySemanticSegmentationSkyMatte() obj.Object
- func KCIImageAuxiliarySemanticSegmentationTeethMatte() obj.Object
- func KCIImageCacheImmediately() obj.Object
- func KCIImageColorSpace() obj.Object
- func KCIImageContentAverageLightLevel() obj.Object
- func KCIImageContentHeadroom() obj.Object
- func KCIImageExpandToHDR() obj.Object
- func KCIImageNearestSampling() obj.Object
- func KCIImageProperties() obj.Object
- func KCIImageProviderTileSize() obj.Object
- func KCIImageProviderUserInfo() obj.Object
- func KCIImageRepresentationAVDepthData() obj.Object
- func KCIImageRepresentationAVPortraitEffectsMatte() obj.Object
- func KCIImageRepresentationAVSemanticSegmentationMattes() obj.Object
- func KCIImageRepresentationDepthImage() obj.Object
- func KCIImageRepresentationDisparityImage() obj.Object
- func KCIImageRepresentationHDRGainMapAsRGB() obj.Object
- func KCIImageRepresentationHDRGainMapImage() obj.Object
- func KCIImageRepresentationHDRImage() obj.Object
- func KCIImageRepresentationPortraitEffectsMatteImage() obj.Object
- func KCIImageRepresentationSemanticSegmentationGlassesMatteImage() obj.Object
- func KCIImageRepresentationSemanticSegmentationHairMatteImage() obj.Object
- func KCIImageRepresentationSemanticSegmentationSkinMatteImage() obj.Object
- func KCIImageRepresentationSemanticSegmentationSkyMatteImage() obj.Object
- func KCIImageRepresentationSemanticSegmentationTeethMatteImage() obj.Object
- func KCIImageTextureFormat() obj.Object
- func KCIImageTextureTarget() obj.Object
- func KCIImageToneMapHDRtoSDR() obj.Object
- func KCIInputAllowDraftModeKey() obj.Object
- func KCIInputAmountKey() obj.Object
- func KCIInputAngleKey() obj.Object
- func KCIInputAspectRatioKey() obj.Object
- func KCIInputBackgroundImageKey() obj.Object
- func KCIInputBacksideImageKey() obj.Object
- func KCIInputBaselineExposureKey() obj.Object
- func KCIInputBiasKey() obj.Object
- func KCIInputBiasVectorKey() obj.Object
- func KCIInputBoostKey() obj.Object
- func KCIInputBoostShadowAmountKey() obj.Object
- func KCIInputBrightnessKey() obj.Object
- func KCIInputCenterKey() obj.Object
- func KCIInputColor0Key() obj.Object
- func KCIInputColor1Key() obj.Object
- func KCIInputColorKey() obj.Object
- func KCIInputColorNoiseReductionAmountKey() obj.Object
- func KCIInputColorSpaceKey() obj.Object
- func KCIInputContrastKey() obj.Object
- func KCIInputCountKey() obj.Object
- func KCIInputDecoderVersionKey() obj.Object
- func KCIInputDepthImageKey() obj.Object
- func KCIInputDisableGamutMapKey() obj.Object
- func KCIInputDisparityImageKey() obj.Object
- func KCIInputEVKey() obj.Object
- func KCIInputEnableChromaticNoiseTrackingKey() obj.Object
- func KCIInputEnableEDRModeKey() obj.Object
- func KCIInputEnableSharpeningKey() obj.Object
- func KCIInputEnableVendorLensCorrectionKey() obj.Object
- func KCIInputExtentKey() obj.Object
- func KCIInputExtrapolateKey() obj.Object
- func KCIInputGradientImageKey() obj.Object
- func KCIInputIgnoreImageOrientationKey() obj.Object
- func KCIInputImageKey() obj.Object
- func KCIInputImageOrientationKey() obj.Object
- func KCIInputIntensityKey() obj.Object
- func KCIInputLinearSpaceFilter() obj.Object
- func KCIInputLocalToneMapAmountKey() obj.Object
- func KCIInputLuminanceNoiseReductionAmountKey() obj.Object
- func KCIInputMaskImageKey() obj.Object
- func KCIInputMatteImageKey() obj.Object
- func KCIInputMoireAmountKey() obj.Object
- func KCIInputNeutralChromaticityXKey() obj.Object
- func KCIInputNeutralChromaticityYKey() obj.Object
- func KCIInputNeutralLocationKey() obj.Object
- func KCIInputNeutralTemperatureKey() obj.Object
- func KCIInputNeutralTintKey() obj.Object
- func KCIInputNoiseReductionAmountKey() obj.Object
- func KCIInputNoiseReductionContrastAmountKey() obj.Object
- func KCIInputNoiseReductionDetailAmountKey() obj.Object
- func KCIInputNoiseReductionSharpnessAmountKey() obj.Object
- func KCIInputPaletteImageKey() obj.Object
- func KCIInputPerceptualKey() obj.Object
- func KCIInputPoint0Key() obj.Object
- func KCIInputPoint1Key() obj.Object
- func KCIInputRadius0Key() obj.Object
- func KCIInputRadius1Key() obj.Object
- func KCIInputRadiusKey() obj.Object
- func KCIInputRefractionKey() obj.Object
- func KCIInputSaturationKey() obj.Object
- func KCIInputScaleFactorKey() obj.Object
- func KCIInputScaleKey() obj.Object
- func KCIInputShadingImageKey() obj.Object
- func KCIInputSharpnessKey() obj.Object
- func KCIInputTargetImageKey() obj.Object
- func KCIInputThresholdKey() obj.Object
- func KCIInputTimeKey() obj.Object
- func KCIInputTransformKey() obj.Object
- func KCIInputVersionKey() obj.Object
- func KCIInputWeightsKey() obj.Object
- func KCIInputWidthKey() obj.Object
- func KCIOutputImageKey() obj.Object
- func KCIOutputNativeSizeKey() obj.Object
- func KCIPropertiesKey() obj.Object
- func KCISamplerAffineMatrix() obj.Object
- func KCISamplerColorSpace() obj.Object
- func KCISamplerFilterLinear() obj.Object
- func KCISamplerFilterMode() obj.Object
- func KCISamplerFilterNearest() obj.Object
- func KCISamplerWrapBlack() obj.Object
- func KCISamplerWrapClamp() obj.Object
- func KCISamplerWrapMode() obj.Object
- func KCISupportedDecoderVersionsKey() obj.Object
- func KCIUIParameterSet() obj.Object
- func KCIUISetAdvanced() obj.Object
- func KCIUISetBasic() obj.Object
- func KCIUISetDevelopment() obj.Object
- func KCIUISetIntermediate() obj.Object
- func KernelNamesFromMetalLibraryData(data []byte) []string
- func LoadAllPlugIns()
- func LoadNonExecutablePlugIn(url string)
- func LoadNonExecutablePlugIns()
- func LoadPlugInAllowExecutableCode(url string, allowExecutableCode bool)
- func LoadPlugInAllowNonExecutable(url string, allowNonExecutable bool)
- func LocalizedDescriptionForFilterName(filterName string) string
- func LocalizedNameForCategory(category string) string
- func LocalizedNameForFilterName(filterName string) string
- func LocalizedReferenceDocumentationForFilterName(filterName string) string
- func OfflineGPUCount() int
- func OutputFormat() int
- func OutputFormatAtIndexArguments(outputIndex int, arguments map[string]obj.Object) int
- func OutputIsOpaque() bool
- func ProcessWithInputsArgumentsOutputs(inputs []obj.Object, arguments map[string]obj.Object, outputs []obj.Object) error
- func RoiForInputArgumentsOutputRect(inputIndex int, arguments map[string]obj.Object, ...) corefoundation.CGRect
- func SerializedXMPFromFiltersInputImageExtent(filters []*Filter, extent corefoundation.CGRect) []byte
- func SupportedCameraModels() []string
- func SupportedRawCameraModels() []string
- func SynchronizeInputs() bool
- type AztecCodeDescriptor
- func AztecCodeDescriptorFromID(id objc.ID) *AztecCodeDescriptor
- func DescriptorWithPayloadIsCompactLayerCountDataCodewordCount(errorCorrectedPayload []byte, isCompact bool, layerCount int, ...) *AztecCodeDescriptor
- func NewAztecCodeDescriptorWithPayloadIsCompactLayerCountDataCodewordCount(errorCorrectedPayload []byte, isCompact bool, layerCount int, ...) *AztecCodeDescriptor
- type BarcodeDescriptor
- type BarcodeDescriptorProvider
- type BlendKernel
- func BlendKernelFromID(id objc.ID) *BlendKernel
- func CIBlendKernelColor() *BlendKernel
- func Clear() *BlendKernel
- func ColorBurn() *BlendKernel
- func ColorDodge() *BlendKernel
- func ComponentAdd() *BlendKernel
- func ComponentMax() *BlendKernel
- func ComponentMin() *BlendKernel
- func ComponentMultiply() *BlendKernel
- func Darken() *BlendKernel
- func DarkerColor() *BlendKernel
- func Destination() *BlendKernel
- func DestinationAtop() *BlendKernel
- func DestinationIn() *BlendKernel
- func DestinationOut() *BlendKernel
- func DestinationOver() *BlendKernel
- func Difference() *BlendKernel
- func Divide() *BlendKernel
- func Exclusion() *BlendKernel
- func ExclusiveOr() *BlendKernel
- func HardLight() *BlendKernel
- func HardMix() *BlendKernel
- func Hue() *BlendKernel
- func KernelWithString(str string) *BlendKernel
- func Lighten() *BlendKernel
- func LighterColor() *BlendKernel
- func LinearBurn() *BlendKernel
- func LinearDodge() *BlendKernel
- func LinearLight() *BlendKernel
- func Luminosity() *BlendKernel
- func Multiply() *BlendKernel
- func NewBlendKernel() *BlendKernel
- func Overlay() *BlendKernel
- func PinLight() *BlendKernel
- func Saturation() *BlendKernel
- func Screen() *BlendKernel
- func SoftLight() *BlendKernel
- func Source() *BlendKernel
- func SourceAtop() *BlendKernel
- func SourceIn() *BlendKernel
- func SourceOut() *BlendKernel
- func SourceOver() *BlendKernel
- func Subtract() *BlendKernel
- func VividLight() *BlendKernel
- type CGLCPContextPriorityRequest
- type Clockid
- type Color
- func BlackColor() *Color
- func BlueColor() *Color
- func ClearColor() *Color
- func ColorFromID(id objc.ID) *Color
- func ColorWithCGColor(color coregraphics.CGColorRef) *Color
- func ColorWithRedGreenBlue(red float64, green float64, blue float64) *Color
- func ColorWithRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) *Color
- func ColorWithRedGreenBlueAlphaColorSpace(red float64, green float64, blue float64, alpha float64, ...) *Color
- func ColorWithRedGreenBlueColorSpace(red float64, green float64, blue float64, ...) *Color
- func ColorWithString(representation string) *Color
- func CyanColor() *Color
- func GrayColor() *Color
- func GreenColor() *Color
- func MagentaColor() *Color
- func NewColorWithCGColor(color coregraphics.CGColorRef) *Color
- func NewColorWithRedGreenBlue(red float64, green float64, blue float64) *Color
- func NewColorWithRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) *Color
- func NewColorWithRedGreenBlueAlphaColorSpace(red float64, green float64, blue float64, alpha float64, ...) *Color
- func NewColorWithRedGreenBlueColorSpace(red float64, green float64, blue float64, ...) *Color
- func RedColor() *Color
- func WhiteColor() *Color
- func YellowColor() *Color
- func (c *Color) Alpha() float64
- func (c *Color) Blue() float64
- func (c *Color) ColorSpace() coregraphics.CGColorSpaceRef
- func (c *Color) Components() unsafe.Pointer
- func (c *Color) Description() string
- func (c *Color) Green() float64
- func (c *Color) IsEqual(other obj.Object) bool
- func (c *Color) IsKind(className string) bool
- func (c *Color) NumberOfComponents() int
- func (c *Color) Red() float64
- func (c *Color) String() string
- func (c *Color) StringRepresentation() string
- type ColorKernel
- type ColorKernelProvider
- type Context
- func CIContextContext() *Context
- func ContextForOfflineGPUAtIndex(index int) *Context
- func ContextForOfflineGPUAtIndexColorSpaceOptionsSharedContext(index int, colorSpace coregraphics.CGColorSpaceRef, options obj.Object, ...) *Context
- func ContextFromID(id objc.ID) *Context
- func ContextWithCGContextOptions(cgctx coregraphics.CGContextRef, options obj.Object) *Context
- func ContextWithCGLContextPixelFormatColorSpaceOptions(cglctx obj.Object, pixelFormat obj.Object, ...) *Context
- func ContextWithCGLContextPixelFormatOptions(cglctx obj.Object, pixelFormat obj.Object, options obj.Object) *Context
- func ContextWithOptions(options obj.Object) *Context
- func NewContext() *Context
- func NewContextWithOptions(options obj.Object) *Context
- func (c *Context) CalculateHDRStatsForCGImage(cgimage coregraphics.CGImageRef) coregraphics.CGImageRef
- func (c *Context) CalculateHDRStatsForCVPixelBuffer(buffer unsafe.Pointer)
- func (c *Context) CalculateHDRStatsForIOSurface(surface coregraphics.IOSurfaceRef)
- func (c *Context) CalculateHDRStatsForImage(image *Image) *Image
- func (c *Context) ClearCaches()
- func (c *Context) CreateCGImageFromRect(image *Image, fromRect corefoundation.CGRect) coregraphics.CGImageRef
- func (c *Context) CreateCGImageFromRectFormatColorSpace(image *Image, fromRect corefoundation.CGRect, format int, ...) coregraphics.CGImageRef
- func (c *Context) CreateCGImageFromRectFormatColorSpaceDeferred(image *Image, fromRect corefoundation.CGRect, format int, ...) coregraphics.CGImageRef
- func (c *Context) CreateCGImageFromRectFormatColorSpaceDeferredCalculateHDRStats(image *Image, fromRect corefoundation.CGRect, format int, ...) coregraphics.CGImageRef
- func (c *Context) CreateCGLayerWithSizeInfo(size corefoundation.CGSize, info corefoundation.CFDictionaryRef) coregraphics.CGLayerRef
- func (c *Context) DepthBlurEffectFilterForImageDataOptions(data []byte, options obj.Object) *Filter
- func (c *Context) DepthBlurEffectFilterForImageURLOptions(url string, options obj.Object) *Filter
- func (c *Context) Description() string
- func (c *Context) DrawImageAtPointFromRect(image *Image, atPoint corefoundation.CGPoint, fromRect corefoundation.CGRect)
- func (c *Context) DrawImageInRectFromRect(image *Image, inRect corefoundation.CGRect, fromRect corefoundation.CGRect)
- func (c *Context) HEIF10RepresentationOfImageColorSpaceOptions(image *Image, colorSpace coregraphics.CGColorSpaceRef, options obj.Object) (result []byte, err error)
- func (c *Context) HEIFRepresentationOfImageFormatColorSpaceOptions(image *Image, format int, colorSpace coregraphics.CGColorSpaceRef, ...) []byte
- func (c *Context) IsEqual(other obj.Object) bool
- func (c *Context) IsKind(className string) bool
- func (c *Context) JPEGRepresentationOfImageColorSpaceOptions(image *Image, colorSpace coregraphics.CGColorSpaceRef, options obj.Object) []byte
- func (c *Context) OpenEXRRepresentationOfImageOptions(image *Image, options obj.Object) (result []byte, err error)
- func (c *Context) PNGRepresentationOfImageFormatColorSpaceOptions(image *Image, format int, colorSpace coregraphics.CGColorSpaceRef, ...) []byte
- func (c *Context) PrepareRenderFromRectToDestinationAtPoint(image *Image, fromRect corefoundation.CGRect, destination *RenderDestination, ...) error
- func (c *Context) ReclaimResources()
- func (c *Context) RenderToBitmapRowBytesBoundsFormatColorSpace(image *Image, data unsafe.Pointer, rowBytes int, bounds corefoundation.CGRect, ...)
- func (c *Context) RenderToCVPixelBuffer(image *Image, buffer unsafe.Pointer)
- func (c *Context) RenderToCVPixelBufferBoundsColorSpace(image *Image, buffer unsafe.Pointer, bounds corefoundation.CGRect, ...)
- func (c *Context) RenderToIOSurfaceBoundsColorSpace(image *Image, surface coregraphics.IOSurfaceRef, bounds corefoundation.CGRect, ...)
- func (c *Context) StartTaskToClear(destination *RenderDestination) (result *RenderTask, err error)
- func (c *Context) StartTaskToRenderFromRectToDestinationAtPoint(image *Image, fromRect corefoundation.CGRect, destination *RenderDestination, ...) (result *RenderTask, err error)
- func (c *Context) StartTaskToRenderToDestination(image *Image, destination *RenderDestination) (result *RenderTask, err error)
- func (c *Context) String() string
- func (c *Context) TIFFRepresentationOfImageFormatColorSpaceOptions(image *Image, format int, colorSpace coregraphics.CGColorSpaceRef, ...) []byte
- func (c *Context) WorkingColorSpace() coregraphics.CGColorSpaceRef
- func (c *Context) WorkingFormat() int
- func (c *Context) WriteHEIF10RepresentationOfImageToURLColorSpaceOptions(image *Image, url string, colorSpace coregraphics.CGColorSpaceRef, ...) error
- func (c *Context) WriteHEIFRepresentationOfImageToURLFormatColorSpaceOptions(image *Image, url string, format int, colorSpace coregraphics.CGColorSpaceRef, ...) error
- func (c *Context) WriteJPEGRepresentationOfImageToURLColorSpaceOptions(image *Image, url string, colorSpace coregraphics.CGColorSpaceRef, ...) error
- func (c *Context) WriteOpenEXRRepresentationOfImageToURLOptions(image *Image, url string, options obj.Object) error
- func (c *Context) WritePNGRepresentationOfImageToURLFormatColorSpaceOptions(image *Image, url string, format int, colorSpace coregraphics.CGColorSpaceRef, ...) error
- func (c *Context) WriteTIFFRepresentationOfImageToURLFormatColorSpaceOptions(image *Image, url string, format int, colorSpace coregraphics.CGColorSpaceRef, ...) error
- type DataMatrixCodeDescriptor
- func DataMatrixCodeDescriptorFromID(id objc.ID) *DataMatrixCodeDescriptor
- func DescriptorWithPayloadRowCountColumnCountEccVersion(errorCorrectedPayload []byte, rowCount int, columnCount int, ...) *DataMatrixCodeDescriptor
- func NewDataMatrixCodeDescriptorWithPayloadRowCountColumnCountEccVersion(errorCorrectedPayload []byte, rowCount int, columnCount int, ...) *DataMatrixCodeDescriptor
- type DataMatrixCodeECCVersion
- type Detector
- func (d *Detector) Description() string
- func (d *Detector) FeaturesInImage(image *Image) []*Feature
- func (d *Detector) FeaturesInImageOptions(image *Image, options map[string]obj.Object) []*Feature
- func (d *Detector) IsEqual(other obj.Object) bool
- func (d *Detector) IsKind(className string) bool
- func (d *Detector) String() string
- type DispatchAutoreleaseFrequency
- type DispatchBlockFlags
- type EntryID
- type EvCmd
- type FaceFeature
- func (ff *FaceFeature) FaceAngle() float32
- func (ff *FaceFeature) HasFaceAngle() bool
- func (ff *FaceFeature) HasLeftEyePosition() bool
- func (ff *FaceFeature) HasMouthPosition() bool
- func (ff *FaceFeature) HasRightEyePosition() bool
- func (ff *FaceFeature) HasSmile() bool
- func (ff *FaceFeature) HasTrackingFrameCount() bool
- func (ff *FaceFeature) HasTrackingID() bool
- func (ff *FaceFeature) LeftEyeClosed() bool
- func (ff *FaceFeature) LeftEyePosition() corefoundation.CGPoint
- func (ff *FaceFeature) MouthPosition() corefoundation.CGPoint
- func (ff *FaceFeature) RightEyeClosed() bool
- func (ff *FaceFeature) RightEyePosition() corefoundation.CGPoint
- func (ff *FaceFeature) TrackingFrameCount() int
- func (ff *FaceFeature) TrackingID() int
- type Feature
- type FeatureProvider
- type FilesecProperty
- type Filter
- func FilterArrayFromSerializedXMPInputImageExtent(xmpData []byte, extent corefoundation.CGRect) (result []*Filter, err error)
- func FilterFromID(id objc.ID) *Filter
- func FilterWithCVPixelBufferPropertiesOptions(pixelBuffer unsafe.Pointer, properties obj.Object, options obj.Object) *Filter
- func FilterWithImageDataOptions(data []byte, options obj.Object) *Filter
- func FilterWithImageURLOptions(url string, options obj.Object) *Filter
- func FilterWithName(name string) *Filter
- func FilterWithNameWithInputParameters(name string, params map[string]obj.Object) *Filter
- func (f *Filter) ApplyArgumentsOptions(k *Kernel, args obj.Object, dict map[string]obj.Object) *Image
- func (f *Filter) Attributes() map[string]obj.Object
- func (f *Filter) Description() string
- func (f *Filter) InputKeys() []string
- func (f *Filter) IsEnabled() bool
- func (f *Filter) IsEqual(other obj.Object) bool
- func (f *Filter) IsKind(className string) bool
- func (f *Filter) Name() string
- func (f *Filter) OutputImage() *Image
- func (f *Filter) OutputKeys() []string
- func (f *Filter) SetDefaults()
- func (f *Filter) String() string
- func (f *Filter) WithEnabled(enabled bool) *Filter
- func (f *Filter) WithName(name string) *Filter
- type FilterConstructor
- type FilterGenerator
- func (fg *FilterGenerator) ClassAttributes() obj.Object
- func (fg *FilterGenerator) ConnectObjectWithKeyToObjectWithKey(sourceObject obj.Object, sourceKey string, targetObject obj.Object, ...)
- func (fg *FilterGenerator) Description() string
- func (fg *FilterGenerator) DisconnectObjectWithKeyToObjectWithKey(sourceObject obj.Object, sourceKey string, targetObject obj.Object, ...)
- func (fg *FilterGenerator) ExportKeyFromObjectWithName(key string, targetObject obj.Object, exportedKeyName string)
- func (fg *FilterGenerator) ExportedKeys() obj.Object
- func (fg *FilterGenerator) Filter() *Filter
- func (fg *FilterGenerator) IsEqual(other obj.Object) bool
- func (fg *FilterGenerator) IsKind(className string) bool
- func (fg *FilterGenerator) RegisterFilterName(name string)
- func (fg *FilterGenerator) RemoveExportedKey(exportedKeyName string)
- func (fg *FilterGenerator) SetAttributesForExportedKey(attributes obj.Object, key string)
- func (fg *FilterGenerator) String() string
- func (fg *FilterGenerator) WithClassAttributes(classAttributes obj.Object) *FilterGenerator
- func (fg *FilterGenerator) WriteToURLAtomically(aURL string, flag bool) bool
- type FilterProtocol
- type FilterProvider
- type FilterShape
- func (fs *FilterShape) Description() string
- func (fs *FilterShape) Extent() corefoundation.CGRect
- func (fs *FilterShape) InsetByXY(dx int, dy int) *FilterShape
- func (fs *FilterShape) IntersectWith(s2 *FilterShape) *FilterShape
- func (fs *FilterShape) IntersectWithRect(r corefoundation.CGRect) *FilterShape
- func (fs *FilterShape) IsEqual(other obj.Object) bool
- func (fs *FilterShape) IsKind(className string) bool
- func (fs *FilterShape) String() string
- func (fs *FilterShape) TransformByInterior(m corefoundation.CGAffineTransform, flag bool) *FilterShape
- func (fs *FilterShape) UnionWith(s2 *FilterShape) *FilterShape
- func (fs *FilterShape) UnionWithRect(r corefoundation.CGRect) *FilterShape
- type Flag
- type Idtype
- type Image
- func ApplyWithExtentInputsArguments(extent corefoundation.CGRect, inputs []*Image, arguments map[string]obj.Object) (result *Image, err error)
- func ApplyWithExtentsInputsArguments(extents []*Vector, inputs []*Image, arguments map[string]obj.Object) (result []*Image, err error)
- func BlackImage() *Image
- func BlueImage() *Image
- func ClearImage() *Image
- func CyanImage() *Image
- func EmptyImage() *Image
- func GrayImage() *Image
- func GreenImage() *Image
- func ImageFromID(id objc.ID) *Image
- func ImageWithBitmapDataBytesPerRowSizeFormatColorSpace(data []byte, bytesPerRow int, size corefoundation.CGSize, format int, ...) *Image
- func ImageWithCGImage(image coregraphics.CGImageRef) *Image
- func ImageWithCGImageOptions(image coregraphics.CGImageRef, options obj.Object) *Image
- func ImageWithCGImageSourceIndexOptions(source coregraphics.CGImageSourceRef, index int, dict obj.Object) *Image
- func ImageWithCGLayer(layer coregraphics.CGLayerRef) *Image
- func ImageWithCGLayerOptions(layer coregraphics.CGLayerRef, options obj.Object) *Image
- func ImageWithCVImageBuffer(imageBuffer unsafe.Pointer) *Image
- func ImageWithCVImageBufferOptions(imageBuffer unsafe.Pointer, options obj.Object) *Image
- func ImageWithCVPixelBuffer(pixelBuffer unsafe.Pointer) *Image
- func ImageWithCVPixelBufferOptions(pixelBuffer unsafe.Pointer, options obj.Object) *Image
- func ImageWithColor(color *Color) *Image
- func ImageWithContentsOfURL(url string) *Image
- func ImageWithContentsOfURLOptions(url string, options obj.Object) *Image
- func ImageWithData(data []byte) *Image
- func ImageWithDataOptions(data []byte, options obj.Object) *Image
- func ImageWithDepthData(data obj.Object) *Image
- func ImageWithDepthDataOptions(data obj.Object, options map[string]obj.Object) *Image
- func ImageWithIOSurface(surface coregraphics.IOSurfaceRef) *Image
- func ImageWithIOSurfaceOptions(surface coregraphics.IOSurfaceRef, options obj.Object) *Image
- func ImageWithImageProviderSizeFormatColorSpaceOptions(provider obj.Object, width int, height int, format int, ...) *Image
- func ImageWithPortaitEffectsMatte(matte obj.Object) *Image
- func ImageWithPortaitEffectsMatteOptions(matte obj.Object, options obj.Object) *Image
- func ImageWithSemanticSegmentationMatte(matte obj.Object) *Image
- func ImageWithSemanticSegmentationMatteOptions(matte obj.Object, options obj.Object) *Image
- func ImageWithTextureSizeFlippedColorSpace(name int, size corefoundation.CGSize, flipped bool, ...) *Image
- func ImageWithTextureSizeFlippedOptions(name int, size corefoundation.CGSize, flipped bool, options obj.Object) *Image
- func MagentaImage() *Image
- func NewImageWithBitmapDataBytesPerRowSizeFormatColorSpace(data []byte, bytesPerRow int, size corefoundation.CGSize, format int, ...) *Image
- func NewImageWithCGImage(image coregraphics.CGImageRef) *Image
- func NewImageWithCGImageOptions(image coregraphics.CGImageRef, options obj.Object) *Image
- func NewImageWithCGImageSourceIndexOptions(source coregraphics.CGImageSourceRef, index int, dict obj.Object) *Image
- func NewImageWithCGLayer(layer coregraphics.CGLayerRef) *Image
- func NewImageWithCGLayerOptions(layer coregraphics.CGLayerRef, options obj.Object) *Image
- func NewImageWithCVImageBuffer(imageBuffer unsafe.Pointer) *Image
- func NewImageWithCVImageBufferOptions(imageBuffer unsafe.Pointer, options obj.Object) *Image
- func NewImageWithCVPixelBuffer(pixelBuffer unsafe.Pointer) *Image
- func NewImageWithCVPixelBufferOptions(pixelBuffer unsafe.Pointer, options obj.Object) *Image
- func NewImageWithColor(color *Color) *Image
- func NewImageWithContentsOfURL(url string) *Image
- func NewImageWithContentsOfURLOptions(url string, options obj.Object) *Image
- func NewImageWithData(data []byte) *Image
- func NewImageWithDataOptions(data []byte, options obj.Object) *Image
- func NewImageWithDepthData(data obj.Object) *Image
- func NewImageWithDepthDataOptions(data obj.Object, options map[string]obj.Object) *Image
- func NewImageWithIOSurface(surface coregraphics.IOSurfaceRef) *Image
- func NewImageWithIOSurfaceOptions(surface coregraphics.IOSurfaceRef, options obj.Object) *Image
- func NewImageWithIOSurfacePlaneFormatOptions(surface coregraphics.IOSurfaceRef, plane int, format int, options obj.Object) *Image
- func NewImageWithImageProviderSizeFormatColorSpaceOptions(provider obj.Object, width int, height int, format int, ...) *Image
- func NewImageWithPortaitEffectsMatte(matte obj.Object) *Image
- func NewImageWithPortaitEffectsMatteOptions(matte obj.Object, options obj.Object) *Image
- func NewImageWithSemanticSegmentationMatte(matte obj.Object) *Image
- func NewImageWithSemanticSegmentationMatteOptions(matte obj.Object, options obj.Object) *Image
- func NewImageWithTextureSizeFlippedColorSpace(name int, size corefoundation.CGSize, flipped bool, ...) *Image
- func NewImageWithTextureSizeFlippedOptions(name int, size corefoundation.CGSize, flipped bool, options obj.Object) *Image
- func RedImage() *Image
- func WhiteImage() *Image
- func YellowImage() *Image
- func (i *Image) AutoAdjustmentFilters() []*Filter
- func (i *Image) AutoAdjustmentFiltersWithOptions(options obj.Object) []*Filter
- func (i *Image) CGImage() coregraphics.CGImageRef
- func (i *Image) ColorSpace() coregraphics.CGColorSpaceRef
- func (i *Image) ContentAverageLightLevel() float32
- func (i *Image) ContentHeadroom() float32
- func (i *Image) Definition() *FilterShape
- func (i *Image) DepthData() obj.Object
- func (i *Image) Description() string
- func (i *Image) Extent() corefoundation.CGRect
- func (i *Image) ImageByApplyingFilter(filterName string) *Image
- func (i *Image) ImageByApplyingFilterWithInputParameters(filterName string, params map[string]obj.Object) *Image
- func (i *Image) ImageByApplyingGainMap(gainmap *Image) *Image
- func (i *Image) ImageByApplyingGainMapHeadroom(gainmap *Image, headroom float32) *Image
- func (i *Image) ImageByApplyingGaussianBlurWithSigma(sigma float64) *Image
- func (i *Image) ImageByApplyingOrientation(orientation int) *Image
- func (i *Image) ImageByApplyingTransform(matrix corefoundation.CGAffineTransform) *Image
- func (i *Image) ImageByApplyingTransformHighQualityDownsample(matrix corefoundation.CGAffineTransform, highQualityDownsample bool) *Image
- func (i *Image) ImageByClampingToExtent() *Image
- func (i *Image) ImageByClampingToRect(rect corefoundation.CGRect) *Image
- func (i *Image) ImageByColorMatchingColorSpaceToWorkingSpace(colorSpace coregraphics.CGColorSpaceRef) *Image
- func (i *Image) ImageByColorMatchingWorkingSpaceToColorSpace(colorSpace coregraphics.CGColorSpaceRef) *Image
- func (i *Image) ImageByCompositingOverImage(dest *Image) *Image
- func (i *Image) ImageByConvertingLabToWorkingSpace() *Image
- func (i *Image) ImageByConvertingWorkingSpaceToLab() *Image
- func (i *Image) ImageByCroppingToRect(rect corefoundation.CGRect) *Image
- func (i *Image) ImageByInsertingIntermediate() *Image
- func (i *Image) ImageByInsertingIntermediate2(cache bool) *Image
- func (i *Image) ImageByInsertingTiledIntermediate() *Image
- func (i *Image) ImageByPremultiplyingAlpha() *Image
- func (i *Image) ImageBySamplingLinear() *Image
- func (i *Image) ImageBySamplingNearest() *Image
- func (i *Image) ImageBySettingAlphaOneInExtent(extent corefoundation.CGRect) *Image
- func (i *Image) ImageBySettingContentAverageLightLevel(average float32) *Image
- func (i *Image) ImageBySettingContentHeadroom(headroom float32) *Image
- func (i *Image) ImageBySettingProperties(properties obj.Object) *Image
- func (i *Image) ImageByUnpremultiplyingAlpha() *Image
- func (i *Image) ImageTransformForOrientation(orientation int) corefoundation.CGAffineTransform
- func (i *Image) IsEqual(other obj.Object) bool
- func (i *Image) IsKind(className string) bool
- func (i *Image) IsOpaque() bool
- func (i *Image) PixelBuffer() unsafe.Pointer
- func (i *Image) PortraitEffectsMatte() obj.Object
- func (i *Image) Properties() map[string]obj.Object
- func (i *Image) RegionOfInterestForImageInRect(image *Image, rect corefoundation.CGRect) corefoundation.CGRect
- func (i *Image) SemanticSegmentationMatte() obj.Object
- func (i *Image) String() string
- func (i *Image) URL() string
- type ImageAccumulator
- func ImageAccumulatorFromID(id objc.ID) *ImageAccumulator
- func ImageAccumulatorWithExtentFormat(extent corefoundation.CGRect, format int) *ImageAccumulator
- func ImageAccumulatorWithExtentFormatColorSpace(extent corefoundation.CGRect, format int, ...) *ImageAccumulator
- func NewImageAccumulatorWithExtentFormat(extent corefoundation.CGRect, format int) *ImageAccumulator
- func NewImageAccumulatorWithExtentFormatColorSpace(extent corefoundation.CGRect, format int, ...) *ImageAccumulator
- func (ia *ImageAccumulator) Clear()
- func (ia *ImageAccumulator) Description() string
- func (ia *ImageAccumulator) Extent() corefoundation.CGRect
- func (ia *ImageAccumulator) Format() int
- func (ia *ImageAccumulator) Image() *Image
- func (ia *ImageAccumulator) IsEqual(other obj.Object) bool
- func (ia *ImageAccumulator) IsKind(className string) bool
- func (ia *ImageAccumulator) SetImage(image *Image)
- func (ia *ImageAccumulator) SetImageDirtyRect(image *Image, dirtyRect corefoundation.CGRect)
- func (ia *ImageAccumulator) String() string
- type ImageProcessorInput
- type ImageProcessorKernel
- type ImageProcessorOutput
- type IpcInfoObjectType
- type Kernel
- func CIKernelKernelWithString(str string) *Kernel
- func KernelFromID(id objc.ID) *Kernel
- func KernelWithFunctionNameFromMetalLibraryData(name string, data []byte) (result *Kernel, err error)
- func KernelWithFunctionNameFromMetalLibraryDataOutputPixelFormat(name string, data []byte, format int) (result *Kernel, err error)
- func KernelsWithMetalString(source string) (result []*Kernel, err error)
- func KernelsWithString(str string) []*Kernel
- type KernelProvider
- type LaunchDataType
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type MTLBuffer
- type MTLCommandBuffer
- type MTLCommandQueue
- type MTLDevice
- type MTLTexture
- type MachVMRangeFlags
- type MachVMRangeFlavor
- type MachVMRangeTag
- type MpoFlags
- type NXMouseButton
- type OSClockid
- type PDF417CodeDescriptor
- func DescriptorWithPayloadIsCompactRowCountColumnCount(errorCorrectedPayload []byte, isCompact bool, rowCount int, columnCount int) *PDF417CodeDescriptor
- func NewPDF417CodeDescriptorWithPayloadIsCompactRowCountColumnCount(errorCorrectedPayload []byte, isCompact bool, rowCount int, columnCount int) *PDF417CodeDescriptor
- func PDF417CodeDescriptorFromID(id objc.ID) *PDF417CodeDescriptor
- type PMPageToPaperMappingType
- type Perm
- type PlugIn
- type PlugInRegistration
- type PtrauthKey
- type QRCodeDescriptor
- func DescriptorWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel(errorCorrectedPayload []byte, symbolVersion int, maskPattern uint8, ...) *QRCodeDescriptor
- func NewQRCodeDescriptorWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel(errorCorrectedPayload []byte, symbolVersion int, maskPattern uint8, ...) *QRCodeDescriptor
- func QRCodeDescriptorFromID(id objc.ID) *QRCodeDescriptor
- type QRCodeErrorCorrectionLevel
- type QRCodeFeature
- func (qcf *QRCodeFeature) BottomLeft() corefoundation.CGPoint
- func (qcf *QRCodeFeature) BottomRight() corefoundation.CGPoint
- func (qcf *QRCodeFeature) MessageString() string
- func (qcf *QRCodeFeature) SymbolDescriptor() *QRCodeDescriptor
- func (qcf *QRCodeFeature) TopLeft() corefoundation.CGPoint
- func (qcf *QRCodeFeature) TopRight() corefoundation.CGPoint
- type QosClass
- type RAWFilter
- func FilterWithCVPixelBufferProperties(buffer unsafe.Pointer, properties obj.Object) *RAWFilter
- func FilterWithImageDataIdentifierHint(data []byte, identifierHint string) *RAWFilter
- func FilterWithImageURL(url string) *RAWFilter
- func NewRAWFilter() *RAWFilter
- func RAWFilterFromID(id objc.ID) *RAWFilter
- func (rf *RAWFilter) BaselineExposure() float32
- func (rf *RAWFilter) BoostAmount() float32
- func (rf *RAWFilter) BoostShadowAmount() float32
- func (rf *RAWFilter) ColorNoiseReductionAmount() float32
- func (rf *RAWFilter) ContrastAmount() float32
- func (rf *RAWFilter) DecoderVersion() *foundation.String
- func (rf *RAWFilter) DetailAmount() float32
- func (rf *RAWFilter) Exposure() float32
- func (rf *RAWFilter) ExtendedDynamicRangeAmount() float32
- func (rf *RAWFilter) IsColorNoiseReductionSupported() bool
- func (rf *RAWFilter) IsContrastSupported() bool
- func (rf *RAWFilter) IsDetailSupported() bool
- func (rf *RAWFilter) IsDraftModeEnabled() bool
- func (rf *RAWFilter) IsGamutMappingEnabled() bool
- func (rf *RAWFilter) IsHighlightRecoveryEnabled() bool
- func (rf *RAWFilter) IsHighlightRecoverySupported() bool
- func (rf *RAWFilter) IsLensCorrectionEnabled() bool
- func (rf *RAWFilter) IsLensCorrectionSupported() bool
- func (rf *RAWFilter) IsLocalToneMapSupported() bool
- func (rf *RAWFilter) IsLuminanceNoiseReductionSupported() bool
- func (rf *RAWFilter) IsMoireReductionSupported() bool
- func (rf *RAWFilter) IsSharpnessSupported() bool
- func (rf *RAWFilter) LinearSpaceFilter() *Filter
- func (rf *RAWFilter) LocalToneMapAmount() float32
- func (rf *RAWFilter) LuminanceNoiseReductionAmount() float32
- func (rf *RAWFilter) MoireReductionAmount() float32
- func (rf *RAWFilter) NativeSize() corefoundation.CGSize
- func (rf *RAWFilter) NeutralChromaticity() corefoundation.CGPoint
- func (rf *RAWFilter) NeutralLocation() corefoundation.CGPoint
- func (rf *RAWFilter) NeutralTemperature() float32
- func (rf *RAWFilter) NeutralTint() float32
- func (rf *RAWFilter) PortraitEffectsMatte() *Image
- func (rf *RAWFilter) PreviewImage() *Image
- func (rf *RAWFilter) Properties() obj.Object
- func (rf *RAWFilter) ScaleFactor() float32
- func (rf *RAWFilter) SemanticSegmentationGlassesMatte() *Image
- func (rf *RAWFilter) SemanticSegmentationHairMatte() *Image
- func (rf *RAWFilter) SemanticSegmentationSkinMatte() *Image
- func (rf *RAWFilter) SemanticSegmentationSkyMatte() *Image
- func (rf *RAWFilter) SemanticSegmentationTeethMatte() *Image
- func (rf *RAWFilter) ShadowBias() float32
- func (rf *RAWFilter) SharpnessAmount() float32
- func (rf *RAWFilter) SupportedDecoderVersions() []obj.Object
- func (rf *RAWFilter) WithBaselineExposure(baselineExposure float32) *RAWFilter
- func (rf *RAWFilter) WithBoostAmount(boostAmount float32) *RAWFilter
- func (rf *RAWFilter) WithBoostShadowAmount(boostShadowAmount float32) *RAWFilter
- func (rf *RAWFilter) WithColorNoiseReductionAmount(colorNoiseReductionAmount float32) *RAWFilter
- func (rf *RAWFilter) WithContrastAmount(contrastAmount float32) *RAWFilter
- func (rf *RAWFilter) WithDecoderVersion(decoderVersion obj.Object) *RAWFilter
- func (rf *RAWFilter) WithDetailAmount(detailAmount float32) *RAWFilter
- func (rf *RAWFilter) WithDraftModeEnabled(draftModeEnabled bool) *RAWFilter
- func (rf *RAWFilter) WithEnabled(enabled bool) *RAWFilter
- func (rf *RAWFilter) WithExposure(exposure float32) *RAWFilter
- func (rf *RAWFilter) WithExtendedDynamicRangeAmount(extendedDynamicRangeAmount float32) *RAWFilter
- func (rf *RAWFilter) WithGamutMappingEnabled(gamutMappingEnabled bool) *RAWFilter
- func (rf *RAWFilter) WithHighlightRecoveryEnabled(highlightRecoveryEnabled bool) *RAWFilter
- func (rf *RAWFilter) WithLensCorrectionEnabled(lensCorrectionEnabled bool) *RAWFilter
- func (rf *RAWFilter) WithLinearSpaceFilter(linearSpaceFilter FilterProvider) *RAWFilter
- func (rf *RAWFilter) WithLocalToneMapAmount(localToneMapAmount float32) *RAWFilter
- func (rf *RAWFilter) WithLuminanceNoiseReductionAmount(luminanceNoiseReductionAmount float32) *RAWFilter
- func (rf *RAWFilter) WithMoireReductionAmount(moireReductionAmount float32) *RAWFilter
- func (rf *RAWFilter) WithName(name string) *RAWFilter
- func (rf *RAWFilter) WithNeutralChromaticity(neutralChromaticity corefoundation.CGPoint) *RAWFilter
- func (rf *RAWFilter) WithNeutralLocation(neutralLocation corefoundation.CGPoint) *RAWFilter
- func (rf *RAWFilter) WithNeutralTemperature(neutralTemperature float32) *RAWFilter
- func (rf *RAWFilter) WithNeutralTint(neutralTint float32) *RAWFilter
- func (rf *RAWFilter) WithScaleFactor(scaleFactor float32) *RAWFilter
- func (rf *RAWFilter) WithShadowBias(shadowBias float32) *RAWFilter
- func (rf *RAWFilter) WithSharpnessAmount(sharpnessAmount float32) *RAWFilter
- type RectangleFeature
- type RenderDestination
- func NewRenderDestinationWithBitmapDataWidthHeightBytesPerRowFormat(data unsafe.Pointer, width int, height int, bytesPerRow int, format int) *RenderDestination
- func NewRenderDestinationWithGLTextureTargetWidthHeight(texture int, target int, width int, height int) *RenderDestination
- func NewRenderDestinationWithIOSurface(surface unsafe.Pointer) *RenderDestination
- func NewRenderDestinationWithPixelBuffer(pixelBuffer unsafe.Pointer) *RenderDestination
- func RenderDestinationFromID(id objc.ID) *RenderDestination
- func (rd *RenderDestination) AlphaMode() RenderDestinationAlphaMode
- func (rd *RenderDestination) BlendKernel() *BlendKernel
- func (rd *RenderDestination) BlendsInDestinationColorSpace() bool
- func (rd *RenderDestination) CaptureTraceURL() string
- func (rd *RenderDestination) ColorSpace() coregraphics.CGColorSpaceRef
- func (rd *RenderDestination) Description() string
- func (rd *RenderDestination) Height() int
- func (rd *RenderDestination) IsClamped() bool
- func (rd *RenderDestination) IsDithered() bool
- func (rd *RenderDestination) IsEqual(other obj.Object) bool
- func (rd *RenderDestination) IsFlipped() bool
- func (rd *RenderDestination) IsKind(className string) bool
- func (rd *RenderDestination) String() string
- func (rd *RenderDestination) Width() int
- func (rd *RenderDestination) WithAlphaMode(alphaMode RenderDestinationAlphaMode) *RenderDestination
- func (rd *RenderDestination) WithBlendKernel(blendKernel *BlendKernel) *RenderDestination
- func (rd *RenderDestination) WithBlendsInDestinationColorSpace(blendsInDestinationColorSpace bool) *RenderDestination
- func (rd *RenderDestination) WithCaptureTraceURL(captureTraceURL string) *RenderDestination
- func (rd *RenderDestination) WithClamped(clamped bool) *RenderDestination
- func (rd *RenderDestination) WithColorSpace(colorSpace coregraphics.CGColorSpaceRef) *RenderDestination
- func (rd *RenderDestination) WithDithered(dithered bool) *RenderDestination
- func (rd *RenderDestination) WithFlipped(flipped bool) *RenderDestination
- type RenderDestinationAlphaMode
- type RenderInfo
- func (ri *RenderInfo) Description() string
- func (ri *RenderInfo) IsEqual(other obj.Object) bool
- func (ri *RenderInfo) IsKind(className string) bool
- func (ri *RenderInfo) KernelCompileTime() float64
- func (ri *RenderInfo) KernelExecutionTime() float64
- func (ri *RenderInfo) PassCount() int
- func (ri *RenderInfo) PixelsProcessed() int
- func (ri *RenderInfo) String() string
- type RenderTask
- type Sampler
- func NewSamplerWithImage(im *Image) *Sampler
- func NewSamplerWithImageKeysAndValues(im *Image, key0 obj.Object) *Sampler
- func NewSamplerWithImageOptions(im *Image, dict obj.Object) *Sampler
- func SamplerFromID(id objc.ID) *Sampler
- func SamplerWithImage(im *Image) *Sampler
- func SamplerWithImageOptions(im *Image, dict obj.Object) *Sampler
- type Tag
- type TextFeature
- type Type
- type Vector
- func NewVectorWithCGAffineTransform(t corefoundation.CGAffineTransform) *Vector
- func NewVectorWithCGPoint(p corefoundation.CGPoint) *Vector
- func NewVectorWithCGRect(r corefoundation.CGRect) *Vector
- func NewVectorWithString(representation string) *Vector
- func NewVectorWithX(x float64) *Vector
- func NewVectorWithXY(x float64, y float64) *Vector
- func NewVectorWithXYZ(x float64, y float64, z float64) *Vector
- func NewVectorWithXYZW(x float64, y float64, z float64, w float64) *Vector
- func RoiTileArrayForInputArgumentsOutputRect(inputIndex int, arguments map[string]obj.Object, ...) []*Vector
- func VectorFromID(id objc.ID) *Vector
- func VectorWithCGAffineTransform(t corefoundation.CGAffineTransform) *Vector
- func VectorWithCGPoint(p corefoundation.CGPoint) *Vector
- func VectorWithCGRect(r corefoundation.CGRect) *Vector
- func VectorWithString(representation string) *Vector
- func VectorWithValuesCount(count int) (result *Vector, values float64)
- func VectorWithX(x_ float64) *Vector
- func VectorWithXY(x_ float64, y float64) *Vector
- func VectorWithXYZ(x_ float64, y float64, z float64) *Vector
- func VectorWithXYZW(x_ float64, y float64, z float64, w float64) *Vector
- func (v_ *Vector) CGAffineTransformValue() corefoundation.CGAffineTransform
- func (v_ *Vector) CGPointValue() corefoundation.CGPoint
- func (v_ *Vector) CGRectValue() corefoundation.CGRect
- func (v_ *Vector) Count() int
- func (v_ *Vector) Description() string
- func (v_ *Vector) IsEqual(other obj.Object) bool
- func (v_ *Vector) IsKind(className string) bool
- func (v_ *Vector) String() string
- func (v_ *Vector) StringRepresentation() string
- func (v_ *Vector) ValueAtIndex(index int) float64
- func (v_ *Vector) W() float64
- func (v_ *Vector) X() float64
- func (v_ *Vector) Y() float64
- func (v_ *Vector) Z() float64
- type VirtualMemoryGuardExceptionCode
- type WarpKernel
- type XpcListenerCreateFlags
- type XpcSessionCreateFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CIDetectorAccuracy ¶
CIDetectorAccuracy returns the string constant CIDetectorAccuracy, for use as a dictionary key or argument.
func CIDetectorAccuracyHigh ¶
CIDetectorAccuracyHigh returns the string constant CIDetectorAccuracyHigh, for use as a dictionary key or argument.
func CIDetectorAccuracyLow ¶
CIDetectorAccuracyLow returns the string constant CIDetectorAccuracyLow, for use as a dictionary key or argument.
func CIDetectorAspectRatio ¶
CIDetectorAspectRatio returns the string constant CIDetectorAspectRatio, for use as a dictionary key or argument.
func CIDetectorEyeBlink ¶
CIDetectorEyeBlink returns the string constant CIDetectorEyeBlink, for use as a dictionary key or argument.
func CIDetectorFocalLength ¶
CIDetectorFocalLength returns the string constant CIDetectorFocalLength, for use as a dictionary key or argument.
func CIDetectorImageOrientation ¶
CIDetectorImageOrientation returns the string constant CIDetectorImageOrientation, for use as a dictionary key or argument.
func CIDetectorMaxFeatureCount ¶
CIDetectorMaxFeatureCount returns the string constant CIDetectorMaxFeatureCount, for use as a dictionary key or argument.
func CIDetectorMinFeatureSize ¶
CIDetectorMinFeatureSize returns the string constant CIDetectorMinFeatureSize, for use as a dictionary key or argument.
func CIDetectorNumberOfAngles ¶
CIDetectorNumberOfAngles returns the string constant CIDetectorNumberOfAngles, for use as a dictionary key or argument.
func CIDetectorReturnSubFeatures ¶
CIDetectorReturnSubFeatures returns the string constant CIDetectorReturnSubFeatures, for use as a dictionary key or argument.
func CIDetectorSmile ¶
CIDetectorSmile returns the string constant CIDetectorSmile, for use as a dictionary key or argument.
func CIDetectorTracking ¶
CIDetectorTracking returns the string constant CIDetectorTracking, for use as a dictionary key or argument.
func CIDetectorTypeFace ¶
CIDetectorTypeFace returns the string constant CIDetectorTypeFace, for use as a dictionary key or argument.
func CIDetectorTypeQRCode ¶
CIDetectorTypeQRCode returns the string constant CIDetectorTypeQRCode, for use as a dictionary key or argument.
func CIDetectorTypeRectangle ¶
CIDetectorTypeRectangle returns the string constant CIDetectorTypeRectangle, for use as a dictionary key or argument.
func CIDetectorTypeText ¶
CIDetectorTypeText returns the string constant CIDetectorTypeText, for use as a dictionary key or argument.
func CIFeatureTypeFace ¶
CIFeatureTypeFace returns the string constant CIFeatureTypeFace, for use as a dictionary key or argument.
func CIFeatureTypeQRCode ¶
CIFeatureTypeQRCode returns the string constant CIFeatureTypeQRCode, for use as a dictionary key or argument.
func CIFeatureTypeRectangle ¶
CIFeatureTypeRectangle returns the string constant CIFeatureTypeRectangle, for use as a dictionary key or argument.
func CIFeatureTypeText ¶
CIFeatureTypeText returns the string constant CIFeatureTypeText, for use as a dictionary key or argument.
func CIRAWDecoderVersion6 ¶
CIRAWDecoderVersion6 returns the string constant CIRAWDecoderVersion6, for use as a dictionary key or argument.
func CIRAWDecoderVersion6DNG ¶
CIRAWDecoderVersion6DNG returns the string constant CIRAWDecoderVersion6DNG, for use as a dictionary key or argument.
func CIRAWDecoderVersion7 ¶
CIRAWDecoderVersion7 returns the string constant CIRAWDecoderVersion7, for use as a dictionary key or argument.
func CIRAWDecoderVersion7DNG ¶
CIRAWDecoderVersion7DNG returns the string constant CIRAWDecoderVersion7DNG, for use as a dictionary key or argument.
func CIRAWDecoderVersion8 ¶
CIRAWDecoderVersion8 returns the string constant CIRAWDecoderVersion8, for use as a dictionary key or argument.
func CIRAWDecoderVersion8DNG ¶
CIRAWDecoderVersion8DNG returns the string constant CIRAWDecoderVersion8DNG, for use as a dictionary key or argument.
func CIRAWDecoderVersion9 ¶
CIRAWDecoderVersion9 returns the string constant CIRAWDecoderVersion9, for use as a dictionary key or argument.
func CIRAWDecoderVersion9DNG ¶
CIRAWDecoderVersion9DNG returns the string constant CIRAWDecoderVersion9DNG, for use as a dictionary key or argument.
func CIRAWDecoderVersionNone ¶
CIRAWDecoderVersionNone returns the string constant CIRAWDecoderVersionNone, for use as a dictionary key or argument.
func FilterNamesInCategories ¶ added in v0.17.0
FilterNamesInCategories returns an array containing all published filter names that belong to all listed categories.
func FilterNamesInCategory ¶ added in v0.17.0
FilterNamesInCategory returns an array containing all published filter names in a category.
func FormatForInputAtIndex ¶ added in v0.17.0
FormatForInputAtIndex override this class method if you want your any of the inputs to be in a specific pixel format.
func KCIActiveKeys ¶
KCIActiveKeys returns the string constant kCIActiveKeys, for use as a dictionary key or argument.
func KCIApplyOptionColorSpace ¶
KCIApplyOptionColorSpace returns the string constant kCIApplyOptionColorSpace, for use as a dictionary key or argument.
func KCIApplyOptionDefinition ¶
KCIApplyOptionDefinition returns the string constant kCIApplyOptionDefinition, for use as a dictionary key or argument.
func KCIApplyOptionExtent ¶
KCIApplyOptionExtent returns the string constant kCIApplyOptionExtent, for use as a dictionary key or argument.
func KCIApplyOptionUserInfo ¶
KCIApplyOptionUserInfo returns the string constant kCIApplyOptionUserInfo, for use as a dictionary key or argument.
func KCIAttributeClass ¶
KCIAttributeClass returns the string constant kCIAttributeClass, for use as a dictionary key or argument.
func KCIAttributeDefault ¶
KCIAttributeDefault returns the string constant kCIAttributeDefault, for use as a dictionary key or argument.
func KCIAttributeDescription ¶
KCIAttributeDescription returns the string constant kCIAttributeDescription, for use as a dictionary key or argument.
func KCIAttributeDisplayName ¶
KCIAttributeDisplayName returns the string constant kCIAttributeDisplayName, for use as a dictionary key or argument.
func KCIAttributeFilterAvailable_Mac ¶
KCIAttributeFilterAvailable_Mac returns the string constant kCIAttributeFilterAvailable_Mac, for use as a dictionary key or argument.
func KCIAttributeFilterAvailable_iOS ¶
KCIAttributeFilterAvailable_iOS returns the string constant kCIAttributeFilterAvailable_iOS, for use as a dictionary key or argument.
func KCIAttributeFilterCategories ¶
KCIAttributeFilterCategories returns the string constant kCIAttributeFilterCategories, for use as a dictionary key or argument.
func KCIAttributeFilterDisplayName ¶
KCIAttributeFilterDisplayName returns the string constant kCIAttributeFilterDisplayName, for use as a dictionary key or argument.
func KCIAttributeFilterName ¶
KCIAttributeFilterName returns the string constant kCIAttributeFilterName, for use as a dictionary key or argument.
func KCIAttributeIdentity ¶
KCIAttributeIdentity returns the string constant kCIAttributeIdentity, for use as a dictionary key or argument.
func KCIAttributeMax ¶
KCIAttributeMax returns the string constant kCIAttributeMax, for use as a dictionary key or argument.
func KCIAttributeMin ¶
KCIAttributeMin returns the string constant kCIAttributeMin, for use as a dictionary key or argument.
func KCIAttributeName ¶
KCIAttributeName returns the string constant kCIAttributeName, for use as a dictionary key or argument.
func KCIAttributeReferenceDocumentation ¶
KCIAttributeReferenceDocumentation returns the string constant kCIAttributeReferenceDocumentation, for use as a dictionary key or argument.
func KCIAttributeSliderMax ¶
KCIAttributeSliderMax returns the string constant kCIAttributeSliderMax, for use as a dictionary key or argument.
func KCIAttributeSliderMin ¶
KCIAttributeSliderMin returns the string constant kCIAttributeSliderMin, for use as a dictionary key or argument.
func KCIAttributeType ¶
KCIAttributeType returns the string constant kCIAttributeType, for use as a dictionary key or argument.
func KCIAttributeTypeAngle ¶
KCIAttributeTypeAngle returns the string constant kCIAttributeTypeAngle, for use as a dictionary key or argument.
func KCIAttributeTypeBoolean ¶
KCIAttributeTypeBoolean returns the string constant kCIAttributeTypeBoolean, for use as a dictionary key or argument.
func KCIAttributeTypeColor ¶
KCIAttributeTypeColor returns the string constant kCIAttributeTypeColor, for use as a dictionary key or argument.
func KCIAttributeTypeCount ¶
KCIAttributeTypeCount returns the string constant kCIAttributeTypeCount, for use as a dictionary key or argument.
func KCIAttributeTypeDistance ¶
KCIAttributeTypeDistance returns the string constant kCIAttributeTypeDistance, for use as a dictionary key or argument.
func KCIAttributeTypeGradient ¶
KCIAttributeTypeGradient returns the string constant kCIAttributeTypeGradient, for use as a dictionary key or argument.
func KCIAttributeTypeImage ¶
KCIAttributeTypeImage returns the string constant kCIAttributeTypeImage, for use as a dictionary key or argument.
func KCIAttributeTypeInteger ¶
KCIAttributeTypeInteger returns the string constant kCIAttributeTypeInteger, for use as a dictionary key or argument.
func KCIAttributeTypeOffset ¶
KCIAttributeTypeOffset returns the string constant kCIAttributeTypeOffset, for use as a dictionary key or argument.
func KCIAttributeTypeOpaqueColor ¶
KCIAttributeTypeOpaqueColor returns the string constant kCIAttributeTypeOpaqueColor, for use as a dictionary key or argument.
func KCIAttributeTypePosition ¶
KCIAttributeTypePosition returns the string constant kCIAttributeTypePosition, for use as a dictionary key or argument.
func KCIAttributeTypePosition3 ¶
KCIAttributeTypePosition3 returns the string constant kCIAttributeTypePosition3, for use as a dictionary key or argument.
func KCIAttributeTypeRectangle ¶
KCIAttributeTypeRectangle returns the string constant kCIAttributeTypeRectangle, for use as a dictionary key or argument.
func KCIAttributeTypeScalar ¶
KCIAttributeTypeScalar returns the string constant kCIAttributeTypeScalar, for use as a dictionary key or argument.
func KCIAttributeTypeTime ¶
KCIAttributeTypeTime returns the string constant kCIAttributeTypeTime, for use as a dictionary key or argument.
func KCIAttributeTypeTransform ¶
KCIAttributeTypeTransform returns the string constant kCIAttributeTypeTransform, for use as a dictionary key or argument.
func KCICategoryBlur ¶
KCICategoryBlur returns the string constant kCICategoryBlur, for use as a dictionary key or argument.
func KCICategoryBuiltIn ¶
KCICategoryBuiltIn returns the string constant kCICategoryBuiltIn, for use as a dictionary key or argument.
func KCICategoryColorAdjustment ¶
KCICategoryColorAdjustment returns the string constant kCICategoryColorAdjustment, for use as a dictionary key or argument.
func KCICategoryColorEffect ¶
KCICategoryColorEffect returns the string constant kCICategoryColorEffect, for use as a dictionary key or argument.
func KCICategoryCompositeOperation ¶
KCICategoryCompositeOperation returns the string constant kCICategoryCompositeOperation, for use as a dictionary key or argument.
func KCICategoryDistortionEffect ¶
KCICategoryDistortionEffect returns the string constant kCICategoryDistortionEffect, for use as a dictionary key or argument.
func KCICategoryFilterGenerator ¶
KCICategoryFilterGenerator returns the string constant kCICategoryFilterGenerator, for use as a dictionary key or argument.
func KCICategoryGenerator ¶
KCICategoryGenerator returns the string constant kCICategoryGenerator, for use as a dictionary key or argument.
func KCICategoryGeometryAdjustment ¶
KCICategoryGeometryAdjustment returns the string constant kCICategoryGeometryAdjustment, for use as a dictionary key or argument.
func KCICategoryGradient ¶
KCICategoryGradient returns the string constant kCICategoryGradient, for use as a dictionary key or argument.
func KCICategoryHalftoneEffect ¶
KCICategoryHalftoneEffect returns the string constant kCICategoryHalftoneEffect, for use as a dictionary key or argument.
func KCICategoryHighDynamicRange ¶
KCICategoryHighDynamicRange returns the string constant kCICategoryHighDynamicRange, for use as a dictionary key or argument.
func KCICategoryInterlaced ¶
KCICategoryInterlaced returns the string constant kCICategoryInterlaced, for use as a dictionary key or argument.
func KCICategoryNonSquarePixels ¶
KCICategoryNonSquarePixels returns the string constant kCICategoryNonSquarePixels, for use as a dictionary key or argument.
func KCICategoryReduction ¶
KCICategoryReduction returns the string constant kCICategoryReduction, for use as a dictionary key or argument.
func KCICategorySharpen ¶
KCICategorySharpen returns the string constant kCICategorySharpen, for use as a dictionary key or argument.
func KCICategoryStillImage ¶
KCICategoryStillImage returns the string constant kCICategoryStillImage, for use as a dictionary key or argument.
func KCICategoryStylize ¶
KCICategoryStylize returns the string constant kCICategoryStylize, for use as a dictionary key or argument.
func KCICategoryTileEffect ¶
KCICategoryTileEffect returns the string constant kCICategoryTileEffect, for use as a dictionary key or argument.
func KCICategoryTransition ¶
KCICategoryTransition returns the string constant kCICategoryTransition, for use as a dictionary key or argument.
func KCICategoryVideo ¶
KCICategoryVideo returns the string constant kCICategoryVideo, for use as a dictionary key or argument.
func KCIContextAllowLowPower ¶
KCIContextAllowLowPower returns the string constant kCIContextAllowLowPower, for use as a dictionary key or argument.
func KCIContextCVMetalTextureCache ¶
KCIContextCVMetalTextureCache returns the string constant kCIContextCVMetalTextureCache, for use as a dictionary key or argument.
func KCIContextCacheIntermediates ¶
KCIContextCacheIntermediates returns the string constant kCIContextCacheIntermediates, for use as a dictionary key or argument.
func KCIContextHighQualityDownsample ¶
KCIContextHighQualityDownsample returns the string constant kCIContextHighQualityDownsample, for use as a dictionary key or argument.
func KCIContextMemoryLimit ¶
KCIContextMemoryLimit returns the string constant kCIContextMemoryLimit, for use as a dictionary key or argument.
func KCIContextName ¶
KCIContextName returns the string constant kCIContextName, for use as a dictionary key or argument.
func KCIContextOutputColorSpace ¶
KCIContextOutputColorSpace returns the string constant kCIContextOutputColorSpace, for use as a dictionary key or argument.
func KCIContextOutputPremultiplied ¶
KCIContextOutputPremultiplied returns the string constant kCIContextOutputPremultiplied, for use as a dictionary key or argument.
func KCIContextPriorityRequestLow ¶
KCIContextPriorityRequestLow returns the string constant kCIContextPriorityRequestLow, for use as a dictionary key or argument.
func KCIContextUseSoftwareRenderer ¶
KCIContextUseSoftwareRenderer returns the string constant kCIContextUseSoftwareRenderer, for use as a dictionary key or argument.
func KCIContextWorkingColorSpace ¶
KCIContextWorkingColorSpace returns the string constant kCIContextWorkingColorSpace, for use as a dictionary key or argument.
func KCIContextWorkingFormat ¶
KCIContextWorkingFormat returns the string constant kCIContextWorkingFormat, for use as a dictionary key or argument.
func KCIDynamicRangeConstrainedHigh ¶
KCIDynamicRangeConstrainedHigh returns the string constant kCIDynamicRangeConstrainedHigh, for use as a dictionary key or argument.
func KCIDynamicRangeHigh ¶
KCIDynamicRangeHigh returns the string constant kCIDynamicRangeHigh, for use as a dictionary key or argument.
func KCIDynamicRangeStandard ¶
KCIDynamicRangeStandard returns the string constant kCIDynamicRangeStandard, for use as a dictionary key or argument.
func KCIFilterGeneratorExportedKey ¶
KCIFilterGeneratorExportedKey returns the string constant kCIFilterGeneratorExportedKey, for use as a dictionary key or argument.
func KCIFilterGeneratorExportedKeyName ¶
KCIFilterGeneratorExportedKeyName returns the string constant kCIFilterGeneratorExportedKeyName, for use as a dictionary key or argument.
func KCIFilterGeneratorExportedKeyTargetObject ¶
KCIFilterGeneratorExportedKeyTargetObject returns the string constant kCIFilterGeneratorExportedKeyTargetObject, for use as a dictionary key or argument.
func KCIFormatA8 ¶
func KCIFormatA8() int
KCIFormatA8 returns the value of the constant kCIFormatA8.
func KCIFormatA16 ¶
func KCIFormatA16() int
KCIFormatA16 returns the value of the constant kCIFormatA16.
func KCIFormatABGR8 ¶
func KCIFormatABGR8() int
KCIFormatABGR8 returns the value of the constant kCIFormatABGR8.
func KCIFormatARGB8 ¶
func KCIFormatARGB8() int
KCIFormatARGB8 returns the value of the constant kCIFormatARGB8.
func KCIFormatAf ¶
func KCIFormatAf() int
KCIFormatAf returns the value of the constant kCIFormatAf.
func KCIFormatAh ¶
func KCIFormatAh() int
KCIFormatAh returns the value of the constant kCIFormatAh.
func KCIFormatBGRA8 ¶
func KCIFormatBGRA8() int
KCIFormatBGRA8 returns the value of the constant kCIFormatBGRA8.
func KCIFormatL8 ¶
func KCIFormatL8() int
KCIFormatL8 returns the value of the constant kCIFormatL8.
func KCIFormatL16 ¶
func KCIFormatL16() int
KCIFormatL16 returns the value of the constant kCIFormatL16.
func KCIFormatLA8 ¶
func KCIFormatLA8() int
KCIFormatLA8 returns the value of the constant kCIFormatLA8.
func KCIFormatLA16 ¶
func KCIFormatLA16() int
KCIFormatLA16 returns the value of the constant kCIFormatLA16.
func KCIFormatLAf ¶
func KCIFormatLAf() int
KCIFormatLAf returns the value of the constant kCIFormatLAf.
func KCIFormatLAh ¶
func KCIFormatLAh() int
KCIFormatLAh returns the value of the constant kCIFormatLAh.
func KCIFormatLf ¶
func KCIFormatLf() int
KCIFormatLf returns the value of the constant kCIFormatLf.
func KCIFormatLh ¶
func KCIFormatLh() int
KCIFormatLh returns the value of the constant kCIFormatLh.
func KCIFormatR8 ¶
func KCIFormatR8() int
KCIFormatR8 returns the value of the constant kCIFormatR8.
func KCIFormatR16 ¶
func KCIFormatR16() int
KCIFormatR16 returns the value of the constant kCIFormatR16.
func KCIFormatRG8 ¶
func KCIFormatRG8() int
KCIFormatRG8 returns the value of the constant kCIFormatRG8.
func KCIFormatRG16 ¶
func KCIFormatRG16() int
KCIFormatRG16 returns the value of the constant kCIFormatRG16.
func KCIFormatRGB10 ¶
func KCIFormatRGB10() int
KCIFormatRGB10 returns the value of the constant kCIFormatRGB10.
func KCIFormatRGBA8 ¶
func KCIFormatRGBA8() int
KCIFormatRGBA8 returns the value of the constant kCIFormatRGBA8.
func KCIFormatRGBA16 ¶
func KCIFormatRGBA16() int
KCIFormatRGBA16 returns the value of the constant kCIFormatRGBA16.
func KCIFormatRGBAf ¶
func KCIFormatRGBAf() int
KCIFormatRGBAf returns the value of the constant kCIFormatRGBAf.
func KCIFormatRGBAh ¶
func KCIFormatRGBAh() int
KCIFormatRGBAh returns the value of the constant kCIFormatRGBAh.
func KCIFormatRGBX8 ¶
func KCIFormatRGBX8() int
KCIFormatRGBX8 returns the value of the constant kCIFormatRGBX8.
func KCIFormatRGBX16 ¶
func KCIFormatRGBX16() int
KCIFormatRGBX16 returns the value of the constant kCIFormatRGBX16.
func KCIFormatRGBXf ¶
func KCIFormatRGBXf() int
KCIFormatRGBXf returns the value of the constant kCIFormatRGBXf.
func KCIFormatRGBXh ¶
func KCIFormatRGBXh() int
KCIFormatRGBXh returns the value of the constant kCIFormatRGBXh.
func KCIFormatRGf ¶
func KCIFormatRGf() int
KCIFormatRGf returns the value of the constant kCIFormatRGf.
func KCIFormatRGh ¶
func KCIFormatRGh() int
KCIFormatRGh returns the value of the constant kCIFormatRGh.
func KCIFormatRf ¶
func KCIFormatRf() int
KCIFormatRf returns the value of the constant kCIFormatRf.
func KCIFormatRh ¶
func KCIFormatRh() int
KCIFormatRh returns the value of the constant kCIFormatRh.
func KCIImageApplyCleanAperture ¶
KCIImageApplyCleanAperture returns the string constant kCIImageApplyCleanAperture, for use as a dictionary key or argument.
func KCIImageApplyOrientationProperty ¶
KCIImageApplyOrientationProperty returns the string constant kCIImageApplyOrientationProperty, for use as a dictionary key or argument.
func KCIImageAutoAdjustCrop ¶
KCIImageAutoAdjustCrop returns the string constant kCIImageAutoAdjustCrop, for use as a dictionary key or argument.
func KCIImageAutoAdjustEnhance ¶
KCIImageAutoAdjustEnhance returns the string constant kCIImageAutoAdjustEnhance, for use as a dictionary key or argument.
func KCIImageAutoAdjustFeatures ¶
KCIImageAutoAdjustFeatures returns the string constant kCIImageAutoAdjustFeatures, for use as a dictionary key or argument.
func KCIImageAutoAdjustLevel ¶
KCIImageAutoAdjustLevel returns the string constant kCIImageAutoAdjustLevel, for use as a dictionary key or argument.
func KCIImageAutoAdjustRedEye ¶
KCIImageAutoAdjustRedEye returns the string constant kCIImageAutoAdjustRedEye, for use as a dictionary key or argument.
func KCIImageAuxiliaryDepth ¶
KCIImageAuxiliaryDepth returns the string constant kCIImageAuxiliaryDepth, for use as a dictionary key or argument.
func KCIImageAuxiliaryDisparity ¶
KCIImageAuxiliaryDisparity returns the string constant kCIImageAuxiliaryDisparity, for use as a dictionary key or argument.
func KCIImageAuxiliaryHDRGainMap ¶
KCIImageAuxiliaryHDRGainMap returns the string constant kCIImageAuxiliaryHDRGainMap, for use as a dictionary key or argument.
func KCIImageAuxiliaryPortraitEffectsMatte ¶
KCIImageAuxiliaryPortraitEffectsMatte returns the string constant kCIImageAuxiliaryPortraitEffectsMatte, for use as a dictionary key or argument.
func KCIImageAuxiliarySemanticSegmentationGlassesMatte ¶
KCIImageAuxiliarySemanticSegmentationGlassesMatte returns the string constant kCIImageAuxiliarySemanticSegmentationGlassesMatte, for use as a dictionary key or argument.
func KCIImageAuxiliarySemanticSegmentationHairMatte ¶
KCIImageAuxiliarySemanticSegmentationHairMatte returns the string constant kCIImageAuxiliarySemanticSegmentationHairMatte, for use as a dictionary key or argument.
func KCIImageAuxiliarySemanticSegmentationSkinMatte ¶
KCIImageAuxiliarySemanticSegmentationSkinMatte returns the string constant kCIImageAuxiliarySemanticSegmentationSkinMatte, for use as a dictionary key or argument.
func KCIImageAuxiliarySemanticSegmentationSkyMatte ¶
KCIImageAuxiliarySemanticSegmentationSkyMatte returns the string constant kCIImageAuxiliarySemanticSegmentationSkyMatte, for use as a dictionary key or argument.
func KCIImageAuxiliarySemanticSegmentationTeethMatte ¶
KCIImageAuxiliarySemanticSegmentationTeethMatte returns the string constant kCIImageAuxiliarySemanticSegmentationTeethMatte, for use as a dictionary key or argument.
func KCIImageCacheImmediately ¶
KCIImageCacheImmediately returns the string constant kCIImageCacheImmediately, for use as a dictionary key or argument.
func KCIImageColorSpace ¶
KCIImageColorSpace returns the string constant kCIImageColorSpace, for use as a dictionary key or argument.
func KCIImageContentAverageLightLevel ¶
KCIImageContentAverageLightLevel returns the string constant kCIImageContentAverageLightLevel, for use as a dictionary key or argument.
func KCIImageContentHeadroom ¶
KCIImageContentHeadroom returns the string constant kCIImageContentHeadroom, for use as a dictionary key or argument.
func KCIImageExpandToHDR ¶
KCIImageExpandToHDR returns the string constant kCIImageExpandToHDR, for use as a dictionary key or argument.
func KCIImageNearestSampling ¶
KCIImageNearestSampling returns the string constant kCIImageNearestSampling, for use as a dictionary key or argument.
func KCIImageProperties ¶
KCIImageProperties returns the string constant kCIImageProperties, for use as a dictionary key or argument.
func KCIImageProviderTileSize ¶
KCIImageProviderTileSize returns the string constant kCIImageProviderTileSize, for use as a dictionary key or argument.
func KCIImageProviderUserInfo ¶
KCIImageProviderUserInfo returns the string constant kCIImageProviderUserInfo, for use as a dictionary key or argument.
func KCIImageRepresentationAVDepthData ¶
KCIImageRepresentationAVDepthData returns the string constant kCIImageRepresentationAVDepthData, for use as a dictionary key or argument.
func KCIImageRepresentationAVPortraitEffectsMatte ¶
KCIImageRepresentationAVPortraitEffectsMatte returns the string constant kCIImageRepresentationAVPortraitEffectsMatte, for use as a dictionary key or argument.
func KCIImageRepresentationAVSemanticSegmentationMattes ¶
KCIImageRepresentationAVSemanticSegmentationMattes returns the string constant kCIImageRepresentationAVSemanticSegmentationMattes, for use as a dictionary key or argument.
func KCIImageRepresentationDepthImage ¶
KCIImageRepresentationDepthImage returns the string constant kCIImageRepresentationDepthImage, for use as a dictionary key or argument.
func KCIImageRepresentationDisparityImage ¶
KCIImageRepresentationDisparityImage returns the string constant kCIImageRepresentationDisparityImage, for use as a dictionary key or argument.
func KCIImageRepresentationHDRGainMapAsRGB ¶
KCIImageRepresentationHDRGainMapAsRGB returns the string constant kCIImageRepresentationHDRGainMapAsRGB, for use as a dictionary key or argument.
func KCIImageRepresentationHDRGainMapImage ¶
KCIImageRepresentationHDRGainMapImage returns the string constant kCIImageRepresentationHDRGainMapImage, for use as a dictionary key or argument.
func KCIImageRepresentationHDRImage ¶
KCIImageRepresentationHDRImage returns the string constant kCIImageRepresentationHDRImage, for use as a dictionary key or argument.
func KCIImageRepresentationPortraitEffectsMatteImage ¶
KCIImageRepresentationPortraitEffectsMatteImage returns the string constant kCIImageRepresentationPortraitEffectsMatteImage, for use as a dictionary key or argument.
func KCIImageRepresentationSemanticSegmentationGlassesMatteImage ¶
KCIImageRepresentationSemanticSegmentationGlassesMatteImage returns the string constant kCIImageRepresentationSemanticSegmentationGlassesMatteImage, for use as a dictionary key or argument.
func KCIImageRepresentationSemanticSegmentationHairMatteImage ¶
KCIImageRepresentationSemanticSegmentationHairMatteImage returns the string constant kCIImageRepresentationSemanticSegmentationHairMatteImage, for use as a dictionary key or argument.
func KCIImageRepresentationSemanticSegmentationSkinMatteImage ¶
KCIImageRepresentationSemanticSegmentationSkinMatteImage returns the string constant kCIImageRepresentationSemanticSegmentationSkinMatteImage, for use as a dictionary key or argument.
func KCIImageRepresentationSemanticSegmentationSkyMatteImage ¶
KCIImageRepresentationSemanticSegmentationSkyMatteImage returns the string constant kCIImageRepresentationSemanticSegmentationSkyMatteImage, for use as a dictionary key or argument.
func KCIImageRepresentationSemanticSegmentationTeethMatteImage ¶
KCIImageRepresentationSemanticSegmentationTeethMatteImage returns the string constant kCIImageRepresentationSemanticSegmentationTeethMatteImage, for use as a dictionary key or argument.
func KCIImageTextureFormat ¶
KCIImageTextureFormat returns the string constant kCIImageTextureFormat, for use as a dictionary key or argument.
func KCIImageTextureTarget ¶
KCIImageTextureTarget returns the string constant kCIImageTextureTarget, for use as a dictionary key or argument.
func KCIImageToneMapHDRtoSDR ¶
KCIImageToneMapHDRtoSDR returns the string constant kCIImageToneMapHDRtoSDR, for use as a dictionary key or argument.
func KCIInputAllowDraftModeKey ¶
KCIInputAllowDraftModeKey returns the string constant kCIInputAllowDraftModeKey, for use as a dictionary key or argument.
func KCIInputAmountKey ¶
KCIInputAmountKey returns the string constant kCIInputAmountKey, for use as a dictionary key or argument.
func KCIInputAngleKey ¶
KCIInputAngleKey returns the string constant kCIInputAngleKey, for use as a dictionary key or argument.
func KCIInputAspectRatioKey ¶
KCIInputAspectRatioKey returns the string constant kCIInputAspectRatioKey, for use as a dictionary key or argument.
func KCIInputBackgroundImageKey ¶
KCIInputBackgroundImageKey returns the string constant kCIInputBackgroundImageKey, for use as a dictionary key or argument.
func KCIInputBacksideImageKey ¶
KCIInputBacksideImageKey returns the string constant kCIInputBacksideImageKey, for use as a dictionary key or argument.
func KCIInputBaselineExposureKey ¶
KCIInputBaselineExposureKey returns the string constant kCIInputBaselineExposureKey, for use as a dictionary key or argument.
func KCIInputBiasKey ¶
KCIInputBiasKey returns the string constant kCIInputBiasKey, for use as a dictionary key or argument.
func KCIInputBiasVectorKey ¶
KCIInputBiasVectorKey returns the string constant kCIInputBiasVectorKey, for use as a dictionary key or argument.
func KCIInputBoostKey ¶
KCIInputBoostKey returns the string constant kCIInputBoostKey, for use as a dictionary key or argument.
func KCIInputBoostShadowAmountKey ¶
KCIInputBoostShadowAmountKey returns the string constant kCIInputBoostShadowAmountKey, for use as a dictionary key or argument.
func KCIInputBrightnessKey ¶
KCIInputBrightnessKey returns the string constant kCIInputBrightnessKey, for use as a dictionary key or argument.
func KCIInputCenterKey ¶
KCIInputCenterKey returns the string constant kCIInputCenterKey, for use as a dictionary key or argument.
func KCIInputColor0Key ¶
KCIInputColor0Key returns the string constant kCIInputColor0Key, for use as a dictionary key or argument.
func KCIInputColor1Key ¶
KCIInputColor1Key returns the string constant kCIInputColor1Key, for use as a dictionary key or argument.
func KCIInputColorKey ¶
KCIInputColorKey returns the string constant kCIInputColorKey, for use as a dictionary key or argument.
func KCIInputColorNoiseReductionAmountKey ¶
KCIInputColorNoiseReductionAmountKey returns the string constant kCIInputColorNoiseReductionAmountKey, for use as a dictionary key or argument.
func KCIInputColorSpaceKey ¶
KCIInputColorSpaceKey returns the string constant kCIInputColorSpaceKey, for use as a dictionary key or argument.
func KCIInputContrastKey ¶
KCIInputContrastKey returns the string constant kCIInputContrastKey, for use as a dictionary key or argument.
func KCIInputCountKey ¶
KCIInputCountKey returns the string constant kCIInputCountKey, for use as a dictionary key or argument.
func KCIInputDecoderVersionKey ¶
KCIInputDecoderVersionKey returns the string constant kCIInputDecoderVersionKey, for use as a dictionary key or argument.
func KCIInputDepthImageKey ¶
KCIInputDepthImageKey returns the string constant kCIInputDepthImageKey, for use as a dictionary key or argument.
func KCIInputDisableGamutMapKey ¶
KCIInputDisableGamutMapKey returns the string constant kCIInputDisableGamutMapKey, for use as a dictionary key or argument.
func KCIInputDisparityImageKey ¶
KCIInputDisparityImageKey returns the string constant kCIInputDisparityImageKey, for use as a dictionary key or argument.
func KCIInputEVKey ¶
KCIInputEVKey returns the string constant kCIInputEVKey, for use as a dictionary key or argument.
func KCIInputEnableChromaticNoiseTrackingKey ¶
KCIInputEnableChromaticNoiseTrackingKey returns the string constant kCIInputEnableChromaticNoiseTrackingKey, for use as a dictionary key or argument.
func KCIInputEnableEDRModeKey ¶
KCIInputEnableEDRModeKey returns the string constant kCIInputEnableEDRModeKey, for use as a dictionary key or argument.
func KCIInputEnableSharpeningKey ¶
KCIInputEnableSharpeningKey returns the string constant kCIInputEnableSharpeningKey, for use as a dictionary key or argument.
func KCIInputEnableVendorLensCorrectionKey ¶
KCIInputEnableVendorLensCorrectionKey returns the string constant kCIInputEnableVendorLensCorrectionKey, for use as a dictionary key or argument.
func KCIInputExtentKey ¶
KCIInputExtentKey returns the string constant kCIInputExtentKey, for use as a dictionary key or argument.
func KCIInputExtrapolateKey ¶
KCIInputExtrapolateKey returns the string constant kCIInputExtrapolateKey, for use as a dictionary key or argument.
func KCIInputGradientImageKey ¶
KCIInputGradientImageKey returns the string constant kCIInputGradientImageKey, for use as a dictionary key or argument.
func KCIInputIgnoreImageOrientationKey ¶
KCIInputIgnoreImageOrientationKey returns the string constant kCIInputIgnoreImageOrientationKey, for use as a dictionary key or argument.
func KCIInputImageKey ¶
KCIInputImageKey returns the string constant kCIInputImageKey, for use as a dictionary key or argument.
func KCIInputImageOrientationKey ¶
KCIInputImageOrientationKey returns the string constant kCIInputImageOrientationKey, for use as a dictionary key or argument.
func KCIInputIntensityKey ¶
KCIInputIntensityKey returns the string constant kCIInputIntensityKey, for use as a dictionary key or argument.
func KCIInputLinearSpaceFilter ¶
KCIInputLinearSpaceFilter returns the string constant kCIInputLinearSpaceFilter, for use as a dictionary key or argument.
func KCIInputLocalToneMapAmountKey ¶
KCIInputLocalToneMapAmountKey returns the string constant kCIInputLocalToneMapAmountKey, for use as a dictionary key or argument.
func KCIInputLuminanceNoiseReductionAmountKey ¶
KCIInputLuminanceNoiseReductionAmountKey returns the string constant kCIInputLuminanceNoiseReductionAmountKey, for use as a dictionary key or argument.
func KCIInputMaskImageKey ¶
KCIInputMaskImageKey returns the string constant kCIInputMaskImageKey, for use as a dictionary key or argument.
func KCIInputMatteImageKey ¶
KCIInputMatteImageKey returns the string constant kCIInputMatteImageKey, for use as a dictionary key or argument.
func KCIInputMoireAmountKey ¶
KCIInputMoireAmountKey returns the string constant kCIInputMoireAmountKey, for use as a dictionary key or argument.
func KCIInputNeutralChromaticityXKey ¶
KCIInputNeutralChromaticityXKey returns the string constant kCIInputNeutralChromaticityXKey, for use as a dictionary key or argument.
func KCIInputNeutralChromaticityYKey ¶
KCIInputNeutralChromaticityYKey returns the string constant kCIInputNeutralChromaticityYKey, for use as a dictionary key or argument.
func KCIInputNeutralLocationKey ¶
KCIInputNeutralLocationKey returns the string constant kCIInputNeutralLocationKey, for use as a dictionary key or argument.
func KCIInputNeutralTemperatureKey ¶
KCIInputNeutralTemperatureKey returns the string constant kCIInputNeutralTemperatureKey, for use as a dictionary key or argument.
func KCIInputNeutralTintKey ¶
KCIInputNeutralTintKey returns the string constant kCIInputNeutralTintKey, for use as a dictionary key or argument.
func KCIInputNoiseReductionAmountKey ¶
KCIInputNoiseReductionAmountKey returns the string constant kCIInputNoiseReductionAmountKey, for use as a dictionary key or argument.
func KCIInputNoiseReductionContrastAmountKey ¶
KCIInputNoiseReductionContrastAmountKey returns the string constant kCIInputNoiseReductionContrastAmountKey, for use as a dictionary key or argument.
func KCIInputNoiseReductionDetailAmountKey ¶
KCIInputNoiseReductionDetailAmountKey returns the string constant kCIInputNoiseReductionDetailAmountKey, for use as a dictionary key or argument.
func KCIInputNoiseReductionSharpnessAmountKey ¶
KCIInputNoiseReductionSharpnessAmountKey returns the string constant kCIInputNoiseReductionSharpnessAmountKey, for use as a dictionary key or argument.
func KCIInputPaletteImageKey ¶
KCIInputPaletteImageKey returns the string constant kCIInputPaletteImageKey, for use as a dictionary key or argument.
func KCIInputPerceptualKey ¶
KCIInputPerceptualKey returns the string constant kCIInputPerceptualKey, for use as a dictionary key or argument.
func KCIInputPoint0Key ¶
KCIInputPoint0Key returns the string constant kCIInputPoint0Key, for use as a dictionary key or argument.
func KCIInputPoint1Key ¶
KCIInputPoint1Key returns the string constant kCIInputPoint1Key, for use as a dictionary key or argument.
func KCIInputRadius0Key ¶
KCIInputRadius0Key returns the string constant kCIInputRadius0Key, for use as a dictionary key or argument.
func KCIInputRadius1Key ¶
KCIInputRadius1Key returns the string constant kCIInputRadius1Key, for use as a dictionary key or argument.
func KCIInputRadiusKey ¶
KCIInputRadiusKey returns the string constant kCIInputRadiusKey, for use as a dictionary key or argument.
func KCIInputRefractionKey ¶
KCIInputRefractionKey returns the string constant kCIInputRefractionKey, for use as a dictionary key or argument.
func KCIInputSaturationKey ¶
KCIInputSaturationKey returns the string constant kCIInputSaturationKey, for use as a dictionary key or argument.
func KCIInputScaleFactorKey ¶
KCIInputScaleFactorKey returns the string constant kCIInputScaleFactorKey, for use as a dictionary key or argument.
func KCIInputScaleKey ¶
KCIInputScaleKey returns the string constant kCIInputScaleKey, for use as a dictionary key or argument.
func KCIInputShadingImageKey ¶
KCIInputShadingImageKey returns the string constant kCIInputShadingImageKey, for use as a dictionary key or argument.
func KCIInputSharpnessKey ¶
KCIInputSharpnessKey returns the string constant kCIInputSharpnessKey, for use as a dictionary key or argument.
func KCIInputTargetImageKey ¶
KCIInputTargetImageKey returns the string constant kCIInputTargetImageKey, for use as a dictionary key or argument.
func KCIInputThresholdKey ¶
KCIInputThresholdKey returns the string constant kCIInputThresholdKey, for use as a dictionary key or argument.
func KCIInputTimeKey ¶
KCIInputTimeKey returns the string constant kCIInputTimeKey, for use as a dictionary key or argument.
func KCIInputTransformKey ¶
KCIInputTransformKey returns the string constant kCIInputTransformKey, for use as a dictionary key or argument.
func KCIInputVersionKey ¶
KCIInputVersionKey returns the string constant kCIInputVersionKey, for use as a dictionary key or argument.
func KCIInputWeightsKey ¶
KCIInputWeightsKey returns the string constant kCIInputWeightsKey, for use as a dictionary key or argument.
func KCIInputWidthKey ¶
KCIInputWidthKey returns the string constant kCIInputWidthKey, for use as a dictionary key or argument.
func KCIOutputImageKey ¶
KCIOutputImageKey returns the string constant kCIOutputImageKey, for use as a dictionary key or argument.
func KCIOutputNativeSizeKey ¶
KCIOutputNativeSizeKey returns the string constant kCIOutputNativeSizeKey, for use as a dictionary key or argument.
func KCIPropertiesKey ¶
KCIPropertiesKey returns the string constant kCIPropertiesKey, for use as a dictionary key or argument.
func KCISamplerAffineMatrix ¶
KCISamplerAffineMatrix returns the string constant kCISamplerAffineMatrix, for use as a dictionary key or argument.
func KCISamplerColorSpace ¶
KCISamplerColorSpace returns the string constant kCISamplerColorSpace, for use as a dictionary key or argument.
func KCISamplerFilterLinear ¶
KCISamplerFilterLinear returns the string constant kCISamplerFilterLinear, for use as a dictionary key or argument.
func KCISamplerFilterMode ¶
KCISamplerFilterMode returns the string constant kCISamplerFilterMode, for use as a dictionary key or argument.
func KCISamplerFilterNearest ¶
KCISamplerFilterNearest returns the string constant kCISamplerFilterNearest, for use as a dictionary key or argument.
func KCISamplerWrapBlack ¶
KCISamplerWrapBlack returns the string constant kCISamplerWrapBlack, for use as a dictionary key or argument.
func KCISamplerWrapClamp ¶
KCISamplerWrapClamp returns the string constant kCISamplerWrapClamp, for use as a dictionary key or argument.
func KCISamplerWrapMode ¶
KCISamplerWrapMode returns the string constant kCISamplerWrapMode, for use as a dictionary key or argument.
func KCISupportedDecoderVersionsKey ¶
KCISupportedDecoderVersionsKey returns the string constant kCISupportedDecoderVersionsKey, for use as a dictionary key or argument.
func KCIUIParameterSet ¶
KCIUIParameterSet returns the string constant kCIUIParameterSet, for use as a dictionary key or argument.
func KCIUISetAdvanced ¶
KCIUISetAdvanced returns the string constant kCIUISetAdvanced, for use as a dictionary key or argument.
func KCIUISetBasic ¶
KCIUISetBasic returns the string constant kCIUISetBasic, for use as a dictionary key or argument.
func KCIUISetDevelopment ¶
KCIUISetDevelopment returns the string constant kCIUISetDevelopment, for use as a dictionary key or argument.
func KCIUISetIntermediate ¶
KCIUISetIntermediate returns the string constant kCIUISetIntermediate, for use as a dictionary key or argument.
func KernelNamesFromMetalLibraryData ¶ added in v0.17.0
KernelNamesFromMetalLibraryData return an array of strings containing the names of all of the kernels contained in the Metal library.
func LoadAllPlugIns ¶ added in v0.17.0
func LoadAllPlugIns()
LoadAllPlugIns scans directories for files that have the .plugin extension and then loads the image units.
func LoadNonExecutablePlugIn ¶ added in v0.17.0
func LoadNonExecutablePlugIn(url string)
LoadNonExecutablePlugIn loads a non-executable plug-in specified by its URL.
func LoadNonExecutablePlugIns ¶ added in v0.17.0
func LoadNonExecutablePlugIns()
LoadNonExecutablePlugIns scans directories for plugins.
func LoadPlugInAllowExecutableCode ¶ added in v0.17.0
LoadPlugInAllowExecutableCode loads filters from an image unit that have the appropriate executable status.
func LoadPlugInAllowNonExecutable ¶ added in v0.17.0
LoadPlugInAllowNonExecutable loads filters from an image unit that have the appropriate executable status.
func LocalizedDescriptionForFilterName ¶ added in v0.17.0
LocalizedDescriptionForFilterName returns the localized description of a filter for display in the UI.
func LocalizedNameForCategory ¶ added in v0.17.0
LocalizedNameForCategory returns the localized name of a category for display in the UI.
func LocalizedNameForFilterName ¶ added in v0.17.0
LocalizedNameForFilterName returns the localized name of a filter for display in the UI.
func LocalizedReferenceDocumentationForFilterName ¶ added in v0.17.0
LocalizedReferenceDocumentationForFilterName returns the URL to the localized reference documentation describing the filter. The URL can be a local file or a remote document on a webserver. It is possible, that this method returns nil (like filters that predate this feature). A client of this API has to handle this case gracefully.
func OfflineGPUCount ¶ added in v0.17.0
func OfflineGPUCount() int
OfflineGPUCount returns the number of GPUs not currently driving a display.
func OutputFormat ¶ added in v0.17.0
func OutputFormat() int
OutputFormat returns override this class property if you want your processor's output to be in a specific pixel format. The format must be one of `kCIFormatBGRA8`, `kCIFormatRGBAh`, `kCIFormatRGBAf` or `kCIFormatR8`. On iOS 12 and macOS 10.14, the formats `kCIFormatRh` and `kCIFormatRf` are also supported. If the outputFormat is `0`, then the output will be a supported format that best matches the rendering context's “/CIContext/workingFormat“. If a processor returns data in a color space other than the context working color space, then call “/CIImage/imageByColorMatchingColorSpaceToWorkingSpace:“ on the processor output. If a processor returns data as alpha-unpremultiplied RGBA data, then call, “/CIImage/imageByPremultiplyingAlpha“ on the processor output.
func OutputFormatAtIndexArguments ¶ added in v0.17.0
OutputFormatAtIndexArguments override this class method if your processor has more than one output and you want your processor’s output to be in a specific supported CIPixelFormat.
func OutputIsOpaque ¶ added in v0.17.0
func OutputIsOpaque() bool
OutputIsOpaque reports whether override this class property if your processor's output stores 1.0 into the alpha channel of all pixels within the output extent. If not overridden, false is returned.
func ProcessWithInputsArgumentsOutputs ¶ added in v0.17.0
func ProcessWithInputsArgumentsOutputs(inputs []obj.Object, arguments map[string]obj.Object, outputs []obj.Object) error
ProcessWithInputsArgumentsOutputs override this class method of your Core Image Processor Kernel subclass if it needs to produce multiple outputs.
func RoiForInputArgumentsOutputRect ¶ added in v0.17.0
func RoiForInputArgumentsOutputRect(inputIndex int, arguments map[string]obj.Object, outputRect corefoundation.CGRect) corefoundation.CGRect
RoiForInputArgumentsOutputRect override this class method to implement your processor’s ROI callback.
func SerializedXMPFromFiltersInputImageExtent ¶ added in v0.17.0
func SerializedXMPFromFiltersInputImageExtent(filters []*Filter, extent corefoundation.CGRect) []byte
SerializedXMPFromFiltersInputImageExtent wraps the corresponding Objective-C method.
func SupportedCameraModels ¶ added in v0.17.0
func SupportedCameraModels() []string
SupportedCameraModels returns the supported camera models.
SupportedCameraModels returns the collection as a Go slice.
func SupportedRawCameraModels ¶ added in v0.17.0
func SupportedRawCameraModels() []string
SupportedRawCameraModels returns a NSArray containing the names of all supported RAW cameras.
SupportedRawCameraModels returns the collection as a Go slice.
func SynchronizeInputs ¶ added in v0.17.0
func SynchronizeInputs() bool
SynchronizeInputs reports whether override this class property to return false if you want your processor to be given input objects that have not been synchronized for CPU access. Generally, if your subclass uses the GPU your should override this method to return false. If not overridden, true is returned.
Types ¶
type AztecCodeDescriptor ¶ added in v0.17.0
type AztecCodeDescriptor struct {
BarcodeDescriptor
}
AztecCodeDescriptor is an idiomatic wrapper over the Objective-C class CIAztecCodeDescriptor.
It embeds BarcodeDescriptor, promoting that type's methods.
A concrete subclass the Core Image Barcode Descriptor that represents an Aztec code symbol.
func AztecCodeDescriptorFromID ¶ added in v0.17.0
func AztecCodeDescriptorFromID(id objc.ID) *AztecCodeDescriptor
AztecCodeDescriptorFromID adopts an existing Objective-C object as a AztecCodeDescriptor (nil for 0), retaining it and registering a release finalizer.
func DescriptorWithPayloadIsCompactLayerCountDataCodewordCount ¶ added in v0.17.0
func DescriptorWithPayloadIsCompactLayerCountDataCodewordCount(errorCorrectedPayload []byte, isCompact bool, layerCount int, dataCodewordCount int) *AztecCodeDescriptor
DescriptorWithPayloadIsCompactLayerCountDataCodewordCount creates an Aztec code descriptor for the given payload and parameters.
func NewAztecCodeDescriptorWithPayloadIsCompactLayerCountDataCodewordCount ¶ added in v0.17.0
func NewAztecCodeDescriptorWithPayloadIsCompactLayerCountDataCodewordCount(errorCorrectedPayload []byte, isCompact bool, layerCount int, dataCodewordCount int) *AztecCodeDescriptor
NewAztecCodeDescriptorWithPayloadIsCompactLayerCountDataCodewordCount initializes an Aztec code descriptor for the given payload and parameters.
func (*AztecCodeDescriptor) DataCodewordCount ¶ added in v0.17.0
func (acd *AztecCodeDescriptor) DataCodewordCount() int
DataCodewordCount returns the number of non-error-correction codewords carried by the Aztec code symbol. Used to determine the level of error correction in conjunction with the number of data layers. Valid values are 1 to 2048. Compact symbols can have up to 64 message codewords. > Note: this value can exceed the number of message codewords allowed by the number of data layers in this symbol. In this case, the actual number of message codewords is 1024 fewer than this value and the message payload is to be interpreted in an application-defined manner.
func (*AztecCodeDescriptor) ErrorCorrectedPayload ¶ added in v0.17.0
func (acd *AztecCodeDescriptor) ErrorCorrectedPayload() []byte
ErrorCorrectedPayload returns the error-corrected payload that comprises the the Aztec code symbol. Aztec Codes are formally specified in ISO/IEC 24778:2008(E). The error corrected payload consists of the 6-, 8-, 10-, or 12-bit message codewords produced at the end of the step described in section 7.3.1.2 "Formation of data codewords", which exists immediately prior to adding error correction. These codewords have dummy bits inserted to ensure that an entire codeword isn't all 0's or all 1's. Clients will need to remove these extra bits as part of interpreting the payload.
func (*AztecCodeDescriptor) IsCompact ¶ added in v0.17.0
func (acd *AztecCodeDescriptor) IsCompact() bool
IsCompact reports whether a Boolean value telling if the Aztec code is compact. Compact Aztec symbols use one-fewer ring in the central finder pattern than full-range Aztec symbols of the same number of data layers.
func (*AztecCodeDescriptor) LayerCount ¶ added in v0.17.0
func (acd *AztecCodeDescriptor) LayerCount() int
LayerCount returns the number of data layers in the Aztec code symbol. Combined with “isCompact-property“, the number of data layers determines the number of modules in the Aztec Code symbol. Valid values range from 1 to 32. Compact symbols can have up to 4 data layers. The number of data layers also determines the number of bits in each data codeword of the message carried by the Aztec Code symbol.
type BarcodeDescriptor ¶ added in v0.17.0
BarcodeDescriptor is an idiomatic wrapper over the Objective-C class CIBarcodeDescriptor.
BarcodeDescriptor is an abstract base — you do not construct it directly. Construct one of AztecCodeDescriptor, DataMatrixCodeDescriptor, PDF417CodeDescriptor, QRCodeDescriptor and pass it where a BarcodeDescriptor is accepted.
An abstract base class that represents a machine-readable code’s attributes.
func BarcodeDescriptorFromID ¶ added in v0.17.0
func BarcodeDescriptorFromID(id objc.ID) *BarcodeDescriptor
BarcodeDescriptorFromID adopts an existing Objective-C object as a BarcodeDescriptor (nil for 0), retaining it and registering a release finalizer.
func (*BarcodeDescriptor) Description ¶ added in v0.17.0
func (bd *BarcodeDescriptor) Description() string
Description returns the object's -description text.
func (*BarcodeDescriptor) IsEqual ¶ added in v0.17.0
func (bd *BarcodeDescriptor) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*BarcodeDescriptor) IsKind ¶ added in v0.17.0
func (bd *BarcodeDescriptor) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*BarcodeDescriptor) String ¶ added in v0.17.0
func (bd *BarcodeDescriptor) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type BarcodeDescriptorProvider ¶ added in v0.17.0
type BarcodeDescriptorProvider interface {
objref.Object
// contains filtered or unexported methods
}
BarcodeDescriptorProvider is accepted wherever a CIBarcodeDescriptor (or one of its subclasses) is expected.
type BlendKernel ¶ added in v0.17.0
type BlendKernel struct {
ColorKernel
}
BlendKernel is an idiomatic wrapper over the Objective-C class CIBlendKernel.
It embeds ColorKernel, promoting that type's methods.
A GPU-based image-processing routine that is optimized for blending two images.
func BlendKernelFromID ¶ added in v0.17.0
func BlendKernelFromID(id objc.ID) *BlendKernel
BlendKernelFromID adopts an existing Objective-C object as a BlendKernel (nil for 0), retaining it and registering a release finalizer.
func CIBlendKernelColor ¶
func CIBlendKernelColor() *BlendKernel
CIBlendKernelColor returns the ci blend kernel color.
func ColorDodge ¶ added in v0.17.0
func ColorDodge() *BlendKernel
ColorDodge returns the color dodge.
func ComponentAdd ¶ added in v0.17.0
func ComponentAdd() *BlendKernel
ComponentAdd returns the component add.
func ComponentMax ¶ added in v0.17.0
func ComponentMax() *BlendKernel
ComponentMax returns the component max.
func ComponentMin ¶ added in v0.17.0
func ComponentMin() *BlendKernel
ComponentMin returns the component min.
func ComponentMultiply ¶ added in v0.17.0
func ComponentMultiply() *BlendKernel
ComponentMultiply returns the component multiply.
func DarkerColor ¶ added in v0.17.0
func DarkerColor() *BlendKernel
DarkerColor returns the darker color.
func Destination ¶ added in v0.17.0
func Destination() *BlendKernel
Destination returns the destination.
func DestinationAtop ¶ added in v0.17.0
func DestinationAtop() *BlendKernel
DestinationAtop returns the destination atop.
func DestinationIn ¶ added in v0.17.0
func DestinationIn() *BlendKernel
DestinationIn returns the destination in.
func DestinationOut ¶ added in v0.17.0
func DestinationOut() *BlendKernel
DestinationOut returns the destination out.
func DestinationOver ¶ added in v0.17.0
func DestinationOver() *BlendKernel
DestinationOver returns the destination over.
func Difference ¶ added in v0.17.0
func Difference() *BlendKernel
Difference returns the difference.
func ExclusiveOr ¶ added in v0.17.0
func ExclusiveOr() *BlendKernel
ExclusiveOr returns the exclusive or.
func KernelWithString ¶ added in v0.17.0
func KernelWithString(str string) *BlendKernel
KernelWithString creates a custom blend kernel from a program string.
func LighterColor ¶ added in v0.17.0
func LighterColor() *BlendKernel
LighterColor returns the lighter color.
func LinearBurn ¶ added in v0.17.0
func LinearBurn() *BlendKernel
LinearBurn returns the linear burn.
func LinearDodge ¶ added in v0.17.0
func LinearDodge() *BlendKernel
LinearDodge returns the linear dodge.
func LinearLight ¶ added in v0.17.0
func LinearLight() *BlendKernel
LinearLight returns the linear light.
func Luminosity ¶ added in v0.17.0
func Luminosity() *BlendKernel
Luminosity returns the luminosity.
func NewBlendKernel ¶ added in v0.17.0
func NewBlendKernel() *BlendKernel
NewBlendKernel creates a new BlendKernel.
func Saturation ¶ added in v0.17.0
func Saturation() *BlendKernel
Saturation returns the saturation.
func SourceAtop ¶ added in v0.17.0
func SourceAtop() *BlendKernel
SourceAtop returns the source atop.
func SourceOver ¶ added in v0.17.0
func SourceOver() *BlendKernel
SourceOver returns the source over.
func VividLight ¶ added in v0.17.0
func VividLight() *BlendKernel
VividLight returns the vivid light.
func (*BlendKernel) ApplyWithForegroundBackground ¶ added in v0.17.0
func (bk *BlendKernel) ApplyWithForegroundBackground(foreground *Image, background *Image) *Image
ApplyWithForegroundBackground creates a new image using the blend kernel and specified foreground and background images.
func (*BlendKernel) ApplyWithForegroundBackgroundColorSpace ¶ added in v0.17.0
func (bk *BlendKernel) ApplyWithForegroundBackgroundColorSpace(foreground *Image, background *Image, colorSpace coregraphics.CGColorSpaceRef) *Image
ApplyWithForegroundBackgroundColorSpace applies with foreground background color space.
type CGLCPContextPriorityRequest ¶
type CGLCPContextPriorityRequest int32
const ( KCGLCPContextPriorityRequestHigh CGLCPContextPriorityRequest = 0 KCGLCPContextPriorityRequestNormal CGLCPContextPriorityRequest = 1 KCGLCPContextPriorityRequestLow CGLCPContextPriorityRequest = 2 )
func (CGLCPContextPriorityRequest) String ¶
func (e CGLCPContextPriorityRequest) String() string
String returns the CGLCPContextPriorityRequest constant's name, or its numeric form when the value is not a known constant.
type Color ¶ added in v0.17.0
Color is an idiomatic wrapper over the Objective-C class CIColor.
The Core Image class that defines a color object.
func BlackColor ¶ added in v0.17.0
func BlackColor() *Color
BlackColor returns a singleton Core Image color instance in the sRGB color space with RGB values `0,0,0` and alpha value `1`.
func BlueColor ¶ added in v0.17.0
func BlueColor() *Color
BlueColor returns a singleton Core Image color instance in the sRGB color space with RGB values `0,0,1` and alpha value `1`.
func ClearColor ¶ added in v0.17.0
func ClearColor() *Color
ClearColor returns a singleton Core Image color instance in the sRGB color space with RGB values `0,0,0` and alpha value `0`.
func ColorFromID ¶ added in v0.17.0
ColorFromID adopts an existing Objective-C object as a Color (nil for 0), retaining it and registering a release finalizer.
func ColorWithCGColor ¶ added in v0.17.0
func ColorWithCGColor(color coregraphics.CGColorRef) *Color
ColorWithCGColor create a Core Image color object with a Core Graphics color object.
func ColorWithRedGreenBlue ¶ added in v0.17.0
ColorWithRedGreenBlue create a Core Image color object in the sRGB color space with the specified red, green, and blue component values.
func ColorWithRedGreenBlueAlpha ¶ added in v0.17.0
ColorWithRedGreenBlueAlpha create a Core Image color object in the sRGB color space with the specified red, green, blue, and alpha component values.
func ColorWithRedGreenBlueAlphaColorSpace ¶ added in v0.17.0
func ColorWithRedGreenBlueAlphaColorSpace(red float64, green float64, blue float64, alpha float64, colorSpace coregraphics.CGColorSpaceRef) *Color
ColorWithRedGreenBlueAlphaColorSpace create a Core Image color object with the specified red, green, blue, and alpha component values as measured in the specified color space.
func ColorWithRedGreenBlueColorSpace ¶ added in v0.17.0
func ColorWithRedGreenBlueColorSpace(red float64, green float64, blue float64, colorSpace coregraphics.CGColorSpaceRef) *Color
ColorWithRedGreenBlueColorSpace create a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
func ColorWithString ¶ added in v0.17.0
ColorWithString create a Core Image color object in the sRGB color space using a string containing the RGBA color component values.
func CyanColor ¶ added in v0.17.0
func CyanColor() *Color
CyanColor returns a singleton Core Image color instance in the sRGB color space with RGB values `0,1,1` and alpha value `1`.
func GrayColor ¶ added in v0.17.0
func GrayColor() *Color
GrayColor returns a singleton Core Image color instance in the sRGB color space with RGB values `0.5,0.5,0.5` and alpha value `1`.
func GreenColor ¶ added in v0.17.0
func GreenColor() *Color
GreenColor returns a singleton Core Image color instance in the sRGB color space with RGB values `0,1,0` and alpha value `1`.
func MagentaColor ¶ added in v0.17.0
func MagentaColor() *Color
MagentaColor returns a singleton Core Image color instance in the sRGB color space with RGB values `1,0,1` and alpha value `1`.
func NewColorWithCGColor ¶ added in v0.17.0
func NewColorWithCGColor(color coregraphics.CGColorRef) *Color
NewColorWithCGColor create a Core Image color object with a Core Graphics color object.
func NewColorWithRedGreenBlue ¶ added in v0.17.0
NewColorWithRedGreenBlue initialize a Core Image color object in the sRGB color space with the specified red, green, and blue component values.
func NewColorWithRedGreenBlueAlpha ¶ added in v0.17.0
NewColorWithRedGreenBlueAlpha initialize a Core Image color object in the sRGB color space with the specified red, green, blue, and alpha component values.
func NewColorWithRedGreenBlueAlphaColorSpace ¶ added in v0.17.0
func NewColorWithRedGreenBlueAlphaColorSpace(red float64, green float64, blue float64, alpha float64, colorSpace coregraphics.CGColorSpaceRef) *Color
NewColorWithRedGreenBlueAlphaColorSpace initialize a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
func NewColorWithRedGreenBlueColorSpace ¶ added in v0.17.0
func NewColorWithRedGreenBlueColorSpace(red float64, green float64, blue float64, colorSpace coregraphics.CGColorSpaceRef) *Color
NewColorWithRedGreenBlueColorSpace initialize a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
func RedColor ¶ added in v0.17.0
func RedColor() *Color
RedColor returns a singleton Core Image color instance in the sRGB color space with RGB values `1,0,0` and alpha value `1`.
func WhiteColor ¶ added in v0.17.0
func WhiteColor() *Color
WhiteColor returns a singleton Core Image color instance in the sRGB color space with RGB values `1,1,1` and alpha value `1`.
func YellowColor ¶ added in v0.17.0
func YellowColor() *Color
YellowColor returns a singleton Core Image color instance in the sRGB color space with RGB values `1,1,0` and alpha value `1`.
func (*Color) Blue ¶ added in v0.17.0
Blue returns the unpremultiplied blue component of the color. If the “CIColor“ was initialized with a `CGColor` in a non-RGB `CGColorSpace` then it will be converted to sRGB to get the green component.
func (*Color) ColorSpace ¶ added in v0.17.0
func (c *Color) ColorSpace() coregraphics.CGColorSpaceRef
ColorSpace returns the `CGColorSpace` associated with the color
func (*Color) Components ¶ added in v0.18.0
Components returns a pointer to an array of `CGFloat` values including alpha. Typically this array will contain `4` `CGFloat` values for red, green, blue, and alpha. If the “CIColor“ was initialized with a `CGColor` then returned pointer will be the same as calling `CGColorGetComponents()`
func (*Color) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*Color) Green ¶ added in v0.17.0
Green returns the unpremultiplied green component of the color. If the “CIColor“ was initialized with a `CGColor` in a non-RGB `CGColorSpace` then it will be converted to sRGB to get the green component.
func (*Color) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*Color) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
func (*Color) NumberOfComponents ¶ added in v0.17.0
NumberOfComponents returns the color components of the color including alpha. This number includes the alpha component if the color contains one. Typically this number will be `4` for red, green, blue, and alpha. If the “CIColor“ was initialized with a `CGColor` then the number will be the same as calling `CGColorGetNumberOfComponents()`
func (*Color) Red ¶ added in v0.17.0
Red returns the unpremultiplied red component of the color. If the “CIColor“ was initialized with a `CGColor` in a non-RGB `CGColorSpace` then it will be converted to sRGB to get the red component.
func (*Color) String ¶ added in v0.17.0
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*Color) StringRepresentation ¶ added in v0.17.0
StringRepresentation returns a formatted string with the unpremultiplied color and alpha components of the color. The string representation always has four components: red, green, blue, and alpha. Some example string representations of colors: `CIColor` | `stringRepresentation` ----------------------------------------------- | -------------- `[CIColor colorWithRed:0.2 green:0.4 blue:0.6]` | `"0.2 0.4 0.6 1.0"` “/CIColor/yellowColor“ | `"1.0 1.0 0.0 1.0"` To create a “CIColor“ instance from a string representation, use the “colorWithString:“ method. If the “CIColor“ was initialized with a `CGColor` in a non-RGB `CGColorSpace` then it will be converted to sRGB to get the red, green, and blue components. This property is not KVO-safe because it returns a new `NSString` instance each time. The value of the `NSString` will be the same each time it is called.
type ColorKernel ¶ added in v0.17.0
type ColorKernel struct {
Kernel
}
ColorKernel is an idiomatic wrapper over the Objective-C class CIColorKernel.
ColorKernel is an abstract base — you do not construct it directly. Construct one of BlendKernel and pass it where a ColorKernel is accepted.
A GPU-based image-processing routine that processes only the color information in images, used to create custom Core Image filters.
func CIColorKernelKernelWithString ¶
func CIColorKernelKernelWithString(str string) *ColorKernel
CIColorKernelKernelWithString creates a color kernel object from the specified kernel source code.
func ColorKernelFromID ¶ added in v0.17.0
func ColorKernelFromID(id objc.ID) *ColorKernel
ColorKernelFromID adopts an existing Objective-C object as a ColorKernel (nil for 0), retaining it and registering a release finalizer.
func (*ColorKernel) ApplyWithExtentArguments ¶ added in v0.17.0
func (ck *ColorKernel) ApplyWithExtentArguments(extent corefoundation.CGRect, args []obj.Object) *Image
ApplyWithExtentArguments creates a new image using the kernel and specified arguments.
type ColorKernelProvider ¶ added in v0.17.0
ColorKernelProvider is accepted wherever a CIColorKernel (or one of its subclasses) is expected.
type Context ¶ added in v0.17.0
Context is an idiomatic wrapper over the Objective-C class CIContext.
The Core Image context class provides an evaluation context for Core Image processing with Metal, OpenGL, or OpenCL.
func CIContextContext ¶
func CIContextContext() *Context
CIContextContext creates a context without a specific rendering destination, using default options.
func ContextForOfflineGPUAtIndex ¶ added in v0.17.0
ContextForOfflineGPUAtIndex wraps the corresponding Objective-C method.
func ContextForOfflineGPUAtIndexColorSpaceOptionsSharedContext ¶ added in v0.17.0
func ContextForOfflineGPUAtIndexColorSpaceOptionsSharedContext(index int, colorSpace coregraphics.CGColorSpaceRef, options obj.Object, sharedContext obj.Object) *Context
ContextForOfflineGPUAtIndexColorSpaceOptionsSharedContext wraps the corresponding Objective-C method.
func ContextFromID ¶ added in v0.17.0
ContextFromID adopts an existing Objective-C object as a Context (nil for 0), retaining it and registering a release finalizer.
func ContextWithCGContextOptions ¶ added in v0.17.0
func ContextWithCGContextOptions(cgctx coregraphics.CGContextRef, options obj.Object) *Context
ContextWithCGContextOptions creates a Core Image context from a Quartz context, using the specified options.
func ContextWithCGLContextPixelFormatColorSpaceOptions ¶ added in v0.17.0
func ContextWithCGLContextPixelFormatColorSpaceOptions(cglctx obj.Object, pixelFormat obj.Object, colorSpace coregraphics.CGColorSpaceRef, options obj.Object) *Context
ContextWithCGLContextPixelFormatColorSpaceOptions creates a Core Image context from a CGL context, using the specified options, color space, and pixel format object.
func ContextWithCGLContextPixelFormatOptions ¶ added in v0.17.0
func ContextWithCGLContextPixelFormatOptions(cglctx obj.Object, pixelFormat obj.Object, options obj.Object) *Context
ContextWithCGLContextPixelFormatOptions creates a Core Image context from a CGL context, using the specified options and pixel format object.
func ContextWithOptions ¶ added in v0.17.0
ContextWithOptions initializes a context without a specific rendering destination, using the specified options.
func NewContextWithOptions ¶ added in v0.17.0
NewContextWithOptions initializes a context without a specific rendering destination, using the specified options.
func (*Context) CalculateHDRStatsForCGImage ¶ added in v0.17.0
func (c *Context) CalculateHDRStatsForCGImage(cgimage coregraphics.CGImageRef) coregraphics.CGImageRef
CalculateHDRStatsForCGImage given a Core Graphics image, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then return a new Core Graphics image that has the calculated values.
func (*Context) CalculateHDRStatsForCVPixelBuffer ¶ added in v0.17.0
CalculateHDRStatsForCVPixelBuffer given a CVPixelBuffer, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then update the buffer’s attachments to store the values.
func (*Context) CalculateHDRStatsForIOSurface ¶ added in v0.17.0
func (c *Context) CalculateHDRStatsForIOSurface(surface coregraphics.IOSurfaceRef)
CalculateHDRStatsForIOSurface given an IOSurface, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then update the surface’s attachments to store the values.
func (*Context) CalculateHDRStatsForImage ¶ added in v0.17.0
CalculateHDRStatsForImage given a Core Image image, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then return a new Core Image image that has the calculated values.
func (*Context) ClearCaches ¶ added in v0.17.0
func (c *Context) ClearCaches()
ClearCaches frees any cached data, such as temporary images, associated with the context and runs the garbage collector.
func (*Context) CreateCGImageFromRect ¶ added in v0.17.0
func (c *Context) CreateCGImageFromRect(image *Image, fromRect corefoundation.CGRect) coregraphics.CGImageRef
CreateCGImageFromRect creates a Core Graphics image from a region of a Core Image image instance.
func (*Context) CreateCGImageFromRectFormatColorSpace ¶ added in v0.17.0
func (c *Context) CreateCGImageFromRectFormatColorSpace(image *Image, fromRect corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef) coregraphics.CGImageRef
CreateCGImageFromRectFormatColorSpace creates a Core Graphics image from a region of a Core Image image instance with an option for controlling the pixel format and color space of the CGImage.
func (*Context) CreateCGImageFromRectFormatColorSpaceDeferred ¶ added in v0.17.0
func (c *Context) CreateCGImageFromRectFormatColorSpaceDeferred(image *Image, fromRect corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef, deferred bool) coregraphics.CGImageRef
CreateCGImageFromRectFormatColorSpaceDeferred creates a Core Graphics image from a region of a Core Image image instance with an option for controlling when the image is rendered.
func (*Context) CreateCGImageFromRectFormatColorSpaceDeferredCalculateHDRStats ¶ added in v0.17.0
func (c *Context) CreateCGImageFromRectFormatColorSpaceDeferredCalculateHDRStats(image *Image, fromRect corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef, deferred bool, calculateHDRStats bool) coregraphics.CGImageRef
CreateCGImageFromRectFormatColorSpaceDeferredCalculateHDRStats creates a Core Graphics image from a region of a Core Image image instance with an option for calculating HDR statistics.
func (*Context) CreateCGLayerWithSizeInfo ¶ added in v0.17.0
func (c *Context) CreateCGLayerWithSizeInfo(size corefoundation.CGSize, info corefoundation.CFDictionaryRef) coregraphics.CGLayerRef
CreateCGLayerWithSizeInfo creates a CGLayer object from the provided parameters.
func (*Context) DepthBlurEffectFilterForImageDataOptions ¶ added in v0.17.0
DepthBlurEffectFilterForImageDataOptions create a CIFilter instance for the supplied image data that can be used to apply a depth blur effect.
func (*Context) DepthBlurEffectFilterForImageURLOptions ¶ added in v0.17.0
DepthBlurEffectFilterForImageURLOptions create a CIFilter instance for the supplied image URL that can be used to apply a depth blur effect.
func (*Context) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*Context) DrawImageAtPointFromRect ¶ added in v0.17.0
func (c *Context) DrawImageAtPointFromRect(image *Image, atPoint corefoundation.CGPoint, fromRect corefoundation.CGRect)
DrawImageAtPointFromRect renders a region of an image to a point in the context destination.
func (*Context) DrawImageInRectFromRect ¶ added in v0.17.0
func (c *Context) DrawImageInRectFromRect(image *Image, inRect corefoundation.CGRect, fromRect corefoundation.CGRect)
DrawImageInRectFromRect renders a region of an image to a rectangle in the context destination.
func (*Context) HEIF10RepresentationOfImageColorSpaceOptions ¶ added in v0.17.0
func (c *Context) HEIF10RepresentationOfImageColorSpaceOptions(image *Image, colorSpace coregraphics.CGColorSpaceRef, options obj.Object) (result []byte, err error)
HEIF10RepresentationOfImageColorSpaceOptions renders the image and exports the resulting image data in HEIF10 format.
func (*Context) HEIFRepresentationOfImageFormatColorSpaceOptions ¶ added in v0.17.0
func (c *Context) HEIFRepresentationOfImageFormatColorSpaceOptions(image *Image, format int, colorSpace coregraphics.CGColorSpaceRef, options obj.Object) []byte
HEIFRepresentationOfImageFormatColorSpaceOptions renders the image and exports the resulting image data in HEIF format.
func (*Context) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*Context) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
func (*Context) JPEGRepresentationOfImageColorSpaceOptions ¶ added in v0.17.0
func (c *Context) JPEGRepresentationOfImageColorSpaceOptions(image *Image, colorSpace coregraphics.CGColorSpaceRef, options obj.Object) []byte
JPEGRepresentationOfImageColorSpaceOptions renders the image and exports the resulting image data in JPEG format.
func (*Context) OpenEXRRepresentationOfImageOptions ¶ added in v0.17.0
func (c *Context) OpenEXRRepresentationOfImageOptions(image *Image, options obj.Object) (result []byte, err error)
OpenEXRRepresentationOfImageOptions renders the image and exports the resulting image data in open EXR format.
func (*Context) PNGRepresentationOfImageFormatColorSpaceOptions ¶ added in v0.17.0
func (c *Context) PNGRepresentationOfImageFormatColorSpaceOptions(image *Image, format int, colorSpace coregraphics.CGColorSpaceRef, options obj.Object) []byte
PNGRepresentationOfImageFormatColorSpaceOptions renders the image and exports the resulting image data in PNG format.
func (*Context) PrepareRenderFromRectToDestinationAtPoint ¶ added in v0.17.0
func (c *Context) PrepareRenderFromRectToDestinationAtPoint(image *Image, fromRect corefoundation.CGRect, destination *RenderDestination, atPoint corefoundation.CGPoint) error
PrepareRenderFromRectToDestinationAtPoint an optional call to warm up a CIContext so that subsequent calls to render with the same arguments run more efficiently.
func (*Context) ReclaimResources ¶ added in v0.17.0
func (c *Context) ReclaimResources()
ReclaimResources runs the garbage collector to reclaim any resources that the context no longer requires.
func (*Context) RenderToBitmapRowBytesBoundsFormatColorSpace ¶ added in v0.17.0
func (c *Context) RenderToBitmapRowBytesBoundsFormatColorSpace(image *Image, data unsafe.Pointer, rowBytes int, bounds corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef)
RenderToBitmapRowBytesBoundsFormatColorSpace renders to the given bitmap.
func (*Context) RenderToCVPixelBuffer ¶ added in v0.17.0
RenderToCVPixelBuffer renders an image into a pixel buffer.
func (*Context) RenderToCVPixelBufferBoundsColorSpace ¶ added in v0.17.0
func (c *Context) RenderToCVPixelBufferBoundsColorSpace(image *Image, buffer unsafe.Pointer, bounds corefoundation.CGRect, colorSpace coregraphics.CGColorSpaceRef)
RenderToCVPixelBufferBoundsColorSpace renders a region of an image into a pixel buffer.
func (*Context) RenderToIOSurfaceBoundsColorSpace ¶ added in v0.17.0
func (c *Context) RenderToIOSurfaceBoundsColorSpace(image *Image, surface coregraphics.IOSurfaceRef, bounds corefoundation.CGRect, colorSpace coregraphics.CGColorSpaceRef)
RenderToIOSurfaceBoundsColorSpace renders a region of an image into an IOSurface object.
func (*Context) StartTaskToClear ¶ added in v0.17.0
func (c *Context) StartTaskToClear(destination *RenderDestination) (result *RenderTask, err error)
StartTaskToClear fills the entire destination with black or clear depending on its alphaMode.
func (*Context) StartTaskToRenderFromRectToDestinationAtPoint ¶ added in v0.17.0
func (c *Context) StartTaskToRenderFromRectToDestinationAtPoint(image *Image, fromRect corefoundation.CGRect, destination *RenderDestination, atPoint corefoundation.CGPoint) (result *RenderTask, err error)
StartTaskToRenderFromRectToDestinationAtPoint renders a portion of an image to a point in the destination.
func (*Context) StartTaskToRenderToDestination ¶ added in v0.17.0
func (c *Context) StartTaskToRenderToDestination(image *Image, destination *RenderDestination) (result *RenderTask, err error)
StartTaskToRenderToDestination renders an image to a destination so that point (0, 0) of the image maps to point (0, 0) of the destination.
func (*Context) String ¶ added in v0.17.0
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*Context) TIFFRepresentationOfImageFormatColorSpaceOptions ¶ added in v0.17.0
func (c *Context) TIFFRepresentationOfImageFormatColorSpaceOptions(image *Image, format int, colorSpace coregraphics.CGColorSpaceRef, options obj.Object) []byte
TIFFRepresentationOfImageFormatColorSpaceOptions renders the image and exports the resulting image data in TIFF format.
func (*Context) WorkingColorSpace ¶ added in v0.17.0
func (c *Context) WorkingColorSpace() coregraphics.CGColorSpaceRef
WorkingColorSpace returns the working color space of the CIContext. The working color space determines the color space used when executing filter kernels. You specify a working color space using the “kCIContextWorkingColorSpace“ option when creating a “CIContext“. * All input images are color matched from the input's color space to the working space. * All renders are color matched from the working space to the destination space. The property will be `null` if the context was created with color management disabled.
func (*Context) WorkingFormat ¶ added in v0.17.0
WorkingFormat returns the working pixel format that the CIContext uses for intermediate buffers. The working format determines the pixel format that Core Image uses to create intermediate buffers for rendering images. You specify a working pixel format using the “kCIContextWorkingFormat“ option when creating a “CIContext“.
func (*Context) WriteHEIF10RepresentationOfImageToURLColorSpaceOptions ¶ added in v0.17.0
func (c *Context) WriteHEIF10RepresentationOfImageToURLColorSpaceOptions(image *Image, url string, colorSpace coregraphics.CGColorSpaceRef, options obj.Object) error
WriteHEIF10RepresentationOfImageToURLColorSpaceOptions renders the image and exports the resulting image data as a file in HEIF10 format.
func (*Context) WriteHEIFRepresentationOfImageToURLFormatColorSpaceOptions ¶ added in v0.17.0
func (c *Context) WriteHEIFRepresentationOfImageToURLFormatColorSpaceOptions(image *Image, url string, format int, colorSpace coregraphics.CGColorSpaceRef, options obj.Object) error
WriteHEIFRepresentationOfImageToURLFormatColorSpaceOptions renders the image and exports the resulting image data as a file in HEIF format.
func (*Context) WriteJPEGRepresentationOfImageToURLColorSpaceOptions ¶ added in v0.17.0
func (c *Context) WriteJPEGRepresentationOfImageToURLColorSpaceOptions(image *Image, url string, colorSpace coregraphics.CGColorSpaceRef, options obj.Object) error
WriteJPEGRepresentationOfImageToURLColorSpaceOptions renders the image and exports the resulting image data as a file in JPEG format.
func (*Context) WriteOpenEXRRepresentationOfImageToURLOptions ¶ added in v0.17.0
func (c *Context) WriteOpenEXRRepresentationOfImageToURLOptions(image *Image, url string, options obj.Object) error
WriteOpenEXRRepresentationOfImageToURLOptions renders the image and exports the resulting image data as a file in open EXR format.
func (*Context) WritePNGRepresentationOfImageToURLFormatColorSpaceOptions ¶ added in v0.17.0
func (c *Context) WritePNGRepresentationOfImageToURLFormatColorSpaceOptions(image *Image, url string, format int, colorSpace coregraphics.CGColorSpaceRef, options obj.Object) error
WritePNGRepresentationOfImageToURLFormatColorSpaceOptions renders the image and exports the resulting image data as a file in PNG format.
func (*Context) WriteTIFFRepresentationOfImageToURLFormatColorSpaceOptions ¶ added in v0.17.0
func (c *Context) WriteTIFFRepresentationOfImageToURLFormatColorSpaceOptions(image *Image, url string, format int, colorSpace coregraphics.CGColorSpaceRef, options obj.Object) error
WriteTIFFRepresentationOfImageToURLFormatColorSpaceOptions renders the image and exports the resulting image data as a file in TIFF format.
type DataMatrixCodeDescriptor ¶ added in v0.17.0
type DataMatrixCodeDescriptor struct {
BarcodeDescriptor
}
DataMatrixCodeDescriptor is an idiomatic wrapper over the Objective-C class CIDataMatrixCodeDescriptor.
It embeds BarcodeDescriptor, promoting that type's methods.
A concrete subclass the Core Image Barcode Descriptor that represents an Data Matrix code symbol.
func DataMatrixCodeDescriptorFromID ¶ added in v0.17.0
func DataMatrixCodeDescriptorFromID(id objc.ID) *DataMatrixCodeDescriptor
DataMatrixCodeDescriptorFromID adopts an existing Objective-C object as a DataMatrixCodeDescriptor (nil for 0), retaining it and registering a release finalizer.
func DescriptorWithPayloadRowCountColumnCountEccVersion ¶ added in v0.17.0
func DescriptorWithPayloadRowCountColumnCountEccVersion(errorCorrectedPayload []byte, rowCount int, columnCount int, eccVersion DataMatrixCodeECCVersion) *DataMatrixCodeDescriptor
DescriptorWithPayloadRowCountColumnCountEccVersion creates a Data Matrix code descriptor for the given payload and parameters.
func NewDataMatrixCodeDescriptorWithPayloadRowCountColumnCountEccVersion ¶ added in v0.17.0
func NewDataMatrixCodeDescriptorWithPayloadRowCountColumnCountEccVersion(errorCorrectedPayload []byte, rowCount int, columnCount int, eccVersion DataMatrixCodeECCVersion) *DataMatrixCodeDescriptor
NewDataMatrixCodeDescriptorWithPayloadRowCountColumnCountEccVersion initializes a Data Matrix code descriptor for the given payload and parameters.
func (*DataMatrixCodeDescriptor) ColumnCount ¶ added in v0.17.0
func (dmcd *DataMatrixCodeDescriptor) ColumnCount() int
ColumnCount returns the number of columns in the Data Matrix code symbol. Refer to ISO/IEC 16022:2006(E) for valid module row and column count combinations.
func (*DataMatrixCodeDescriptor) EccVersion ¶ added in v0.17.0
func (dmcd *DataMatrixCodeDescriptor) EccVersion() DataMatrixCodeECCVersion
EccVersion returns the error correction version of the Data Matrix code symbol. The possible error correction version are enumerated in “CIDataMatrixCodeECCVersion“. Any symbol with an even number of rows and columns will be ECC 200.
func (*DataMatrixCodeDescriptor) ErrorCorrectedPayload ¶ added in v0.17.0
func (dmcd *DataMatrixCodeDescriptor) ErrorCorrectedPayload() []byte
ErrorCorrectedPayload returns the error-corrected payload containing the data encoded in the Data Matrix code symbol. DataMatrix symbols are specified bn ISO/IEC 16022:2006(E). ECC 200-type symbols will always have an even number of rows and columns. For ECC 200-type symbols, the phases of encoding data into a symbol are described in section 5.1 -- Encode procedure overview. The error corrected payload comprises the de-interleaved bits of the message described at the end of Step 1: Data encodation.
func (*DataMatrixCodeDescriptor) RowCount ¶ added in v0.17.0
func (dmcd *DataMatrixCodeDescriptor) RowCount() int
RowCount returns the number of rows in the Data Matrix code symbol. Refer to ISO/IEC 16022:2006(E) for valid module row and column count combinations.
type DataMatrixCodeECCVersion ¶ added in v0.17.0
type DataMatrixCodeECCVersion int64
Constants indicating the Data Matrix code ECC version.
const ( // Indicates error correction using convolutional code error correction with no data protection. DataMatrixCodeECCVersion000 DataMatrixCodeECCVersion = 0 // Indicates 1/4 of the symbol is dedicated to convolutional code error correction. DataMatrixCodeECCVersion050 DataMatrixCodeECCVersion = 50 // Indicates 1/3 of the symbol is dedicated to convolutional code error correction. DataMatrixCodeECCVersion080 DataMatrixCodeECCVersion = 80 // Indicates 1/2 of the symbol is dedicated to convolutional code error correction. DataMatrixCodeECCVersion100 DataMatrixCodeECCVersion = 100 // Indicates 3/4 of the symbol is dedicated to convolutional code error correction. DataMatrixCodeECCVersion140 DataMatrixCodeECCVersion = 140 // Indicates error correction using Reed-Solomon error correction. Data protection overhead varies based on symbol size. DataMatrixCodeECCVersion200 DataMatrixCodeECCVersion = 200 )
func (DataMatrixCodeECCVersion) String ¶ added in v0.17.0
func (e DataMatrixCodeECCVersion) String() string
String returns the DataMatrixCodeECCVersion constant's name, or its numeric form when the value is not a known constant.
type Detector ¶ added in v0.17.0
Detector is an idiomatic wrapper over the Objective-C class CIDetector.
An image processor that identifies notable features, such as faces and barcodes, in a still image or video.
func DetectorFromID ¶ added in v0.17.0
DetectorFromID adopts an existing Objective-C object as a Detector (nil for 0), retaining it and registering a release finalizer.
func DetectorOfTypeContextOptions ¶ added in v0.17.0
func DetectorOfTypeContextOptions(type_ string, context_ *Context, options map[string]obj.Object) *Detector
DetectorOfTypeContextOptions creates and returns a configured detector.
func NewDetector ¶ added in v0.17.0
func NewDetector() *Detector
NewDetector creates a new Detector.
func (*Detector) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*Detector) FeaturesInImage ¶ added in v0.17.0
FeaturesInImage searches for features in an image.
func (*Detector) FeaturesInImageOptions ¶ added in v0.17.0
FeaturesInImageOptions searches for features in an image based on the specified image orientation.
func (*Detector) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
type DispatchAutoreleaseFrequency ¶ added in v0.17.0
type DispatchAutoreleaseFrequency uint64
const ( DispatchAutoreleaseFrequencyInherit DispatchAutoreleaseFrequency = 0 DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1 DispatchAutoreleaseFrequencyNever DispatchAutoreleaseFrequency = 2 )
func (DispatchAutoreleaseFrequency) String ¶ added in v0.17.0
func (e DispatchAutoreleaseFrequency) String() string
String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.
type DispatchBlockFlags ¶ added in v0.17.0
type DispatchBlockFlags uint64
Bitmask — values may be combined with |.
const ( DispatchBlockFlagsBarrier DispatchBlockFlags = 1 DispatchBlockFlagsDetached DispatchBlockFlags = 2 DispatchBlockFlagsAssignCurrent DispatchBlockFlags = 4 DispatchBlockFlagsNoQosClass DispatchBlockFlags = 8 DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16 DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32 )
func (DispatchBlockFlags) String ¶ added in v0.17.0
func (e DispatchBlockFlags) String() string
String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.
type FaceFeature ¶ added in v0.17.0
type FaceFeature struct {
Feature
}
FaceFeature is an idiomatic wrapper over the Objective-C class CIFaceFeature.
It embeds Feature, promoting that type's methods.
Information about a face detected in a still or video image.
func FaceFeatureFromID ¶ added in v0.17.0
func FaceFeatureFromID(id objc.ID) *FaceFeature
FaceFeatureFromID adopts an existing Objective-C object as a FaceFeature (nil for 0), retaining it and registering a release finalizer.
func NewFaceFeature ¶ added in v0.17.0
func NewFaceFeature() *FaceFeature
NewFaceFeature creates a new FaceFeature.
func (*FaceFeature) FaceAngle ¶ added in v0.17.0
func (ff *FaceFeature) FaceAngle() float32
FaceAngle returns the rotation of the face. Rotation is measured counterclockwise in degrees, with zero indicating that a line drawn between the eyes is horizontal relative to the image orientation.
func (*FaceFeature) HasFaceAngle ¶ added in v0.17.0
func (ff *FaceFeature) HasFaceAngle() bool
HasFaceAngle reports whether information about face rotation is available.
func (*FaceFeature) HasLeftEyePosition ¶ added in v0.17.0
func (ff *FaceFeature) HasLeftEyePosition() bool
HasLeftEyePosition reports whether the detector found the face’s left eye.
func (*FaceFeature) HasMouthPosition ¶ added in v0.17.0
func (ff *FaceFeature) HasMouthPosition() bool
HasMouthPosition reports whether the detector found the face’s mouth.
func (*FaceFeature) HasRightEyePosition ¶ added in v0.17.0
func (ff *FaceFeature) HasRightEyePosition() bool
HasRightEyePosition reports whether the detector found the face’s right eye.
func (*FaceFeature) HasSmile ¶ added in v0.17.0
func (ff *FaceFeature) HasSmile() bool
HasSmile reports whether a smile is detected in the face. To detect smiles, “/CIDetector/featuresInImage:options:“ needs to be called with the “CIDetectorSmile“ option set to true.
func (*FaceFeature) HasTrackingFrameCount ¶ added in v0.17.0
func (ff *FaceFeature) HasTrackingFrameCount() bool
HasTrackingFrameCount reports whether a Boolean value that indicates the face object has a tracking frame count.
func (*FaceFeature) HasTrackingID ¶ added in v0.17.0
func (ff *FaceFeature) HasTrackingID() bool
HasTrackingID reports whether the face object has a tracking ID.
func (*FaceFeature) LeftEyeClosed ¶ added in v0.17.0
func (ff *FaceFeature) LeftEyeClosed() bool
LeftEyeClosed reports whether a closed left eye is detected in the face. To detect closed eyes, “/CIDetector/featuresInImage:options:“ needs to be called with the “CIDetectorEyeBlink“ option set to true.
func (*FaceFeature) LeftEyePosition ¶ added in v0.17.0
func (ff *FaceFeature) LeftEyePosition() corefoundation.CGPoint
LeftEyePosition returns the image coordinate of the center of the left eye. > Note: The left eye is on the left side of the face from the observer's perspective. It is not the left eye from the subject's perspective.
func (*FaceFeature) MouthPosition ¶ added in v0.17.0
func (ff *FaceFeature) MouthPosition() corefoundation.CGPoint
MouthPosition returns the image coordinate of the center of the mouth.
func (*FaceFeature) RightEyeClosed ¶ added in v0.17.0
func (ff *FaceFeature) RightEyeClosed() bool
RightEyeClosed reports whether a closed right eye is detected in the face. To detect closed eyes, “/CIDetector/featuresInImage:options:“ needs to be called with the “CIDetectorEyeBlink“ option set to true.
func (*FaceFeature) RightEyePosition ¶ added in v0.17.0
func (ff *FaceFeature) RightEyePosition() corefoundation.CGPoint
RightEyePosition returns the image coordinate of the center of the right eye. > Note: The right eye is on the right side of the face from the observer's perspective. It is not the right eye from the subject's perspective.
func (*FaceFeature) TrackingFrameCount ¶ added in v0.17.0
func (ff *FaceFeature) TrackingFrameCount() int
TrackingFrameCount returns the tracking frame count of the face.
func (*FaceFeature) TrackingID ¶ added in v0.17.0
func (ff *FaceFeature) TrackingID() int
TrackingID returns the tracking identifier of the face object. Core Image provides a tracking identifier for faces it detects in a video stream, which you can use to identify when a CIFaceFeature objects detected in one video frame is the same face detected in a previous video frame. This identifier persists only as long as a face is in the frame and is not associated with a specific face. In other words, if a face moves out of the video frame and comes back into the frame later, another ID is assigned. (Core Image detects faces, but does not recognize specific faces.)
type Feature ¶ added in v0.17.0
Feature is an idiomatic wrapper over the Objective-C class CIFeature.
Feature is an abstract base — you do not construct it directly. Construct one of FaceFeature, QRCodeFeature, RectangleFeature, TextFeature and pass it where a Feature is accepted.
The abstract superclass for objects representing notable features detected in an image.
func FeatureFromID ¶ added in v0.17.0
FeatureFromID adopts an existing Objective-C object as a Feature (nil for 0), retaining it and registering a release finalizer.
func (*Feature) Bounds ¶ added in v0.17.0
func (f *Feature) Bounds() corefoundation.CGRect
Bounds returns the rectangle that bounds the location of discovered feature. The rectangle is in the cartesian coordinate system of the image.
func (*Feature) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*Feature) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*Feature) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
type FeatureProvider ¶ added in v0.17.0
FeatureProvider is accepted wherever a CIFeature (or one of its subclasses) is expected.
type FilesecProperty ¶ added in v0.17.0
type FilesecProperty int32
const ( FilesecPropertyOwner FilesecProperty = 1 FilesecPropertyGroup FilesecProperty = 2 FilesecPropertyUUID FilesecProperty = 3 FilesecPropertyMode FilesecProperty = 4 FilesecPropertyACL FilesecProperty = 5 FilesecPropertyGrpuuid FilesecProperty = 6 FilesecPropertyACLRaw FilesecProperty = 100 FilesecPropertyACLAllocsize FilesecProperty = 101 )
func (FilesecProperty) String ¶ added in v0.17.0
func (e FilesecProperty) String() string
String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.
type Filter ¶ added in v0.17.0
Filter is an idiomatic wrapper over the Objective-C class CIFilter.
Filter is an abstract base — you do not construct it directly. Construct one of RAWFilter and pass it where a Filter is accepted.
An image processor that produces an image by manipulating one or more input images or by generating new image data.
func FilterArrayFromSerializedXMPInputImageExtent ¶ added in v0.17.0
func FilterArrayFromSerializedXMPInputImageExtent(xmpData []byte, extent corefoundation.CGRect) (result []*Filter, err error)
FilterArrayFromSerializedXMPInputImageExtent wraps the corresponding Objective-C method.
func FilterFromID ¶ added in v0.17.0
FilterFromID adopts an existing Objective-C object as a Filter (nil for 0), retaining it and registering a release finalizer.
func FilterWithCVPixelBufferPropertiesOptions ¶ added in v0.17.0
func FilterWithCVPixelBufferPropertiesOptions(pixelBuffer unsafe.Pointer, properties obj.Object, options obj.Object) *Filter
FilterWithCVPixelBufferPropertiesOptions returns a CIFilter that will in turn return a properly processed CIImage as "outputImage". Note that when using this initializer, you should pass in a CVPixelBufferRef with one of the following Raw pixel format types kCVPixelFormatType_14Bayer_GRBG, kCVPixelFormatType_14Bayer_RGGB, kCVPixelFormatType_14Bayer_BGGR, kCVPixelFormatType_14Bayer_GBRG as well as the root properties attachment from the CMSampleBufferRef.
func FilterWithImageDataOptions ¶ added in v0.17.0
FilterWithImageDataOptions returns a CIFilter that will in turn return a properly processed CIImage as "outputImage". Note that when using this initializer, you should pass in a source type identifier hint (kCGImageSourceTypeIdentifierHint) key/value pair in order to help the decoder determine the file type, as otherwise confusion and incorrect results are possible.
func FilterWithImageURLOptions ¶ added in v0.17.0
FilterWithImageURLOptions returns a CIFilter that will in turn return a properly processed CIImage as "outputImage".
func FilterWithName ¶ added in v0.17.0
FilterWithName creates a new filter of type 'name'. On OSX, all input values will be undefined. On iOS, all input values will be set to default values.
func FilterWithNameWithInputParameters ¶ added in v0.17.0
FilterWithNameWithInputParameters creates a new filter of type 'name'. The filter's input parameters are set from the dictionary of key-value pairs. On OSX, any of the filter input parameters not specified in the dictionary will be undefined. On iOS, any of the filter input parameters not specified in the dictionary will be set to default values.
func (*Filter) ApplyArgumentsOptions ¶ added in v0.17.0
func (f *Filter) ApplyArgumentsOptions(k *Kernel, args obj.Object, dict map[string]obj.Object) *Image
ApplyArgumentsOptions used by CIFilter subclasses to apply the array of argument values 'args' to the kernel function 'k'. The supplied arguments must be type-compatible with the function signature of the kernel. The key-value pairs defined by 'dict' (if non-nil) are used to control exactly how the kernel is evaluated. Valid keys include: kCIApplyOptionExtent: the size of the produced image. Value is a four element NSArray [X Y WIDTH HEIGHT]. kCIApplyOptionDefinition: the Domain of Definition of the produced image. Value is either a CIFilterShape object, or a four element NSArray defining a rectangle.
func (*Filter) Attributes ¶ added in v0.17.0
Attributes returns a dictionary containing key/value pairs describing the filter. (see description of keys below)
func (*Filter) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*Filter) InputKeys ¶ added in v0.17.0
InputKeys returns an array containing the names of all inputs in the filter.
InputKeys returns the collection as a Go slice.
func (*Filter) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*Filter) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
func (*Filter) OutputImage ¶ added in v0.17.0
OutputImage returns the output image.
func (*Filter) OutputKeys ¶ added in v0.17.0
OutputKeys returns an array containing the names of all outputs in the filter.
OutputKeys returns the collection as a Go slice.
func (*Filter) SetDefaults ¶ added in v0.17.0
func (f *Filter) SetDefaults()
SetDefaults sets all inputs to their default values (where default values are defined, other inputs are left as-is).
func (*Filter) String ¶ added in v0.17.0
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*Filter) WithEnabled ¶ added in v0.17.0
WithEnabled sets the enabled.
type FilterConstructor ¶ added in v0.17.0
type FilterConstructor interface {
}
FilterConstructor is the Go form of the Objective-C protocol CIFilterConstructor.
type FilterGenerator ¶ added in v0.17.0
FilterGenerator is an idiomatic wrapper over the Objective-C class CIFilterGenerator.
An object that creates and configures chains of individual image filters.
func CIFilterGeneratorFilterGenerator ¶
func CIFilterGeneratorFilterGenerator() *FilterGenerator
CIFilterGeneratorFilterGenerator creates and returns an empty filter generator object.
func FilterGeneratorFromID ¶ added in v0.17.0
func FilterGeneratorFromID(id objc.ID) *FilterGenerator
FilterGeneratorFromID adopts an existing Objective-C object as a FilterGenerator (nil for 0), retaining it and registering a release finalizer.
func FilterGeneratorWithContentsOfURL ¶ added in v0.17.0
func FilterGeneratorWithContentsOfURL(aURL string) *FilterGenerator
FilterGeneratorWithContentsOfURL creates and returns a filter generator object and initializes it with the contents of a filter generator file.
func NewFilterGeneratorWithContentsOfURL ¶ added in v0.17.0
func NewFilterGeneratorWithContentsOfURL(aURL string) *FilterGenerator
NewFilterGeneratorWithContentsOfURL initializes a filter generator object with the contents of a filter generator file.
func (*FilterGenerator) ClassAttributes ¶ added in v0.17.0
func (fg *FilterGenerator) ClassAttributes() obj.Object
ClassAttributes returns retrieve or Set the class attributes that will be used to register the filter using the registerFilterName method. Make sure you set the class attributes before using the registerFilterName method. See CIFilter for a description of the classAttributes that are needed to register a filter.
func (*FilterGenerator) ConnectObjectWithKeyToObjectWithKey ¶ added in v0.17.0
func (fg *FilterGenerator) ConnectObjectWithKeyToObjectWithKey(sourceObject obj.Object, sourceKey string, targetObject obj.Object, targetKey string)
ConnectObjectWithKeyToObjectWithKey adds an object to the filter chain.
func (*FilterGenerator) Description ¶ added in v0.17.0
func (fg *FilterGenerator) Description() string
Description returns the object's -description text.
func (*FilterGenerator) DisconnectObjectWithKeyToObjectWithKey ¶ added in v0.17.0
func (fg *FilterGenerator) DisconnectObjectWithKeyToObjectWithKey(sourceObject obj.Object, sourceKey string, targetObject obj.Object, targetKey string)
DisconnectObjectWithKeyToObjectWithKey removes the connection between two objects in the filter chain.
func (*FilterGenerator) ExportKeyFromObjectWithName ¶ added in v0.17.0
func (fg *FilterGenerator) ExportKeyFromObjectWithName(key string, targetObject obj.Object, exportedKeyName string)
ExportKeyFromObjectWithName exports an input or output key of an object in the filter chain.
func (*FilterGenerator) ExportedKeys ¶ added in v0.17.0
func (fg *FilterGenerator) ExportedKeys() obj.Object
ExportedKeys returns an array of the exported keys. Use this method to get an NSArray of all the keys that you have exported using exportKey:fromObject:withName: or that were exported before written to a file from which you read the filter chain.
func (*FilterGenerator) Filter ¶ added in v0.17.0
func (fg *FilterGenerator) Filter() *Filter
Filter creates a filter object based on the filter chain.
func (*FilterGenerator) IsEqual ¶ added in v0.17.0
func (fg *FilterGenerator) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*FilterGenerator) IsKind ¶ added in v0.17.0
func (fg *FilterGenerator) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*FilterGenerator) RegisterFilterName ¶ added in v0.17.0
func (fg *FilterGenerator) RegisterFilterName(name string)
RegisterFilterName registers the name associated with a filter chain.
func (*FilterGenerator) RemoveExportedKey ¶ added in v0.17.0
func (fg *FilterGenerator) RemoveExportedKey(exportedKeyName string)
RemoveExportedKey removes a key that was previously exported.
func (*FilterGenerator) SetAttributesForExportedKey ¶ added in v0.17.0
func (fg *FilterGenerator) SetAttributesForExportedKey(attributes obj.Object, key string)
SetAttributesForExportedKey sets a dictionary of attributes for an exported key.
func (*FilterGenerator) String ¶ added in v0.17.0
func (fg *FilterGenerator) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*FilterGenerator) WithClassAttributes ¶ added in v0.17.0
func (fg *FilterGenerator) WithClassAttributes(classAttributes obj.Object) *FilterGenerator
WithClassAttributes sets the class attributes associated with the filter.
func (*FilterGenerator) WriteToURLAtomically ¶ added in v0.17.0
func (fg *FilterGenerator) WriteToURLAtomically(aURL string, flag bool) bool
WriteToURLAtomically archives a filter generator object to a filter generator file.
type FilterProtocol ¶ added in v0.17.0
type FilterProtocol interface {
OutputImage() *Image
}
FilterProtocol is the Go form of the Objective-C protocol CIFilter.
type FilterProvider ¶ added in v0.17.0
FilterProvider is accepted wherever a CIFilter (or one of its subclasses) is expected.
type FilterShape ¶ added in v0.17.0
FilterShape is an idiomatic wrapper over the Objective-C class CIFilterShape.
A description of the bounding shape of a filter and the domain of definition for a filter operation.
func FilterShapeFromID ¶ added in v0.17.0
func FilterShapeFromID(id objc.ID) *FilterShape
FilterShapeFromID adopts an existing Objective-C object as a FilterShape (nil for 0), retaining it and registering a release finalizer.
func NewFilterShapeWithRect ¶ added in v0.17.0
func NewFilterShapeWithRect(r corefoundation.CGRect) *FilterShape
NewFilterShapeWithRect initializes a filter shape object with a rectangle.
func ShapeWithRect ¶ added in v0.17.0
func ShapeWithRect(r corefoundation.CGRect) *FilterShape
ShapeWithRect creates a filter shape object and initializes it with a rectangle.
func (*FilterShape) Description ¶ added in v0.17.0
func (fs *FilterShape) Description() string
Description returns the object's -description text.
func (*FilterShape) Extent ¶ added in v0.17.0
func (fs *FilterShape) Extent() corefoundation.CGRect
Extent returns the extent.
func (*FilterShape) InsetByXY ¶ added in v0.17.0
func (fs *FilterShape) InsetByXY(dx int, dy int) *FilterShape
InsetByXY modifies a filter shape object so that it is inset by the specified x and y values.
func (*FilterShape) IntersectWith ¶ added in v0.17.0
func (fs *FilterShape) IntersectWith(s2 *FilterShape) *FilterShape
IntersectWith creates a filter shape object that represents the intersection of the current filter shape and the specified filter shape object.
func (*FilterShape) IntersectWithRect ¶ added in v0.17.0
func (fs *FilterShape) IntersectWithRect(r corefoundation.CGRect) *FilterShape
IntersectWithRect creates a filter shape that represents the intersection of the current filter shape and a rectangle.
func (*FilterShape) IsEqual ¶ added in v0.17.0
func (fs *FilterShape) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*FilterShape) IsKind ¶ added in v0.17.0
func (fs *FilterShape) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*FilterShape) String ¶ added in v0.17.0
func (fs *FilterShape) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*FilterShape) TransformByInterior ¶ added in v0.17.0
func (fs *FilterShape) TransformByInterior(m corefoundation.CGAffineTransform, flag bool) *FilterShape
TransformByInterior creates a filter shape that results from applying a transform to the current filter shape.
func (*FilterShape) UnionWith ¶ added in v0.17.0
func (fs *FilterShape) UnionWith(s2 *FilterShape) *FilterShape
UnionWith creates a filter shape that results from the union of the current filter shape and another filter shape object.
func (*FilterShape) UnionWithRect ¶ added in v0.17.0
func (fs *FilterShape) UnionWithRect(r corefoundation.CGRect) *FilterShape
UnionWithRect creates a filter shape that results from the union of the current filter shape and a rectangle.
type Image ¶ added in v0.17.0
Image is an idiomatic wrapper over the Objective-C class CIImage.
A representation of an image to be processed or produced by Core Image filters.
func ApplyWithExtentInputsArguments ¶ added in v0.17.0
func ApplyWithExtentInputsArguments(extent corefoundation.CGRect, inputs []*Image, arguments map[string]obj.Object) (result *Image, err error)
ApplyWithExtentInputsArguments call this method on your Core Image Processor Kernel subclass to create a new image of the specified extent.
func ApplyWithExtentsInputsArguments ¶ added in v0.17.0
func ApplyWithExtentsInputsArguments(extents []*Vector, inputs []*Image, arguments map[string]obj.Object) (result []*Image, err error)
ApplyWithExtentsInputsArguments call this method on your multiple-output Core Image Processor Kernel subclass to create an array of new image objects given the specified array of extents.
func EmptyImage ¶ added in v0.17.0
func EmptyImage() *Image
EmptyImage creates and returns an empty image object.
func ImageFromID ¶ added in v0.17.0
ImageFromID adopts an existing Objective-C object as a Image (nil for 0), retaining it and registering a release finalizer.
func ImageWithBitmapDataBytesPerRowSizeFormatColorSpace ¶ added in v0.17.0
func ImageWithBitmapDataBytesPerRowSizeFormatColorSpace(data []byte, bytesPerRow int, size corefoundation.CGSize, format int, colorSpace coregraphics.CGColorSpaceRef) *Image
ImageWithBitmapDataBytesPerRowSizeFormatColorSpace creates and returns an image object from bitmap data.
func ImageWithCGImage ¶ added in v0.17.0
func ImageWithCGImage(image coregraphics.CGImageRef) *Image
ImageWithCGImage creates and returns an image object from a Quartz 2D image.
func ImageWithCGImageOptions ¶ added in v0.17.0
func ImageWithCGImageOptions(image coregraphics.CGImageRef, options obj.Object) *Image
ImageWithCGImageOptions creates and returns an image object from a Quartz 2D image using the specified options.
func ImageWithCGImageSourceIndexOptions ¶ added in v0.17.0
func ImageWithCGImageSourceIndexOptions(source coregraphics.CGImageSourceRef, index int, dict obj.Object) *Image
ImageWithCGImageSourceIndexOptions wraps the corresponding Objective-C method.
func ImageWithCGLayer ¶ added in v0.17.0
func ImageWithCGLayer(layer coregraphics.CGLayerRef) *Image
ImageWithCGLayer creates and returns an image object from the contents supplied by a CGLayer object.
func ImageWithCGLayerOptions ¶ added in v0.17.0
func ImageWithCGLayerOptions(layer coregraphics.CGLayerRef, options obj.Object) *Image
ImageWithCGLayerOptions creates and returns an image object from the contents supplied by a CGLayer object, using the specified options.
func ImageWithCVImageBuffer ¶ added in v0.17.0
ImageWithCVImageBuffer creates and returns an image object from the contents of CVImageBuffer object.
func ImageWithCVImageBufferOptions ¶ added in v0.17.0
ImageWithCVImageBufferOptions creates and returns an image object from the contents of CVImageBuffer object, using the specified options.
func ImageWithCVPixelBuffer ¶ added in v0.17.0
ImageWithCVPixelBuffer creates and returns an image object from the contents of CVPixelBuffer object.
func ImageWithCVPixelBufferOptions ¶ added in v0.17.0
ImageWithCVPixelBufferOptions creates and returns an image object from the contents of CVPixelBuffer object, using the specified options.
func ImageWithColor ¶ added in v0.17.0
ImageWithColor creates and returns an image of infinite extent whose entire content is the specified color.
func ImageWithContentsOfURL ¶ added in v0.17.0
ImageWithContentsOfURL creates and returns an image object from the contents of a file.
func ImageWithContentsOfURLOptions ¶ added in v0.17.0
ImageWithContentsOfURLOptions creates and returns an image object from the contents of a file, using the specified options.
func ImageWithData ¶ added in v0.17.0
ImageWithData creates and returns an image object initialized with the supplied image data.
func ImageWithDataOptions ¶ added in v0.17.0
ImageWithDataOptions creates and returns an image object initialized with the supplied image data, using the specified options.
func ImageWithDepthData ¶ added in v0.17.0
ImageWithDepthData wraps the corresponding Objective-C method.
func ImageWithDepthDataOptions ¶ added in v0.17.0
ImageWithDepthDataOptions wraps the corresponding Objective-C method.
func ImageWithIOSurface ¶ added in v0.17.0
func ImageWithIOSurface(surface coregraphics.IOSurfaceRef) *Image
ImageWithIOSurface creates and returns an image from the contents of an IOSurface.
func ImageWithIOSurfaceOptions ¶ added in v0.17.0
func ImageWithIOSurfaceOptions(surface coregraphics.IOSurfaceRef, options obj.Object) *Image
ImageWithIOSurfaceOptions creates, using the specified options, and returns an image from the contents of an IOSurface.
func ImageWithImageProviderSizeFormatColorSpaceOptions ¶ added in v0.17.0
func ImageWithImageProviderSizeFormatColorSpaceOptions(provider obj.Object, width int, height int, format int, colorSpace coregraphics.CGColorSpaceRef, options obj.Object) *Image
ImageWithImageProviderSizeFormatColorSpaceOptions create an image object based on pixels from an image provider object.
func ImageWithPortaitEffectsMatte ¶ added in v0.17.0
ImageWithPortaitEffectsMatte wraps the corresponding Objective-C method.
func ImageWithPortaitEffectsMatteOptions ¶ added in v0.17.0
ImageWithPortaitEffectsMatteOptions wraps the corresponding Objective-C method.
func ImageWithSemanticSegmentationMatte ¶ added in v0.17.0
ImageWithSemanticSegmentationMatte wraps the corresponding Objective-C method.
func ImageWithSemanticSegmentationMatteOptions ¶ added in v0.17.0
ImageWithSemanticSegmentationMatteOptions wraps the corresponding Objective-C method.
func ImageWithTextureSizeFlippedColorSpace ¶ added in v0.17.0
func ImageWithTextureSizeFlippedColorSpace(name int, size corefoundation.CGSize, flipped bool, colorSpace coregraphics.CGColorSpaceRef) *Image
ImageWithTextureSizeFlippedColorSpace creates and returns an image object initialized with data supplied by an OpenGL texture.
func ImageWithTextureSizeFlippedOptions ¶ added in v0.17.0
func ImageWithTextureSizeFlippedOptions(name int, size corefoundation.CGSize, flipped bool, options obj.Object) *Image
ImageWithTextureSizeFlippedOptions creates and returns an image object initialized with data supplied by an OpenGL texture.
func MagentaImage ¶ added in v0.17.0
func MagentaImage() *Image
MagentaImage returns the magenta image.
func NewImageWithBitmapDataBytesPerRowSizeFormatColorSpace ¶ added in v0.17.0
func NewImageWithBitmapDataBytesPerRowSizeFormatColorSpace(data []byte, bytesPerRow int, size corefoundation.CGSize, format int, colorSpace coregraphics.CGColorSpaceRef) *Image
NewImageWithBitmapDataBytesPerRowSizeFormatColorSpace initializes an image object with bitmap data.
func NewImageWithCGImage ¶ added in v0.17.0
func NewImageWithCGImage(image coregraphics.CGImageRef) *Image
NewImageWithCGImage initializes an image object with a Quartz 2D image.
func NewImageWithCGImageOptions ¶ added in v0.17.0
func NewImageWithCGImageOptions(image coregraphics.CGImageRef, options obj.Object) *Image
NewImageWithCGImageOptions initializes an image object with a Quartz 2D image, using the specified options.
func NewImageWithCGImageSourceIndexOptions ¶ added in v0.17.0
func NewImageWithCGImageSourceIndexOptions(source coregraphics.CGImageSourceRef, index int, dict obj.Object) *Image
NewImageWithCGImageSourceIndexOptions creates a new Image.
func NewImageWithCGLayer ¶ added in v0.17.0
func NewImageWithCGLayer(layer coregraphics.CGLayerRef) *Image
NewImageWithCGLayer initializes an image object from the contents supplied by a CGLayer object.
func NewImageWithCGLayerOptions ¶ added in v0.17.0
func NewImageWithCGLayerOptions(layer coregraphics.CGLayerRef, options obj.Object) *Image
NewImageWithCGLayerOptions initializes an image object from the contents supplied by a CGLayer object, using the specified options.
func NewImageWithCVImageBuffer ¶ added in v0.17.0
NewImageWithCVImageBuffer initializes an image object from the contents of a Core Video image buffer.
func NewImageWithCVImageBufferOptions ¶ added in v0.17.0
NewImageWithCVImageBufferOptions initializes an image object from the contents of a Core Video image buffer, using the specified options.
func NewImageWithCVPixelBuffer ¶ added in v0.17.0
NewImageWithCVPixelBuffer initializes an image object from the contents of a Core Video pixel buffer.
func NewImageWithCVPixelBufferOptions ¶ added in v0.17.0
NewImageWithCVPixelBufferOptions initializes an image object from the contents of a Core Video pixel buffer using the specified options.
func NewImageWithColor ¶ added in v0.17.0
NewImageWithColor initializes an image of infinite extent whose entire content is the specified color.
func NewImageWithContentsOfURL ¶ added in v0.17.0
NewImageWithContentsOfURL initializes an image object by reading an image from a URL.
func NewImageWithContentsOfURLOptions ¶ added in v0.17.0
NewImageWithContentsOfURLOptions initializes an image object by reading an image from a URL, using the specified options.
func NewImageWithData ¶ added in v0.17.0
NewImageWithData initializes an image object with the supplied image data.
func NewImageWithDataOptions ¶ added in v0.17.0
NewImageWithDataOptions initializes an image object with the supplied image data, using the specified options.
func NewImageWithDepthData ¶ added in v0.17.0
NewImageWithDepthData creates a new Image.
func NewImageWithDepthDataOptions ¶ added in v0.17.0
NewImageWithDepthDataOptions creates a new Image.
func NewImageWithIOSurface ¶ added in v0.17.0
func NewImageWithIOSurface(surface coregraphics.IOSurfaceRef) *Image
NewImageWithIOSurface initializes an image with the contents of an IOSurface.
func NewImageWithIOSurfaceOptions ¶ added in v0.17.0
func NewImageWithIOSurfaceOptions(surface coregraphics.IOSurfaceRef, options obj.Object) *Image
NewImageWithIOSurfaceOptions initializes, using the specified options, an image with the contents of an IOSurface.
func NewImageWithIOSurfacePlaneFormatOptions ¶ added in v0.17.0
func NewImageWithIOSurfacePlaneFormatOptions(surface coregraphics.IOSurfaceRef, plane int, format int, options obj.Object) *Image
NewImageWithIOSurfacePlaneFormatOptions initializes, using the specified format and options, an image with the contents of a specific data plane in an IOSurface.
func NewImageWithImageProviderSizeFormatColorSpaceOptions ¶ added in v0.17.0
func NewImageWithImageProviderSizeFormatColorSpaceOptions(provider obj.Object, width int, height int, format int, colorSpace coregraphics.CGColorSpaceRef, options obj.Object) *Image
NewImageWithImageProviderSizeFormatColorSpaceOptions initializes an image object based on pixels from an image provider object.
func NewImageWithPortaitEffectsMatte ¶ added in v0.17.0
NewImageWithPortaitEffectsMatte creates a new Image.
func NewImageWithPortaitEffectsMatteOptions ¶ added in v0.17.0
NewImageWithPortaitEffectsMatteOptions creates a new Image.
func NewImageWithSemanticSegmentationMatte ¶ added in v0.17.0
NewImageWithSemanticSegmentationMatte creates a new Image.
func NewImageWithSemanticSegmentationMatteOptions ¶ added in v0.17.0
NewImageWithSemanticSegmentationMatteOptions creates a new Image.
func NewImageWithTextureSizeFlippedColorSpace ¶ added in v0.17.0
func NewImageWithTextureSizeFlippedColorSpace(name int, size corefoundation.CGSize, flipped bool, colorSpace coregraphics.CGColorSpaceRef) *Image
NewImageWithTextureSizeFlippedColorSpace initializes an image object with data supplied by an OpenGL texture.
func NewImageWithTextureSizeFlippedOptions ¶ added in v0.17.0
func NewImageWithTextureSizeFlippedOptions(name int, size corefoundation.CGSize, flipped bool, options obj.Object) *Image
NewImageWithTextureSizeFlippedOptions initializes an image object with data supplied by an OpenGL texture.
func (*Image) AutoAdjustmentFilters ¶ added in v0.17.0
AutoAdjustmentFilters returns all possible automatically selected and configured filters for adjusting the image.
AutoAdjustmentFilters returns the collection as a Go slice.
func (*Image) AutoAdjustmentFiltersWithOptions ¶ added in v0.17.0
AutoAdjustmentFiltersWithOptions returns a subset of automatically selected and configured filters for adjusting the image.
func (*Image) CGImage ¶ added in v0.17.0
func (i *Image) CGImage() coregraphics.CGImageRef
CGImage returns the cg image.
func (*Image) ColorSpace ¶ added in v0.17.0
func (i *Image) ColorSpace() coregraphics.CGColorSpaceRef
ColorSpace returns the color space.
func (*Image) ContentAverageLightLevel ¶ added in v0.17.0
ContentAverageLightLevel returns the content average light level of the image. If the image average light level is unknown, then the value 0.0 will be returned. If the image headroom is known, then a value greater than or equal to 0.0 will be returned. The image average light level may known when a CIImage is first initialized. If the a CIImage is initialized with a: * `CGImage` : then the headroom will be determined by `CGImageGetContentAverageLightLevel()`. * `CVPixelBuffer` : then the headroom will be determined by `kCVImageBufferContentLightLevelInfoKey`. If the image is the result of applying a “CIFilter-class“ or “CIKernel“, this property will return `0.0`. There are exceptions to this. Applying a “CIWarpKernel“ or certain “CIFilter-class“ (e.g. `CIGaussianBlur`, `CILanczosScaleTransform`, `CIAreaAverage` and some others) to an image will result in a “CIImage“ instance with the same `contentAverageLightLevel` property value.
func (*Image) ContentHeadroom ¶ added in v0.17.0
ContentHeadroom returns the content headroom of the image. If the image headroom is unknown, then the value 0.0 will be returned. If the image headroom is known, then a value greater than or equal to 1.0 will be returned. A value of 1.0 will be returned if the image is SDR. A value greater than 1.0 will be returned if the image is HDR. The image headroom may known when a CIImage is first initialized. If the a CIImage is initialized using: * `NSURL` or `NSData` : the headroom may be determined by associated metadata or deduced from pixel format or colorSpace information. * `CGImage` : headroom may be determined by `CGImageGetHeadroomInfo()` or deduced from pixel format or colorSpace information. * `IOSurface` : then the headroom will be determined by `kIOSurfaceContentHeadroom`. or deduced from pixel format or colorSpace information. * `CVPixelBuffer` : then the headroom will be determined by `kCVImageBufferContentLightLevelInfoKey`. or deduced from pixel format or colorSpace information. * `BitmapData` : headroom may be deduced from pixel format or colorSpace information. If the image is the result of applying a “CIFilter-class“ or “CIKernel“, this method will return `0.0`. There are exceptions to this. Applying a `CIWarpKernel“ or certain “CIFilter-class“ (e.g. `CIGaussianBlur`, `CILanczosScaleTransform`, `CIAreaAverage` and some others) to an image will result in a “CIImage“ instance with the same `contentHeadroom` property value.
func (*Image) Definition ¶ added in v0.17.0
func (i *Image) Definition() *FilterShape
Definition returns the definition.
func (*Image) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*Image) Extent ¶ added in v0.17.0
func (i *Image) Extent() corefoundation.CGRect
Extent returns a rectangle the defines the bounds of non-(0,0,0,0) pixels in the image. > Note: the “extent“ of `CIImage“ may be infinite or have a non-zero origin.
func (*Image) ImageByApplyingFilter ¶ added in v0.17.0
ImageByApplyingFilter applies the filter to an image and returns the output.
func (*Image) ImageByApplyingFilterWithInputParameters ¶ added in v0.17.0
func (i *Image) ImageByApplyingFilterWithInputParameters(filterName string, params map[string]obj.Object) *Image
ImageByApplyingFilterWithInputParameters returns a new image created by applying a filter to the original image with the specified name and parameters.
func (*Image) ImageByApplyingGainMap ¶ added in v0.17.0
ImageByApplyingGainMap create an image that applies a gain map Core Image image to the received Core Image image.
func (*Image) ImageByApplyingGainMapHeadroom ¶ added in v0.17.0
ImageByApplyingGainMapHeadroom create an image that applies a gain map Core Image image with a specified headroom to the received Core Image image.
func (*Image) ImageByApplyingGaussianBlurWithSigma ¶ added in v0.17.0
ImageByApplyingGaussianBlurWithSigma create an image by applying a gaussian blur to the receiver.
func (*Image) ImageByApplyingOrientation ¶ added in v0.17.0
ImageByApplyingOrientation returns a new image created by transforming the original image to the specified EXIF orientation.
func (*Image) ImageByApplyingTransform ¶ added in v0.17.0
func (i *Image) ImageByApplyingTransform(matrix corefoundation.CGAffineTransform) *Image
ImageByApplyingTransform returns a new image that represents the original image after applying an affine transform.
func (*Image) ImageByApplyingTransformHighQualityDownsample ¶ added in v0.17.0
func (i *Image) ImageByApplyingTransformHighQualityDownsample(matrix corefoundation.CGAffineTransform, highQualityDownsample bool) *Image
ImageByApplyingTransformHighQualityDownsample wraps the corresponding Objective-C method.
func (*Image) ImageByClampingToExtent ¶ added in v0.17.0
ImageByClampingToExtent returns a new image created by making the pixel colors along its edges extend infinitely in all directions.
func (*Image) ImageByClampingToRect ¶ added in v0.17.0
func (i *Image) ImageByClampingToRect(rect corefoundation.CGRect) *Image
ImageByClampingToRect returns a new image created by cropping to a specified area, then making the pixel colors along the edges of the cropped image extend infinitely in all directions.
func (*Image) ImageByColorMatchingColorSpaceToWorkingSpace ¶ added in v0.17.0
func (i *Image) ImageByColorMatchingColorSpaceToWorkingSpace(colorSpace coregraphics.CGColorSpaceRef) *Image
ImageByColorMatchingColorSpaceToWorkingSpace returns a new image created by color matching from the specified color space to the context’s working color space.
func (*Image) ImageByColorMatchingWorkingSpaceToColorSpace ¶ added in v0.17.0
func (i *Image) ImageByColorMatchingWorkingSpaceToColorSpace(colorSpace coregraphics.CGColorSpaceRef) *Image
ImageByColorMatchingWorkingSpaceToColorSpace returns a new image created by color matching from the context’s working color space to the specified color space.
func (*Image) ImageByCompositingOverImage ¶ added in v0.17.0
ImageByCompositingOverImage returns a new image created by compositing the original image over the specified destination image.
func (*Image) ImageByConvertingLabToWorkingSpace ¶ added in v0.17.0
ImageByConvertingLabToWorkingSpace returns the image by converting lab to working space.
func (*Image) ImageByConvertingWorkingSpaceToLab ¶ added in v0.17.0
ImageByConvertingWorkingSpaceToLab returns the image by converting working space to lab.
func (*Image) ImageByCroppingToRect ¶ added in v0.17.0
func (i *Image) ImageByCroppingToRect(rect corefoundation.CGRect) *Image
ImageByCroppingToRect returns a new image with a cropped portion of the original image.
func (*Image) ImageByInsertingIntermediate ¶ added in v0.17.0
ImageByInsertingIntermediate create an image that inserts a intermediate that is cacheable
func (*Image) ImageByInsertingIntermediate2 ¶ added in v0.17.0
ImageByInsertingIntermediate2 create an image that inserts a intermediate that is cacheable.
func (*Image) ImageByInsertingTiledIntermediate ¶ added in v0.17.0
ImageByInsertingTiledIntermediate create an image that inserts a intermediate that is cached in tiles
func (*Image) ImageByPremultiplyingAlpha ¶ added in v0.17.0
ImageByPremultiplyingAlpha returns a new image created by multiplying the image’s RGB values by its alpha values.
func (*Image) ImageBySamplingLinear ¶ added in v0.17.0
ImageBySamplingLinear create an image by changing the receiver’s sample mode to bilinear interpolation.
func (*Image) ImageBySamplingNearest ¶ added in v0.17.0
ImageBySamplingNearest create an image by changing the receiver’s sample mode to nearest neighbor.
func (*Image) ImageBySettingAlphaOneInExtent ¶ added in v0.17.0
func (i *Image) ImageBySettingAlphaOneInExtent(extent corefoundation.CGRect) *Image
ImageBySettingAlphaOneInExtent returns a new image created by setting all alpha values to 1.0 within the specified rectangle and to 0.0 outside of that area.
func (*Image) ImageBySettingContentAverageLightLevel ¶ added in v0.17.0
ImageBySettingContentAverageLightLevel create an image by changing the receiver’s contentAverageLightLevel property.
func (*Image) ImageBySettingContentHeadroom ¶ added in v0.17.0
ImageBySettingContentHeadroom create an image by changing the receiver’s contentHeadroom property.
func (*Image) ImageBySettingProperties ¶ added in v0.17.0
ImageBySettingProperties return a new image by changing the receiver’s metadata properties.
func (*Image) ImageByUnpremultiplyingAlpha ¶ added in v0.17.0
ImageByUnpremultiplyingAlpha returns a new image created by dividing the image’s RGB values by its alpha values.
func (*Image) ImageTransformForOrientation ¶ added in v0.17.0
func (i *Image) ImageTransformForOrientation(orientation int) corefoundation.CGAffineTransform
ImageTransformForOrientation returns the transformation needed to reorient the image to the specified orientation.
func (*Image) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*Image) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
func (*Image) IsOpaque ¶ added in v0.17.0
IsOpaque reports whether the image is known to have and alpha value of `1.0` over the entire image extent.
func (*Image) PixelBuffer ¶ added in v0.18.0
PixelBuffer returns the pixel buffer.
func (*Image) PortraitEffectsMatte ¶ added in v0.17.0
PortraitEffectsMatte returns the portrait effects matte.
func (*Image) Properties ¶ added in v0.17.0
Properties returns the metadata properties dictionary of the image. If the “CIImage“ was created from `NSURL` or `NSData` then this dictionary is determined by calling `CGImageSourceCopyPropertiesAtIndex()`. If the “CIImage“ was created with the “kCIImageProperties“ option, then that dictionary is returned. If the “CIImage“ was created by applying “CIFilter-class“ or “CIKernel“ then the properties of the root inputImage will be returned.
func (*Image) RegionOfInterestForImageInRect ¶ added in v0.17.0
func (i *Image) RegionOfInterestForImageInRect(image *Image, rect corefoundation.CGRect) corefoundation.CGRect
RegionOfInterestForImageInRect returns the region of interest for the filter chain that generates the image.
func (*Image) SemanticSegmentationMatte ¶ added in v0.17.0
SemanticSegmentationMatte returns the semantic segmentation matte.
type ImageAccumulator ¶ added in v0.17.0
ImageAccumulator is an idiomatic wrapper over the Objective-C class CIImageAccumulator.
An object that manages feedback-based image processing for tasks such as painting or fluid simulation.
func ImageAccumulatorFromID ¶ added in v0.17.0
func ImageAccumulatorFromID(id objc.ID) *ImageAccumulator
ImageAccumulatorFromID adopts an existing Objective-C object as a ImageAccumulator (nil for 0), retaining it and registering a release finalizer.
func ImageAccumulatorWithExtentFormat ¶ added in v0.17.0
func ImageAccumulatorWithExtentFormat(extent corefoundation.CGRect, format int) *ImageAccumulator
ImageAccumulatorWithExtentFormat creates an image accumulator with the specified extent and pixel format.
func ImageAccumulatorWithExtentFormatColorSpace ¶ added in v0.17.0
func ImageAccumulatorWithExtentFormatColorSpace(extent corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef) *ImageAccumulator
ImageAccumulatorWithExtentFormatColorSpace creates an image accumulator with the specified extent, pixel format, and color space.
func NewImageAccumulatorWithExtentFormat ¶ added in v0.17.0
func NewImageAccumulatorWithExtentFormat(extent corefoundation.CGRect, format int) *ImageAccumulator
NewImageAccumulatorWithExtentFormat initializes an image accumulator with the specified extent and pixel format.
func NewImageAccumulatorWithExtentFormatColorSpace ¶ added in v0.17.0
func NewImageAccumulatorWithExtentFormatColorSpace(extent corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef) *ImageAccumulator
NewImageAccumulatorWithExtentFormatColorSpace initializes an image accumulator with the specified extent, pixel format, and color space.
func (*ImageAccumulator) Clear ¶ added in v0.17.0
func (ia *ImageAccumulator) Clear()
Clear resets the accumulator, discarding any pending updates and the current content.
func (*ImageAccumulator) Description ¶ added in v0.17.0
func (ia *ImageAccumulator) Description() string
Description returns the object's -description text.
func (*ImageAccumulator) Extent ¶ added in v0.17.0
func (ia *ImageAccumulator) Extent() corefoundation.CGRect
Extent returns the extent.
func (*ImageAccumulator) Format ¶ added in v0.17.0
func (ia *ImageAccumulator) Format() int
Format returns the format.
func (*ImageAccumulator) Image ¶ added in v0.17.0
func (ia *ImageAccumulator) Image() *Image
Image returns the current contents of the image accumulator.
func (*ImageAccumulator) IsEqual ¶ added in v0.17.0
func (ia *ImageAccumulator) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*ImageAccumulator) IsKind ¶ added in v0.17.0
func (ia *ImageAccumulator) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*ImageAccumulator) SetImage ¶ added in v0.17.0
func (ia *ImageAccumulator) SetImage(image *Image)
SetImage sets the contents of the image accumulator to the contents of the specified image object.
func (*ImageAccumulator) SetImageDirtyRect ¶ added in v0.17.0
func (ia *ImageAccumulator) SetImageDirtyRect(image *Image, dirtyRect corefoundation.CGRect)
SetImageDirtyRect updates an image accumulator with a subregion of an image object.
func (*ImageAccumulator) String ¶ added in v0.17.0
func (ia *ImageAccumulator) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type ImageProcessorInput ¶ added in v0.17.0
type ImageProcessorInput interface {
Region() corefoundation.CGRect
BytesPerRow() int
Format() int
BaseAddress() unsafe.Pointer
Surface() coregraphics.IOSurfaceRef
PixelBuffer() unsafe.Pointer
MetalTexture() obj.Object
Digest() uint64
RoiTileIndex() int
RoiTileCount() int
}
ImageProcessorInput is the Go form of the Objective-C protocol CIImageProcessorInput.
type ImageProcessorKernel ¶ added in v0.17.0
ImageProcessorKernel is an idiomatic wrapper over the Objective-C class CIImageProcessorKernel.
The abstract class you extend to create custom image processors that can integrate with Core Image workflows.
func ImageProcessorKernelFromID ¶ added in v0.17.0
func ImageProcessorKernelFromID(id objc.ID) *ImageProcessorKernel
ImageProcessorKernelFromID adopts an existing Objective-C object as a ImageProcessorKernel (nil for 0), retaining it and registering a release finalizer.
func NewImageProcessorKernel ¶ added in v0.17.0
func NewImageProcessorKernel() *ImageProcessorKernel
NewImageProcessorKernel creates a new ImageProcessorKernel.
func (*ImageProcessorKernel) Description ¶ added in v0.17.0
func (ipk *ImageProcessorKernel) Description() string
Description returns the object's -description text.
func (*ImageProcessorKernel) IsEqual ¶ added in v0.17.0
func (ipk *ImageProcessorKernel) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*ImageProcessorKernel) IsKind ¶ added in v0.17.0
func (ipk *ImageProcessorKernel) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*ImageProcessorKernel) String ¶ added in v0.17.0
func (ipk *ImageProcessorKernel) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type ImageProcessorOutput ¶ added in v0.17.0
type ImageProcessorOutput interface {
Region() corefoundation.CGRect
BytesPerRow() int
Format() int
BaseAddress() unsafe.Pointer
Surface() coregraphics.IOSurfaceRef
PixelBuffer() unsafe.Pointer
MetalTexture() obj.Object
MetalCommandBuffer() obj.Object
Digest() uint64
}
ImageProcessorOutput is the Go form of the Objective-C protocol CIImageProcessorOutput.
type IpcInfoObjectType ¶ added in v0.17.0
type IpcInfoObjectType uint32
const ( IpcInfoObjectTypeNone IpcInfoObjectType = 0 IpcInfoObjectTypeThreadControl IpcInfoObjectType = 1 IpcInfoObjectTypeTaskControl IpcInfoObjectType = 2 IpcInfoObjectTypeHost IpcInfoObjectType = 3 IpcInfoObjectTypeHostPriv IpcInfoObjectType = 4 IpcInfoObjectTypeProcessor IpcInfoObjectType = 5 IpcInfoObjectTypeProcessorSet IpcInfoObjectType = 6 IpcInfoObjectTypeProcessorSetName IpcInfoObjectType = 7 IpcInfoObjectTypeTimer IpcInfoObjectType = 8 IpcInfoObjectTypePortSubstOnce IpcInfoObjectType = 9 IpcInfoObjectTypeMig IpcInfoObjectType = 10 IpcInfoObjectTypeMemoryObject IpcInfoObjectType = 11 IpcInfoObjectTypeXmmPager IpcInfoObjectType = 12 IpcInfoObjectTypeXmmKernel IpcInfoObjectType = 13 IpcInfoObjectTypeXmmReply IpcInfoObjectType = 14 IpcInfoObjectTypeUndReply IpcInfoObjectType = 15 IpcInfoObjectTypeHostNotify IpcInfoObjectType = 16 IpcInfoObjectTypeHostSecurity IpcInfoObjectType = 17 IpcInfoObjectTypeLedger IpcInfoObjectType = 18 IpcInfoObjectTypeMainDevice IpcInfoObjectType = 19 IpcInfoObjectTypeTaskName IpcInfoObjectType = 20 IpcInfoObjectTypeSubsystem IpcInfoObjectType = 21 IpcInfoObjectTypeIODoneQueue IpcInfoObjectType = 22 IpcInfoObjectTypeSemaphore IpcInfoObjectType = 23 IpcInfoObjectTypeLockSet IpcInfoObjectType = 24 IpcInfoObjectTypeClock IpcInfoObjectType = 25 IpcInfoObjectTypeClockCtrl IpcInfoObjectType = 26 IpcInfoObjectTypeIokitIdent IpcInfoObjectType = 27 IpcInfoObjectTypeNamedEntry IpcInfoObjectType = 28 IpcInfoObjectTypeIokitConnect IpcInfoObjectType = 29 IpcInfoObjectTypeIokitObject IpcInfoObjectType = 30 IpcInfoObjectTypeUpl IpcInfoObjectType = 31 IpcInfoObjectTypeMemObjControl IpcInfoObjectType = 32 IpcInfoObjectTypeAuSessionport IpcInfoObjectType = 33 IpcInfoObjectTypeFileport IpcInfoObjectType = 34 IpcInfoObjectTypeLabelh IpcInfoObjectType = 35 IpcInfoObjectTypeTaskResume IpcInfoObjectType = 36 IpcInfoObjectTypeVoucher IpcInfoObjectType = 37 IpcInfoObjectTypeVoucherAttrControl IpcInfoObjectType = 38 IpcInfoObjectTypeWorkInterval IpcInfoObjectType = 39 IpcInfoObjectTypeUxHandler IpcInfoObjectType = 40 IpcInfoObjectTypeUextObject IpcInfoObjectType = 41 IpcInfoObjectTypeArcadeReg IpcInfoObjectType = 42 IpcInfoObjectTypeEventlink IpcInfoObjectType = 43 IpcInfoObjectTypeTaskInspect IpcInfoObjectType = 44 IpcInfoObjectTypeTaskRead IpcInfoObjectType = 45 IpcInfoObjectTypeThreadInspect IpcInfoObjectType = 46 IpcInfoObjectTypeThreadRead IpcInfoObjectType = 47 IpcInfoObjectTypeSuidCred IpcInfoObjectType = 48 IpcInfoObjectTypeHypervisor IpcInfoObjectType = 49 IpcInfoObjectTypeTaskIDToken IpcInfoObjectType = 50 IpcInfoObjectTypeTaskFatal IpcInfoObjectType = 51 IpcInfoObjectTypeKcdata IpcInfoObjectType = 52 IpcInfoObjectTypeExclavesResource IpcInfoObjectType = 53 IpcInfoObjectTypeThreadResume IpcInfoObjectType = 54 IpcInfoObjectTypeUnknown IpcInfoObjectType = 4294967295 )
func (IpcInfoObjectType) String ¶ added in v0.17.0
func (e IpcInfoObjectType) String() string
String returns the IpcInfoObjectType constant's name, or its numeric form when the value is not a known constant.
type Kernel ¶ added in v0.17.0
Kernel is an idiomatic wrapper over the Objective-C class CIKernel.
Kernel is an abstract base — you do not construct it directly. Construct one of ColorKernel, WarpKernel and pass it where a Kernel is accepted.
A GPU-based image-processing routine used to create custom Core Image filters.
func CIKernelKernelWithString ¶
CIKernelKernelWithString creates a single kernel object.
func KernelFromID ¶ added in v0.17.0
KernelFromID adopts an existing Objective-C object as a Kernel (nil for 0), retaining it and registering a release finalizer.
func KernelWithFunctionNameFromMetalLibraryData ¶ added in v0.17.0
func KernelWithFunctionNameFromMetalLibraryData(name string, data []byte) (result *Kernel, err error)
KernelWithFunctionNameFromMetalLibraryData creates a single kernel object using a Metal Shading Language (MSL) kernel function.
func KernelWithFunctionNameFromMetalLibraryDataOutputPixelFormat ¶ added in v0.17.0
func KernelWithFunctionNameFromMetalLibraryDataOutputPixelFormat(name string, data []byte, format int) (result *Kernel, err error)
KernelWithFunctionNameFromMetalLibraryDataOutputPixelFormat creates a single kernel object using a Metal Shading Language kernel function with optional pixel format.
func KernelsWithMetalString ¶ added in v0.17.0
KernelsWithMetalString load kernels from a Metal language string.
func KernelsWithString ¶ added in v0.17.0
KernelsWithString creates and returns and array of CIKernel objects.
func (*Kernel) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*Kernel) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
type KernelProvider ¶ added in v0.17.0
KernelProvider is accepted wherever a CIKernel (or one of its subclasses) is expected.
type LaunchDataType ¶ added in v0.17.0
type LaunchDataType int32
const ( LaunchDataTypeDictionary LaunchDataType = 1 LaunchDataTypeArray LaunchDataType = 2 LaunchDataTypeFd LaunchDataType = 3 LaunchDataTypeInteger LaunchDataType = 4 LaunchDataTypeReal LaunchDataType = 5 LaunchDataTypeBool LaunchDataType = 6 LaunchDataTypeString LaunchDataType = 7 LaunchDataTypeOpaque LaunchDataType = 8 LaunchDataTypeErrno LaunchDataType = 9 LaunchDataTypeMachport LaunchDataType = 10 )
func (LaunchDataType) String ¶ added in v0.17.0
func (e LaunchDataType) String() string
String returns the LaunchDataType constant's name, or its numeric form when the value is not a known constant.
type MDLabelDomain ¶
type MDLabelDomain int32
These constants are used to specify a domain to MDLabelCreate().
const ( KMDLabelUserDomain MDLabelDomain = 0 KMDLabelLocalDomain MDLabelDomain = 1 )
func (MDLabelDomain) String ¶
func (e MDLabelDomain) String() string
String returns the MDLabelDomain constant's name, or its numeric form when the value is not a known constant.
type MDQueryOptionFlags ¶
type MDQueryOptionFlags int32
const ( KMDQuerySynchronous MDQueryOptionFlags = 1 KMDQueryWantsUpdates MDQueryOptionFlags = 4 KMDQueryAllowFSTranslation MDQueryOptionFlags = 8 )
func (MDQueryOptionFlags) String ¶
func (e MDQueryOptionFlags) String() string
String returns the MDQueryOptionFlags constant's name, or its numeric form when the value is not a known constant.
type MDQuerySortOptionFlags ¶
type MDQuerySortOptionFlags int32
const (
KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)
func (MDQuerySortOptionFlags) String ¶
func (e MDQuerySortOptionFlags) String() string
String returns the MDQuerySortOptionFlags constant's name, or its numeric form when the value is not a known constant.
type MTLBuffer ¶
type MTLBuffer interface {
}
MTLBuffer is the Go form of the Objective-C protocol MTLBuffer.
type MTLCommandBuffer ¶
type MTLCommandBuffer interface {
}
MTLCommandBuffer is the Go form of the Objective-C protocol MTLCommandBuffer.
type MTLCommandQueue ¶
type MTLCommandQueue interface {
}
MTLCommandQueue is the Go form of the Objective-C protocol MTLCommandQueue.
type MTLDevice ¶
type MTLDevice interface {
}
MTLDevice is the Go form of the Objective-C protocol MTLDevice.
type MTLTexture ¶
type MTLTexture interface {
}
MTLTexture is the Go form of the Objective-C protocol MTLTexture.
type MachVMRangeFlags ¶ added in v0.17.0
type MachVMRangeFlags uint64
Bitmask — values may be combined with |.
const (
MachVMRangeFlagsNone MachVMRangeFlags = 0
)
func (MachVMRangeFlags) String ¶ added in v0.17.0
func (e MachVMRangeFlags) String() string
String returns the MachVMRangeFlags constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeFlavor ¶ added in v0.17.0
type MachVMRangeFlavor uint32
const ( MachVMRangeFlavorInvalid MachVMRangeFlavor = 0 MachVMRangeFlavorV1 MachVMRangeFlavor = 1 )
func (MachVMRangeFlavor) String ¶ added in v0.17.0
func (e MachVMRangeFlavor) String() string
String returns the MachVMRangeFlavor constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeTag ¶ added in v0.17.0
type MachVMRangeTag uint16
const ( MachVMRangeTagDefault MachVMRangeTag = 0 MachVMRangeTagData MachVMRangeTag = 1 MachVMRangeTagFixed MachVMRangeTag = 2 )
func (MachVMRangeTag) String ¶ added in v0.17.0
func (e MachVMRangeTag) String() string
String returns the MachVMRangeTag constant's name, or its numeric form when the value is not a known constant.
type MpoFlags ¶ added in v0.17.0
type MpoFlags uint32
Bitmask — values may be combined with |.
const ( MpoFlagsPort MpoFlags = 0 MpoFlagsServicePort MpoFlags = 1024 MpoFlagsConnectionPort MpoFlags = 2048 MpoFlagsReplyPort MpoFlags = 4096 MpoFlagsWeakReplyPort MpoFlags = 16384 MpoFlagsNotificationPort MpoFlags = 17408 MpoFlagsExceptionPort MpoFlags = 32768 MpoFlagsConnectionPortWithPortArray MpoFlags = 65536 )
type NXMouseButton ¶
type NXMouseButton int32
const ( NX_OneButton NXMouseButton = 0 NX_LeftButton NXMouseButton = 1 NX_RightButton NXMouseButton = 2 )
func (NXMouseButton) String ¶
func (e NXMouseButton) String() string
String returns the NXMouseButton constant's name, or its numeric form when the value is not a known constant.
type PDF417CodeDescriptor ¶ added in v0.17.0
type PDF417CodeDescriptor struct {
BarcodeDescriptor
}
PDF417CodeDescriptor is an idiomatic wrapper over the Objective-C class CIPDF417CodeDescriptor.
It embeds BarcodeDescriptor, promoting that type's methods.
A concrete subclass of Core Image Barcode Descriptor that represents a PDF417 symbol.
func DescriptorWithPayloadIsCompactRowCountColumnCount ¶ added in v0.17.0
func DescriptorWithPayloadIsCompactRowCountColumnCount(errorCorrectedPayload []byte, isCompact bool, rowCount int, columnCount int) *PDF417CodeDescriptor
DescriptorWithPayloadIsCompactRowCountColumnCount creates an PDF417 code descriptor for the given payload and parameters.
func NewPDF417CodeDescriptorWithPayloadIsCompactRowCountColumnCount ¶ added in v0.17.0
func NewPDF417CodeDescriptorWithPayloadIsCompactRowCountColumnCount(errorCorrectedPayload []byte, isCompact bool, rowCount int, columnCount int) *PDF417CodeDescriptor
NewPDF417CodeDescriptorWithPayloadIsCompactRowCountColumnCount initializes an PDF417 code descriptor for the given payload and parameters.
func PDF417CodeDescriptorFromID ¶ added in v0.17.0
func PDF417CodeDescriptorFromID(id objc.ID) *PDF417CodeDescriptor
PDF417CodeDescriptorFromID adopts an existing Objective-C object as a PDF417CodeDescriptor (nil for 0), retaining it and registering a release finalizer.
func (*PDF417CodeDescriptor) ColumnCount ¶ added in v0.17.0
func (pcd *PDF417CodeDescriptor) ColumnCount() int
ColumnCount returns the number of columns in the PDF417 code symbol. Valid column count values are from 1 to 30. This count excluded the columns used to indicate the symbol structure.
func (*PDF417CodeDescriptor) ErrorCorrectedPayload ¶ added in v0.17.0
func (pcd *PDF417CodeDescriptor) ErrorCorrectedPayload() []byte
ErrorCorrectedPayload returns the error-corrected payload containing the data encoded in the PDF417 code symbol. The first codeword indicates the number of data codewords in the errorCorrectedPayload. PDF417 codes are comprised of a start character on the left and a stop character on the right. Each row begins and ends with special characters indicating the current row as well as information about the dimensions of the PDF417 symbol. The errorCorrectedPayload represents the sequence of PDF417 codewords that make up the body of the message. The first codeword indicates the number of codewords in the message. This count includes the "count" codeword and any padding codewords, but does not include the error correction codewords. Each codeword is a 16-bit value in the range of 0...928. The sequence is to be interpreted as described in the PDF417 bar code symbology specification -- ISO/IEC 15438:2006(E).
func (*PDF417CodeDescriptor) IsCompact ¶ added in v0.17.0
func (pcd *PDF417CodeDescriptor) IsCompact() bool
IsCompact reports whether a boolean value telling if the PDF417 code is compact. Compact PDF417 symbols have abbreviated right-side guard bars.
func (*PDF417CodeDescriptor) RowCount ¶ added in v0.17.0
func (pcd *PDF417CodeDescriptor) RowCount() int
RowCount returns the number of rows in the PDF417 code symbol. Valid row count values are from 3 to 90.
type PMPageToPaperMappingType ¶
type PMPageToPaperMappingType int32
const ( KPMPageToPaperMappingNone PMPageToPaperMappingType = 1 KPMPageToPaperMappingScaleToFit PMPageToPaperMappingType = 2 )
func (PMPageToPaperMappingType) String ¶
func (e PMPageToPaperMappingType) String() string
String returns the PMPageToPaperMappingType constant's name, or its numeric form when the value is not a known constant.
type Perm ¶ added in v0.17.0
type Perm int32
const ( PermReadData Perm = 2 PermListDirectory Perm = 2 PermWriteData Perm = 4 PermAddFile Perm = 4 PermExecute Perm = 8 PermSearch Perm = 8 PermDelete Perm = 16 PermAppendData Perm = 32 PermAddSubdirectory Perm = 32 PermDeleteChild Perm = 64 PermReadAttributes Perm = 128 PermWriteAttributes Perm = 256 PermReadExtattributes Perm = 512 PermWriteExtattributes Perm = 1024 PermReadSecurity Perm = 2048 PermWriteSecurity Perm = 4096 PermChangeOwner Perm = 8192 PermSynchronize Perm = 1048576 )
type PlugIn ¶ added in v0.17.0
PlugIn is an idiomatic wrapper over the Objective-C class CIPlugIn.
The mechanism for loading image units in macOS.
func PlugInFromID ¶ added in v0.17.0
PlugInFromID adopts an existing Objective-C object as a PlugIn (nil for 0), retaining it and registering a release finalizer.
func (*PlugIn) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*PlugIn) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
type PlugInRegistration ¶ added in v0.17.0
PlugInRegistration is the Go form of the Objective-C protocol CIPlugInRegistration.
type PtrauthKey ¶ added in v0.17.0
type PtrauthKey int32
const ( Ptrauth_key_none PtrauthKey = -1 Ptrauth_key_asia PtrauthKey = 0 Ptrauth_key_asib PtrauthKey = 1 Ptrauth_key_asda PtrauthKey = 2 Ptrauth_key_asdb PtrauthKey = 3 Ptrauth_key_process_independent_code PtrauthKey = 0 Ptrauth_key_process_dependent_code PtrauthKey = 1 Ptrauth_key_process_independent_data PtrauthKey = 2 Ptrauth_key_process_dependent_data PtrauthKey = 3 Ptrauth_key_return_address PtrauthKey = 1 Ptrauth_key_frame_pointer PtrauthKey = 3 Ptrauth_key_function_pointer PtrauthKey = 0 Ptrauth_key_block_function PtrauthKey = 0 Ptrauth_key_cxx_vtable_pointer PtrauthKey = 2 Ptrauth_key_method_list_pointer PtrauthKey = 2 Ptrauth_key_objc_isa_pointer PtrauthKey = 2 Ptrauth_key_objc_super_pointer PtrauthKey = 2 Ptrauth_key_objc_sel_pointer PtrauthKey = 3 Ptrauth_key_objc_class_ro_pointer PtrauthKey = 2 Ptrauth_key_block_descriptor_pointer PtrauthKey = 2 Ptrauth_key_init_fini_pointer PtrauthKey = 0 )
func (PtrauthKey) String ¶ added in v0.17.0
func (e PtrauthKey) String() string
String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.
type QRCodeDescriptor ¶ added in v0.17.0
type QRCodeDescriptor struct {
BarcodeDescriptor
}
QRCodeDescriptor is an idiomatic wrapper over the Objective-C class CIQRCodeDescriptor.
It embeds BarcodeDescriptor, promoting that type's methods.
A concrete subclass of the Core Image Barcode Descriptor that represents a square QR code symbol.
func DescriptorWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel ¶ added in v0.17.0
func DescriptorWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel(errorCorrectedPayload []byte, symbolVersion int, maskPattern uint8, errorCorrectionLevel QRCodeErrorCorrectionLevel) *QRCodeDescriptor
DescriptorWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel creates a QR code descriptor for the given payload and parameters.
func NewQRCodeDescriptorWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel ¶ added in v0.17.0
func NewQRCodeDescriptorWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel(errorCorrectedPayload []byte, symbolVersion int, maskPattern uint8, errorCorrectionLevel QRCodeErrorCorrectionLevel) *QRCodeDescriptor
NewQRCodeDescriptorWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel initializes a QR code descriptor for the given payload and parameters.
func QRCodeDescriptorFromID ¶ added in v0.17.0
func QRCodeDescriptorFromID(id objc.ID) *QRCodeDescriptor
QRCodeDescriptorFromID adopts an existing Objective-C object as a QRCodeDescriptor (nil for 0), retaining it and registering a release finalizer.
func (*QRCodeDescriptor) ErrorCorrectedPayload ¶ added in v0.17.0
func (qcd *QRCodeDescriptor) ErrorCorrectedPayload() []byte
ErrorCorrectedPayload returns the error-corrected codeword payload that comprises the QR code symbol. QR Codes are formally specified in ISO/IEC 18004:2006(E). Section 6.4.10 "Bitstream to codeword conversion" specifies the set of 8-bit codewords in the symbol immediately prior to splitting the message into blocks and applying error correction. During decode, error correction is applied and if successful, the message is re-ordered to the state immediately following "Bitstream to codeword conversion." The `errorCorrectedPayload` corresponds to this sequence of 8-bit codewords.
func (*QRCodeDescriptor) ErrorCorrectionLevel ¶ added in v0.17.0
func (qcd *QRCodeDescriptor) ErrorCorrectionLevel() QRCodeErrorCorrectionLevel
ErrorCorrectionLevel returns the error correction level of the QR code symbol. QR Codes support four levels of Reed-Solomon error correction. The possible error correction levels are enumerated in “CIDataMatrixCodeECCVersion“.
func (*QRCodeDescriptor) MaskPattern ¶ added in v0.17.0
func (qcd *QRCodeDescriptor) MaskPattern() uint8
MaskPattern returns the data mask pattern for the QR code symbol. QR Codes support eight data mask patterns, which are used to avoid large black or large white areas inside the symbol body. Valid values range from 0 to 7.
func (*QRCodeDescriptor) SymbolVersion ¶ added in v0.17.0
func (qcd *QRCodeDescriptor) SymbolVersion() int
SymbolVersion returns the version of the QR code which corresponds to the size of the QR code symbol. ISO/IEC 18004 defines versions from 1 to 40, where a higher symbol version indicates a larger data-carrying capacity. This field is required in order to properly interpret the error corrected payload.
type QRCodeErrorCorrectionLevel ¶ added in v0.17.0
type QRCodeErrorCorrectionLevel int64
Constants indicating the percentage of the symbol that is dedicated to error correction.
const ( // Indicates that approximately 20% of the symbol data is dedicated to error correction. QRCodeErrorCorrectionLevelL QRCodeErrorCorrectionLevel = 76 // Indicates that approximately 37% of the symbol data is dedicated to error correction. QRCodeErrorCorrectionLevelM QRCodeErrorCorrectionLevel = 77 // Indicates that approximately 55% of the symbol data is dedicated to error correction. QRCodeErrorCorrectionLevelQ QRCodeErrorCorrectionLevel = 81 // Indicates that approximately 65% of the symbol data is dedicated to error correction. QRCodeErrorCorrectionLevelH QRCodeErrorCorrectionLevel = 72 )
func (QRCodeErrorCorrectionLevel) String ¶ added in v0.17.0
func (e QRCodeErrorCorrectionLevel) String() string
String returns the QRCodeErrorCorrectionLevel constant's name, or its numeric form when the value is not a known constant.
type QRCodeFeature ¶ added in v0.17.0
type QRCodeFeature struct {
Feature
}
QRCodeFeature is an idiomatic wrapper over the Objective-C class CIQRCodeFeature.
It embeds Feature, promoting that type's methods.
Information about a Quick Response code detected in a still or video image.
func NewQRCodeFeature ¶ added in v0.17.0
func NewQRCodeFeature() *QRCodeFeature
NewQRCodeFeature creates a new QRCodeFeature.
func QRCodeFeatureFromID ¶ added in v0.17.0
func QRCodeFeatureFromID(id objc.ID) *QRCodeFeature
QRCodeFeatureFromID adopts an existing Objective-C object as a QRCodeFeature (nil for 0), retaining it and registering a release finalizer.
func (*QRCodeFeature) BottomLeft ¶ added in v0.17.0
func (qcf *QRCodeFeature) BottomLeft() corefoundation.CGPoint
BottomLeft returns the image coordinate of the lower-left corner of the detected QR code.
func (*QRCodeFeature) BottomRight ¶ added in v0.17.0
func (qcf *QRCodeFeature) BottomRight() corefoundation.CGPoint
BottomRight returns the image coordinate of the lower-right corner of the detected QR code.
func (*QRCodeFeature) MessageString ¶ added in v0.17.0
func (qcf *QRCodeFeature) MessageString() string
MessageString returns the string decoded from the detected barcode.
func (*QRCodeFeature) SymbolDescriptor ¶ added in v0.17.0
func (qcf *QRCodeFeature) SymbolDescriptor() *QRCodeDescriptor
SymbolDescriptor returns an abstract representation of a QR Code symbol. The property is a “CIQRCodeDescriptor“ instance that contains the payload, symbol version, mask pattern, and error correction level, so the QR Code can be reproduced.
func (*QRCodeFeature) TopLeft ¶ added in v0.17.0
func (qcf *QRCodeFeature) TopLeft() corefoundation.CGPoint
TopLeft returns the image coordinate of the upper-left corner of the detected QR code.
func (*QRCodeFeature) TopRight ¶ added in v0.17.0
func (qcf *QRCodeFeature) TopRight() corefoundation.CGPoint
TopRight returns the image coordinate of the upper-right corner of the detected QR code.
type RAWFilter ¶ added in v0.17.0
type RAWFilter struct {
Filter
}
RAWFilter is an idiomatic wrapper over the Objective-C class CIRAWFilter.
It embeds Filter, promoting that type's methods.
A filter subclass that produces an image by manipulating RAW image sensor data from a digital camera or scanner.
func FilterWithCVPixelBufferProperties ¶ added in v0.17.0
FilterWithCVPixelBufferProperties creates a RAW filter from the pixel buffer and its properties that you specify.
func FilterWithImageDataIdentifierHint ¶ added in v0.17.0
FilterWithImageDataIdentifierHint creates a RAW filter from the image data and type hint that you specify.
func FilterWithImageURL ¶ added in v0.17.0
FilterWithImageURL creates a RAW filter from the image at the URL location that you specify.
func NewRAWFilter ¶ added in v0.17.0
func NewRAWFilter() *RAWFilter
NewRAWFilter creates a new RAWFilter.
func RAWFilterFromID ¶ added in v0.17.0
RAWFilterFromID adopts an existing Objective-C object as a RAWFilter (nil for 0), retaining it and registering a release finalizer.
func (*RAWFilter) BaselineExposure ¶ added in v0.17.0
BaselineExposure returns the baseline exposure.
func (*RAWFilter) BoostAmount ¶ added in v0.17.0
BoostAmount returns the boost amount.
func (*RAWFilter) BoostShadowAmount ¶ added in v0.17.0
BoostShadowAmount returns the boost shadow amount.
func (*RAWFilter) ColorNoiseReductionAmount ¶ added in v0.17.0
ColorNoiseReductionAmount returns the color noise reduction amount.
func (*RAWFilter) ContrastAmount ¶ added in v0.17.0
ContrastAmount returns the contrast amount.
func (*RAWFilter) DecoderVersion ¶ added in v0.17.0
func (rf *RAWFilter) DecoderVersion() *foundation.String
DecoderVersion returns the decoder version.
func (*RAWFilter) DetailAmount ¶ added in v0.17.0
DetailAmount returns the detail amount.
func (*RAWFilter) ExtendedDynamicRangeAmount ¶ added in v0.17.0
ExtendedDynamicRangeAmount returns the extended dynamic range amount.
func (*RAWFilter) IsColorNoiseReductionSupported ¶ added in v0.17.0
IsColorNoiseReductionSupported reports whether the object is color noise reduction supported.
func (*RAWFilter) IsContrastSupported ¶ added in v0.17.0
IsContrastSupported reports whether the object is contrast supported.
func (*RAWFilter) IsDetailSupported ¶ added in v0.17.0
IsDetailSupported reports whether the object is detail supported.
func (*RAWFilter) IsDraftModeEnabled ¶ added in v0.17.0
IsDraftModeEnabled reports whether the object is draft mode enabled.
func (*RAWFilter) IsGamutMappingEnabled ¶ added in v0.17.0
IsGamutMappingEnabled reports whether the object is gamut mapping enabled.
func (*RAWFilter) IsHighlightRecoveryEnabled ¶ added in v0.17.0
IsHighlightRecoveryEnabled reports whether the object is highlight recovery enabled.
func (*RAWFilter) IsHighlightRecoverySupported ¶ added in v0.17.0
IsHighlightRecoverySupported reports whether the object is highlight recovery supported.
func (*RAWFilter) IsLensCorrectionEnabled ¶ added in v0.17.0
IsLensCorrectionEnabled reports whether the object is lens correction enabled.
func (*RAWFilter) IsLensCorrectionSupported ¶ added in v0.17.0
IsLensCorrectionSupported reports whether the object is lens correction supported.
func (*RAWFilter) IsLocalToneMapSupported ¶ added in v0.17.0
IsLocalToneMapSupported reports whether the object is local tone map supported.
func (*RAWFilter) IsLuminanceNoiseReductionSupported ¶ added in v0.17.0
IsLuminanceNoiseReductionSupported reports whether the object is luminance noise reduction supported.
func (*RAWFilter) IsMoireReductionSupported ¶ added in v0.17.0
IsMoireReductionSupported reports whether the object is moire reduction supported.
func (*RAWFilter) IsSharpnessSupported ¶ added in v0.17.0
IsSharpnessSupported reports whether the object is sharpness supported.
func (*RAWFilter) LinearSpaceFilter ¶ added in v0.17.0
LinearSpaceFilter returns the linear space filter.
func (*RAWFilter) LocalToneMapAmount ¶ added in v0.17.0
LocalToneMapAmount returns the local tone map amount.
func (*RAWFilter) LuminanceNoiseReductionAmount ¶ added in v0.17.0
LuminanceNoiseReductionAmount returns the luminance noise reduction amount.
func (*RAWFilter) MoireReductionAmount ¶ added in v0.17.0
MoireReductionAmount returns the moire reduction amount.
func (*RAWFilter) NativeSize ¶ added in v0.17.0
func (rf *RAWFilter) NativeSize() corefoundation.CGSize
NativeSize returns the native size.
func (*RAWFilter) NeutralChromaticity ¶ added in v0.17.0
func (rf *RAWFilter) NeutralChromaticity() corefoundation.CGPoint
NeutralChromaticity returns the neutral chromaticity.
func (*RAWFilter) NeutralLocation ¶ added in v0.17.0
func (rf *RAWFilter) NeutralLocation() corefoundation.CGPoint
NeutralLocation returns the neutral location.
func (*RAWFilter) NeutralTemperature ¶ added in v0.17.0
NeutralTemperature returns the neutral temperature.
func (*RAWFilter) NeutralTint ¶ added in v0.17.0
NeutralTint returns the neutral tint.
func (*RAWFilter) PortraitEffectsMatte ¶ added in v0.17.0
PortraitEffectsMatte returns the portrait effects matte.
func (*RAWFilter) PreviewImage ¶ added in v0.17.0
PreviewImage returns the preview image.
func (*RAWFilter) Properties ¶ added in v0.17.0
Properties returns the properties.
func (*RAWFilter) ScaleFactor ¶ added in v0.17.0
ScaleFactor returns the scale factor.
func (*RAWFilter) SemanticSegmentationGlassesMatte ¶ added in v0.17.0
SemanticSegmentationGlassesMatte returns the semantic segmentation glasses matte.
func (*RAWFilter) SemanticSegmentationHairMatte ¶ added in v0.17.0
SemanticSegmentationHairMatte returns the semantic segmentation hair matte.
func (*RAWFilter) SemanticSegmentationSkinMatte ¶ added in v0.17.0
SemanticSegmentationSkinMatte returns the semantic segmentation skin matte.
func (*RAWFilter) SemanticSegmentationSkyMatte ¶ added in v0.17.0
SemanticSegmentationSkyMatte returns the semantic segmentation sky matte.
func (*RAWFilter) SemanticSegmentationTeethMatte ¶ added in v0.17.0
SemanticSegmentationTeethMatte returns the semantic segmentation teeth matte.
func (*RAWFilter) ShadowBias ¶ added in v0.17.0
ShadowBias returns the shadow bias.
func (*RAWFilter) SharpnessAmount ¶ added in v0.17.0
SharpnessAmount returns the sharpness amount.
func (*RAWFilter) SupportedDecoderVersions ¶ added in v0.17.0
SupportedDecoderVersions returns the supported decoder versions.
SupportedDecoderVersions returns the collection as a Go slice.
func (*RAWFilter) WithBaselineExposure ¶ added in v0.17.0
WithBaselineExposure sets a value that indicates the baseline exposure to apply to the image.
func (*RAWFilter) WithBoostAmount ¶ added in v0.17.0
WithBoostAmount sets a value that indicates the amount of global tone curve to apply to the image.
func (*RAWFilter) WithBoostShadowAmount ¶ added in v0.17.0
WithBoostShadowAmount sets a value that indicates the amount to boost the shadow areas of the image.
func (*RAWFilter) WithColorNoiseReductionAmount ¶ added in v0.17.0
WithColorNoiseReductionAmount sets a value that indicates the amount of chroma noise reduction to apply to the image.
func (*RAWFilter) WithContrastAmount ¶ added in v0.17.0
WithContrastAmount sets a value that indicates the amount of local contrast to apply to the edges of the image.
func (*RAWFilter) WithDecoderVersion ¶ added in v0.17.0
WithDecoderVersion sets a value that indicates the decoder version to use.
func (*RAWFilter) WithDetailAmount ¶ added in v0.17.0
WithDetailAmount sets a value that indicates the amount of detail enhancement to apply to the edges of the image.
func (*RAWFilter) WithDraftModeEnabled ¶ added in v0.17.0
WithDraftModeEnabled sets a Boolean that indicates whether to enable draft mode.
func (*RAWFilter) WithEnabled ¶ added in v0.17.0
WithEnabled sets the enabled.
func (*RAWFilter) WithExposure ¶ added in v0.17.0
WithExposure sets a value that indicates the amount of exposure to apply to the image.
func (*RAWFilter) WithExtendedDynamicRangeAmount ¶ added in v0.17.0
WithExtendedDynamicRangeAmount sets a value that indicates the amount of extended dynamic range (EDR) to apply to the image.
func (*RAWFilter) WithGamutMappingEnabled ¶ added in v0.17.0
WithGamutMappingEnabled sets a Boolean that indicates whether to enable gamut mapping.
func (*RAWFilter) WithHighlightRecoveryEnabled ¶ added in v0.17.0
WithHighlightRecoveryEnabled sets the highlight recovery enabled.
func (*RAWFilter) WithLensCorrectionEnabled ¶ added in v0.17.0
WithLensCorrectionEnabled sets a Boolean that indicates whether to enable lens correction.
func (*RAWFilter) WithLinearSpaceFilter ¶ added in v0.17.0
func (rf *RAWFilter) WithLinearSpaceFilter(linearSpaceFilter FilterProvider) *RAWFilter
WithLinearSpaceFilter sets an optional filter you can apply to the RAW image while it’s in linear space.
func (*RAWFilter) WithLocalToneMapAmount ¶ added in v0.17.0
WithLocalToneMapAmount sets a value that indicates the amount of local tone curve to apply to the image.
func (*RAWFilter) WithLuminanceNoiseReductionAmount ¶ added in v0.17.0
func (rf *RAWFilter) WithLuminanceNoiseReductionAmount(luminanceNoiseReductionAmount float32) *RAWFilter
WithLuminanceNoiseReductionAmount sets a value that indicates the amount of luminance noise reduction to apply to the image.
func (*RAWFilter) WithMoireReductionAmount ¶ added in v0.17.0
WithMoireReductionAmount sets a value that indicates the amount of moire artifact reduction to apply to high frequency areas of the image.
func (*RAWFilter) WithNeutralChromaticity ¶ added in v0.17.0
func (rf *RAWFilter) WithNeutralChromaticity(neutralChromaticity corefoundation.CGPoint) *RAWFilter
WithNeutralChromaticity sets a value that indicates the amount of white balance based on chromaticity values to apply to the image.
func (*RAWFilter) WithNeutralLocation ¶ added in v0.17.0
func (rf *RAWFilter) WithNeutralLocation(neutralLocation corefoundation.CGPoint) *RAWFilter
WithNeutralLocation sets a value that indicates the amount of white balance based on pixel coordinates to apply to the image.
func (*RAWFilter) WithNeutralTemperature ¶ added in v0.17.0
WithNeutralTemperature sets a value that indicates the amount of white balance based on temperature values to apply to the image.
func (*RAWFilter) WithNeutralTint ¶ added in v0.17.0
WithNeutralTint sets a value that indicates the amount of white balance based on tint values to apply to the image.
func (*RAWFilter) WithScaleFactor ¶ added in v0.17.0
WithScaleFactor sets a value that indicates the desired scale factor to draw the output image.
func (*RAWFilter) WithShadowBias ¶ added in v0.17.0
WithShadowBias sets a value that indicates the amount to subtract from the shadows in the image.
func (*RAWFilter) WithSharpnessAmount ¶ added in v0.17.0
WithSharpnessAmount sets a value that indicates the amount of sharpness to apply to the edges of the image.
type RectangleFeature ¶ added in v0.17.0
type RectangleFeature struct {
Feature
}
RectangleFeature is an idiomatic wrapper over the Objective-C class CIRectangleFeature.
It embeds Feature, promoting that type's methods.
Information about a rectangular region detected in a still or video image.
func NewRectangleFeature ¶ added in v0.17.0
func NewRectangleFeature() *RectangleFeature
NewRectangleFeature creates a new RectangleFeature.
func RectangleFeatureFromID ¶ added in v0.17.0
func RectangleFeatureFromID(id objc.ID) *RectangleFeature
RectangleFeatureFromID adopts an existing Objective-C object as a RectangleFeature (nil for 0), retaining it and registering a release finalizer.
func (*RectangleFeature) BottomLeft ¶ added in v0.17.0
func (rf *RectangleFeature) BottomLeft() corefoundation.CGPoint
BottomLeft returns the image coordinate of the lower-left corner of the detected rectangle.
func (*RectangleFeature) BottomRight ¶ added in v0.17.0
func (rf *RectangleFeature) BottomRight() corefoundation.CGPoint
BottomRight returns the image coordinate of the lower-right corner of the detected rectangle.
func (*RectangleFeature) TopLeft ¶ added in v0.17.0
func (rf *RectangleFeature) TopLeft() corefoundation.CGPoint
TopLeft returns the image coordinate of the upper-left corner of the detected rectangle.
func (*RectangleFeature) TopRight ¶ added in v0.17.0
func (rf *RectangleFeature) TopRight() corefoundation.CGPoint
TopRight returns the image coordinate of the upper-right corner of the detected rectangle.
type RenderDestination ¶ added in v0.17.0
RenderDestination is an idiomatic wrapper over the Objective-C class CIRenderDestination.
A specification for configuring all attributes of a render task’s destination and issuing asynchronous render tasks.
func NewRenderDestinationWithBitmapDataWidthHeightBytesPerRowFormat ¶ added in v0.17.0
func NewRenderDestinationWithBitmapDataWidthHeightBytesPerRowFormat(data unsafe.Pointer, width int, height int, bytesPerRow int, format int) *RenderDestination
NewRenderDestinationWithBitmapDataWidthHeightBytesPerRowFormat creates a render destination based on a client-managed buffer.
func NewRenderDestinationWithGLTextureTargetWidthHeight ¶ added in v0.17.0
func NewRenderDestinationWithGLTextureTargetWidthHeight(texture int, target int, width int, height int) *RenderDestination
NewRenderDestinationWithGLTextureTargetWidthHeight creates a render destination based on an OpenGL texture.
func NewRenderDestinationWithIOSurface ¶ added in v0.17.0
func NewRenderDestinationWithIOSurface(surface unsafe.Pointer) *RenderDestination
NewRenderDestinationWithIOSurface creates a render destination based on an IOSurface object.
func NewRenderDestinationWithPixelBuffer ¶ added in v0.17.0
func NewRenderDestinationWithPixelBuffer(pixelBuffer unsafe.Pointer) *RenderDestination
NewRenderDestinationWithPixelBuffer creates a render destination based on a Core Video pixel buffer.
func RenderDestinationFromID ¶ added in v0.17.0
func RenderDestinationFromID(id objc.ID) *RenderDestination
RenderDestinationFromID adopts an existing Objective-C object as a RenderDestination (nil for 0), retaining it and registering a release finalizer.
func (*RenderDestination) AlphaMode ¶ added in v0.17.0
func (rd *RenderDestination) AlphaMode() RenderDestinationAlphaMode
AlphaMode returns the alpha mode.
func (*RenderDestination) BlendKernel ¶ added in v0.17.0
func (rd *RenderDestination) BlendKernel() *BlendKernel
BlendKernel returns the blend kernel.
func (*RenderDestination) BlendsInDestinationColorSpace ¶ added in v0.17.0
func (rd *RenderDestination) BlendsInDestinationColorSpace() bool
BlendsInDestinationColorSpace wraps the corresponding Objective-C method.
func (*RenderDestination) CaptureTraceURL ¶ added in v0.17.0
func (rd *RenderDestination) CaptureTraceURL() string
CaptureTraceURL returns tell the next render using this destination to capture a Metal trace. If this property is set to a file-based URL, then the next render using this destination will capture a Metal trace, deleting any existing file if present. This property is nil by default.
func (*RenderDestination) ColorSpace ¶ added in v0.17.0
func (rd *RenderDestination) ColorSpace() coregraphics.CGColorSpaceRef
ColorSpace returns the color space.
func (*RenderDestination) Description ¶ added in v0.17.0
func (rd *RenderDestination) Description() string
Description returns the object's -description text.
func (*RenderDestination) Height ¶ added in v0.17.0
func (rd *RenderDestination) Height() int
Height returns the height.
func (*RenderDestination) IsClamped ¶ added in v0.17.0
func (rd *RenderDestination) IsClamped() bool
IsClamped reports whether the object is clamped.
func (*RenderDestination) IsDithered ¶ added in v0.17.0
func (rd *RenderDestination) IsDithered() bool
IsDithered reports whether the object is dithered.
func (*RenderDestination) IsEqual ¶ added in v0.17.0
func (rd *RenderDestination) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*RenderDestination) IsFlipped ¶ added in v0.17.0
func (rd *RenderDestination) IsFlipped() bool
IsFlipped reports whether the object is flipped.
func (*RenderDestination) IsKind ¶ added in v0.17.0
func (rd *RenderDestination) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*RenderDestination) String ¶ added in v0.17.0
func (rd *RenderDestination) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*RenderDestination) Width ¶ added in v0.17.0
func (rd *RenderDestination) Width() int
Width returns the width.
func (*RenderDestination) WithAlphaMode ¶ added in v0.17.0
func (rd *RenderDestination) WithAlphaMode(alphaMode RenderDestinationAlphaMode) *RenderDestination
WithAlphaMode sets the render destination’s representation of alpha (transparency) values.
func (*RenderDestination) WithBlendKernel ¶ added in v0.17.0
func (rd *RenderDestination) WithBlendKernel(blendKernel *BlendKernel) *RenderDestination
WithBlendKernel sets the destination’s blend kernel.
func (*RenderDestination) WithBlendsInDestinationColorSpace ¶ added in v0.17.0
func (rd *RenderDestination) WithBlendsInDestinationColorSpace(blendsInDestinationColorSpace bool) *RenderDestination
WithBlendsInDestinationColorSpace sets indicator of whether to blend in the destination’s color space.
func (*RenderDestination) WithCaptureTraceURL ¶ added in v0.17.0
func (rd *RenderDestination) WithCaptureTraceURL(captureTraceURL string) *RenderDestination
WithCaptureTraceURL sets tell the next render using this destination to capture a Metal trace.
func (*RenderDestination) WithClamped ¶ added in v0.17.0
func (rd *RenderDestination) WithClamped(clamped bool) *RenderDestination
WithClamped sets indicator of whether or not the destination clamps.
func (*RenderDestination) WithColorSpace ¶ added in v0.17.0
func (rd *RenderDestination) WithColorSpace(colorSpace coregraphics.CGColorSpaceRef) *RenderDestination
WithColorSpace sets the destination’s color space.
func (*RenderDestination) WithDithered ¶ added in v0.17.0
func (rd *RenderDestination) WithDithered(dithered bool) *RenderDestination
WithDithered sets indicator of whether or not the destination dithers.
func (*RenderDestination) WithFlipped ¶ added in v0.17.0
func (rd *RenderDestination) WithFlipped(flipped bool) *RenderDestination
WithFlipped sets indicator of whether the destination is flipped.
type RenderDestinationAlphaMode ¶ added in v0.17.0
type RenderDestinationAlphaMode uint64
Different ways of representing alpha.
const ( // Designates a destination with no alpha compositing. RenderDestinationAlphaNone RenderDestinationAlphaMode = 0 // Designates a destination that expects premultiplied alpha values. RenderDestinationAlphaPremultiplied RenderDestinationAlphaMode = 1 // Designates a destination that expects non-premultiplied alpha values. RenderDestinationAlphaUnpremultiplied RenderDestinationAlphaMode = 2 )
func (RenderDestinationAlphaMode) String ¶ added in v0.17.0
func (e RenderDestinationAlphaMode) String() string
String returns the RenderDestinationAlphaMode constant's name, or its numeric form when the value is not a known constant.
type RenderInfo ¶ added in v0.17.0
RenderInfo is an idiomatic wrapper over the Objective-C class CIRenderInfo.
An encapsulation of a render task’s timing, passes, and pixels processed.
func NewRenderInfo ¶ added in v0.17.0
func NewRenderInfo() *RenderInfo
NewRenderInfo creates a new RenderInfo.
func RenderInfoFromID ¶ added in v0.17.0
func RenderInfoFromID(id objc.ID) *RenderInfo
RenderInfoFromID adopts an existing Objective-C object as a RenderInfo (nil for 0), retaining it and registering a release finalizer.
func (*RenderInfo) Description ¶ added in v0.17.0
func (ri *RenderInfo) Description() string
Description returns the object's -description text.
func (*RenderInfo) IsEqual ¶ added in v0.17.0
func (ri *RenderInfo) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*RenderInfo) IsKind ¶ added in v0.17.0
func (ri *RenderInfo) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*RenderInfo) KernelCompileTime ¶ added in v0.17.0
func (ri *RenderInfo) KernelCompileTime() float64
KernelCompileTime returns the kernel compile time.
func (*RenderInfo) KernelExecutionTime ¶ added in v0.17.0
func (ri *RenderInfo) KernelExecutionTime() float64
KernelExecutionTime returns the kernel execution time.
func (*RenderInfo) PassCount ¶ added in v0.17.0
func (ri *RenderInfo) PassCount() int
PassCount returns the pass count.
func (*RenderInfo) PixelsProcessed ¶ added in v0.17.0
func (ri *RenderInfo) PixelsProcessed() int
PixelsProcessed returns the pixels processed.
func (*RenderInfo) String ¶ added in v0.17.0
func (ri *RenderInfo) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type RenderTask ¶ added in v0.17.0
RenderTask is an idiomatic wrapper over the Objective-C class CIRenderTask.
A single render task.
func NewRenderTask ¶ added in v0.17.0
func NewRenderTask() *RenderTask
NewRenderTask creates a new RenderTask.
func RenderTaskFromID ¶ added in v0.17.0
func RenderTaskFromID(id objc.ID) *RenderTask
RenderTaskFromID adopts an existing Objective-C object as a RenderTask (nil for 0), retaining it and registering a release finalizer.
func (*RenderTask) Description ¶ added in v0.17.0
func (rt_ *RenderTask) Description() string
Description returns the object's -description text.
func (*RenderTask) IsEqual ¶ added in v0.17.0
func (rt_ *RenderTask) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*RenderTask) IsKind ¶ added in v0.17.0
func (rt_ *RenderTask) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*RenderTask) String ¶ added in v0.17.0
func (rt_ *RenderTask) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*RenderTask) WaitUntilCompleted ¶ added in v0.17.0
func (rt_ *RenderTask) WaitUntilCompleted() (result *RenderInfo, err error)
WaitUntilCompleted waits until the CIRenderTask finishes and returns.
type Sampler ¶ added in v0.17.0
Sampler is an idiomatic wrapper over the Objective-C class CISampler.
An object that retrieves pixel samples for processing by a filter kernel.
func NewSamplerWithImage ¶ added in v0.17.0
NewSamplerWithImage initializes a sampler with an image object.
func NewSamplerWithImageKeysAndValues ¶ added in v0.17.0
NewSamplerWithImageKeysAndValues initializes the sampler with an image object using options specified as key-value pairs.
func NewSamplerWithImageOptions ¶ added in v0.17.0
NewSamplerWithImageOptions initializes the sampler with an image object using options specified in a dictionary.
func SamplerFromID ¶ added in v0.17.0
SamplerFromID adopts an existing Objective-C object as a Sampler (nil for 0), retaining it and registering a release finalizer.
func SamplerWithImage ¶ added in v0.17.0
SamplerWithImage creates and returns a sampler that references an image.
func SamplerWithImageOptions ¶ added in v0.17.0
SamplerWithImageOptions creates and returns a sampler that references an image using options specified in a dictionary.
func (*Sampler) Definition ¶ added in v0.17.0
func (s *Sampler) Definition() *FilterShape
Definition returns the definition.
func (*Sampler) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*Sampler) Extent ¶ added in v0.17.0
func (s *Sampler) Extent() corefoundation.CGRect
Extent returns the extent.
func (*Sampler) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
type TextFeature ¶ added in v0.17.0
type TextFeature struct {
Feature
}
TextFeature is an idiomatic wrapper over the Objective-C class CITextFeature.
It embeds Feature, promoting that type's methods.
Information about a text that was detected in a still or video image.
func NewTextFeature ¶ added in v0.17.0
func NewTextFeature() *TextFeature
NewTextFeature creates a new TextFeature.
func TextFeatureFromID ¶ added in v0.17.0
func TextFeatureFromID(id objc.ID) *TextFeature
TextFeatureFromID adopts an existing Objective-C object as a TextFeature (nil for 0), retaining it and registering a release finalizer.
func (*TextFeature) BottomLeft ¶ added in v0.17.0
func (tf *TextFeature) BottomLeft() corefoundation.CGPoint
BottomLeft returns the image coordinate of the lower-left corner of the detected text.
func (*TextFeature) BottomRight ¶ added in v0.17.0
func (tf *TextFeature) BottomRight() corefoundation.CGPoint
BottomRight returns the image coordinate of the lower-right corner of the detected text.
func (*TextFeature) SubFeatures ¶ added in v0.17.0
func (tf *TextFeature) SubFeatures() obj.Object
SubFeatures returns an array containing additional features detected within the feature. A text detector can identify both a major region that is likely to contain text as well as the areas within that region that likely to contain individual text features. Such features might be single characters, groups of closely-packed characters, or entire words. To detect sub-features, “/CIDetector/featuresInImage:options:“ needs to be called with the “CIDetectorReturnSubFeatures“ option set to true.
func (*TextFeature) TopLeft ¶ added in v0.17.0
func (tf *TextFeature) TopLeft() corefoundation.CGPoint
TopLeft returns the image coordinate of the upper-left corner of the detected text.
func (*TextFeature) TopRight ¶ added in v0.17.0
func (tf *TextFeature) TopRight() corefoundation.CGPoint
TopRight returns the image coordinate of the upper-right corner of the detected text.
type Vector ¶ added in v0.17.0
Vector is an idiomatic wrapper over the Objective-C class CIVector.
The Core Image class that defines a vector object.
func NewVectorWithCGAffineTransform ¶ added in v0.17.0
func NewVectorWithCGAffineTransform(t corefoundation.CGAffineTransform) *Vector
NewVectorWithCGAffineTransform initialize a Core Image vector object with six values provided by a CGAffineTransform structure.
func NewVectorWithCGPoint ¶ added in v0.17.0
func NewVectorWithCGPoint(p corefoundation.CGPoint) *Vector
NewVectorWithCGPoint initialize a Core Image vector object with two values provided by a CGPoint structure.
func NewVectorWithCGRect ¶ added in v0.17.0
func NewVectorWithCGRect(r corefoundation.CGRect) *Vector
NewVectorWithCGRect initialize a Core Image vector object with four values provided by a CGRect structure.
func NewVectorWithString ¶ added in v0.17.0
NewVectorWithString initialize a Core Image vector object with values provided in a string representation.
func NewVectorWithX ¶ added in v0.17.0
NewVectorWithX initialize a Core Image vector object with one value.
func NewVectorWithXY ¶ added in v0.17.0
NewVectorWithXY initialize a Core Image vector object with two values.
func NewVectorWithXYZ ¶ added in v0.17.0
NewVectorWithXYZ initialize a Core Image vector object with three values.
func NewVectorWithXYZW ¶ added in v0.17.0
NewVectorWithXYZW initialize a Core Image vector object with four values.
func RoiTileArrayForInputArgumentsOutputRect ¶ added in v0.17.0
func RoiTileArrayForInputArgumentsOutputRect(inputIndex int, arguments map[string]obj.Object, outputRect corefoundation.CGRect) []*Vector
RoiTileArrayForInputArgumentsOutputRect override this class method to implement your processor’s tiled ROI callback.
func VectorFromID ¶ added in v0.17.0
VectorFromID adopts an existing Objective-C object as a Vector (nil for 0), retaining it and registering a release finalizer.
func VectorWithCGAffineTransform ¶ added in v0.17.0
func VectorWithCGAffineTransform(t corefoundation.CGAffineTransform) *Vector
VectorWithCGAffineTransform create a Core Image vector object that is initialized with six values provided by a CGAffineTransform structure.
func VectorWithCGPoint ¶ added in v0.17.0
func VectorWithCGPoint(p corefoundation.CGPoint) *Vector
VectorWithCGPoint create a Core Image vector object that is initialized with two values provided by a CGPoint structure.
func VectorWithCGRect ¶ added in v0.17.0
func VectorWithCGRect(r corefoundation.CGRect) *Vector
VectorWithCGRect create a Core Image vector object that is initialized with four values provided by a CGRect structure.
func VectorWithString ¶ added in v0.17.0
VectorWithString create a Core Image vector object with values provided in a string representation.
func VectorWithValuesCount ¶ added in v0.17.0
VectorWithValuesCount create a Core Image vector object that is initialized with the specified values.
func VectorWithX ¶ added in v0.17.0
VectorWithX create a Core Image vector object that is initialized with one value.
func VectorWithXY ¶ added in v0.17.0
VectorWithXY create a Core Image vector object that is initialized with two values.
func VectorWithXYZ ¶ added in v0.17.0
VectorWithXYZ create a Core Image vector object that is initialized with three values.
func VectorWithXYZW ¶ added in v0.17.0
VectorWithXYZW create a Core Image vector object that is initialized with four values.
func (*Vector) CGAffineTransformValue ¶ added in v0.17.0
func (v_ *Vector) CGAffineTransformValue() corefoundation.CGAffineTransform
CGAffineTransformValue returns the values in the vector as a `CGAffineTransformValue` structure. - Returns: Reading this property creates a `CGAffineTransformValue` structure from the first six values in the vector.
func (*Vector) CGPointValue ¶ added in v0.17.0
func (v_ *Vector) CGPointValue() corefoundation.CGPoint
CGPointValue returns the values in the vector as a `CGPoint` structure. - Returns: Reading this property returns a `CGPoint` structure from the `X` and `Y` values from the vector.
func (*Vector) CGRectValue ¶ added in v0.17.0
func (v_ *Vector) CGRectValue() corefoundation.CGRect
CGRectValue returns the values in the vector as a `CGRect` structure. - Returns: Reading this property creates a `CGRect` structure whose origin is the `X`, `Y`, `Z` and `W` values from the vector.
func (*Vector) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*Vector) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*Vector) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
func (*Vector) String ¶ added in v0.17.0
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*Vector) StringRepresentation ¶ added in v0.17.0
StringRepresentation returns a formatted string with all the values of a `CIVector`. Some example string representations of vectors: `CIVector` | `stringRepresentation` ---------------------------------------- | -------------- `[CIVector vectorWithX:1.0 Y:0.5 Z:0.3]` | `"[1.0 0.5 0.3]"` `[CIVector vectorWithX:10.0 Y:23.0]` | `"[10.0 23.0]"` To create a “CIVector“ object from a string representation, use the “vectorWithString:“ method.
func (*Vector) ValueAtIndex ¶ added in v0.17.0
ValueAtIndex returns a value from a specific position in the vector.
func (*Vector) W ¶ added in v0.17.0
W returns the value located in the forth position in the vector.
func (*Vector) X ¶ added in v0.17.0
X returns the value located in the first position in the vector.
type VirtualMemoryGuardExceptionCode ¶ added in v0.17.0
type VirtualMemoryGuardExceptionCode uint32
const ( KGUARD_EXC_DEALLOC_GAP VirtualMemoryGuardExceptionCode = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE VirtualMemoryGuardExceptionCode = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE VirtualMemoryGuardExceptionCode = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE VirtualMemoryGuardExceptionCode = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE VirtualMemoryGuardExceptionCode = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE VirtualMemoryGuardExceptionCode = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE VirtualMemoryGuardExceptionCode = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION VirtualMemoryGuardExceptionCode = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY VirtualMemoryGuardExceptionCode = 13 KGUARD_EXC_SEC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 99 KGUARD_EXC_SEC_COPY_DENIED VirtualMemoryGuardExceptionCode = 100 KGUARD_EXC_SEC_SHARING_DENIED VirtualMemoryGuardExceptionCode = 101 KGUARD_EXC_MTE_SYNC_FAULT VirtualMemoryGuardExceptionCode = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 204 )
func (VirtualMemoryGuardExceptionCode) String ¶ added in v0.17.0
func (e VirtualMemoryGuardExceptionCode) String() string
String returns the VirtualMemoryGuardExceptionCode constant's name, or its numeric form when the value is not a known constant.
type WarpKernel ¶ added in v0.17.0
type WarpKernel struct {
Kernel
}
WarpKernel is an idiomatic wrapper over the Objective-C class CIWarpKernel.
It embeds Kernel, promoting that type's methods.
A GPU-based image-processing routine that processes only the geometry information in an image, used to create custom Core Image filters.
func CIWarpKernelKernelWithString ¶
func CIWarpKernelKernelWithString(str string) *WarpKernel
CIWarpKernelKernelWithString creates a warp kernel object from the specified kernel source code.
func NewWarpKernel ¶ added in v0.17.0
func NewWarpKernel() *WarpKernel
NewWarpKernel creates a new WarpKernel.
func WarpKernelFromID ¶ added in v0.17.0
func WarpKernelFromID(id objc.ID) *WarpKernel
WarpKernelFromID adopts an existing Objective-C object as a WarpKernel (nil for 0), retaining it and registering a release finalizer.
type XpcListenerCreateFlags ¶ added in v0.17.0
type XpcListenerCreateFlags uint64
Bitmask — values may be combined with |.
const ( XpcListenerCreateFlagsNone XpcListenerCreateFlags = 0 XpcListenerCreateFlagsInactive XpcListenerCreateFlags = 1 XpcListenerCreateFlagsForceMach XpcListenerCreateFlags = 2 XpcListenerCreateFlagsForceXpcservice XpcListenerCreateFlags = 4 )
func (XpcListenerCreateFlags) String ¶ added in v0.17.0
func (e XpcListenerCreateFlags) String() string
String returns the XpcListenerCreateFlags constant's name, or its numeric form when the value is not a known constant.
type XpcSessionCreateFlags ¶ added in v0.17.0
type XpcSessionCreateFlags uint64
Bitmask — values may be combined with |.
const ( XpcSessionCreateFlagsNone XpcSessionCreateFlags = 0 XpcSessionCreateFlagsInactive XpcSessionCreateFlags = 1 XpcSessionCreateFlagsMachPrivileged XpcSessionCreateFlags = 2 )
func (XpcSessionCreateFlags) String ¶ added in v0.17.0
func (e XpcSessionCreateFlags) String() string
String returns the XpcSessionCreateFlags constant's name, or its numeric form when the value is not a known constant.
Source Files
¶
- CIAztecCodeDescriptor_generated.go
- CIBarcodeDescriptor_generated.go
- CIBlendKernel_generated.go
- CIColorKernel_generated.go
- CIColor_generated.go
- CIContext_generated.go
- CIDataMatrixCodeDescriptor_generated.go
- CIDetector_generated.go
- CIFaceFeature_generated.go
- CIFeature_generated.go
- CIFilterGenerator_generated.go
- CIFilterShape_generated.go
- CIFilter_generated.go
- CIImageAccumulator_generated.go
- CIImageProcessorKernel_generated.go
- CIImage_generated.go
- CIKernel_generated.go
- CIPDF417CodeDescriptor_generated.go
- CIPlugIn_generated.go
- CIQRCodeDescriptor_generated.go
- CIQRCodeFeature_generated.go
- CIRAWFilter_generated.go
- CIRectangleFeature_generated.go
- CIRenderDestination_generated.go
- CIRenderInfo_generated.go
- CIRenderTask_generated.go
- CISampler_generated.go
- CITextFeature_generated.go
- CIVector_generated.go
- CIWarpKernel_generated.go
- coreimage_classmethods_generated.go
- coreimage_constants_generated.go
- coreimage_enums_generated.go
- coreimage_protocols_generated.go
- coreimage_providers_generated.go
- coreimage_runtime_generated.go
- doc.go