Documentation
¶
Overview ¶
Package coreimage provides purego-based Go bindings for the macOS CoreImage framework.
Apple documentation: https://developer.apple.com/documentation/coreimage
Index ¶
- func CIContextOfflineGPUCount() uint
- func CIDetectorAccuracy() uintptr
- func CIDetectorAccuracyHigh() uintptr
- func CIDetectorAccuracyLow() uintptr
- func CIDetectorAspectRatio() uintptr
- func CIDetectorEyeBlink() uintptr
- func CIDetectorFocalLength() uintptr
- func CIDetectorImageOrientation() uintptr
- func CIDetectorMaxFeatureCount() uintptr
- func CIDetectorMinFeatureSize() uintptr
- func CIDetectorNumberOfAngles() uintptr
- func CIDetectorReturnSubFeatures() uintptr
- func CIDetectorSmile() uintptr
- func CIDetectorTracking() uintptr
- func CIDetectorTypeFace() uintptr
- func CIDetectorTypeQRCode() uintptr
- func CIDetectorTypeRectangle() uintptr
- func CIDetectorTypeText() uintptr
- func CIFeatureTypeFace() uintptr
- func CIFeatureTypeQRCode() uintptr
- func CIFeatureTypeRectangle() uintptr
- func CIFeatureTypeText() uintptr
- func CIFilterFilterArrayFromSerializedXMPInputImageExtentError(xmpData *foundation.NSData, extent corefoundation.CGRect) (*foundation.NSArray[*CIFilter], error)deprecated
- func CIFilterFilterNamesInCategories(categories *foundation.NSArray[*foundation.NSString]) *foundation.NSArray[*foundation.NSString]
- func CIFilterFilterNamesInCategory(category *foundation.NSString) *foundation.NSArray[*foundation.NSString]
- func CIFilterLocalizedDescriptionForFilterName(filterName *foundation.NSString) *foundation.NSString
- func CIFilterLocalizedNameForCategory(category *foundation.NSString) *foundation.NSString
- func CIFilterLocalizedNameForFilterName(filterName *foundation.NSString) *foundation.NSString
- func CIFilterLocalizedReferenceDocumentationForFilterName(filterName *foundation.NSString) *foundation.NSURL
- func CIFilterRegisterFilterNameConstructorClassAttributes(name *foundation.NSString, anObject CIFilterConstructor, ...)
- func CIFilterSerializedXMPFromFiltersInputImageExtent(filters *foundation.NSArray[*CIFilter], extent corefoundation.CGRect) *foundation.NSDatadeprecated
- func CIFilterSupportedRawCameraModels() *foundation.NSArray[*foundation.NSString]
- func CIImageProcessorKernelApplyWithExtentsInputsArgumentsError(extents *foundation.NSArray[*CIVector], inputs *foundation.NSArray[*CIImage], ...) (*foundation.NSArray[*CIImage], error)
- func CIImageProcessorKernelFormatForInputAtIndex(inputIndex int) int
- func CIImageProcessorKernelOutputFormat() int
- func CIImageProcessorKernelOutputFormatAtIndexArguments(outputIndex int, ...) int
- func CIImageProcessorKernelOutputIsOpaque() bool
- func CIImageProcessorKernelProcessWithInputsArgumentsOutputError(inputs *foundation.NSArray[CIImageProcessorInput], ...) (bool, error)
- func CIImageProcessorKernelProcessWithInputsArgumentsOutputsError(inputs *foundation.NSArray[CIImageProcessorInput], ...) (bool, error)
- func CIImageProcessorKernelRoiForInputArgumentsOutputRect(inputIndex int, ...) corefoundation.CGRect
- func CIImageProcessorKernelRoiTileArrayForInputArgumentsOutputRect(inputIndex int, ...) *foundation.NSArray[*CIVector]
- func CIImageProcessorKernelSynchronizeInputs() bool
- func CIKernelKernelNamesFromMetalLibraryData(data *foundation.NSData) *foundation.NSArray[*foundation.NSString]
- func CIKernelKernelsWithMetalStringError(source *foundation.NSString) (*foundation.NSArray[*CIKernel], error)
- func CIKernelKernelsWithString(string_ *foundation.NSString) *foundation.NSArray[*CIKernel]
- func CIPlugInLoadAllPlugIns()
- func CIPlugInLoadNonExecutablePlugIn(url *foundation.NSURL)
- func CIPlugInLoadNonExecutablePlugIns()
- func CIPlugInLoadPlugInAllowExecutableCode(url *foundation.NSURL, allowExecutableCode bool)
- func CIPlugInLoadPlugInAllowNonExecutable(url *foundation.NSURL, allowNonExecutable bool)
- func CIRAWDecoderVersion6() *foundation.NSString
- func CIRAWDecoderVersion6DNG() *foundation.NSString
- func CIRAWDecoderVersion7() *foundation.NSString
- func CIRAWDecoderVersion7DNG() *foundation.NSString
- func CIRAWDecoderVersion8() *foundation.NSString
- func CIRAWDecoderVersion8DNG() *foundation.NSString
- func CIRAWDecoderVersion9() *foundation.NSString
- func CIRAWDecoderVersion9DNG() *foundation.NSString
- func CIRAWDecoderVersionNone() *foundation.NSString
- func CIRAWFilterSupportedCameraModels() *foundation.NSArray[*foundation.NSString]
- func KCIActiveKeys() *foundation.NSStringdeprecated
- func KCIApplyOptionColorSpace() uintptr
- func KCIApplyOptionDefinition() uintptr
- func KCIApplyOptionExtent() uintptr
- func KCIApplyOptionUserInfo() uintptr
- func KCIAttributeClass() uintptr
- func KCIAttributeDefault() uintptr
- func KCIAttributeDescription() uintptr
- func KCIAttributeDisplayName() uintptr
- func KCIAttributeFilterAvailable_Mac() uintptr
- func KCIAttributeFilterAvailable_iOS() uintptr
- func KCIAttributeFilterCategories() uintptr
- func KCIAttributeFilterDisplayName() uintptr
- func KCIAttributeFilterName() uintptr
- func KCIAttributeIdentity() uintptr
- func KCIAttributeMax() uintptr
- func KCIAttributeMin() uintptr
- func KCIAttributeName() uintptr
- func KCIAttributeReferenceDocumentation() uintptr
- func KCIAttributeSliderMax() uintptr
- func KCIAttributeSliderMin() uintptr
- func KCIAttributeType() uintptr
- func KCIAttributeTypeAngle() uintptr
- func KCIAttributeTypeBoolean() uintptr
- func KCIAttributeTypeColor() uintptr
- func KCIAttributeTypeCount() uintptr
- func KCIAttributeTypeDistance() uintptr
- func KCIAttributeTypeGradient() uintptr
- func KCIAttributeTypeImage() uintptr
- func KCIAttributeTypeInteger() uintptr
- func KCIAttributeTypeOffset() uintptr
- func KCIAttributeTypeOpaqueColor() uintptr
- func KCIAttributeTypePosition() uintptr
- func KCIAttributeTypePosition3() uintptr
- func KCIAttributeTypeRectangle() uintptr
- func KCIAttributeTypeScalar() uintptr
- func KCIAttributeTypeTime() uintptr
- func KCIAttributeTypeTransform() uintptr
- func KCICategoryBlur() uintptr
- func KCICategoryBuiltIn() uintptr
- func KCICategoryColorAdjustment() uintptr
- func KCICategoryColorEffect() uintptr
- func KCICategoryCompositeOperation() uintptr
- func KCICategoryDistortionEffect() uintptr
- func KCICategoryFilterGenerator() uintptr
- func KCICategoryGenerator() uintptr
- func KCICategoryGeometryAdjustment() uintptr
- func KCICategoryGradient() uintptr
- func KCICategoryHalftoneEffect() uintptr
- func KCICategoryHighDynamicRange() uintptr
- func KCICategoryInterlaced() uintptr
- func KCICategoryNonSquarePixels() uintptr
- func KCICategoryReduction() uintptr
- func KCICategorySharpen() uintptr
- func KCICategoryStillImage() uintptr
- func KCICategoryStylize() uintptr
- func KCICategoryTileEffect() uintptr
- func KCICategoryTransition() uintptr
- func KCICategoryVideo() uintptr
- func KCIContextAllowLowPower() uintptr
- func KCIContextCVMetalTextureCache() uintptr
- func KCIContextCacheIntermediates() uintptr
- func KCIContextHighQualityDownsample() uintptr
- func KCIContextMemoryLimit() uintptr
- func KCIContextName() uintptr
- func KCIContextOutputColorSpace() *foundation.NSString
- func KCIContextOutputPremultiplied() uintptr
- func KCIContextPriorityRequestLow() uintptr
- func KCIContextUseSoftwareRenderer() *foundation.NSString
- func KCIContextWorkingColorSpace() *foundation.NSString
- func KCIContextWorkingFormat() uintptr
- func KCIDynamicRangeConstrainedHigh() uintptr
- func KCIDynamicRangeHigh() uintptr
- func KCIDynamicRangeStandard() uintptr
- func KCIFilterGeneratorExportedKey() uintptr
- func KCIFilterGeneratorExportedKeyName() uintptr
- func KCIFilterGeneratorExportedKeyTargetObject() uintptr
- 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() uintptr
- func KCIImageApplyOrientationProperty() uintptr
- func KCIImageAutoAdjustCrop() uintptr
- func KCIImageAutoAdjustEnhance() uintptr
- func KCIImageAutoAdjustFeatures() uintptr
- func KCIImageAutoAdjustLevel() uintptr
- func KCIImageAutoAdjustRedEye() uintptr
- func KCIImageAuxiliaryDepth() uintptr
- func KCIImageAuxiliaryDisparity() uintptr
- func KCIImageAuxiliaryHDRGainMap() uintptr
- func KCIImageAuxiliaryPortraitEffectsMatte() uintptr
- func KCIImageAuxiliarySemanticSegmentationGlassesMatte() uintptr
- func KCIImageAuxiliarySemanticSegmentationHairMatte() uintptr
- func KCIImageAuxiliarySemanticSegmentationSkinMatte() uintptr
- func KCIImageAuxiliarySemanticSegmentationSkyMatte() uintptr
- func KCIImageAuxiliarySemanticSegmentationTeethMatte() uintptr
- func KCIImageCacheImmediately() *foundation.NSString
- func KCIImageColorSpace() *foundation.NSString
- func KCIImageContentAverageLightLevel() uintptr
- func KCIImageContentHeadroom() uintptr
- func KCIImageExpandToHDR() uintptr
- func KCIImageNearestSampling() uintptr
- func KCIImageProperties() uintptr
- func KCIImageProviderTileSize() uintptr
- func KCIImageProviderUserInfo() uintptr
- func KCIImageRepresentationAVDepthData() uintptr
- func KCIImageRepresentationAVPortraitEffectsMatte() uintptr
- func KCIImageRepresentationAVSemanticSegmentationMattes() uintptr
- func KCIImageRepresentationDepthImage() uintptr
- func KCIImageRepresentationDisparityImage() uintptr
- func KCIImageRepresentationHDRGainMapAsRGB() uintptr
- func KCIImageRepresentationHDRGainMapImage() uintptr
- func KCIImageRepresentationHDRImage() uintptr
- func KCIImageRepresentationPortraitEffectsMatteImage() uintptr
- func KCIImageRepresentationSemanticSegmentationGlassesMatteImage() uintptr
- func KCIImageRepresentationSemanticSegmentationHairMatteImage() uintptr
- func KCIImageRepresentationSemanticSegmentationSkinMatteImage() uintptr
- func KCIImageRepresentationSemanticSegmentationSkyMatteImage() uintptr
- func KCIImageRepresentationSemanticSegmentationTeethMatteImage() uintptr
- func KCIImageTextureFormat() uintptr
- func KCIImageTextureTarget() uintptr
- func KCIImageToneMapHDRtoSDR() uintptr
- func KCIInputAllowDraftModeKey() *foundation.NSStringdeprecated
- func KCIInputAmountKey() uintptr
- func KCIInputAngleKey() uintptr
- func KCIInputAspectRatioKey() uintptr
- func KCIInputBackgroundImageKey() uintptr
- func KCIInputBacksideImageKey() uintptr
- func KCIInputBaselineExposureKey() *foundation.NSStringdeprecated
- func KCIInputBiasKey() uintptr
- func KCIInputBiasVectorKey() uintptr
- func KCIInputBoostKey() *foundation.NSStringdeprecated
- func KCIInputBoostShadowAmountKey() *foundation.NSStringdeprecated
- func KCIInputBrightnessKey() uintptr
- func KCIInputCenterKey() uintptr
- func KCIInputColor0Key() uintptr
- func KCIInputColor1Key() uintptr
- func KCIInputColorKey() uintptr
- func KCIInputColorNoiseReductionAmountKey() *foundation.NSStringdeprecated
- func KCIInputColorSpaceKey() uintptr
- func KCIInputContrastKey() uintptr
- func KCIInputCountKey() uintptr
- func KCIInputDecoderVersionKey() *foundation.NSStringdeprecated
- func KCIInputDepthImageKey() uintptr
- func KCIInputDisableGamutMapKey() *foundation.NSStringdeprecated
- func KCIInputDisparityImageKey() uintptr
- func KCIInputEVKey() uintptr
- func KCIInputEnableChromaticNoiseTrackingKey() *foundation.NSStringdeprecated
- func KCIInputEnableEDRModeKey() *foundation.NSStringdeprecated
- func KCIInputEnableSharpeningKey() *foundation.NSStringdeprecated
- func KCIInputEnableVendorLensCorrectionKey() *foundation.NSStringdeprecated
- func KCIInputExtentKey() uintptr
- func KCIInputExtrapolateKey() uintptr
- func KCIInputGradientImageKey() uintptr
- func KCIInputIgnoreImageOrientationKey() *foundation.NSStringdeprecated
- func KCIInputImageKey() uintptr
- func KCIInputImageOrientationKey() *foundation.NSStringdeprecated
- func KCIInputIntensityKey() uintptr
- func KCIInputLinearSpaceFilter() *foundation.NSStringdeprecated
- func KCIInputLocalToneMapAmountKey() *foundation.NSStringdeprecated
- func KCIInputLuminanceNoiseReductionAmountKey() *foundation.NSStringdeprecated
- func KCIInputMaskImageKey() uintptr
- func KCIInputMatteImageKey() uintptr
- func KCIInputMoireAmountKey() *foundation.NSStringdeprecated
- func KCIInputNeutralChromaticityXKey() *foundation.NSStringdeprecated
- func KCIInputNeutralChromaticityYKey() *foundation.NSStringdeprecated
- func KCIInputNeutralLocationKey() *foundation.NSStringdeprecated
- func KCIInputNeutralTemperatureKey() *foundation.NSStringdeprecated
- func KCIInputNeutralTintKey() *foundation.NSStringdeprecated
- func KCIInputNoiseReductionAmountKey() *foundation.NSStringdeprecated
- func KCIInputNoiseReductionContrastAmountKey() *foundation.NSStringdeprecated
- func KCIInputNoiseReductionDetailAmountKey() *foundation.NSStringdeprecated
- func KCIInputNoiseReductionSharpnessAmountKey() *foundation.NSStringdeprecated
- func KCIInputPaletteImageKey() uintptr
- func KCIInputPerceptualKey() uintptr
- func KCIInputPoint0Key() uintptr
- func KCIInputPoint1Key() uintptr
- func KCIInputRadius0Key() uintptr
- func KCIInputRadius1Key() uintptr
- func KCIInputRadiusKey() uintptr
- func KCIInputRefractionKey() uintptr
- func KCIInputSaturationKey() uintptr
- func KCIInputScaleFactorKey() *foundation.NSStringdeprecated
- func KCIInputScaleKey() uintptr
- func KCIInputShadingImageKey() uintptr
- func KCIInputSharpnessKey() uintptr
- func KCIInputTargetImageKey() uintptr
- func KCIInputThresholdKey() uintptr
- func KCIInputTimeKey() uintptr
- func KCIInputTransformKey() uintptr
- func KCIInputVersionKey() uintptr
- func KCIInputWeightsKey() uintptr
- func KCIInputWidthKey() uintptr
- func KCIOutputImageKey() uintptr
- func KCIOutputNativeSizeKey() *foundation.NSStringdeprecated
- func KCIPropertiesKey() *foundation.NSStringdeprecated
- func KCISamplerAffineMatrix() uintptr
- func KCISamplerColorSpace() uintptr
- func KCISamplerFilterLinear() uintptr
- func KCISamplerFilterMode() uintptr
- func KCISamplerFilterNearest() uintptr
- func KCISamplerWrapBlack() uintptr
- func KCISamplerWrapClamp() uintptr
- func KCISamplerWrapMode() uintptr
- func KCISupportedDecoderVersionsKey() *foundation.NSStringdeprecated
- func KCIUIParameterSet() uintptr
- func KCIUISetAdvanced() uintptr
- func KCIUISetBasic() uintptr
- func KCIUISetDevelopment() uintptr
- func KCIUISetIntermediate() uintptr
- type Acl_entry_id_t
- type Acl_flag_t
- type Acl_perm_t
- type Acl_tag_t
- type Acl_type_t
- type CGLCPContextPriorityRequest
- type CIAztecCodeDescriptor
- func (o *CIAztecCodeDescriptor) DataCodewordCount() int
- func (o *CIAztecCodeDescriptor) ErrorCorrectedPayload() *foundation.NSData
- func (o *CIAztecCodeDescriptor) InitWithPayloadIsCompactLayerCountDataCodewordCount(errorCorrectedPayload *foundation.NSData, isCompact bool, layerCount int, ...) *CIAztecCodeDescriptor
- func (o *CIAztecCodeDescriptor) IsCompact() bool
- func (o *CIAztecCodeDescriptor) LayerCount() int
- type CIBarcodeDescriptor
- type CIBlendKernel
- func CIBlendKernelClear() *CIBlendKernel
- func CIBlendKernelColor() *CIBlendKernel
- func CIBlendKernelColorBurn() *CIBlendKernel
- func CIBlendKernelColorDodge() *CIBlendKernel
- func CIBlendKernelComponentAdd() *CIBlendKernel
- func CIBlendKernelComponentMax() *CIBlendKernel
- func CIBlendKernelComponentMin() *CIBlendKernel
- func CIBlendKernelComponentMultiply() *CIBlendKernel
- func CIBlendKernelDarken() *CIBlendKernel
- func CIBlendKernelDarkerColor() *CIBlendKernel
- func CIBlendKernelDestination() *CIBlendKernel
- func CIBlendKernelDestinationAtop() *CIBlendKernel
- func CIBlendKernelDestinationIn() *CIBlendKernel
- func CIBlendKernelDestinationOut() *CIBlendKernel
- func CIBlendKernelDestinationOver() *CIBlendKernel
- func CIBlendKernelDifference() *CIBlendKernel
- func CIBlendKernelDivide() *CIBlendKernel
- func CIBlendKernelExclusion() *CIBlendKernel
- func CIBlendKernelExclusiveOr() *CIBlendKernel
- func CIBlendKernelFromID(id objc.ID) *CIBlendKernel
- func CIBlendKernelHardLight() *CIBlendKernel
- func CIBlendKernelHardMix() *CIBlendKernel
- func CIBlendKernelHue() *CIBlendKernel
- func CIBlendKernelKernelWithString(string_ *foundation.NSString) *CIBlendKernel
- func CIBlendKernelLighten() *CIBlendKernel
- func CIBlendKernelLighterColor() *CIBlendKernel
- func CIBlendKernelLinearBurn() *CIBlendKernel
- func CIBlendKernelLinearDodge() *CIBlendKernel
- func CIBlendKernelLinearLight() *CIBlendKernel
- func CIBlendKernelLuminosity() *CIBlendKernel
- func CIBlendKernelMultiply() *CIBlendKernel
- func CIBlendKernelOverlay() *CIBlendKernel
- func CIBlendKernelPinLight() *CIBlendKernel
- func CIBlendKernelSaturation() *CIBlendKernel
- func CIBlendKernelScreen() *CIBlendKernel
- func CIBlendKernelSoftLight() *CIBlendKernel
- func CIBlendKernelSource() *CIBlendKernel
- func CIBlendKernelSourceAtop() *CIBlendKernel
- func CIBlendKernelSourceIn() *CIBlendKernel
- func CIBlendKernelSourceOut() *CIBlendKernel
- func CIBlendKernelSourceOver() *CIBlendKernel
- func CIBlendKernelSubtract() *CIBlendKernel
- func CIBlendKernelVividLight() *CIBlendKernel
- type CIColor
- func CIColorBlackColor() *CIColor
- func CIColorBlueColor() *CIColor
- func CIColorClearColor() *CIColor
- func CIColorColorWithCGColor(color unsafe.Pointer) *CIColor
- func CIColorColorWithRedGreenBlue(red float64, green float64, blue float64) *CIColor
- func CIColorColorWithRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) *CIColor
- func CIColorColorWithRedGreenBlueAlphaColorSpace(red float64, green float64, blue float64, alpha float64, ...) *CIColor
- func CIColorColorWithRedGreenBlueColorSpace(red float64, green float64, blue float64, colorSpace unsafe.Pointer) *CIColor
- func CIColorColorWithString(representation *foundation.NSString) *CIColor
- func CIColorCyanColor() *CIColor
- func CIColorFromID(id objc.ID) *CIColor
- func CIColorGrayColor() *CIColor
- func CIColorGreenColor() *CIColor
- func CIColorMagentaColor() *CIColor
- func CIColorRedColor() *CIColor
- func CIColorWhiteColor() *CIColor
- func CIColorYellowColor() *CIColor
- func (o *CIColor) Alpha() float64
- func (o *CIColor) Blue() float64
- func (o *CIColor) ColorSpace() unsafe.Pointer
- func (o *CIColor) Components() unsafe.Pointer
- func (o *CIColor) Green() float64
- func (o *CIColor) InitWithCGColor(color unsafe.Pointer) *CIColor
- func (o *CIColor) InitWithRedGreenBlue(red float64, green float64, blue float64) *CIColor
- func (o *CIColor) InitWithRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) *CIColor
- func (o *CIColor) InitWithRedGreenBlueAlphaColorSpace(red float64, green float64, blue float64, alpha float64, ...) *CIColor
- func (o *CIColor) InitWithRedGreenBlueColorSpace(red float64, green float64, blue float64, colorSpace unsafe.Pointer) *CIColor
- func (o *CIColor) NumberOfComponents() uint
- func (o *CIColor) Red() float64
- func (o *CIColor) StringRepresentation() *foundation.NSString
- type CIColorKernel
- type CIContext
- func CIContextContext() *CIContext
- func CIContextContextForOfflineGPUAtIndex(index uint) *CIContext
- func CIContextContextForOfflineGPUAtIndexColorSpaceOptionsSharedContext(index uint, colorSpace unsafe.Pointer, ...) *CIContext
- func CIContextContextWithCGContextOptions(cgctx unsafe.Pointer, ...) *CIContext
- func CIContextContextWithCGLContextPixelFormatColorSpaceOptions(cglctx unsafe.Pointer, pixelFormat unsafe.Pointer, colorSpace unsafe.Pointer, ...) *CIContext
- func CIContextContextWithCGLContextPixelFormatOptions(cglctx unsafe.Pointer, pixelFormat unsafe.Pointer, ...) *CIContext
- func CIContextContextWithMTLCommandQueue(commandQueue metal.MTLCommandQueue) *CIContext
- func CIContextContextWithMTLCommandQueueOptions(commandQueue metal.MTLCommandQueue, ...) *CIContext
- func CIContextContextWithMTLDevice(device metal.MTLDevice) *CIContext
- func CIContextContextWithMTLDeviceOptions(device metal.MTLDevice, ...) *CIContext
- func CIContextContextWithOptions(options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIContext
- func CIContextFromID(id objc.ID) *CIContext
- func (o *CIContext) CalculateHDRStatsForCGImage(cgimage unsafe.Pointer) unsafe.Pointer
- func (o *CIContext) CalculateHDRStatsForCVPixelBuffer(buffer unsafe.Pointer)
- func (o *CIContext) CalculateHDRStatsForIOSurface(surface unsafe.Pointer)
- func (o *CIContext) CalculateHDRStatsForImage(image *CIImage) *CIImage
- func (o *CIContext) ClearCaches()
- func (o *CIContext) CreateCGImageFromRect(image *CIImage, fromRect corefoundation.CGRect) unsafe.Pointer
- func (o *CIContext) CreateCGImageFromRectFormatColorSpace(image *CIImage, fromRect corefoundation.CGRect, format int, ...) unsafe.Pointer
- func (o *CIContext) CreateCGImageFromRectFormatColorSpaceDeferred(image *CIImage, fromRect corefoundation.CGRect, format int, ...) unsafe.Pointer
- func (o *CIContext) CreateCGImageFromRectFormatColorSpaceDeferredCalculateHDRStats(image *CIImage, fromRect corefoundation.CGRect, format int, ...) unsafe.Pointer
- func (o *CIContext) CreateCGLayerWithSizeInfo(size corefoundation.CGSize, info unsafe.Pointer) unsafe.Pointer
- func (o *CIContext) DepthBlurEffectFilterForImageDataOptions(data *foundation.NSData, options *foundation.NSDictionary[objc.ID, objc.ID]) *CIFilter
- func (o *CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationGlassesMatteGainMapOrientationOptions(image *CIImage, disparityImage *CIImage, portraitEffectsMatte *CIImage, ...) *CIFilter
- func (o *CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationOrientationOptions(image *CIImage, disparityImage *CIImage, portraitEffectsMatte *CIImage, ...) *CIFilter
- func (o *CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteOrientationOptions(image *CIImage, disparityImage *CIImage, portraitEffectsMatte *CIImage, ...) *CIFilter
- func (o *CIContext) DepthBlurEffectFilterForImageURLOptions(url *foundation.NSURL, options *foundation.NSDictionary[objc.ID, objc.ID]) *CIFilter
- func (o *CIContext) DrawImageAtPointFromRect(image *CIImage, atPoint corefoundation.CGPoint, fromRect corefoundation.CGRect)
- func (o *CIContext) DrawImageInRectFromRect(image *CIImage, inRect corefoundation.CGRect, fromRect corefoundation.CGRect)
- func (o *CIContext) HEIF10RepresentationOfImageColorSpaceOptionsError(image *CIImage, colorSpace unsafe.Pointer, ...) (*foundation.NSData, error)
- func (o *CIContext) HEIFRepresentationOfImageFormatColorSpaceOptions(image *CIImage, format int, colorSpace unsafe.Pointer, ...) *foundation.NSData
- func (o *CIContext) Init() *CIContext
- func (o *CIContext) InitWithOptions(options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIContext
- func (o *CIContext) JPEGRepresentationOfImageColorSpaceOptions(image *CIImage, colorSpace unsafe.Pointer, ...) *foundation.NSData
- func (o *CIContext) OpenEXRRepresentationOfImageOptionsError(image *CIImage, ...) (*foundation.NSData, error)
- func (o *CIContext) PNGRepresentationOfImageFormatColorSpaceOptions(image *CIImage, format int, colorSpace unsafe.Pointer, ...) *foundation.NSData
- func (o *CIContext) PrepareRenderFromRectToDestinationAtPointError(image *CIImage, fromRect corefoundation.CGRect, ...) (bool, error)
- func (o *CIContext) ReclaimResources()
- func (o *CIContext) RenderToBitmapRowBytesBoundsFormatColorSpace(image *CIImage, data unsafe.Pointer, rowBytes int, ...)
- func (o *CIContext) RenderToCVPixelBuffer(image *CIImage, buffer unsafe.Pointer)
- func (o *CIContext) RenderToCVPixelBufferBoundsColorSpace(image *CIImage, buffer unsafe.Pointer, bounds corefoundation.CGRect, ...)
- func (o *CIContext) RenderToIOSurfaceBoundsColorSpace(image *CIImage, surface unsafe.Pointer, bounds corefoundation.CGRect, ...)
- func (o *CIContext) RenderToMTLTextureCommandBufferBoundsColorSpace(image *CIImage, texture metal.MTLTexture, commandBuffer metal.MTLCommandBuffer, ...)
- func (o *CIContext) StartTaskToClearError(destination *CIRenderDestination) (*CIRenderTask, error)
- func (o *CIContext) StartTaskToRenderFromRectToDestinationAtPointError(image *CIImage, fromRect corefoundation.CGRect, ...) (*CIRenderTask, error)
- func (o *CIContext) StartTaskToRenderToDestinationError(image *CIImage, destination *CIRenderDestination) (*CIRenderTask, error)
- func (o *CIContext) TIFFRepresentationOfImageFormatColorSpaceOptions(image *CIImage, format int, colorSpace unsafe.Pointer, ...) *foundation.NSData
- func (o *CIContext) WorkingColorSpace() unsafe.Pointer
- func (o *CIContext) WorkingFormat() int
- func (o *CIContext) WriteHEIF10RepresentationOfImageToURLColorSpaceOptionsError(image *CIImage, url *foundation.NSURL, colorSpace unsafe.Pointer, ...) (bool, error)
- func (o *CIContext) WriteHEIFRepresentationOfImageToURLFormatColorSpaceOptionsError(image *CIImage, url *foundation.NSURL, format int, colorSpace unsafe.Pointer, ...) (bool, error)
- func (o *CIContext) WriteJPEGRepresentationOfImageToURLColorSpaceOptionsError(image *CIImage, url *foundation.NSURL, colorSpace unsafe.Pointer, ...) (bool, error)
- func (o *CIContext) WriteOpenEXRRepresentationOfImageToURLOptionsError(image *CIImage, url *foundation.NSURL, ...) (bool, error)
- func (o *CIContext) WritePNGRepresentationOfImageToURLFormatColorSpaceOptionsError(image *CIImage, url *foundation.NSURL, format int, colorSpace unsafe.Pointer, ...) (bool, error)
- func (o *CIContext) WriteTIFFRepresentationOfImageToURLFormatColorSpaceOptionsError(image *CIImage, url *foundation.NSURL, format int, colorSpace unsafe.Pointer, ...) (bool, error)
- type CIDataMatrixCodeDescriptor
- func (o *CIDataMatrixCodeDescriptor) ColumnCount() int
- func (o *CIDataMatrixCodeDescriptor) EccVersion() CIDataMatrixCodeECCVersion
- func (o *CIDataMatrixCodeDescriptor) ErrorCorrectedPayload() *foundation.NSData
- func (o *CIDataMatrixCodeDescriptor) InitWithPayloadRowCountColumnCountEccVersion(errorCorrectedPayload *foundation.NSData, rowCount int, columnCount int, ...) *CIDataMatrixCodeDescriptor
- func (o *CIDataMatrixCodeDescriptor) RowCount() int
- type CIDataMatrixCodeECCVersion
- type CIDetector
- type CIFaceFeature
- func (o *CIFaceFeature) FaceAngle() float32
- func (o *CIFaceFeature) HasFaceAngle() bool
- func (o *CIFaceFeature) HasLeftEyePosition() bool
- func (o *CIFaceFeature) HasMouthPosition() bool
- func (o *CIFaceFeature) HasRightEyePosition() bool
- func (o *CIFaceFeature) HasSmile() bool
- func (o *CIFaceFeature) HasTrackingFrameCount() bool
- func (o *CIFaceFeature) HasTrackingID() bool
- func (o *CIFaceFeature) LeftEyeClosed() bool
- func (o *CIFaceFeature) LeftEyePosition() corefoundation.CGPoint
- func (o *CIFaceFeature) MouthPosition() corefoundation.CGPoint
- func (o *CIFaceFeature) RightEyeClosed() bool
- func (o *CIFaceFeature) RightEyePosition() corefoundation.CGPoint
- func (o *CIFaceFeature) TrackingFrameCount() int
- func (o *CIFaceFeature) TrackingID() int
- type CIFeature
- type CIFilter
- func CIFilterFilterWithCVPixelBufferPropertiesOptions(pixelBuffer unsafe.Pointer, ...) *CIFilter
- func CIFilterFilterWithImageDataOptions(data *foundation.NSData, ...) *CIFilter
- func CIFilterFilterWithImageURLOptions(url *foundation.NSURL, ...) *CIFilter
- func CIFilterFilterWithName(name *foundation.NSString) *CIFilter
- func CIFilterFilterWithNameWithInputParameters(name *foundation.NSString, ...) *CIFilter
- func CIFilterFromID(id objc.ID) *CIFilter
- func (o *CIFilter) ApplyArgumentsOptions(k *CIKernel, args *foundation.NSArray[objc.ID], ...) *CIImage
- func (o *CIFilter) Attributes() *foundation.NSDictionary[*foundation.NSString, objc.ID]
- func (o *CIFilter) InputKeys() *foundation.NSArray[*foundation.NSString]
- func (o *CIFilter) IsEnabled() bool
- func (o *CIFilter) Name() *foundation.NSString
- func (o *CIFilter) OutputImage() *CIImage
- func (o *CIFilter) OutputKeys() *foundation.NSArray[*foundation.NSString]
- func (o *CIFilter) SetDefaults()
- func (o *CIFilter) SetEnabled(enabled bool)
- func (o *CIFilter) SetName(aString *foundation.NSString)
- type CIFilterConstructor
- type CIFilterGenerator
- func (o *CIFilterGenerator) ClassAttributes() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *CIFilterGenerator) ConnectObjectWithKeyToObjectWithKey(sourceObject objc.ID, sourceKey *foundation.NSString, targetObject objc.ID, ...)
- func (o *CIFilterGenerator) DisconnectObjectWithKeyToObjectWithKey(sourceObject objc.ID, sourceKey *foundation.NSString, targetObject objc.ID, ...)
- func (o *CIFilterGenerator) ExportKeyFromObjectWithName(key *foundation.NSString, targetObject objc.ID, ...)
- func (o *CIFilterGenerator) ExportedKeys() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *CIFilterGenerator) Filter() *CIFilter
- func (o *CIFilterGenerator) InitWithContentsOfURL(aURL *foundation.NSURL) objc.ID
- func (o *CIFilterGenerator) RegisterFilterName(name *foundation.NSString)
- func (o *CIFilterGenerator) RemoveExportedKey(exportedKeyName *foundation.NSString)
- func (o *CIFilterGenerator) SetAttributesForExportedKey(attributes *foundation.NSDictionary[objc.ID, objc.ID], ...)
- func (o *CIFilterGenerator) SetClassAttributes(classAttributes *foundation.NSDictionary[objc.ID, objc.ID])
- func (o *CIFilterGenerator) WriteToURLAtomically(aURL *foundation.NSURL, flag bool) bool
- type CIFilterProtocol
- type CIFilterShape
- func (o *CIFilterShape) Extent() corefoundation.CGRect
- func (o *CIFilterShape) InitWithRect(r corefoundation.CGRect) *CIFilterShape
- func (o *CIFilterShape) InsetByXY(dx int, dy int) *CIFilterShape
- func (o *CIFilterShape) IntersectWith(s2 *CIFilterShape) *CIFilterShape
- func (o *CIFilterShape) IntersectWithRect(r corefoundation.CGRect) *CIFilterShape
- func (o *CIFilterShape) TransformByInterior(m corefoundation.CGAffineTransform, flag bool) *CIFilterShape
- func (o *CIFilterShape) UnionWith(s2 *CIFilterShape) *CIFilterShape
- func (o *CIFilterShape) UnionWithRect(r corefoundation.CGRect) *CIFilterShape
- type CIImage
- func CIImageBlackImage() *CIImage
- func CIImageBlueImage() *CIImage
- func CIImageClearImage() *CIImage
- func CIImageCyanImage() *CIImage
- func CIImageEmptyImage() *CIImage
- func CIImageFromID(id objc.ID) *CIImage
- func CIImageGrayImage() *CIImage
- func CIImageGreenImage() *CIImage
- func CIImageImageWithBitmapDataBytesPerRowSizeFormatColorSpace(data *foundation.NSData, bytesPerRow uint, size corefoundation.CGSize, ...) *CIImage
- func CIImageImageWithCGImage(image unsafe.Pointer) *CIImage
- func CIImageImageWithCGImageOptions(image unsafe.Pointer, ...) *CIImage
- func CIImageImageWithCGImageSourceIndexOptions(source unsafe.Pointer, index uint, ...) *CIImage
- func CIImageImageWithCGLayer(layer unsafe.Pointer) *CIImage
- func CIImageImageWithCGLayerOptions(layer unsafe.Pointer, ...) *CIImage
- func CIImageImageWithCVImageBuffer(imageBuffer unsafe.Pointer) *CIImage
- func CIImageImageWithCVImageBufferOptions(imageBuffer unsafe.Pointer, ...) *CIImage
- func CIImageImageWithCVPixelBuffer(pixelBuffer unsafe.Pointer) *CIImage
- func CIImageImageWithCVPixelBufferOptions(pixelBuffer unsafe.Pointer, ...) *CIImage
- func CIImageImageWithColor(color *CIColor) *CIImage
- func CIImageImageWithContentsOfURL(url *foundation.NSURL) *CIImage
- func CIImageImageWithContentsOfURLOptions(url *foundation.NSURL, ...) *CIImage
- func CIImageImageWithData(data *foundation.NSData) *CIImage
- func CIImageImageWithDataOptions(data *foundation.NSData, ...) *CIImage
- func CIImageImageWithDepthData(data *avfoundation.AVDepthData) *CIImage
- func CIImageImageWithDepthDataOptions(data *avfoundation.AVDepthData, ...) *CIImage
- func CIImageImageWithIOSurface(surface unsafe.Pointer) *CIImage
- func CIImageImageWithIOSurfaceOptions(surface unsafe.Pointer, ...) *CIImage
- func CIImageImageWithImageProviderSizeFormatColorSpaceOptions(provider objc.ID, width uint, height uint, format int, ...) *CIImage
- func CIImageImageWithMTLTextureOptions(texture metal.MTLTexture, ...) *CIImage
- func CIImageImageWithPortaitEffectsMatte(matte *avfoundation.AVPortraitEffectsMatte) *CIImage
- func CIImageImageWithPortaitEffectsMatteOptions(matte *avfoundation.AVPortraitEffectsMatte, ...) *CIImage
- func CIImageImageWithSemanticSegmentationMatte(matte *avfoundation.AVSemanticSegmentationMatte) *CIImage
- func CIImageImageWithSemanticSegmentationMatteOptions(matte *avfoundation.AVSemanticSegmentationMatte, ...) *CIImage
- func CIImageImageWithTextureSizeFlippedColorSpace(name uint, size corefoundation.CGSize, flipped bool, colorSpace unsafe.Pointer) *CIImage
- func CIImageImageWithTextureSizeFlippedOptions(name uint, size corefoundation.CGSize, flipped bool, ...) *CIImage
- func CIImageMagentaImage() *CIImage
- func CIImageProcessorKernelApplyWithExtentInputsArgumentsError(extent corefoundation.CGRect, inputs *foundation.NSArray[*CIImage], ...) (*CIImage, error)
- func CIImageRedImage() *CIImage
- func CIImageWhiteImage() *CIImage
- func CIImageYellowImage() *CIImage
- func (o *CIImage) AutoAdjustmentFilters() *foundation.NSArray[*CIFilter]
- func (o *CIImage) AutoAdjustmentFiltersWithOptions(options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *foundation.NSArray[*CIFilter]
- func (o *CIImage) CGImage() unsafe.Pointer
- func (o *CIImage) ColorSpace() unsafe.Pointer
- func (o *CIImage) ContentAverageLightLevel() float32
- func (o *CIImage) ContentHeadroom() float32
- func (o *CIImage) Definition() *CIFilterShape
- func (o *CIImage) DepthData() *avfoundation.AVDepthData
- func (o *CIImage) Extent() corefoundation.CGRect
- func (o *CIImage) ImageByApplyingCGOrientation(orientation imageio.CGImagePropertyOrientation) *CIImage
- func (o *CIImage) ImageByApplyingFilter(filterName *foundation.NSString) *CIImage
- func (o *CIImage) ImageByApplyingFilterWithInputParameters(filterName *foundation.NSString, ...) *CIImage
- func (o *CIImage) ImageByApplyingGainMap(gainmap *CIImage) *CIImage
- func (o *CIImage) ImageByApplyingGainMapHeadroom(gainmap *CIImage, headroom float32) *CIImage
- func (o *CIImage) ImageByApplyingGaussianBlurWithSigma(sigma float64) *CIImage
- func (o *CIImage) ImageByApplyingOrientation(orientation int) *CIImage
- func (o *CIImage) ImageByApplyingTransform(matrix corefoundation.CGAffineTransform) *CIImage
- func (o *CIImage) ImageByApplyingTransformHighQualityDownsample(matrix corefoundation.CGAffineTransform, highQualityDownsample bool) *CIImage
- func (o *CIImage) ImageByClampingToExtent() *CIImage
- func (o *CIImage) ImageByClampingToRect(rect corefoundation.CGRect) *CIImage
- func (o *CIImage) ImageByColorMatchingColorSpaceToWorkingSpace(colorSpace unsafe.Pointer) *CIImage
- func (o *CIImage) ImageByColorMatchingWorkingSpaceToColorSpace(colorSpace unsafe.Pointer) *CIImage
- func (o *CIImage) ImageByCompositingOverImage(dest *CIImage) *CIImage
- func (o *CIImage) ImageByConvertingLabToWorkingSpace() *CIImage
- func (o *CIImage) ImageByConvertingWorkingSpaceToLab() *CIImage
- func (o *CIImage) ImageByCroppingToRect(rect corefoundation.CGRect) *CIImage
- func (o *CIImage) ImageByInsertingIntermediate() *CIImage
- func (o *CIImage) ImageByInsertingIntermediate2(cache bool) *CIImage
- func (o *CIImage) ImageByInsertingTiledIntermediate() *CIImage
- func (o *CIImage) ImageByPremultiplyingAlpha() *CIImage
- func (o *CIImage) ImageBySamplingLinear() *CIImage
- func (o *CIImage) ImageBySamplingNearest() *CIImage
- func (o *CIImage) ImageBySettingAlphaOneInExtent(extent corefoundation.CGRect) *CIImage
- func (o *CIImage) ImageBySettingContentAverageLightLevel(average float32) *CIImage
- func (o *CIImage) ImageBySettingContentHeadroom(headroom float32) *CIImage
- func (o *CIImage) ImageBySettingProperties(properties *foundation.NSDictionary[objc.ID, objc.ID]) *CIImage
- func (o *CIImage) ImageByUnpremultiplyingAlpha() *CIImage
- func (o *CIImage) ImageTransformForCGOrientation(orientation imageio.CGImagePropertyOrientation) corefoundation.CGAffineTransform
- func (o *CIImage) ImageTransformForOrientation(orientation int) corefoundation.CGAffineTransform
- func (o *CIImage) InitWithBitmapDataBytesPerRowSizeFormatColorSpace(data *foundation.NSData, bytesPerRow uint, size corefoundation.CGSize, ...) *CIImage
- func (o *CIImage) InitWithCGImage(image unsafe.Pointer) *CIImage
- func (o *CIImage) InitWithCGImageOptions(image unsafe.Pointer, ...) *CIImage
- func (o *CIImage) InitWithCGImageSourceIndexOptions(source unsafe.Pointer, index uint, ...) *CIImage
- func (o *CIImage) InitWithCGLayer(layer unsafe.Pointer) *CIImage
- func (o *CIImage) InitWithCGLayerOptions(layer unsafe.Pointer, ...) *CIImage
- func (o *CIImage) InitWithCVImageBuffer(imageBuffer unsafe.Pointer) *CIImage
- func (o *CIImage) InitWithCVImageBufferOptions(imageBuffer unsafe.Pointer, ...) *CIImage
- func (o *CIImage) InitWithCVPixelBuffer(pixelBuffer unsafe.Pointer) *CIImage
- func (o *CIImage) InitWithCVPixelBufferOptions(pixelBuffer unsafe.Pointer, ...) *CIImage
- func (o *CIImage) InitWithColor(color *CIColor) *CIImage
- func (o *CIImage) InitWithContentsOfURL(url *foundation.NSURL) *CIImage
- func (o *CIImage) InitWithContentsOfURLOptions(url *foundation.NSURL, ...) *CIImage
- func (o *CIImage) InitWithData(data *foundation.NSData) *CIImage
- func (o *CIImage) InitWithDataOptions(data *foundation.NSData, ...) *CIImage
- func (o *CIImage) InitWithDepthData(data *avfoundation.AVDepthData) *CIImage
- func (o *CIImage) InitWithDepthDataOptions(data *avfoundation.AVDepthData, ...) *CIImage
- func (o *CIImage) InitWithIOSurface(surface unsafe.Pointer) *CIImage
- func (o *CIImage) InitWithIOSurfaceOptions(surface unsafe.Pointer, ...) *CIImage
- func (o *CIImage) InitWithIOSurfacePlaneFormatOptions(surface unsafe.Pointer, plane uint, format int, ...) *CIImage
- func (o *CIImage) InitWithImageProviderSizeFormatColorSpaceOptions(provider objc.ID, width uint, height uint, format int, ...) *CIImage
- func (o *CIImage) InitWithMTLTextureOptions(texture metal.MTLTexture, ...) *CIImage
- func (o *CIImage) InitWithPortaitEffectsMatte(matte *avfoundation.AVPortraitEffectsMatte) *CIImage
- func (o *CIImage) InitWithPortaitEffectsMatteOptions(matte *avfoundation.AVPortraitEffectsMatte, ...) *CIImage
- func (o *CIImage) InitWithSemanticSegmentationMatte(matte *avfoundation.AVSemanticSegmentationMatte) *CIImage
- func (o *CIImage) InitWithSemanticSegmentationMatteOptions(matte *avfoundation.AVSemanticSegmentationMatte, ...) *CIImage
- func (o *CIImage) InitWithTextureSizeFlippedColorSpace(name uint, size corefoundation.CGSize, flipped bool, colorSpace unsafe.Pointer) *CIImage
- func (o *CIImage) InitWithTextureSizeFlippedOptions(name uint, size corefoundation.CGSize, flipped bool, ...) *CIImage
- func (o *CIImage) IsOpaque() bool
- func (o *CIImage) MetalTexture() metal.MTLTexture
- func (o *CIImage) PixelBuffer() unsafe.Pointer
- func (o *CIImage) PortraitEffectsMatte() *avfoundation.AVPortraitEffectsMatte
- func (o *CIImage) Properties() *foundation.NSDictionary[*foundation.NSString, objc.ID]
- func (o *CIImage) RegionOfInterestForImageInRect(image *CIImage, rect corefoundation.CGRect) corefoundation.CGRect
- func (o *CIImage) SemanticSegmentationMatte() *avfoundation.AVSemanticSegmentationMatte
- func (o *CIImage) Url() *foundation.NSURL
- type CIImageAccumulator
- func CIImageAccumulatorFromID(id objc.ID) *CIImageAccumulator
- func CIImageAccumulatorImageAccumulatorWithExtentFormat(extent corefoundation.CGRect, format int) *CIImageAccumulator
- func CIImageAccumulatorImageAccumulatorWithExtentFormatColorSpace(extent corefoundation.CGRect, format int, colorSpace unsafe.Pointer) *CIImageAccumulator
- func (o *CIImageAccumulator) Clear()
- func (o *CIImageAccumulator) Extent() corefoundation.CGRect
- func (o *CIImageAccumulator) Format() int
- func (o *CIImageAccumulator) Image() *CIImage
- func (o *CIImageAccumulator) InitWithExtentFormat(extent corefoundation.CGRect, format int) *CIImageAccumulator
- func (o *CIImageAccumulator) InitWithExtentFormatColorSpace(extent corefoundation.CGRect, format int, colorSpace unsafe.Pointer) *CIImageAccumulator
- func (o *CIImageAccumulator) SetImage(image *CIImage)
- func (o *CIImageAccumulator) SetImageDirtyRect(image *CIImage, dirtyRect corefoundation.CGRect)
- type CIImageProcessorInput
- type CIImageProcessorKernel
- type CIImageProcessorOutput
- type CIKernel
- func CIKernelFromID(id objc.ID) *CIKernel
- func CIKernelKernelWithFunctionNameFromMetalLibraryDataError(name *foundation.NSString, data *foundation.NSData) (*CIKernel, error)
- func CIKernelKernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError(name *foundation.NSString, data *foundation.NSData, format int) (*CIKernel, error)
- func CIKernelKernelWithString(string_ *foundation.NSString) *CIKernel
- type CIPDF417CodeDescriptor
- func (o *CIPDF417CodeDescriptor) ColumnCount() int
- func (o *CIPDF417CodeDescriptor) ErrorCorrectedPayload() *foundation.NSData
- func (o *CIPDF417CodeDescriptor) InitWithPayloadIsCompactRowCountColumnCount(errorCorrectedPayload *foundation.NSData, isCompact bool, rowCount int, ...) *CIPDF417CodeDescriptor
- func (o *CIPDF417CodeDescriptor) IsCompact() bool
- func (o *CIPDF417CodeDescriptor) RowCount() int
- type CIPlugIn
- type CIPlugInRegistration
- type CIQRCodeDescriptor
- func (o *CIQRCodeDescriptor) ErrorCorrectedPayload() *foundation.NSData
- func (o *CIQRCodeDescriptor) ErrorCorrectionLevel() CIQRCodeErrorCorrectionLevel
- func (o *CIQRCodeDescriptor) InitWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel(errorCorrectedPayload *foundation.NSData, symbolVersion int, maskPattern uint8, ...) *CIQRCodeDescriptor
- func (o *CIQRCodeDescriptor) MaskPattern() uint8
- func (o *CIQRCodeDescriptor) SymbolVersion() int
- type CIQRCodeErrorCorrectionLevel
- type CIQRCodeFeature
- func (o *CIQRCodeFeature) BottomLeft() corefoundation.CGPoint
- func (o *CIQRCodeFeature) BottomRight() corefoundation.CGPoint
- func (o *CIQRCodeFeature) MessageString() *foundation.NSString
- func (o *CIQRCodeFeature) SymbolDescriptor() *CIQRCodeDescriptor
- func (o *CIQRCodeFeature) TopLeft() corefoundation.CGPoint
- func (o *CIQRCodeFeature) TopRight() corefoundation.CGPoint
- type CIRAWFilter
- func CIRAWFilterFilterWithCVPixelBufferProperties(buffer unsafe.Pointer, properties *foundation.NSDictionary[objc.ID, objc.ID]) *CIRAWFilter
- func CIRAWFilterFilterWithImageDataIdentifierHint(data *foundation.NSData, identifierHint *foundation.NSString) *CIRAWFilter
- func CIRAWFilterFilterWithImageURL(url *foundation.NSURL) *CIRAWFilter
- func CIRAWFilterFromID(id objc.ID) *CIRAWFilter
- func (o *CIRAWFilter) BaselineExposure() float32
- func (o *CIRAWFilter) BoostAmount() float32
- func (o *CIRAWFilter) BoostShadowAmount() float32
- func (o *CIRAWFilter) ColorNoiseReductionAmount() float32
- func (o *CIRAWFilter) ContrastAmount() float32
- func (o *CIRAWFilter) DecoderVersion() *foundation.NSString
- func (o *CIRAWFilter) DetailAmount() float32
- func (o *CIRAWFilter) Exposure() float32
- func (o *CIRAWFilter) ExtendedDynamicRangeAmount() float32
- func (o *CIRAWFilter) IsColorNoiseReductionSupported() bool
- func (o *CIRAWFilter) IsContrastSupported() bool
- func (o *CIRAWFilter) IsDetailSupported() bool
- func (o *CIRAWFilter) IsDraftModeEnabled() bool
- func (o *CIRAWFilter) IsGamutMappingEnabled() bool
- func (o *CIRAWFilter) IsHighlightRecoveryEnabled() bool
- func (o *CIRAWFilter) IsHighlightRecoverySupported() bool
- func (o *CIRAWFilter) IsLensCorrectionEnabled() bool
- func (o *CIRAWFilter) IsLensCorrectionSupported() bool
- func (o *CIRAWFilter) IsLocalToneMapSupported() bool
- func (o *CIRAWFilter) IsLuminanceNoiseReductionSupported() bool
- func (o *CIRAWFilter) IsMoireReductionSupported() bool
- func (o *CIRAWFilter) IsSharpnessSupported() bool
- func (o *CIRAWFilter) LinearSpaceFilter() *CIFilter
- func (o *CIRAWFilter) LocalToneMapAmount() float32
- func (o *CIRAWFilter) LuminanceNoiseReductionAmount() float32
- func (o *CIRAWFilter) MoireReductionAmount() float32
- func (o *CIRAWFilter) NativeSize() corefoundation.CGSize
- func (o *CIRAWFilter) NeutralChromaticity() corefoundation.CGPoint
- func (o *CIRAWFilter) NeutralLocation() corefoundation.CGPoint
- func (o *CIRAWFilter) NeutralTemperature() float32
- func (o *CIRAWFilter) NeutralTint() float32
- func (o *CIRAWFilter) Orientation() imageio.CGImagePropertyOrientation
- func (o *CIRAWFilter) PortraitEffectsMatte() *CIImage
- func (o *CIRAWFilter) PreviewImage() *CIImage
- func (o *CIRAWFilter) Properties() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *CIRAWFilter) ScaleFactor() float32
- func (o *CIRAWFilter) SemanticSegmentationGlassesMatte() *CIImage
- func (o *CIRAWFilter) SemanticSegmentationHairMatte() *CIImage
- func (o *CIRAWFilter) SemanticSegmentationSkinMatte() *CIImage
- func (o *CIRAWFilter) SemanticSegmentationSkyMatte() *CIImage
- func (o *CIRAWFilter) SemanticSegmentationTeethMatte() *CIImage
- func (o *CIRAWFilter) SetBaselineExposure(baselineExposure float32)
- func (o *CIRAWFilter) SetBoostAmount(boostAmount float32)
- func (o *CIRAWFilter) SetBoostShadowAmount(boostShadowAmount float32)
- func (o *CIRAWFilter) SetColorNoiseReductionAmount(colorNoiseReductionAmount float32)
- func (o *CIRAWFilter) SetContrastAmount(contrastAmount float32)
- func (o *CIRAWFilter) SetDecoderVersion(decoderVersion *foundation.NSString)
- func (o *CIRAWFilter) SetDetailAmount(detailAmount float32)
- func (o *CIRAWFilter) SetDraftModeEnabled(draftModeEnabled bool)
- func (o *CIRAWFilter) SetExposure(exposure float32)
- func (o *CIRAWFilter) SetExtendedDynamicRangeAmount(extendedDynamicRangeAmount float32)
- func (o *CIRAWFilter) SetGamutMappingEnabled(gamutMappingEnabled bool)
- func (o *CIRAWFilter) SetHighlightRecoveryEnabled(highlightRecoveryEnabled bool)
- func (o *CIRAWFilter) SetLensCorrectionEnabled(lensCorrectionEnabled bool)
- func (o *CIRAWFilter) SetLinearSpaceFilter(linearSpaceFilter *CIFilter)
- func (o *CIRAWFilter) SetLocalToneMapAmount(localToneMapAmount float32)
- func (o *CIRAWFilter) SetLuminanceNoiseReductionAmount(luminanceNoiseReductionAmount float32)
- func (o *CIRAWFilter) SetMoireReductionAmount(moireReductionAmount float32)
- func (o *CIRAWFilter) SetNeutralChromaticity(neutralChromaticity corefoundation.CGPoint)
- func (o *CIRAWFilter) SetNeutralLocation(neutralLocation corefoundation.CGPoint)
- func (o *CIRAWFilter) SetNeutralTemperature(neutralTemperature float32)
- func (o *CIRAWFilter) SetNeutralTint(neutralTint float32)
- func (o *CIRAWFilter) SetOrientation(orientation imageio.CGImagePropertyOrientation)
- func (o *CIRAWFilter) SetScaleFactor(scaleFactor float32)
- func (o *CIRAWFilter) SetShadowBias(shadowBias float32)
- func (o *CIRAWFilter) SetSharpnessAmount(sharpnessAmount float32)
- func (o *CIRAWFilter) ShadowBias() float32
- func (o *CIRAWFilter) SharpnessAmount() float32
- func (o *CIRAWFilter) SupportedDecoderVersions() *foundation.NSArray[*foundation.NSString]
- type CIRectangleFeature
- type CIRenderDestination
- func (o *CIRenderDestination) AlphaMode() CIRenderDestinationAlphaMode
- func (o *CIRenderDestination) BlendKernel() *CIBlendKernel
- func (o *CIRenderDestination) BlendsInDestinationColorSpace() bool
- func (o *CIRenderDestination) CaptureTraceURL() *foundation.NSURL
- func (o *CIRenderDestination) ColorSpace() unsafe.Pointer
- func (o *CIRenderDestination) Height() uint
- func (o *CIRenderDestination) InitWithBitmapDataWidthHeightBytesPerRowFormat(data unsafe.Pointer, width uint, height uint, bytesPerRow uint, format int) *CIRenderDestination
- func (o *CIRenderDestination) InitWithGLTextureTargetWidthHeight(texture uint, target uint, width uint, height uint) *CIRenderDestination
- func (o *CIRenderDestination) InitWithIOSurface(surface unsafe.Pointer) *CIRenderDestination
- func (o *CIRenderDestination) InitWithMTLTextureCommandBuffer(texture metal.MTLTexture, commandBuffer metal.MTLCommandBuffer) *CIRenderDestination
- func (o *CIRenderDestination) InitWithPixelBuffer(pixelBuffer unsafe.Pointer) *CIRenderDestination
- func (o *CIRenderDestination) InitWithWidthHeightPixelFormatCommandBufferMtlTextureProvider(width uint, height uint, pixelFormat metal.MTLPixelFormat, ...) *CIRenderDestination
- func (o *CIRenderDestination) IsClamped() bool
- func (o *CIRenderDestination) IsDithered() bool
- func (o *CIRenderDestination) IsFlipped() bool
- func (o *CIRenderDestination) SetAlphaMode(alphaMode CIRenderDestinationAlphaMode)
- func (o *CIRenderDestination) SetBlendKernel(blendKernel *CIBlendKernel)
- func (o *CIRenderDestination) SetBlendsInDestinationColorSpace(blendsInDestinationColorSpace bool)
- func (o *CIRenderDestination) SetCaptureTraceURL(captureTraceURL *foundation.NSURL)
- func (o *CIRenderDestination) SetClamped(clamped bool)
- func (o *CIRenderDestination) SetColorSpace(colorSpace unsafe.Pointer)
- func (o *CIRenderDestination) SetDithered(dithered bool)
- func (o *CIRenderDestination) SetFlipped(flipped bool)
- func (o *CIRenderDestination) Width() uint
- type CIRenderDestinationAlphaMode
- type CIRenderInfo
- type CIRenderTask
- type CISampler
- type CITextFeature
- func (o *CITextFeature) BottomLeft() corefoundation.CGPoint
- func (o *CITextFeature) BottomRight() corefoundation.CGPoint
- func (o *CITextFeature) SubFeatures() *foundation.NSArray[objc.ID]
- func (o *CITextFeature) TopLeft() corefoundation.CGPoint
- func (o *CITextFeature) TopRight() corefoundation.CGPoint
- type CIVector
- func CIVectorFromID(id objc.ID) *CIVector
- func CIVectorVectorWithCGAffineTransform(t corefoundation.CGAffineTransform) *CIVector
- func CIVectorVectorWithCGPoint(p corefoundation.CGPoint) *CIVector
- func CIVectorVectorWithCGRect(r corefoundation.CGRect) *CIVector
- func CIVectorVectorWithString(representation *foundation.NSString) *CIVector
- func CIVectorVectorWithValuesCount(values *float64, count uint) *CIVector
- func CIVectorVectorWithX(x float64) *CIVector
- func CIVectorVectorWithXY(x float64, y float64) *CIVector
- func CIVectorVectorWithXYZ(x float64, y float64, z float64) *CIVector
- func CIVectorVectorWithXYZW(x float64, y float64, z float64, w float64) *CIVector
- func (o *CIVector) CGAffineTransformValue() corefoundation.CGAffineTransform
- func (o *CIVector) CGPointValue() corefoundation.CGPoint
- func (o *CIVector) CGRectValue() corefoundation.CGRect
- func (o *CIVector) Count() uint
- func (o *CIVector) InitWithCGAffineTransform(t corefoundation.CGAffineTransform) *CIVector
- func (o *CIVector) InitWithCGPoint(p corefoundation.CGPoint) *CIVector
- func (o *CIVector) InitWithCGRect(r corefoundation.CGRect) *CIVector
- func (o *CIVector) InitWithString(representation *foundation.NSString) *CIVector
- func (o *CIVector) InitWithValuesCount(values *float64, count uint) *CIVector
- func (o *CIVector) InitWithX(x float64) *CIVector
- func (o *CIVector) InitWithXY(x float64, y float64) *CIVector
- func (o *CIVector) InitWithXYZ(x float64, y float64, z float64) *CIVector
- func (o *CIVector) InitWithXYZW(x float64, y float64, z float64, w float64) *CIVector
- func (o *CIVector) StringRepresentation() *foundation.NSString
- func (o *CIVector) ValueAtIndex(index uint) float64
- func (o *CIVector) W() float64
- func (o *CIVector) X() float64
- func (o *CIVector) Y() float64
- func (o *CIVector) Z() float64
- type CIWarpKernel
- type Clockid_t
- type Dispatch_autorelease_frequency_t
- type Dispatch_block_flags_t
- type EvCmd
- type Filesec_property_t
- type Idtype_t
- type Ipc_info_object_type_t
- type Launch_data_type_t
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type MTLBuffer
- type MTLCommandBuffer
- type MTLCommandQueue
- type MTLDevice
- type MTLTexture
- type Mach_vm_range_flags_t
- type Mach_vm_range_flavor_t
- type Mach_vm_range_tag_t
- type Mpo_flags_t
- type NXMouseButton
- type Os_clockid_t
- type PMPageToPaperMappingType
- type Ptrauth_key
- type Qos_class_t
- type Virtual_memory_guard_exception_code_t
- type Xpc_listener_create_flags_t
- type Xpc_session_create_flags_t
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CIContextOfflineGPUCount ¶
func CIContextOfflineGPUCount() uint
Returns the number of GPUs not currently driving a display.
func CIDetectorAccuracy ¶
func CIDetectorAccuracy() uintptr
func CIDetectorAccuracyHigh ¶
func CIDetectorAccuracyHigh() uintptr
func CIDetectorAccuracyLow ¶
func CIDetectorAccuracyLow() uintptr
func CIDetectorAspectRatio ¶
func CIDetectorAspectRatio() uintptr
A dictionary key that configures a Core Image rectangle feature detection operation to search for a rectangle of a desired aspect ratio (width divided by height). This option is used with “/CIDetector/featuresInImage:options:“ The value for this key needs to be is a positive float number. Use this option with a “CIDetectorTypeRectangle“ detector to fine-tune the accuracy of the detector. For example, to more accurately find a business card (3.5 x 2 inches) in an image, specify an aspect ratio of 1.75. If this key is not specified, the a default value of 1.6 is used.
func CIDetectorEyeBlink ¶
func CIDetectorEyeBlink() uintptr
A dictionary key that configures a Core Image face feature detection operation to perform additional processing to recognize closed eyes in detected faces. This option is used with “/CIDetector/featuresInImage:options:“ If the value of the key is true, then facial expressions such as blinking and smiles are extracted. This is needed for the “/CIFaceFeature/leftEyeClosed-property“ and “/CIFaceFeature/rightEyeClosed-property“ to function.
func CIDetectorFocalLength ¶
func CIDetectorFocalLength() uintptr
A dictionary key that configures a Core Image rectangle feature detection operation to account for the focal length of the camera used for the image. This option is used with “/CIDetector/featuresInImage:options:“ The value of this key is an NSNumber object whose value is a floating-point number. Use this option with the CIDetectorTypeRectangle detector type to control the effect of the CIDetectorAspectRatio option on feature detection. This option’s value can be 0.0, -1.0, or any positive value: * The special value of -1.0 (the default) disables the aspect ratio test for the returned rectangle. * The special value of 0.0 enables a less precise test of aspect ratio that approximates an orthographic (non-perspective) projection. Use this value if you want to specify the aspect ratio of the rectangle via the CIDetectorAspectRatio option, but have no means of determining the value for the focal length in pixels. See below for a method to compute an approximate value for the focal length in pixels. * Any other value specifies the camera focal length, in pixels, allowing the aspect ratio specification to account for perspective distortion of rectangles in the input image. If you know the diagonal field of view of the camera (the scene angle subtended by the diagonal corners of an image), you can use the following formula to compute an approximate focal length in pixels: `focal_length_pixels = (image_diagonal_pixels/2)/tan(FOV/2)` In this formula, `image_diagonal_pixels` is the length (in pixels) of the image diagonal of the maximum resolution of the camera sensor. For example, this value is: * `4080` pixels for a `3264 x 2448` (8 megapixel) sensor * `5000` pixels for a `4096 x 3024` (12 megapixel) sensor. To measure diagonal field of view, put the camera on a tripod so that it is perpendicular to a surface and the center of the image is oriented on a mark on the surface. Measure the distance from the mark to one of the corner points of the image (Y). Measure the distance from the camera to the surface (Z). The field of view is then `2*arctan(Y/Z)`. You must specify this value in terms of the maximum sensor resolution. If the supplied CIImage has been scaled relative relative to the maximum sensor resolution, the supplied focal length must also be similarly scaled.
func CIDetectorImageOrientation ¶
func CIDetectorImageOrientation() uintptr
A dictionary key that configures a Core Image feature detection operation to account for the orientation the image. This option is used with “/CIDetector/featuresInImage:options:“ The value of this key is an number object whose value is an integer between 1 and 8. The TIFF and EXIF specifications define the orientation values that describe how the image should be displayed. The default value is 1. For further details, see `CGImagePropertyOrientation`. The “CIDetectorTypeFace“ and “CIDetectorTypeText“ can use this option to correctly find faces or text. Regardless of the orientation values the “/CIFeature/bounds-property“ which is always measured in the cartesean coordinates system of the image that you pass to the detector.
func CIDetectorMaxFeatureCount ¶
func CIDetectorMaxFeatureCount() uintptr
func CIDetectorMinFeatureSize ¶
func CIDetectorMinFeatureSize() uintptr
func CIDetectorNumberOfAngles ¶
func CIDetectorNumberOfAngles() uintptr
func CIDetectorReturnSubFeatures ¶
func CIDetectorReturnSubFeatures() uintptr
A dictionary key that configures a Core Image text feature detection operation to return feature information for components of detected features. This option is used with “/CIDetector/featuresInImage:options:“ If the value for this option configures the “CIDetectorTypeText“ detector as follows: * False: detect only in regions likely to contain text. * True: detect in regions likely to contain individual characters. If this key is not specified, the a default is False.
func CIDetectorSmile ¶
func CIDetectorSmile() uintptr
A dictionary key that configures a Core Image face feature detection operation to perform additional processing to recognize smiles in detected faces. This option is used with “/CIDetector/featuresInImage:options:“ If the value of the key is true, then facial expressions such as blinking and smiles eyes are extracted. This is needed for the “/CIFaceFeature/hasSmile-property“ to function.
func CIDetectorTracking ¶
func CIDetectorTracking() uintptr
func CIDetectorTypeFace ¶
func CIDetectorTypeFace() uintptr
func CIDetectorTypeQRCode ¶
func CIDetectorTypeQRCode() uintptr
func CIDetectorTypeRectangle ¶
func CIDetectorTypeRectangle() uintptr
func CIDetectorTypeText ¶
func CIDetectorTypeText() uintptr
func CIFeatureTypeFace ¶
func CIFeatureTypeFace() uintptr
A Core Image feature type for person’s face. To detect faces in an image or video, pass this to “/CIDetector/detectorOfType:context:options:“ Use the “CIFaceFeature“ class to find more information about the detected face.
func CIFeatureTypeQRCode ¶
func CIFeatureTypeQRCode() uintptr
A Core Image feature type for QR code object. To detect QR codes in an image or video, pass this to “/CIDetector/detectorOfType:context:options:“ Use the “CIQRCodeFeature“ class to find more information about the detected QR code.
func CIFeatureTypeRectangle ¶
func CIFeatureTypeRectangle() uintptr
A Core Image feature type for rectangular object. To detect rectangles in an image or video, pass this to “/CIDetector/detectorOfType:context:options:“ Use the “CIRectangleFeature“ class to find more information about the detected rectangle.
func CIFeatureTypeText ¶
func CIFeatureTypeText() uintptr
A Core Image feature type for text. To detect text in an image or video, pass this to “/CIDetector/detectorOfType:context:options:“ Use the “CITextFeature“ class to find more information about the detected text.
func CIFilterFilterArrayFromSerializedXMPInputImageExtentError
deprecated
func CIFilterFilterArrayFromSerializedXMPInputImageExtentError(xmpData *foundation.NSData, extent corefoundation.CGRect) (*foundation.NSArray[*CIFilter], error)
Deprecated: since macOS 14.0.
func CIFilterFilterNamesInCategories ¶
func CIFilterFilterNamesInCategories(categories *foundation.NSArray[*foundation.NSString]) *foundation.NSArray[*foundation.NSString]
Returns an array containing all published filter names that belong to all listed categories.
func CIFilterFilterNamesInCategory ¶
func CIFilterFilterNamesInCategory(category *foundation.NSString) *foundation.NSArray[*foundation.NSString]
Returns an array containing all published filter names in a category.
func CIFilterLocalizedDescriptionForFilterName ¶
func CIFilterLocalizedDescriptionForFilterName(filterName *foundation.NSString) *foundation.NSString
Returns the localized description of a filter for display in the UI.
func CIFilterLocalizedNameForCategory ¶
func CIFilterLocalizedNameForCategory(category *foundation.NSString) *foundation.NSString
Returns the localized name of a category for display in the UI.
func CIFilterLocalizedNameForFilterName ¶
func CIFilterLocalizedNameForFilterName(filterName *foundation.NSString) *foundation.NSString
Returns the localized name of a filter for display in the UI.
func CIFilterLocalizedReferenceDocumentationForFilterName ¶
func CIFilterLocalizedReferenceDocumentationForFilterName(filterName *foundation.NSString) *foundation.NSURL
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 CIFilterRegisterFilterNameConstructorClassAttributes ¶
func CIFilterRegisterFilterNameConstructorClassAttributes(name *foundation.NSString, anObject CIFilterConstructor, attributes *foundation.NSDictionary[*foundation.NSString, objc.ID])
Publishes a new filter called 'name'. The constructor object 'anObject' should implement the filterWithName: method. That method will be invoked with the name of the filter to create. The class attributes must have a kCIAttributeFilterCategories key associated with a set of categories. @param attributes Dictionary of the registration attributes of the filter. See below for attribute keys.
func CIFilterSerializedXMPFromFiltersInputImageExtent
deprecated
func CIFilterSerializedXMPFromFiltersInputImageExtent(filters *foundation.NSArray[*CIFilter], extent corefoundation.CGRect) *foundation.NSData
Deprecated: since macOS 14.0.
func CIFilterSupportedRawCameraModels ¶
func CIFilterSupportedRawCameraModels() *foundation.NSArray[*foundation.NSString]
Returns a NSArray containing the names of all supported RAW cameras. Deprecated: Use new CIRAWFilter class instead.
func CIImageProcessorKernelApplyWithExtentsInputsArgumentsError ¶
func CIImageProcessorKernelApplyWithExtentsInputsArgumentsError(extents *foundation.NSArray[*CIVector], inputs *foundation.NSArray[*CIImage], arguments *foundation.NSDictionary[*foundation.NSString, objc.ID]) (*foundation.NSArray[*CIImage], error)
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 CIImageProcessorKernelFormatForInputAtIndex ¶
Override this class method if you want your any of the inputs to be in a specific pixel format.
func CIImageProcessorKernelOutputFormat ¶
func CIImageProcessorKernelOutputFormat() int
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 CIImageProcessorKernelOutputFormatAtIndexArguments ¶
func CIImageProcessorKernelOutputFormatAtIndexArguments(outputIndex int, arguments *foundation.NSDictionary[*foundation.NSString, objc.ID]) int
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 CIImageProcessorKernelOutputIsOpaque ¶
func CIImageProcessorKernelOutputIsOpaque() bool
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 CIImageProcessorKernelProcessWithInputsArgumentsOutputError ¶
func CIImageProcessorKernelProcessWithInputsArgumentsOutputError(inputs *foundation.NSArray[CIImageProcessorInput], arguments *foundation.NSDictionary[*foundation.NSString, objc.ID], output CIImageProcessorOutput) (bool, error)
Override this class method to implement your Core Image Processor Kernel subclass.
func CIImageProcessorKernelProcessWithInputsArgumentsOutputsError ¶
func CIImageProcessorKernelProcessWithInputsArgumentsOutputsError(inputs *foundation.NSArray[CIImageProcessorInput], arguments *foundation.NSDictionary[*foundation.NSString, objc.ID], outputs *foundation.NSArray[CIImageProcessorOutput]) (bool, error)
Override this class method of your Core Image Processor Kernel subclass if it needs to produce multiple outputs.
func CIImageProcessorKernelRoiForInputArgumentsOutputRect ¶
func CIImageProcessorKernelRoiForInputArgumentsOutputRect(inputIndex int, arguments *foundation.NSDictionary[*foundation.NSString, objc.ID], outputRect corefoundation.CGRect) corefoundation.CGRect
Override this class method to implement your processor’s ROI callback.
func CIImageProcessorKernelRoiTileArrayForInputArgumentsOutputRect ¶
func CIImageProcessorKernelRoiTileArrayForInputArgumentsOutputRect(inputIndex int, arguments *foundation.NSDictionary[*foundation.NSString, objc.ID], outputRect corefoundation.CGRect) *foundation.NSArray[*CIVector]
Override this class method to implement your processor’s tiled ROI callback.
func CIImageProcessorKernelSynchronizeInputs ¶
func CIImageProcessorKernelSynchronizeInputs() bool
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.
func CIKernelKernelNamesFromMetalLibraryData ¶
func CIKernelKernelNamesFromMetalLibraryData(data *foundation.NSData) *foundation.NSArray[*foundation.NSString]
Return an array of strings containing the names of all of the kernels contained in the Metal library.
func CIKernelKernelsWithMetalStringError ¶
func CIKernelKernelsWithMetalStringError(source *foundation.NSString) (*foundation.NSArray[*CIKernel], error)
Load kernels from a Metal language string.
func CIKernelKernelsWithString ¶
func CIKernelKernelsWithString(string_ *foundation.NSString) *foundation.NSArray[*CIKernel]
Creates and returns and array of CIKernel objects.
func CIPlugInLoadAllPlugIns ¶
func CIPlugInLoadAllPlugIns()
Scans directories for files that have the .plugin extension and then loads the image units. Deprecated: since macOS 10.15.
func CIPlugInLoadNonExecutablePlugIn ¶
func CIPlugInLoadNonExecutablePlugIn(url *foundation.NSURL)
Loads a non-executable plug-in specified by its URL.
func CIPlugInLoadNonExecutablePlugIns ¶
func CIPlugInLoadNonExecutablePlugIns()
Scans directories for plugins. Deprecated: since macOS 10.15.
func CIPlugInLoadPlugInAllowExecutableCode ¶
func CIPlugInLoadPlugInAllowExecutableCode(url *foundation.NSURL, allowExecutableCode bool)
Loads filters from an image unit that have the appropriate executable status. Deprecated: since macOS 10.15.
func CIPlugInLoadPlugInAllowNonExecutable ¶
func CIPlugInLoadPlugInAllowNonExecutable(url *foundation.NSURL, allowNonExecutable bool)
Loads filters from an image unit that have the appropriate executable status. Deprecated: since macOS 10.7.
func CIRAWDecoderVersion6 ¶
func CIRAWDecoderVersion6() *foundation.NSString
func CIRAWDecoderVersion6DNG ¶
func CIRAWDecoderVersion6DNG() *foundation.NSString
func CIRAWDecoderVersion7 ¶
func CIRAWDecoderVersion7() *foundation.NSString
func CIRAWDecoderVersion7DNG ¶
func CIRAWDecoderVersion7DNG() *foundation.NSString
func CIRAWDecoderVersion8 ¶
func CIRAWDecoderVersion8() *foundation.NSString
func CIRAWDecoderVersion8DNG ¶
func CIRAWDecoderVersion8DNG() *foundation.NSString
func CIRAWDecoderVersion9 ¶
func CIRAWDecoderVersion9() *foundation.NSString
func CIRAWDecoderVersion9DNG ¶
func CIRAWDecoderVersion9DNG() *foundation.NSString
func CIRAWDecoderVersionNone ¶
func CIRAWDecoderVersionNone() *foundation.NSString
func CIRAWFilterSupportedCameraModels ¶
func CIRAWFilterSupportedCameraModels() *foundation.NSArray[*foundation.NSString]
func KCIActiveKeys
deprecated
func KCIActiveKeys() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIApplyOptionColorSpace ¶
func KCIApplyOptionColorSpace() uintptr
func KCIApplyOptionDefinition ¶
func KCIApplyOptionDefinition() uintptr
func KCIApplyOptionExtent ¶
func KCIApplyOptionExtent() uintptr
func KCIApplyOptionUserInfo ¶
func KCIApplyOptionUserInfo() uintptr
func KCIAttributeDescription ¶
func KCIAttributeDescription() uintptr
Description of the filter intended for UI display (eg. localized)
func KCIAttributeDisplayName ¶
func KCIAttributeDisplayName() uintptr
The localized name of the attribute to be used for display to the user.
func KCIAttributeFilterAvailable_Mac ¶
func KCIAttributeFilterAvailable_Mac() uintptr
The version of OS X and iOS a filter was first available in.
func KCIAttributeFilterAvailable_iOS ¶
func KCIAttributeFilterAvailable_iOS() uintptr
func KCIAttributeFilterCategories ¶
func KCIAttributeFilterCategories() uintptr
Array of filter category names (see below)
func KCIAttributeFilterDisplayName ¶
func KCIAttributeFilterDisplayName() uintptr
Name of the filter intended for UI display (eg. localized)
func KCIAttributeIdentity ¶
func KCIAttributeIdentity() uintptr
The identity value is the value at which the filter has no effect.
func KCIAttributeReferenceDocumentation ¶
func KCIAttributeReferenceDocumentation() uintptr
URL for the reference documentation of the filter. See localizedReferenceDocumentationForFilterName.
func KCIAttributeType ¶
func KCIAttributeType() uintptr
The type of the attribute e.g. scalar, time, distance, etc.
func KCIAttributeTypeAngle ¶
func KCIAttributeTypeAngle() uintptr
func KCIAttributeTypeBoolean ¶
func KCIAttributeTypeBoolean() uintptr
func KCIAttributeTypeColor ¶
func KCIAttributeTypeColor() uintptr
func KCIAttributeTypeCount ¶
func KCIAttributeTypeCount() uintptr
Indicates that the key uses non negative integer values.
func KCIAttributeTypeDistance ¶
func KCIAttributeTypeDistance() uintptr
func KCIAttributeTypeGradient ¶
func KCIAttributeTypeGradient() uintptr
func KCIAttributeTypeImage ¶
func KCIAttributeTypeImage() uintptr
func KCIAttributeTypeInteger ¶
func KCIAttributeTypeInteger() uintptr
Indicates that the key uses integer values.
func KCIAttributeTypeOffset ¶
func KCIAttributeTypeOffset() uintptr
func KCIAttributeTypeOpaqueColor ¶
func KCIAttributeTypeOpaqueColor() uintptr
func KCIAttributeTypePosition ¶
func KCIAttributeTypePosition() uintptr
func KCIAttributeTypePosition3 ¶
func KCIAttributeTypePosition3() uintptr
func KCIAttributeTypeRectangle ¶
func KCIAttributeTypeRectangle() uintptr
func KCIAttributeTypeScalar ¶
func KCIAttributeTypeScalar() uintptr
func KCIAttributeTypeTime ¶
func KCIAttributeTypeTime() uintptr
func KCIAttributeTypeTransform ¶
func KCIAttributeTypeTransform() uintptr
func KCICategoryBlur ¶
func KCICategoryBlur() uintptr
func KCICategoryBuiltIn ¶
func KCICategoryBuiltIn() uintptr
func KCICategoryColorAdjustment ¶
func KCICategoryColorAdjustment() uintptr
func KCICategoryColorEffect ¶
func KCICategoryColorEffect() uintptr
func KCICategoryCompositeOperation ¶
func KCICategoryCompositeOperation() uintptr
func KCICategoryDistortionEffect ¶
func KCICategoryDistortionEffect() uintptr
func KCICategoryFilterGenerator ¶
func KCICategoryFilterGenerator() uintptr
func KCICategoryGenerator ¶
func KCICategoryGenerator() uintptr
func KCICategoryGeometryAdjustment ¶
func KCICategoryGeometryAdjustment() uintptr
func KCICategoryGradient ¶
func KCICategoryGradient() uintptr
func KCICategoryHalftoneEffect ¶
func KCICategoryHalftoneEffect() uintptr
func KCICategoryHighDynamicRange ¶
func KCICategoryHighDynamicRange() uintptr
func KCICategoryInterlaced ¶
func KCICategoryInterlaced() uintptr
func KCICategoryNonSquarePixels ¶
func KCICategoryNonSquarePixels() uintptr
func KCICategoryReduction ¶
func KCICategoryReduction() uintptr
func KCICategorySharpen ¶
func KCICategorySharpen() uintptr
func KCICategoryStillImage ¶
func KCICategoryStillImage() uintptr
func KCICategoryStylize ¶
func KCICategoryStylize() uintptr
func KCICategoryTileEffect ¶
func KCICategoryTileEffect() uintptr
func KCICategoryTransition ¶
func KCICategoryTransition() uintptr
func KCICategoryVideo ¶
func KCICategoryVideo() uintptr
func KCIContextAllowLowPower ¶
func KCIContextAllowLowPower() uintptr
A Boolean value to control the power level of Core Image context renders. This option only affects certain macOS devices with more than one available GPU device. If this value is True, then rendering with the context will use a use allow power GPU device if available and the high power device is not already in use. Otherwise, the context will use the highest power/performance GPU device.
func KCIContextCVMetalTextureCache ¶
func KCIContextCVMetalTextureCache() uintptr
A Core Video Metal texture cache object to improve the performance of Core Image context renders that use Core Video pixel buffers. Creating a Core Image context with this optional `CVMetalTextureCache` can improve the performance of creating a Metal texture from a `CVPixelBuffer`. It is recommended to specify this option if the context renders to or from pixel buffers that come from a `CVPixelBufferPool`. It is the client's responsibility to flush the cache when appropriate.
func KCIContextCacheIntermediates ¶
func KCIContextCacheIntermediates() uintptr
A Boolean value to control how a Core Image context caches the contents of any intermediate image buffers it uses during rendering. If a context caches intermediate buffers, then subsequent renders of a similar image using the same context may be able to render faster. If a context does not cache intermediate buffers, then it may use less memory. If the value for this option is: * True: The context will cache intermediate results for future renders using the same context. * False: The context will not cache intermediate results. * Not specified: the default behavior True. > Note: > * This option does affect how “/CIImage/imageByInsertingIntermediate“ behaves. > * This option does not affect how “/CIImage/imageByInsertingIntermediate:“ behaves.
func KCIContextHighQualityDownsample ¶
func KCIContextHighQualityDownsample() uintptr
A Boolean value to control the quality of image downsampling operations performed by the Core Image context. The higher quality behavior performs downsampling operations in multiple passes in order to reduce aliasing artifacts. The lower quality behavior performs downsampling operations a single pass in order to improve performance. If the value for this option is: * True: The higher quality behavior will be used. * False: The lower quality behavior will be used. * Not specified: the default behavior is True on macOS and False on other platforms. > Note: > * This option does affect how “/CIImage/imageByApplyingTransform:“ operations are performed by the context. > * This option does not affect how “/CIImage/imageByApplyingTransform:highQualityDownsample:“ behaves.
func KCIContextMemoryLimit ¶
func KCIContextMemoryLimit() uintptr
A number value to control the maximum memory in megabytes that the context allocates for render tasks. Larger values could increase memory footprint while smaller values could reduce performance.
func KCIContextName ¶
func KCIContextName() uintptr
A Boolean value to specify a client-provided name for a context. This name will be used in QuickLook graphs and the output of CI_PRINT_TREE.
func KCIContextOutputColorSpace ¶
func KCIContextOutputColorSpace() *foundation.NSString
A Core Image context option key to specify the default destination color space for rendering. This option only affects how Core Image renders using the following methods: * “/CIContext/createCGImage:fromRect:“ * “/CIContext/drawImage:atPoint:fromRect:“ * “/CIContext/drawImage:inRect:fromRect:“ With all other render methods, the destination color space is either specified as a parameter or can be determined from the object being rendered to. The value of this option can be either: * A `CGColorSpace` instance with an RGB or monochrome color model that supports output. * An `NSNull` instance to indicate that the context should not match from the working space to the destination. If this option is not specified, then the default output space is sRGB.
func KCIContextOutputPremultiplied ¶
func KCIContextOutputPremultiplied() uintptr
A Boolean value to control how a Core Image context render produces alpha-premultiplied pixels. This option only affects how a context is rendered when using methods where the destination's alpha mode cannot be determined such as: * “/CIContext/render:toBitmap:rowBytes:bounds:format:colorSpace:“ * “/CIContext/render:toCVPixelBuffer:“ * “/CIContext/render:toIOSurface:bounds:colorSpace:“ * “/CIContext/render:toMTLTexture:commandBuffer:bounds:colorSpace:“ * “/CIContext/createCGImage:fromRect:“ If the value for this option is: * True: The output will produce alpha-premultiplied pixels. * False: The output will produce un-premultiplied pixels. * Not specified: the default behavior True. This option does not affect how a context is rendered to a “CIRenderDestination“ because that API allows you to set or override the alpha behavior using “/CIRenderDestination/alphaMode“.
func KCIContextPriorityRequestLow ¶
func KCIContextPriorityRequestLow() uintptr
A Boolean value to control the priority Core Image context renders. If this value is True, then rendering with the context from a background thread takes lower priority than other GPU usage from the main thread. This allows your app to perform Core Image rendering without disturbing the frame rate of UI animations.
func KCIContextUseSoftwareRenderer ¶
func KCIContextUseSoftwareRenderer() *foundation.NSString
A Boolean value to control if a Core Image context will use a software renderer. > Note: This option has no effect if the platform does not support OpenCL.
func KCIContextWorkingColorSpace ¶
func KCIContextWorkingColorSpace() *foundation.NSString
A Core Image context option key to specify the working color space for rendering. Contexts support automatic color management by performing all processing operations in a working color space. This means that unless told otherwise: * 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's color space. The default working space is the extended sRGB color space with linear gamma. On macOS before 10.10, the default is extended Generic RGB with linear gamma. The value of this option can be either: * A `CGColorSpace` instance with an RGB color model that supports output. * An `NSNull` instance to request that Core Image perform no color management. If this option is not specified, then the default working space is used.
func KCIContextWorkingFormat ¶
func KCIContextWorkingFormat() uintptr
A Core Image context option key to specify the pixel format to for intermediate results when rendering. The value for this key is an `NSNumber` instance containing a “CIFormat“ value. The supported values for the working pixel format are: “CIFormat“ | Notes ------------------- | -------------- “kCIFormatRGBA8“ | Uses less memory but has less precision an range “kCIFormatRGBAh“ | Uses 8 bytes per pixel, supports HDR “kCIFormatRGBAf“ | Only on macOS If this option is not specified, then the default is “kCIFormatRGBAh“. (The default is “kCIFormatRGBA8“ if your if app is linked against iOS 12 SDK or earlier.)
func KCIDynamicRangeConstrainedHigh ¶
func KCIDynamicRangeConstrainedHigh() uintptr
Use extended dynamic range, but brightness is modulated to optimize for co-existence with other composited content. For best results, images should contain `contentAverageLightLevel` metadata.
func KCIDynamicRangeHigh ¶
func KCIDynamicRangeHigh() uintptr
Use High dynamic range. The provides the best HDR quality and needs to be reserved for situations where the user is focused on the media, such as larger views in an image editing/viewing app, or annotating/drawing with HDR colors
func KCIDynamicRangeStandard ¶
func KCIDynamicRangeStandard() uintptr
Use Standard dynamic range. Images with `contentHeadroom` metadata will be tone mapped to a maximum pixel value of 1.0.
func KCIFilterGeneratorExportedKey ¶
func KCIFilterGeneratorExportedKey() uintptr
The key of the target object that is exported
func KCIFilterGeneratorExportedKeyName ¶
func KCIFilterGeneratorExportedKeyName() uintptr
Name of the key under which it is exported.
func KCIFilterGeneratorExportedKeyTargetObject ¶
func KCIFilterGeneratorExportedKeyTargetObject() uintptr
Target object for the exported key
func KCIFormatA8 ¶
func KCIFormatA8() int
func KCIFormatA16 ¶
func KCIFormatA16() int
func KCIFormatABGR8 ¶
func KCIFormatABGR8() int
func KCIFormatARGB8 ¶
func KCIFormatARGB8() int
func KCIFormatAf ¶
func KCIFormatAf() int
func KCIFormatAh ¶
func KCIFormatAh() int
func KCIFormatBGRA8 ¶
func KCIFormatBGRA8() int
func KCIFormatL8 ¶
func KCIFormatL8() int
func KCIFormatL16 ¶
func KCIFormatL16() int
func KCIFormatLA8 ¶
func KCIFormatLA8() int
func KCIFormatLA16 ¶
func KCIFormatLA16() int
func KCIFormatLAf ¶
func KCIFormatLAf() int
func KCIFormatLAh ¶
func KCIFormatLAh() int
func KCIFormatLf ¶
func KCIFormatLf() int
func KCIFormatLh ¶
func KCIFormatLh() int
func KCIFormatR8 ¶
func KCIFormatR8() int
func KCIFormatR16 ¶
func KCIFormatR16() int
func KCIFormatRG8 ¶
func KCIFormatRG8() int
func KCIFormatRG16 ¶
func KCIFormatRG16() int
func KCIFormatRGB10 ¶
func KCIFormatRGB10() int
func KCIFormatRGBA8 ¶
func KCIFormatRGBA8() int
func KCIFormatRGBA16 ¶
func KCIFormatRGBA16() int
func KCIFormatRGBAf ¶
func KCIFormatRGBAf() int
func KCIFormatRGBAh ¶
func KCIFormatRGBAh() int
func KCIFormatRGBX8 ¶
func KCIFormatRGBX8() int
func KCIFormatRGBX16 ¶
func KCIFormatRGBX16() int
func KCIFormatRGBXf ¶
func KCIFormatRGBXf() int
func KCIFormatRGBXh ¶
func KCIFormatRGBXh() int
func KCIFormatRGf ¶
func KCIFormatRGf() int
func KCIFormatRGh ¶
func KCIFormatRGh() int
func KCIFormatRf ¶
func KCIFormatRf() int
func KCIFormatRh ¶
func KCIFormatRh() int
func KCIImageApplyCleanAperture ¶
func KCIImageApplyCleanAperture() uintptr
A Boolean value to control whether an image created with a CVPixelBuffer or an IOSurface should be cropped and offset according clean aperture attachments. For a `CVPixelBuffer` this will use `kCVImageBufferPreferredCleanApertureKey` or `kCVImageBufferCleanApertureKey`. If the value for this option is: * True: then image will be cropped and offset to the clean aperture. * False: then the full image is returned. * “CIVector“ : then use it as a `CGRect` to crop and offset. * Not specified : then it will behave as if False was specified.
func KCIImageApplyOrientationProperty ¶
func KCIImageApplyOrientationProperty() uintptr
func KCIImageAutoAdjustCrop ¶
func KCIImageAutoAdjustCrop() uintptr
func KCIImageAutoAdjustEnhance ¶
func KCIImageAutoAdjustEnhance() uintptr
func KCIImageAutoAdjustFeatures ¶
func KCIImageAutoAdjustFeatures() uintptr
func KCIImageAutoAdjustLevel ¶
func KCIImageAutoAdjustLevel() uintptr
func KCIImageAutoAdjustRedEye ¶
func KCIImageAutoAdjustRedEye() uintptr
func KCIImageAuxiliaryDepth ¶
func KCIImageAuxiliaryDepth() uintptr
func KCIImageAuxiliaryDisparity ¶
func KCIImageAuxiliaryDisparity() uintptr
func KCIImageAuxiliaryHDRGainMap ¶
func KCIImageAuxiliaryHDRGainMap() uintptr
func KCIImageAuxiliaryPortraitEffectsMatte ¶
func KCIImageAuxiliaryPortraitEffectsMatte() uintptr
func KCIImageAuxiliarySemanticSegmentationGlassesMatte ¶
func KCIImageAuxiliarySemanticSegmentationGlassesMatte() uintptr
func KCIImageAuxiliarySemanticSegmentationHairMatte ¶
func KCIImageAuxiliarySemanticSegmentationHairMatte() uintptr
func KCIImageAuxiliarySemanticSegmentationSkinMatte ¶
func KCIImageAuxiliarySemanticSegmentationSkinMatte() uintptr
func KCIImageAuxiliarySemanticSegmentationSkyMatte ¶
func KCIImageAuxiliarySemanticSegmentationSkyMatte() uintptr
func KCIImageAuxiliarySemanticSegmentationTeethMatte ¶
func KCIImageAuxiliarySemanticSegmentationTeethMatte() uintptr
func KCIImageCacheImmediately ¶
func KCIImageCacheImmediately() *foundation.NSString
func KCIImageColorSpace ¶
func KCIImageColorSpace() *foundation.NSString
func KCIImageContentAverageLightLevel ¶
func KCIImageContentAverageLightLevel() uintptr
A value for overriding the automatic behavior of the Content Average Light Level property when creating an image. The value for this key should be an `NSNumber` instance.
func KCIImageContentHeadroom ¶
func KCIImageContentHeadroom() uintptr
A value for overriding the automatic behavior of the Content Headroom property when creating an image. The value for this key should be an `NSNumber` instance.
func KCIImageExpandToHDR ¶
func KCIImageExpandToHDR() uintptr
func KCIImageNearestSampling ¶
func KCIImageNearestSampling() uintptr
func KCIImageProperties ¶
func KCIImageProperties() uintptr
func KCIImageProviderTileSize ¶
func KCIImageProviderTileSize() uintptr
Specifies the tile size that the Provide Image Data method will be called for. This key and its value may be passed to: * “/CIImage/imageWithImageProvider:size::format:colorSpace:options:“ * “/CIImage/initWithImageProvider:size::format:colorSpace:options:“ If the value of this key is: Value | Behavior of sub-rect passed to “provideImageData:bytesPerRow:origin::size::userData:“ -------------------------- | ---------------------------- Not specified | the entire image `NSNumber` | square tiles of size x size `NSArray` with 2 numbers | rectangular tiles of width x height. “CIVector“ with 2 values | rectangular tiles of width x height. `NSNull` | can be called for any possible origin and size.
func KCIImageProviderUserInfo ¶
func KCIImageProviderUserInfo() uintptr
A key for any data needed by the image provider object. The associated value is an object that contains the needed data. This key and its value may be passed to: * “/CIImage/imageWithImageProvider:size::format:colorSpace:options:“ * “/CIImage/initWithImageProvider:size::format:colorSpace:options:“ The value object is retained until the image is deallocated.
func KCIImageRepresentationAVDepthData ¶
func KCIImageRepresentationAVDepthData() uintptr
An optional key and value to save additional depth channel information to a JPEG or HEIF representations. The value for this key needs to be an `AVDepthData` instance.
func KCIImageRepresentationAVPortraitEffectsMatte ¶
func KCIImageRepresentationAVPortraitEffectsMatte() uintptr
An optional key and value to save a portrait matte channel information to a JPEG or HEIF. The value for this key needs to be a an `AVPortraitEffectsMatte` instance.
func KCIImageRepresentationAVSemanticSegmentationMattes ¶
func KCIImageRepresentationAVSemanticSegmentationMattes() uintptr
An optional key and value to save one or more segmentation matte channels to a JPEG or HEIF. The value for this key needs to be an array of AVSemanticSegmentationMatte instances.
func KCIImageRepresentationDepthImage ¶
func KCIImageRepresentationDepthImage() uintptr
An optional key and value to save additional depth channel information to a JPEG or HEIF. The value for this key needs to be a monochrome depth “CIImage“ instance.
func KCIImageRepresentationDisparityImage ¶
func KCIImageRepresentationDisparityImage() uintptr
An optional key and value to save additional depth channel information to a JPEG or HEIF. The value for this key needs to be a monochrome disparity “CIImage“ instance.
func KCIImageRepresentationHDRGainMapAsRGB ¶
func KCIImageRepresentationHDRGainMapAsRGB() uintptr
An optional key and value to request the gain map channel to be color instead of monochrome. This key affects how the gain map image is calculated from the SDR receiver and the “kCIImageRepresentationHDRImage“ image value. The value for this is a Boolean where: * True: the gain map is created as a color ratio between the HDR and SDR images. * False: the gain map is created as a brightness ratio between the HDR and SDR images. * Not specified: the default behavior False.
func KCIImageRepresentationHDRGainMapImage ¶
func KCIImageRepresentationHDRGainMapImage() uintptr
An optional key and value to save a gain map channel to a JPEG or HEIF. The value for this key needs to be a monochrome “CIImage“ instance. If the “kCIImageRepresentationHDRGainMapAsRGB“ option it true, then it needs to be an RGB “CIImage“ instance. The “/CIImage/properties“ should contain metadata information equivalent to what is returned when initializing an image using “kCIImageAuxiliaryHDRGainMap“.
func KCIImageRepresentationHDRImage ¶
func KCIImageRepresentationHDRImage() uintptr
An optional key and value to save a HDR image using the gain map channel to a JPEG or HEIF. The value for this key needs to be a HDR CIImage instance. When provided, Core Image will calculate a gain map auxiliary image from the ratio of the HDR image to the primary SDR image. If the the HDR “CIImage“ instance has a “/CIImage/contentHeadroom“ property, then that will be used when calculating the HDRGainMap image and metadata.
func KCIImageRepresentationPortraitEffectsMatteImage ¶
func KCIImageRepresentationPortraitEffectsMatteImage() uintptr
An optional key and value to save a portrait matte channel to a JPEG or HEIF. The value for this key needs to be a portrait matte “CIImage“ instance where black pixels represent the background region and white pixels represent the primary people in the image. The image will be converted to monochrome before it is saved to the JPEG or HEIF.
func KCIImageRepresentationSemanticSegmentationGlassesMatteImage ¶
func KCIImageRepresentationSemanticSegmentationGlassesMatteImage() uintptr
An optional key and value to save a skin segmentation channel to a JPEG or HEIF. The value for this key needs to be a “CIImage“ instance where white pixels represent the areas where a person's glasses are found in the image. The image will be converted to monochrome before it is saved to the JPEG or HEIF.
func KCIImageRepresentationSemanticSegmentationHairMatteImage ¶
func KCIImageRepresentationSemanticSegmentationHairMatteImage() uintptr
An optional key and value to save a skin segmentation channel to a JPEG or HEIF. The value for this key needs to be a “CIImage“ instance where white pixels represent the areas of person's head and facial hair are found in the image. The image will be converted to monochrome before it is saved to the JPEG or HEIF.
func KCIImageRepresentationSemanticSegmentationSkinMatteImage ¶
func KCIImageRepresentationSemanticSegmentationSkinMatteImage() uintptr
An optional key and value to save a skin segmentation channel to a JPEG or HEIF. The value for this key needs to be a “CIImage“ instance where white pixels represent the areas of person's skin are found in the image. The image will be converted to monochrome before it is saved to the JPEG or HEIF.
func KCIImageRepresentationSemanticSegmentationSkyMatteImage ¶
func KCIImageRepresentationSemanticSegmentationSkyMatteImage() uintptr
An optional key and value to save a skin segmentation channel to a JPEG or HEIF. The value for this key needs to be a “CIImage“ instance where white pixels represent the areas where a person's skin are found in the image. The image will be converted to monochrome before it is saved to the JPEG or HEIF.
func KCIImageRepresentationSemanticSegmentationTeethMatteImage ¶
func KCIImageRepresentationSemanticSegmentationTeethMatteImage() uintptr
An optional key and value to save a skin segmentation channel to a JPEG or HEIF. The value for this key needs to be a “CIImage“ instance where white pixels represent the areas where a person's teeth are found in the image. The image will be converted to monochrome before it is saved to the JPEG or HEIF.
func KCIImageTextureFormat ¶
func KCIImageTextureFormat() uintptr
func KCIImageTextureTarget ¶
func KCIImageTextureTarget() uintptr
func KCIImageToneMapHDRtoSDR ¶
func KCIImageToneMapHDRtoSDR() uintptr
func KCIInputAllowDraftModeKey
deprecated
func KCIInputAllowDraftModeKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputAmountKey ¶
func KCIInputAmountKey() uintptr
A key to get or set the scalar amount value of a Core Image filter. The value for this key needs to be an `NSNumber` instance.
func KCIInputAngleKey ¶
func KCIInputAngleKey() uintptr
A key to get or set the geometric angle value of a Core Image filter. Typically the angle is in radians. The value for this key needs to be an `NSNumber` instance.
func KCIInputAspectRatioKey ¶
func KCIInputAspectRatioKey() uintptr
A key to get or set the geometric aspect ratio value of a Core Image filter. The value for this key needs to be an `NSNumber` instance containing the `horizontal/vertical` scale ratio .
func KCIInputBackgroundImageKey ¶
func KCIInputBackgroundImageKey() uintptr
A key to get or set the background image of a Core Image filter. The value for this key needs to be a “CIImage“ instance.
func KCIInputBacksideImageKey ¶
func KCIInputBacksideImageKey() uintptr
A key to get or set the backside image for a transition Core Image filter. The value for this key needs to be a “CIImage“ instance.
func KCIInputBaselineExposureKey
deprecated
func KCIInputBaselineExposureKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputBiasKey ¶
func KCIInputBiasKey() uintptr
A key to get or set the scalar bias value of a Core Image filter. The value for this key needs to be an `NSNumber` instance.
func KCIInputBiasVectorKey ¶
func KCIInputBiasVectorKey() uintptr
A key to get or set the vector bias value of a Core Image filter. The value for this key needs to be a “CIVector“ instance.
func KCIInputBoostKey
deprecated
func KCIInputBoostKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputBoostShadowAmountKey
deprecated
func KCIInputBoostShadowAmountKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputBrightnessKey ¶
func KCIInputBrightnessKey() uintptr
A key to get or set the scalar brightness value of a Core Image filter. The value for this key needs to be an `NSNumber` instance.
func KCIInputCenterKey ¶
func KCIInputCenterKey() uintptr
A key to get or set the center value of a Core Image filter. The value for this key needs to be a “CIVector“ instance containing the `x,y` coordinate.
func KCIInputColor0Key ¶
func KCIInputColor0Key() uintptr
A key to get or set a color value of a Core Image filter. The value for this key needs to be a “CIColor“ instance.
func KCIInputColor1Key ¶
func KCIInputColor1Key() uintptr
A key to get or set a color value of a Core Image filter. The value for this key needs to be a “CIColor“ instance.
func KCIInputColorKey ¶
func KCIInputColorKey() uintptr
A key to get or set the color value of a Core Image filter. The value for this key needs to be a “CIColor“ instance.
func KCIInputColorNoiseReductionAmountKey
deprecated
func KCIInputColorNoiseReductionAmountKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputColorSpaceKey ¶
func KCIInputColorSpaceKey() uintptr
A key to get or set a color space value of a Core Image filter. The value for this key needs to be a `CGColorSpace` instance.
func KCIInputContrastKey ¶
func KCIInputContrastKey() uintptr
A key to get or set the scalar contrast value of a Core Image filter. The value for this key needs to be an `NSNumber` instance.
func KCIInputCountKey ¶
func KCIInputCountKey() uintptr
A key to get or set the scalar count value of a Core Image filter. The value for this key needs to be an integer `NSNumber` instance.
func KCIInputDecoderVersionKey
deprecated
func KCIInputDecoderVersionKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputDepthImageKey ¶
func KCIInputDepthImageKey() uintptr
A key to get or set the depth map image of a Core Image filter. The value for this key needs to be a “CIImage“ instance.
func KCIInputDisableGamutMapKey
deprecated
func KCIInputDisableGamutMapKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputDisparityImageKey ¶
func KCIInputDisparityImageKey() uintptr
A key to get or set the disparity map image of a Core Image filter. The value for this key needs to be a “CIImage“ instance.
func KCIInputEVKey ¶
func KCIInputEVKey() uintptr
A key to get or set the scalar EV value of a Core Image filter that specifies how many F-stops brighter or darker to make the image. The value for this key needs to be an `NSNumber` instance.
func KCIInputEnableChromaticNoiseTrackingKey
deprecated
func KCIInputEnableChromaticNoiseTrackingKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputEnableEDRModeKey
deprecated
func KCIInputEnableEDRModeKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputEnableSharpeningKey
deprecated
func KCIInputEnableSharpeningKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputEnableVendorLensCorrectionKey
deprecated
func KCIInputEnableVendorLensCorrectionKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputExtentKey ¶
func KCIInputExtentKey() uintptr
A key to get or set the vector extent value of a Core Image filterthat defines the extent of the effect. The value for this key needs to be a “CIVector“ instance.
func KCIInputExtrapolateKey ¶
func KCIInputExtrapolateKey() uintptr
A key to get or set the boolean behavior of a Core Image filter that specifies if the filter should extrapolate a table beyond the defined range. The value for this key needs to be an `NSNumber` instance.
func KCIInputGradientImageKey ¶
func KCIInputGradientImageKey() uintptr
A key to get or set the gradient map image of a Core Image filter that maps luminance to a color with alpha. The value for this key needs to be a 1 pixel tall “CIImage“ instance.
func KCIInputIgnoreImageOrientationKey
deprecated
func KCIInputIgnoreImageOrientationKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputImageKey ¶
func KCIInputImageKey() uintptr
A key to get or set the input image of a Core Image filter. The value for this key needs to be a “CIImage“ instance. For filters that also use a background image, this key refers to the foreground image.
func KCIInputImageOrientationKey
deprecated
func KCIInputImageOrientationKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputIntensityKey ¶
func KCIInputIntensityKey() uintptr
A key to get or set the scalar intensity value of a Core Image filter. The value for this key needs to be an `NSNumber` instance.
func KCIInputLinearSpaceFilter
deprecated
func KCIInputLinearSpaceFilter() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputLocalToneMapAmountKey
deprecated
func KCIInputLocalToneMapAmountKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputLuminanceNoiseReductionAmountKey
deprecated
func KCIInputLuminanceNoiseReductionAmountKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputMaskImageKey ¶
func KCIInputMaskImageKey() uintptr
A key to get or set the mask image of a Core Image filter. The value for this key needs to be a “CIImage“ instance.
func KCIInputMatteImageKey ¶
func KCIInputMatteImageKey() uintptr
A key to get or set the matte image of a Core Image filter. The value for this key needs to be a “CIImage“ instance.
func KCIInputMoireAmountKey
deprecated
func KCIInputMoireAmountKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputNeutralChromaticityXKey
deprecated
func KCIInputNeutralChromaticityXKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputNeutralChromaticityYKey
deprecated
func KCIInputNeutralChromaticityYKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputNeutralLocationKey
deprecated
func KCIInputNeutralLocationKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputNeutralTemperatureKey
deprecated
func KCIInputNeutralTemperatureKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputNeutralTintKey
deprecated
func KCIInputNeutralTintKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputNoiseReductionAmountKey
deprecated
func KCIInputNoiseReductionAmountKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputNoiseReductionContrastAmountKey
deprecated
func KCIInputNoiseReductionContrastAmountKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputNoiseReductionDetailAmountKey
deprecated
func KCIInputNoiseReductionDetailAmountKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputNoiseReductionSharpnessAmountKey
deprecated
func KCIInputNoiseReductionSharpnessAmountKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputPaletteImageKey ¶
func KCIInputPaletteImageKey() uintptr
A key to get or set the palette image for a Core Image filter. The value for this key needs to be a 1 pixel tall “CIImage“ instance.
func KCIInputPerceptualKey ¶
func KCIInputPerceptualKey() uintptr
A key to get or set the boolean behavior of a Core Image filter that specifies if the filter should operate in linear or perceptual colors. The value for this key needs to be an `NSNumber` instance.
func KCIInputPoint0Key ¶
func KCIInputPoint0Key() uintptr
A key to get or set the coordinate value of a Core Image filter. The value for this key needs to be a “CIVector“ instance containing the `x,y` coordinate.
func KCIInputPoint1Key ¶
func KCIInputPoint1Key() uintptr
A key to get or set a coordinate value of a Core Image filter. The value for this key needs to be a “CIVector“ instance containing the `x,y` coordinate.
func KCIInputRadius0Key ¶
func KCIInputRadius0Key() uintptr
A key to get or set the geometric radius value of a Core Image filter. The value for this key needs to be an `NSNumber` instance.
func KCIInputRadius1Key ¶
func KCIInputRadius1Key() uintptr
A key to get or set the geometric radius value of a Core Image filter. The value for this key needs to be an `NSNumber` instance.
func KCIInputRadiusKey ¶
func KCIInputRadiusKey() uintptr
A key to get or set the geometric radius value of a Core Image filter. The value for this key needs to be an `NSNumber` instance.
func KCIInputRefractionKey ¶
func KCIInputRefractionKey() uintptr
A key to get or set the scalar optical refraction value of a Core Image filter. The value for this key needs to be an `NSNumber` instance.
func KCIInputSaturationKey ¶
func KCIInputSaturationKey() uintptr
A key to get or set the scalar saturation value of a Core Image filter. The value for this key needs to be an `NSNumber` instance.
func KCIInputScaleFactorKey
deprecated
func KCIInputScaleFactorKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIInputScaleKey ¶
func KCIInputScaleKey() uintptr
A key to get or set the geometric scale value of a Core Image filter. The value for this key needs to be an `NSNumber` instance.
func KCIInputShadingImageKey ¶
func KCIInputShadingImageKey() uintptr
A key to get or set the environment map image of a Core Image filter that maps normal directions to a color with alpha. The value for this key needs to be a “CIImage“ instance.
func KCIInputSharpnessKey ¶
func KCIInputSharpnessKey() uintptr
A key to get or set the scalar sharpness value of a Core Image filter. The value for this key needs to be an `NSNumber` instance.
func KCIInputTargetImageKey ¶
func KCIInputTargetImageKey() uintptr
A key to get or set the target image for a transition Core Image filter. The value for this key needs to be a “CIImage“ instance.
func KCIInputThresholdKey ¶
func KCIInputThresholdKey() uintptr
A key to get or set the scalar threshold value of a Core Image filter. The value for this key needs to be an `NSNumber` instance.
func KCIInputTimeKey ¶
func KCIInputTimeKey() uintptr
A key to get or set the scalar time value of a Core Image filter. The value for this key needs to be an `NSNumber` instance.
func KCIInputTransformKey ¶
func KCIInputTransformKey() uintptr
A key to get or set the geometric 2x3 matrix transform value of a Core Image filter. The value for this key needs to be an `NSAffineTransformStruct` or an `NSValue` instance.
func KCIInputVersionKey ¶
func KCIInputVersionKey() uintptr
A key to get or set a coordinate value of a Core Image filter. The value for this key needs to be a “CIVector“ instance containing the `x,y` coordinate.
func KCIInputWeightsKey ¶
func KCIInputWeightsKey() uintptr
A key to get or set the vector weights value of a convolution Core Image filter. The value for this key needs to be a “CIVector“ instance.
func KCIInputWidthKey ¶
func KCIInputWidthKey() uintptr
A key to get or set the geometric width value of a Core Image filter. The value for this key needs to be an `NSNumber` instance.
func KCIOutputImageKey ¶
func KCIOutputImageKey() uintptr
A key to get the output image of a Core Image filter. The value for this key will be a “CIImage“ instance.
func KCIOutputNativeSizeKey
deprecated
func KCIOutputNativeSizeKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIPropertiesKey
deprecated
func KCIPropertiesKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCISamplerAffineMatrix ¶
func KCISamplerAffineMatrix() uintptr
func KCISamplerColorSpace ¶
func KCISamplerColorSpace() uintptr
func KCISamplerFilterLinear ¶
func KCISamplerFilterLinear() uintptr
func KCISamplerFilterMode ¶
func KCISamplerFilterMode() uintptr
func KCISamplerFilterNearest ¶
func KCISamplerFilterNearest() uintptr
func KCISamplerWrapBlack ¶
func KCISamplerWrapBlack() uintptr
func KCISamplerWrapClamp ¶
func KCISamplerWrapClamp() uintptr
func KCISamplerWrapMode ¶
func KCISamplerWrapMode() uintptr
func KCISupportedDecoderVersionsKey
deprecated
func KCISupportedDecoderVersionsKey() *foundation.NSString
Deprecated: Use new CIRAWFilter class instead.
func KCIUIParameterSet ¶
func KCIUIParameterSet() uintptr
Key to request the desired set of controls in a filter UIView. The defined values for this key are: CIUISetBasic, CIUISetIntermediate, CIUISetAdvanced and CIUISetDevelopment.
func KCIUISetAdvanced ¶
func KCIUISetAdvanced() uintptr
Constant for requesting controls that are appropriate in an advanced user scenario.
func KCIUISetBasic ¶
func KCIUISetBasic() uintptr
Constant for requesting controls that are appropriate in a basic user scenario, meaning the bare minimum of settings to control the filter.
func KCIUISetDevelopment ¶
func KCIUISetDevelopment() uintptr
Constant for requesting controls that should only be visible for development purposes.
func KCIUISetIntermediate ¶
func KCIUISetIntermediate() uintptr
Constant for requesting controls that are appropriate in an intermediate user scenario.
Types ¶
type Acl_entry_id_t ¶
type Acl_entry_id_t int64
const ( ACL_FIRST_ENTRY Acl_entry_id_t = 0 ACL_NEXT_ENTRY Acl_entry_id_t = -1 ACL_LAST_ENTRY Acl_entry_id_t = -2 )
func (Acl_entry_id_t) String ¶
func (e Acl_entry_id_t) String() string
type Acl_flag_t ¶
type Acl_flag_t int64
const ( ACL_FLAG_DEFER_INHERIT Acl_flag_t = 1 ACL_FLAG_NO_INHERIT Acl_flag_t = 131072 ACL_ENTRY_INHERITED Acl_flag_t = 16 ACL_ENTRY_FILE_INHERIT Acl_flag_t = 32 ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64 ACL_ENTRY_LIMIT_INHERIT Acl_flag_t = 128 ACL_ENTRY_ONLY_INHERIT Acl_flag_t = 256 )
func (Acl_flag_t) String ¶
func (e Acl_flag_t) String() string
type Acl_perm_t ¶
type Acl_perm_t int64
const ( ACL_READ_DATA Acl_perm_t = 2 ACL_LIST_DIRECTORY Acl_perm_t = 2 ACL_WRITE_DATA Acl_perm_t = 4 ACL_ADD_FILE Acl_perm_t = 4 ACL_EXECUTE Acl_perm_t = 8 ACL_SEARCH Acl_perm_t = 8 ACL_DELETE Acl_perm_t = 16 ACL_APPEND_DATA Acl_perm_t = 32 ACL_ADD_SUBDIRECTORY Acl_perm_t = 32 ACL_DELETE_CHILD Acl_perm_t = 64 ACL_READ_ATTRIBUTES Acl_perm_t = 128 ACL_WRITE_ATTRIBUTES Acl_perm_t = 256 ACL_READ_EXTATTRIBUTES Acl_perm_t = 512 ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024 ACL_READ_SECURITY Acl_perm_t = 2048 ACL_WRITE_SECURITY Acl_perm_t = 4096 ACL_CHANGE_OWNER Acl_perm_t = 8192 ACL_SYNCHRONIZE Acl_perm_t = 1048576 )
func (Acl_perm_t) String ¶
func (e Acl_perm_t) String() string
type Acl_type_t ¶
type Acl_type_t int64
const ( ACL_TYPE_EXTENDED Acl_type_t = 256 ACL_TYPE_ACCESS Acl_type_t = 0 ACL_TYPE_DEFAULT Acl_type_t = 1 ACL_TYPE_AFS Acl_type_t = 2 ACL_TYPE_CODA Acl_type_t = 3 ACL_TYPE_NTFS Acl_type_t = 4 ACL_TYPE_NWFS Acl_type_t = 5 )
func (Acl_type_t) String ¶
func (e Acl_type_t) String() string
type CGLCPContextPriorityRequest ¶
type CGLCPContextPriorityRequest int64
const ( KCGLCPContextPriorityRequestHigh CGLCPContextPriorityRequest = 0 KCGLCPContextPriorityRequestNormal CGLCPContextPriorityRequest = 1 KCGLCPContextPriorityRequestLow CGLCPContextPriorityRequest = 2 )
func (CGLCPContextPriorityRequest) String ¶
func (e CGLCPContextPriorityRequest) String() string
type CIAztecCodeDescriptor ¶
type CIAztecCodeDescriptor struct {
CIBarcodeDescriptor
}
A concrete subclass the Core Image Barcode Descriptor that represents an Aztec code symbol.
Apple documentation: https://developer.apple.com/documentation/coreimage/ciazteccodedescriptor
func CIAztecCodeDescriptorDescriptorWithPayloadIsCompactLayerCountDataCodewordCount ¶
func CIAztecCodeDescriptorDescriptorWithPayloadIsCompactLayerCountDataCodewordCount(errorCorrectedPayload *foundation.NSData, isCompact bool, layerCount int, dataCodewordCount int) *CIAztecCodeDescriptor
Creates an Aztec code descriptor for the given payload and parameters.
func CIAztecCodeDescriptorFromID ¶
func CIAztecCodeDescriptorFromID(id objc.ID) *CIAztecCodeDescriptor
func (*CIAztecCodeDescriptor) DataCodewordCount ¶
func (o *CIAztecCodeDescriptor) DataCodewordCount() int
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 (*CIAztecCodeDescriptor) ErrorCorrectedPayload ¶
func (o *CIAztecCodeDescriptor) ErrorCorrectedPayload() *foundation.NSData
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 (*CIAztecCodeDescriptor) InitWithPayloadIsCompactLayerCountDataCodewordCount ¶
func (o *CIAztecCodeDescriptor) InitWithPayloadIsCompactLayerCountDataCodewordCount(errorCorrectedPayload *foundation.NSData, isCompact bool, layerCount int, dataCodewordCount int) *CIAztecCodeDescriptor
Initializes an Aztec code descriptor for the given payload and parameters.
func (*CIAztecCodeDescriptor) IsCompact ¶
func (o *CIAztecCodeDescriptor) IsCompact() bool
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 (*CIAztecCodeDescriptor) LayerCount ¶
func (o *CIAztecCodeDescriptor) LayerCount() int
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 CIBarcodeDescriptor ¶
type CIBarcodeDescriptor struct {
foundation.NSObject
}
An abstract base class that represents a machine-readable code’s attributes.
Apple documentation: https://developer.apple.com/documentation/coreimage/cibarcodedescriptor
func CIBarcodeDescriptorFromID ¶
func CIBarcodeDescriptorFromID(id objc.ID) *CIBarcodeDescriptor
type CIBlendKernel ¶
type CIBlendKernel struct {
CIColorKernel
}
A GPU-based image-processing routine that is optimized for blending two images.
Apple documentation: https://developer.apple.com/documentation/coreimage/ciblendkernel
func CIBlendKernelClear ¶
func CIBlendKernelClear() *CIBlendKernel
func CIBlendKernelColor ¶
func CIBlendKernelColor() *CIBlendKernel
func CIBlendKernelColorBurn ¶
func CIBlendKernelColorBurn() *CIBlendKernel
func CIBlendKernelColorDodge ¶
func CIBlendKernelColorDodge() *CIBlendKernel
func CIBlendKernelComponentAdd ¶
func CIBlendKernelComponentAdd() *CIBlendKernel
func CIBlendKernelComponentMax ¶
func CIBlendKernelComponentMax() *CIBlendKernel
func CIBlendKernelComponentMin ¶
func CIBlendKernelComponentMin() *CIBlendKernel
func CIBlendKernelComponentMultiply ¶
func CIBlendKernelComponentMultiply() *CIBlendKernel
func CIBlendKernelDarken ¶
func CIBlendKernelDarken() *CIBlendKernel
func CIBlendKernelDarkerColor ¶
func CIBlendKernelDarkerColor() *CIBlendKernel
func CIBlendKernelDestination ¶
func CIBlendKernelDestination() *CIBlendKernel
func CIBlendKernelDestinationAtop ¶
func CIBlendKernelDestinationAtop() *CIBlendKernel
func CIBlendKernelDestinationIn ¶
func CIBlendKernelDestinationIn() *CIBlendKernel
func CIBlendKernelDestinationOut ¶
func CIBlendKernelDestinationOut() *CIBlendKernel
func CIBlendKernelDestinationOver ¶
func CIBlendKernelDestinationOver() *CIBlendKernel
func CIBlendKernelDifference ¶
func CIBlendKernelDifference() *CIBlendKernel
func CIBlendKernelDivide ¶
func CIBlendKernelDivide() *CIBlendKernel
func CIBlendKernelExclusion ¶
func CIBlendKernelExclusion() *CIBlendKernel
func CIBlendKernelExclusiveOr ¶
func CIBlendKernelExclusiveOr() *CIBlendKernel
func CIBlendKernelFromID ¶
func CIBlendKernelFromID(id objc.ID) *CIBlendKernel
func CIBlendKernelHardLight ¶
func CIBlendKernelHardLight() *CIBlendKernel
func CIBlendKernelHardMix ¶
func CIBlendKernelHardMix() *CIBlendKernel
func CIBlendKernelHue ¶
func CIBlendKernelHue() *CIBlendKernel
func CIBlendKernelKernelWithString ¶
func CIBlendKernelKernelWithString(string_ *foundation.NSString) *CIBlendKernel
Creates a custom blend kernel from a program string.
func CIBlendKernelLighten ¶
func CIBlendKernelLighten() *CIBlendKernel
func CIBlendKernelLighterColor ¶
func CIBlendKernelLighterColor() *CIBlendKernel
func CIBlendKernelLinearBurn ¶
func CIBlendKernelLinearBurn() *CIBlendKernel
func CIBlendKernelLinearDodge ¶
func CIBlendKernelLinearDodge() *CIBlendKernel
func CIBlendKernelLinearLight ¶
func CIBlendKernelLinearLight() *CIBlendKernel
func CIBlendKernelLuminosity ¶
func CIBlendKernelLuminosity() *CIBlendKernel
func CIBlendKernelMultiply ¶
func CIBlendKernelMultiply() *CIBlendKernel
func CIBlendKernelOverlay ¶
func CIBlendKernelOverlay() *CIBlendKernel
func CIBlendKernelPinLight ¶
func CIBlendKernelPinLight() *CIBlendKernel
func CIBlendKernelSaturation ¶
func CIBlendKernelSaturation() *CIBlendKernel
func CIBlendKernelScreen ¶
func CIBlendKernelScreen() *CIBlendKernel
func CIBlendKernelSoftLight ¶
func CIBlendKernelSoftLight() *CIBlendKernel
func CIBlendKernelSource ¶
func CIBlendKernelSource() *CIBlendKernel
func CIBlendKernelSourceAtop ¶
func CIBlendKernelSourceAtop() *CIBlendKernel
func CIBlendKernelSourceIn ¶
func CIBlendKernelSourceIn() *CIBlendKernel
func CIBlendKernelSourceOut ¶
func CIBlendKernelSourceOut() *CIBlendKernel
func CIBlendKernelSourceOver ¶
func CIBlendKernelSourceOver() *CIBlendKernel
func CIBlendKernelSubtract ¶
func CIBlendKernelSubtract() *CIBlendKernel
func CIBlendKernelVividLight ¶
func CIBlendKernelVividLight() *CIBlendKernel
func (*CIBlendKernel) ApplyWithForegroundBackground ¶
func (o *CIBlendKernel) ApplyWithForegroundBackground(foreground *CIImage, background *CIImage) *CIImage
Creates a new image using the blend kernel and specified foreground and background images.
func (*CIBlendKernel) ApplyWithForegroundBackgroundColorSpace ¶
type CIColor ¶
type CIColor struct {
foundation.NSObject
}
The Core Image class that defines a color object.
Apple documentation: https://developer.apple.com/documentation/coreimage/cicolor
func CIColorBlackColor ¶
func CIColorBlackColor() *CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `0,0,0` and alpha value `1`.
func CIColorBlueColor ¶
func CIColorBlueColor() *CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `0,0,1` and alpha value `1`.
func CIColorClearColor ¶
func CIColorClearColor() *CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `0,0,0` and alpha value `0`.
func CIColorColorWithCGColor ¶
Create a Core Image color object with a Core Graphics color object.
func CIColorColorWithRedGreenBlue ¶
Create a Core Image color object in the sRGB color space with the specified red, green, and blue component values.
func CIColorColorWithRedGreenBlueAlpha ¶
func CIColorColorWithRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) *CIColor
Create a Core Image color object in the sRGB color space with the specified red, green, blue, and alpha component values.
func CIColorColorWithRedGreenBlueAlphaColorSpace ¶
func CIColorColorWithRedGreenBlueAlphaColorSpace(red float64, green float64, blue float64, alpha float64, colorSpace unsafe.Pointer) *CIColor
Create a Core Image color object with the specified red, green, blue, and alpha component values as measured in the specified color space.
func CIColorColorWithRedGreenBlueColorSpace ¶
func CIColorColorWithRedGreenBlueColorSpace(red float64, green float64, blue float64, colorSpace unsafe.Pointer) *CIColor
Create a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
func CIColorColorWithString ¶
func CIColorColorWithString(representation *foundation.NSString) *CIColor
Create a Core Image color object in the sRGB color space using a string containing the RGBA color component values.
func CIColorCyanColor ¶
func CIColorCyanColor() *CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `0,1,1` and alpha value `1`.
func CIColorFromID ¶
func CIColorGrayColor ¶
func CIColorGrayColor() *CIColor
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 CIColorGreenColor ¶
func CIColorGreenColor() *CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `0,1,0` and alpha value `1`.
func CIColorMagentaColor ¶
func CIColorMagentaColor() *CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `1,0,1` and alpha value `1`.
func CIColorRedColor ¶
func CIColorRedColor() *CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `1,0,0` and alpha value `1`.
func CIColorWhiteColor ¶
func CIColorWhiteColor() *CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `1,1,1` and alpha value `1`.
func CIColorYellowColor ¶
func CIColorYellowColor() *CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `1,1,0` and alpha value `1`.
func (*CIColor) 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 (*CIColor) ColorSpace ¶
Returns the `CGColorSpace` associated with the color
func (*CIColor) Components ¶
Return 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 (*CIColor) 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 (*CIColor) InitWithCGColor ¶
Create a Core Image color object with a Core Graphics color object.
func (*CIColor) InitWithRedGreenBlue ¶
Initialize a Core Image color object in the sRGB color space with the specified red, green, and blue component values.
func (*CIColor) InitWithRedGreenBlueAlpha ¶
func (o *CIColor) InitWithRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) *CIColor
Initialize a Core Image color object in the sRGB color space with the specified red, green, blue, and alpha component values.
func (*CIColor) InitWithRedGreenBlueAlphaColorSpace ¶
func (o *CIColor) InitWithRedGreenBlueAlphaColorSpace(red float64, green float64, blue float64, alpha float64, colorSpace unsafe.Pointer) *CIColor
Initialize a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
func (*CIColor) InitWithRedGreenBlueColorSpace ¶
func (o *CIColor) InitWithRedGreenBlueColorSpace(red float64, green float64, blue float64, colorSpace unsafe.Pointer) *CIColor
Initialize a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
func (*CIColor) 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 (*CIColor) 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 (*CIColor) StringRepresentation ¶
func (o *CIColor) StringRepresentation() *foundation.NSString
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 CIColorKernel ¶
type CIColorKernel struct {
CIKernel
}
A GPU-based image-processing routine that processes only the color information in images, used to create custom Core Image filters.
Apple documentation: https://developer.apple.com/documentation/coreimage/cicolorkernel
func CIColorKernelFromID ¶
func CIColorKernelFromID(id objc.ID) *CIColorKernel
func CIColorKernelKernelWithString ¶
func CIColorKernelKernelWithString(string_ *foundation.NSString) *CIColorKernel
Creates a color kernel object from the specified kernel source code.
func (*CIColorKernel) ApplyWithExtentArguments ¶
func (o *CIColorKernel) ApplyWithExtentArguments(extent corefoundation.CGRect, args *foundation.NSArray[objc.ID]) *CIImage
Creates a new image using the kernel and specified arguments.
type CIContext ¶
type CIContext struct {
foundation.NSObject
}
The Core Image context class provides an evaluation context for Core Image processing with Metal, OpenGL, or OpenCL.
Apple documentation: https://developer.apple.com/documentation/coreimage/cicontext
func CIContextContext ¶
func CIContextContext() *CIContext
Creates a context without a specific rendering destination, using default options.
func CIContextContextForOfflineGPUAtIndexColorSpaceOptionsSharedContext ¶
func CIContextContextForOfflineGPUAtIndexColorSpaceOptionsSharedContext(index uint, colorSpace unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID], sharedContext unsafe.Pointer) *CIContext
func CIContextContextWithCGContextOptions ¶
func CIContextContextWithCGContextOptions(cgctx unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIContext
Creates a Core Image context from a Quartz context, using the specified options.
func CIContextContextWithCGLContextPixelFormatColorSpaceOptions ¶
func CIContextContextWithCGLContextPixelFormatColorSpaceOptions(cglctx unsafe.Pointer, pixelFormat unsafe.Pointer, colorSpace unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIContext
Creates a Core Image context from a CGL context, using the specified options, color space, and pixel format object.
func CIContextContextWithCGLContextPixelFormatOptions ¶
func CIContextContextWithCGLContextPixelFormatOptions(cglctx unsafe.Pointer, pixelFormat unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIContext
Creates a Core Image context from a CGL context, using the specified options and pixel format object.
func CIContextContextWithMTLCommandQueue ¶
func CIContextContextWithMTLCommandQueue(commandQueue metal.MTLCommandQueue) *CIContext
func CIContextContextWithMTLCommandQueueOptions ¶
func CIContextContextWithMTLCommandQueueOptions(commandQueue metal.MTLCommandQueue, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIContext
func CIContextContextWithMTLDevice ¶
Creates a Core Image context using the specified Metal device.
func CIContextContextWithMTLDeviceOptions ¶
func CIContextContextWithMTLDeviceOptions(device metal.MTLDevice, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIContext
Creates a Core Image context using the specified Metal device and options.
func CIContextContextWithOptions ¶
func CIContextContextWithOptions(options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIContext
Initializes a context without a specific rendering destination, using the specified options.
func CIContextFromID ¶
func (*CIContext) 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 (*CIContext) 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 (*CIContext) 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 (*CIContext) 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 (*CIContext) ClearCaches ¶
func (o *CIContext) ClearCaches()
Frees any cached data, such as temporary images, associated with the context and runs the garbage collector.
func (*CIContext) CreateCGImageFromRect ¶
func (o *CIContext) CreateCGImageFromRect(image *CIImage, fromRect corefoundation.CGRect) unsafe.Pointer
Creates a Core Graphics image from a region of a Core Image image instance.
func (*CIContext) CreateCGImageFromRectFormatColorSpace ¶
func (o *CIContext) CreateCGImageFromRectFormatColorSpace(image *CIImage, fromRect corefoundation.CGRect, format int, colorSpace unsafe.Pointer) unsafe.Pointer
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 (*CIContext) CreateCGImageFromRectFormatColorSpaceDeferred ¶
func (o *CIContext) CreateCGImageFromRectFormatColorSpaceDeferred(image *CIImage, fromRect corefoundation.CGRect, format int, colorSpace unsafe.Pointer, deferred bool) unsafe.Pointer
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 (*CIContext) CreateCGImageFromRectFormatColorSpaceDeferredCalculateHDRStats ¶
func (o *CIContext) CreateCGImageFromRectFormatColorSpaceDeferredCalculateHDRStats(image *CIImage, fromRect corefoundation.CGRect, format int, colorSpace unsafe.Pointer, deferred bool, calculateHDRStats bool) unsafe.Pointer
Creates a Core Graphics image from a region of a Core Image image instance with an option for calculating HDR statistics.
func (*CIContext) CreateCGLayerWithSizeInfo ¶
func (o *CIContext) CreateCGLayerWithSizeInfo(size corefoundation.CGSize, info unsafe.Pointer) unsafe.Pointer
Creates a CGLayer object from the provided parameters. Deprecated: since macOS 10.11.
func (*CIContext) DepthBlurEffectFilterForImageDataOptions ¶
func (o *CIContext) DepthBlurEffectFilterForImageDataOptions(data *foundation.NSData, options *foundation.NSDictionary[objc.ID, objc.ID]) *CIFilter
Create a CIFilter instance for the supplied image data that can be used to apply a depth blur effect.
func (*CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationGlassesMatteGainMapOrientationOptions ¶
func (o *CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationGlassesMatteGainMapOrientationOptions(image *CIImage, disparityImage *CIImage, portraitEffectsMatte *CIImage, hairSemanticSegmentation *CIImage, glassesMatte *CIImage, gainMap *CIImage, orientation imageio.CGImagePropertyOrientation, options *foundation.NSDictionary[objc.ID, objc.ID]) *CIFilter
Create a CIFilter instance for the supplied image data that can be used to apply a depth blur effect created with the supplied auxiliary images.
func (*CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationOrientationOptions ¶
func (o *CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationOrientationOptions(image *CIImage, disparityImage *CIImage, portraitEffectsMatte *CIImage, hairSemanticSegmentation *CIImage, orientation imageio.CGImagePropertyOrientation, options *foundation.NSDictionary[objc.ID, objc.ID]) *CIFilter
Create a CIFilter instance for the supplied image data that can be used to apply a depth blur effect created with the supplied auxiliary images.
func (*CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteOrientationOptions ¶
func (o *CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteOrientationOptions(image *CIImage, disparityImage *CIImage, portraitEffectsMatte *CIImage, orientation imageio.CGImagePropertyOrientation, options *foundation.NSDictionary[objc.ID, objc.ID]) *CIFilter
Create a CIFilter instance for the supplied image data that can be used to apply a depth blur effect created with the supplied auxiliary images.
func (*CIContext) DepthBlurEffectFilterForImageURLOptions ¶
func (o *CIContext) DepthBlurEffectFilterForImageURLOptions(url *foundation.NSURL, options *foundation.NSDictionary[objc.ID, objc.ID]) *CIFilter
Create a CIFilter instance for the supplied image URL that can be used to apply a depth blur effect.
func (*CIContext) DrawImageAtPointFromRect ¶
func (o *CIContext) DrawImageAtPointFromRect(image *CIImage, atPoint corefoundation.CGPoint, fromRect corefoundation.CGRect)
Renders a region of an image to a point in the context destination. Deprecated: since macOS 10.8.
func (*CIContext) DrawImageInRectFromRect ¶
func (o *CIContext) DrawImageInRectFromRect(image *CIImage, inRect corefoundation.CGRect, fromRect corefoundation.CGRect)
Renders a region of an image to a rectangle in the context destination. Deprecated: since macOS 10.8.
func (*CIContext) HEIF10RepresentationOfImageColorSpaceOptionsError ¶
func (o *CIContext) HEIF10RepresentationOfImageColorSpaceOptionsError(image *CIImage, colorSpace unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) (*foundation.NSData, error)
Renders the image and exports the resulting image data in HEIF10 format.
func (*CIContext) HEIFRepresentationOfImageFormatColorSpaceOptions ¶
func (o *CIContext) HEIFRepresentationOfImageFormatColorSpaceOptions(image *CIImage, format int, colorSpace unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *foundation.NSData
Renders the image and exports the resulting image data in HEIF format.
func (*CIContext) Init ¶
Initializes a context without a specific rendering destination, using default options.
func (*CIContext) InitWithOptions ¶
func (o *CIContext) InitWithOptions(options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIContext
Initializes a context without a specific rendering destination, using the specified options.
func (*CIContext) JPEGRepresentationOfImageColorSpaceOptions ¶
func (o *CIContext) JPEGRepresentationOfImageColorSpaceOptions(image *CIImage, colorSpace unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *foundation.NSData
Renders the image and exports the resulting image data in JPEG format.
func (*CIContext) OpenEXRRepresentationOfImageOptionsError ¶
func (o *CIContext) OpenEXRRepresentationOfImageOptionsError(image *CIImage, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) (*foundation.NSData, error)
Renders the image and exports the resulting image data in open EXR format.
func (*CIContext) PNGRepresentationOfImageFormatColorSpaceOptions ¶
func (o *CIContext) PNGRepresentationOfImageFormatColorSpaceOptions(image *CIImage, format int, colorSpace unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *foundation.NSData
Renders the image and exports the resulting image data in PNG format.
func (*CIContext) PrepareRenderFromRectToDestinationAtPointError ¶
func (o *CIContext) PrepareRenderFromRectToDestinationAtPointError(image *CIImage, fromRect corefoundation.CGRect, destination *CIRenderDestination, atPoint corefoundation.CGPoint) (bool, error)
An optional call to warm up a CIContext so that subsequent calls to render with the same arguments run more efficiently.
func (*CIContext) ReclaimResources ¶
func (o *CIContext) ReclaimResources()
Runs the garbage collector to reclaim any resources that the context no longer requires.
func (*CIContext) RenderToBitmapRowBytesBoundsFormatColorSpace ¶
func (o *CIContext) RenderToBitmapRowBytesBoundsFormatColorSpace(image *CIImage, data unsafe.Pointer, rowBytes int, bounds corefoundation.CGRect, format int, colorSpace unsafe.Pointer)
Renders to the given bitmap.
func (*CIContext) RenderToCVPixelBuffer ¶
Renders an image into a pixel buffer.
func (*CIContext) RenderToCVPixelBufferBoundsColorSpace ¶
func (o *CIContext) RenderToCVPixelBufferBoundsColorSpace(image *CIImage, buffer unsafe.Pointer, bounds corefoundation.CGRect, colorSpace unsafe.Pointer)
Renders a region of an image into a pixel buffer.
func (*CIContext) RenderToIOSurfaceBoundsColorSpace ¶
func (o *CIContext) RenderToIOSurfaceBoundsColorSpace(image *CIImage, surface unsafe.Pointer, bounds corefoundation.CGRect, colorSpace unsafe.Pointer)
Renders a region of an image into an IOSurface object.
func (*CIContext) RenderToMTLTextureCommandBufferBoundsColorSpace ¶
func (o *CIContext) RenderToMTLTextureCommandBufferBoundsColorSpace(image *CIImage, texture metal.MTLTexture, commandBuffer metal.MTLCommandBuffer, bounds corefoundation.CGRect, colorSpace unsafe.Pointer)
Renders a region of an image to a Metal texture.
func (*CIContext) StartTaskToClearError ¶
func (o *CIContext) StartTaskToClearError(destination *CIRenderDestination) (*CIRenderTask, error)
Fills the entire destination with black or clear depending on its alphaMode.
func (*CIContext) StartTaskToRenderFromRectToDestinationAtPointError ¶
func (o *CIContext) StartTaskToRenderFromRectToDestinationAtPointError(image *CIImage, fromRect corefoundation.CGRect, destination *CIRenderDestination, atPoint corefoundation.CGPoint) (*CIRenderTask, error)
Renders a portion of an image to a point in the destination.
func (*CIContext) StartTaskToRenderToDestinationError ¶
func (o *CIContext) StartTaskToRenderToDestinationError(image *CIImage, destination *CIRenderDestination) (*CIRenderTask, error)
Renders an image to a destination so that point (0, 0) of the image maps to point (0, 0) of the destination.
func (*CIContext) TIFFRepresentationOfImageFormatColorSpaceOptions ¶
func (o *CIContext) TIFFRepresentationOfImageFormatColorSpaceOptions(image *CIImage, format int, colorSpace unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *foundation.NSData
Renders the image and exports the resulting image data in TIFF format.
func (*CIContext) WorkingColorSpace ¶
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 (*CIContext) WorkingFormat ¶
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 (*CIContext) WriteHEIF10RepresentationOfImageToURLColorSpaceOptionsError ¶
func (o *CIContext) WriteHEIF10RepresentationOfImageToURLColorSpaceOptionsError(image *CIImage, url *foundation.NSURL, colorSpace unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
Renders the image and exports the resulting image data as a file in HEIF10 format.
func (*CIContext) WriteHEIFRepresentationOfImageToURLFormatColorSpaceOptionsError ¶
func (o *CIContext) WriteHEIFRepresentationOfImageToURLFormatColorSpaceOptionsError(image *CIImage, url *foundation.NSURL, format int, colorSpace unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
Renders the image and exports the resulting image data as a file in HEIF format.
func (*CIContext) WriteJPEGRepresentationOfImageToURLColorSpaceOptionsError ¶
func (o *CIContext) WriteJPEGRepresentationOfImageToURLColorSpaceOptionsError(image *CIImage, url *foundation.NSURL, colorSpace unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
Renders the image and exports the resulting image data as a file in JPEG format.
func (*CIContext) WriteOpenEXRRepresentationOfImageToURLOptionsError ¶
func (o *CIContext) WriteOpenEXRRepresentationOfImageToURLOptionsError(image *CIImage, url *foundation.NSURL, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
Renders the image and exports the resulting image data as a file in open EXR format.
func (*CIContext) WritePNGRepresentationOfImageToURLFormatColorSpaceOptionsError ¶
func (o *CIContext) WritePNGRepresentationOfImageToURLFormatColorSpaceOptionsError(image *CIImage, url *foundation.NSURL, format int, colorSpace unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
Renders the image and exports the resulting image data as a file in PNG format.
func (*CIContext) WriteTIFFRepresentationOfImageToURLFormatColorSpaceOptionsError ¶
func (o *CIContext) WriteTIFFRepresentationOfImageToURLFormatColorSpaceOptionsError(image *CIImage, url *foundation.NSURL, format int, colorSpace unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) (bool, error)
Renders the image and exports the resulting image data as a file in TIFF format.
type CIDataMatrixCodeDescriptor ¶
type CIDataMatrixCodeDescriptor struct {
CIBarcodeDescriptor
}
A concrete subclass the Core Image Barcode Descriptor that represents an Data Matrix code symbol.
Apple documentation: https://developer.apple.com/documentation/coreimage/cidatamatrixcodedescriptor
func CIDataMatrixCodeDescriptorDescriptorWithPayloadRowCountColumnCountEccVersion ¶
func CIDataMatrixCodeDescriptorDescriptorWithPayloadRowCountColumnCountEccVersion(errorCorrectedPayload *foundation.NSData, rowCount int, columnCount int, eccVersion CIDataMatrixCodeECCVersion) *CIDataMatrixCodeDescriptor
Creates a Data Matrix code descriptor for the given payload and parameters.
func CIDataMatrixCodeDescriptorFromID ¶
func CIDataMatrixCodeDescriptorFromID(id objc.ID) *CIDataMatrixCodeDescriptor
func (*CIDataMatrixCodeDescriptor) ColumnCount ¶
func (o *CIDataMatrixCodeDescriptor) ColumnCount() int
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 (*CIDataMatrixCodeDescriptor) EccVersion ¶
func (o *CIDataMatrixCodeDescriptor) EccVersion() CIDataMatrixCodeECCVersion
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 (*CIDataMatrixCodeDescriptor) ErrorCorrectedPayload ¶
func (o *CIDataMatrixCodeDescriptor) ErrorCorrectedPayload() *foundation.NSData
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 (*CIDataMatrixCodeDescriptor) InitWithPayloadRowCountColumnCountEccVersion ¶
func (o *CIDataMatrixCodeDescriptor) InitWithPayloadRowCountColumnCountEccVersion(errorCorrectedPayload *foundation.NSData, rowCount int, columnCount int, eccVersion CIDataMatrixCodeECCVersion) *CIDataMatrixCodeDescriptor
Initializes a Data Matrix code descriptor for the given payload and parameters.
func (*CIDataMatrixCodeDescriptor) RowCount ¶
func (o *CIDataMatrixCodeDescriptor) RowCount() int
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 CIDataMatrixCodeECCVersion ¶
type CIDataMatrixCodeECCVersion int64
Constants indicating the Data Matrix code ECC version.
const ( // Indicates error correction using convolutional code error correction with no data protection. CIDataMatrixCodeECCVersion000 CIDataMatrixCodeECCVersion = 0 // Indicates 1/4 of the symbol is dedicated to convolutional code error correction. CIDataMatrixCodeECCVersion050 CIDataMatrixCodeECCVersion = 50 // Indicates 1/3 of the symbol is dedicated to convolutional code error correction. CIDataMatrixCodeECCVersion080 CIDataMatrixCodeECCVersion = 80 // Indicates 1/2 of the symbol is dedicated to convolutional code error correction. CIDataMatrixCodeECCVersion100 CIDataMatrixCodeECCVersion = 100 // Indicates 3/4 of the symbol is dedicated to convolutional code error correction. CIDataMatrixCodeECCVersion140 CIDataMatrixCodeECCVersion = 140 // Indicates error correction using Reed-Solomon error correction. Data protection overhead varies based on symbol size. CIDataMatrixCodeECCVersion200 CIDataMatrixCodeECCVersion = 200 )
func (CIDataMatrixCodeECCVersion) String ¶
func (e CIDataMatrixCodeECCVersion) String() string
type CIDetector ¶
type CIDetector struct {
foundation.NSObject
}
An image processor that identifies notable features, such as faces and barcodes, in a still image or video.
Apple documentation: https://developer.apple.com/documentation/coreimage/cidetector
func CIDetectorDetectorOfTypeContextOptions ¶
func CIDetectorDetectorOfTypeContextOptions(type_ *foundation.NSString, context_ *CIContext, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIDetector
Creates and returns a configured detector.
func CIDetectorFromID ¶
func CIDetectorFromID(id objc.ID) *CIDetector
func (*CIDetector) FeaturesInImage ¶
func (o *CIDetector) FeaturesInImage(image *CIImage) *foundation.NSArray[*CIFeature]
Searches for features in an image.
func (*CIDetector) FeaturesInImageOptions ¶
func (o *CIDetector) FeaturesInImageOptions(image *CIImage, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *foundation.NSArray[*CIFeature]
Searches for features in an image based on the specified image orientation.
type CIFaceFeature ¶
type CIFaceFeature struct {
CIFeature
}
Information about a face detected in a still or video image.
Apple documentation: https://developer.apple.com/documentation/coreimage/cifacefeature
func CIFaceFeatureFromID ¶
func CIFaceFeatureFromID(id objc.ID) *CIFaceFeature
func (*CIFaceFeature) FaceAngle ¶
func (o *CIFaceFeature) FaceAngle() float32
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 (*CIFaceFeature) HasFaceAngle ¶
func (o *CIFaceFeature) HasFaceAngle() bool
A Boolean value that indicates whether information about face rotation is available.
func (*CIFaceFeature) HasLeftEyePosition ¶
func (o *CIFaceFeature) HasLeftEyePosition() bool
A Boolean value that indicates whether the detector found the face’s left eye.
func (*CIFaceFeature) HasMouthPosition ¶
func (o *CIFaceFeature) HasMouthPosition() bool
A Boolean value that indicates whether the detector found the face’s mouth.
func (*CIFaceFeature) HasRightEyePosition ¶
func (o *CIFaceFeature) HasRightEyePosition() bool
A Boolean value that indicates whether the detector found the face’s right eye.
func (*CIFaceFeature) HasSmile ¶
func (o *CIFaceFeature) HasSmile() bool
A Boolean value that indicates 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 (*CIFaceFeature) HasTrackingFrameCount ¶
func (o *CIFaceFeature) HasTrackingFrameCount() bool
A Boolean value that indicates the face object has a tracking frame count.
func (*CIFaceFeature) HasTrackingID ¶
func (o *CIFaceFeature) HasTrackingID() bool
A Boolean value that indicates whether the face object has a tracking ID.
func (*CIFaceFeature) LeftEyeClosed ¶
func (o *CIFaceFeature) LeftEyeClosed() bool
A Boolean value that indicates 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 (*CIFaceFeature) LeftEyePosition ¶
func (o *CIFaceFeature) LeftEyePosition() corefoundation.CGPoint
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 (*CIFaceFeature) MouthPosition ¶
func (o *CIFaceFeature) MouthPosition() corefoundation.CGPoint
The image coordinate of the center of the mouth.
func (*CIFaceFeature) RightEyeClosed ¶
func (o *CIFaceFeature) RightEyeClosed() bool
A Boolean value that indicates 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 (*CIFaceFeature) RightEyePosition ¶
func (o *CIFaceFeature) RightEyePosition() corefoundation.CGPoint
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 (*CIFaceFeature) TrackingFrameCount ¶
func (o *CIFaceFeature) TrackingFrameCount() int
The tracking frame count of the face.
func (*CIFaceFeature) TrackingID ¶
func (o *CIFaceFeature) TrackingID() int
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 CIFeature ¶
type CIFeature struct {
foundation.NSObject
}
The abstract superclass for objects representing notable features detected in an image.
Apple documentation: https://developer.apple.com/documentation/coreimage/cifeature
func CIFeatureFromID ¶
func (*CIFeature) Bounds ¶
func (o *CIFeature) Bounds() corefoundation.CGRect
The rectangle that bounds the location of discovered feature. The rectangle is in the cartesian coordinate system of the image.
func (*CIFeature) Type ¶
func (o *CIFeature) Type() *foundation.NSString
The type of feature that was discovered. The type can be one of: * “CIFeatureTypeFace“ * “CIFeatureTypeRectangle“ * “CIFeatureTypeQRCode“ * “CIFeatureTypeText“
type CIFilter ¶
type CIFilter struct {
foundation.NSObject
}
An image processor that produces an image by manipulating one or more input images or by generating new image data.
Apple documentation: https://developer.apple.com/documentation/coreimage/cifilter
func CIFilterFilterWithCVPixelBufferPropertiesOptions ¶
func CIFilterFilterWithCVPixelBufferPropertiesOptions(pixelBuffer unsafe.Pointer, properties *foundation.NSDictionary[objc.ID, objc.ID], options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIFilter
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. Deprecated: Use new CIRAWFilter class instead.
func CIFilterFilterWithImageDataOptions ¶
func CIFilterFilterWithImageDataOptions(data *foundation.NSData, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIFilter
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. Deprecated: Use new CIRAWFilter class instead.
func CIFilterFilterWithImageURLOptions ¶
func CIFilterFilterWithImageURLOptions(url *foundation.NSURL, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIFilter
Returns a CIFilter that will in turn return a properly processed CIImage as "outputImage". Deprecated: Use new CIRAWFilter class instead.
func CIFilterFilterWithName ¶
func CIFilterFilterWithName(name *foundation.NSString) *CIFilter
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 CIFilterFilterWithNameWithInputParameters ¶
func CIFilterFilterWithNameWithInputParameters(name *foundation.NSString, params *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIFilter
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 CIFilterFromID ¶
func (*CIFilter) ApplyArgumentsOptions ¶
func (o *CIFilter) ApplyArgumentsOptions(k *CIKernel, args *foundation.NSArray[objc.ID], dict *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
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. @param k CIKernel of the filter @param args Array of arguments that are applied to the kernel @param dict Array of additional options
func (*CIFilter) Attributes ¶
func (o *CIFilter) Attributes() *foundation.NSDictionary[*foundation.NSString, objc.ID]
Returns a dictionary containing key/value pairs describing the filter. (see description of keys below)
func (*CIFilter) InputKeys ¶
func (o *CIFilter) InputKeys() *foundation.NSArray[*foundation.NSString]
Returns an array containing the names of all inputs in the filter.
func (*CIFilter) Name ¶
func (o *CIFilter) Name() *foundation.NSString
func (*CIFilter) OutputImage ¶
func (*CIFilter) OutputKeys ¶
func (o *CIFilter) OutputKeys() *foundation.NSArray[*foundation.NSString]
Returns an array containing the names of all outputs in the filter.
func (*CIFilter) SetDefaults ¶
func (o *CIFilter) SetDefaults()
Sets all inputs to their default values (where default values are defined, other inputs are left as-is).
func (*CIFilter) SetEnabled ¶
func (*CIFilter) SetName ¶
func (o *CIFilter) SetName(aString *foundation.NSString)
type CIFilterConstructor ¶
type CIFilterConstructor interface {
}
CIFilterConstructor wraps the ObjC protocol CIFilterConstructor.
type CIFilterGenerator ¶
type CIFilterGenerator struct {
foundation.NSObject
}
An object that creates and configures chains of individual image filters.
Apple documentation: https://developer.apple.com/documentation/coreimage/cifiltergenerator
func CIFilterGeneratorFilterGenerator ¶
func CIFilterGeneratorFilterGenerator() *CIFilterGenerator
Creates and returns an empty filter generator object.
func CIFilterGeneratorFilterGeneratorWithContentsOfURL ¶
func CIFilterGeneratorFilterGeneratorWithContentsOfURL(aURL *foundation.NSURL) *CIFilterGenerator
Creates and returns a filter generator object and initializes it with the contents of a filter generator file.
func CIFilterGeneratorFromID ¶
func CIFilterGeneratorFromID(id objc.ID) *CIFilterGenerator
func (*CIFilterGenerator) ClassAttributes ¶
func (o *CIFilterGenerator) ClassAttributes() *foundation.NSDictionary[objc.ID, objc.ID]
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 (*CIFilterGenerator) ConnectObjectWithKeyToObjectWithKey ¶
func (o *CIFilterGenerator) ConnectObjectWithKeyToObjectWithKey(sourceObject objc.ID, sourceKey *foundation.NSString, targetObject objc.ID, targetKey *foundation.NSString)
Adds an object to the filter chain.
func (*CIFilterGenerator) DisconnectObjectWithKeyToObjectWithKey ¶
func (o *CIFilterGenerator) DisconnectObjectWithKeyToObjectWithKey(sourceObject objc.ID, sourceKey *foundation.NSString, targetObject objc.ID, targetKey *foundation.NSString)
Removes the connection between two objects in the filter chain.
func (*CIFilterGenerator) ExportKeyFromObjectWithName ¶
func (o *CIFilterGenerator) ExportKeyFromObjectWithName(key *foundation.NSString, targetObject objc.ID, exportedKeyName *foundation.NSString)
Exports an input or output key of an object in the filter chain.
func (*CIFilterGenerator) ExportedKeys ¶
func (o *CIFilterGenerator) ExportedKeys() *foundation.NSDictionary[objc.ID, objc.ID]
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. @result An array of dictionaries that describe the exported key and target object. See CIExportedKey, CIExportedKeyTargetObject and CIExportedKeyName for keys used in the dictionary.
func (*CIFilterGenerator) Filter ¶
func (o *CIFilterGenerator) Filter() *CIFilter
Creates a filter object based on the filter chain.
func (*CIFilterGenerator) InitWithContentsOfURL ¶
func (o *CIFilterGenerator) InitWithContentsOfURL(aURL *foundation.NSURL) objc.ID
Initializes a filter generator object with the contents of a filter generator file.
func (*CIFilterGenerator) RegisterFilterName ¶
func (o *CIFilterGenerator) RegisterFilterName(name *foundation.NSString)
Registers the name associated with a filter chain.
func (*CIFilterGenerator) RemoveExportedKey ¶
func (o *CIFilterGenerator) RemoveExportedKey(exportedKeyName *foundation.NSString)
Removes a key that was previously exported.
func (*CIFilterGenerator) SetAttributesForExportedKey ¶
func (o *CIFilterGenerator) SetAttributesForExportedKey(attributes *foundation.NSDictionary[objc.ID, objc.ID], key *foundation.NSString)
Sets a dictionary of attributes for an exported key.
func (*CIFilterGenerator) SetClassAttributes ¶
func (o *CIFilterGenerator) SetClassAttributes(classAttributes *foundation.NSDictionary[objc.ID, objc.ID])
func (*CIFilterGenerator) WriteToURLAtomically ¶
func (o *CIFilterGenerator) WriteToURLAtomically(aURL *foundation.NSURL, flag bool) bool
Archives a filter generator object to a filter generator file.
type CIFilterProtocol ¶
type CIFilterProtocol interface {
OutputImage() *CIImage
}
CIFilterProtocol wraps the ObjC protocol CIFilter.
type CIFilterShape ¶
type CIFilterShape struct {
foundation.NSObject
}
A description of the bounding shape of a filter and the domain of definition for a filter operation.
Apple documentation: https://developer.apple.com/documentation/coreimage/cifiltershape
func CIFilterShapeFromID ¶
func CIFilterShapeFromID(id objc.ID) *CIFilterShape
func CIFilterShapeShapeWithRect ¶
func CIFilterShapeShapeWithRect(r corefoundation.CGRect) *CIFilterShape
Creates a filter shape object and initializes it with a rectangle.
func (*CIFilterShape) Extent ¶
func (o *CIFilterShape) Extent() corefoundation.CGRect
func (*CIFilterShape) InitWithRect ¶
func (o *CIFilterShape) InitWithRect(r corefoundation.CGRect) *CIFilterShape
Initializes a filter shape object with a rectangle.
func (*CIFilterShape) InsetByXY ¶
func (o *CIFilterShape) InsetByXY(dx int, dy int) *CIFilterShape
Modifies a filter shape object so that it is inset by the specified x and y values.
func (*CIFilterShape) IntersectWith ¶
func (o *CIFilterShape) IntersectWith(s2 *CIFilterShape) *CIFilterShape
Creates a filter shape object that represents the intersection of the current filter shape and the specified filter shape object.
func (*CIFilterShape) IntersectWithRect ¶
func (o *CIFilterShape) IntersectWithRect(r corefoundation.CGRect) *CIFilterShape
Creates a filter shape that represents the intersection of the current filter shape and a rectangle.
func (*CIFilterShape) TransformByInterior ¶
func (o *CIFilterShape) TransformByInterior(m corefoundation.CGAffineTransform, flag bool) *CIFilterShape
Creates a filter shape that results from applying a transform to the current filter shape.
func (*CIFilterShape) UnionWith ¶
func (o *CIFilterShape) UnionWith(s2 *CIFilterShape) *CIFilterShape
Creates a filter shape that results from the union of the current filter shape and another filter shape object.
func (*CIFilterShape) UnionWithRect ¶
func (o *CIFilterShape) UnionWithRect(r corefoundation.CGRect) *CIFilterShape
Creates a filter shape that results from the union of the current filter shape and a rectangle.
type CIImage ¶
type CIImage struct {
foundation.NSObject
}
A representation of an image to be processed or produced by Core Image filters.
Apple documentation: https://developer.apple.com/documentation/coreimage/ciimage
func CIImageBlackImage ¶
func CIImageBlackImage() *CIImage
func CIImageBlueImage ¶
func CIImageBlueImage() *CIImage
func CIImageClearImage ¶
func CIImageClearImage() *CIImage
func CIImageCyanImage ¶
func CIImageCyanImage() *CIImage
func CIImageEmptyImage ¶
func CIImageEmptyImage() *CIImage
Creates and returns an empty image object.
func CIImageFromID ¶
func CIImageGrayImage ¶
func CIImageGrayImage() *CIImage
func CIImageGreenImage ¶
func CIImageGreenImage() *CIImage
func CIImageImageWithBitmapDataBytesPerRowSizeFormatColorSpace ¶
func CIImageImageWithBitmapDataBytesPerRowSizeFormatColorSpace(data *foundation.NSData, bytesPerRow uint, size corefoundation.CGSize, format int, colorSpace unsafe.Pointer) *CIImage
Creates and returns an image object from bitmap data.
func CIImageImageWithCGImage ¶
Creates and returns an image object from a Quartz 2D image.
func CIImageImageWithCGImageOptions ¶
func CIImageImageWithCGImageOptions(image unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Creates and returns an image object from a Quartz 2D image using the specified options.
func CIImageImageWithCGImageSourceIndexOptions ¶
func CIImageImageWithCGImageSourceIndexOptions(source unsafe.Pointer, index uint, dict *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
func CIImageImageWithCGLayer ¶
Creates and returns an image object from the contents supplied by a CGLayer object. Deprecated: since macOS 10.11.
func CIImageImageWithCGLayerOptions ¶
func CIImageImageWithCGLayerOptions(layer unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Creates and returns an image object from the contents supplied by a CGLayer object, using the specified options. Deprecated: since macOS 10.11.
func CIImageImageWithCVImageBuffer ¶
Creates and returns an image object from the contents of CVImageBuffer object.
func CIImageImageWithCVImageBufferOptions ¶
func CIImageImageWithCVImageBufferOptions(imageBuffer unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Creates and returns an image object from the contents of CVImageBuffer object, using the specified options.
func CIImageImageWithCVPixelBuffer ¶
Creates and returns an image object from the contents of CVPixelBuffer object.
func CIImageImageWithCVPixelBufferOptions ¶
func CIImageImageWithCVPixelBufferOptions(pixelBuffer unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Creates and returns an image object from the contents of CVPixelBuffer object, using the specified options.
func CIImageImageWithColor ¶
Creates and returns an image of infinite extent whose entire content is the specified color.
func CIImageImageWithContentsOfURL ¶
func CIImageImageWithContentsOfURL(url *foundation.NSURL) *CIImage
Creates and returns an image object from the contents of a file.
func CIImageImageWithContentsOfURLOptions ¶
func CIImageImageWithContentsOfURLOptions(url *foundation.NSURL, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Creates and returns an image object from the contents of a file, using the specified options.
func CIImageImageWithData ¶
func CIImageImageWithData(data *foundation.NSData) *CIImage
Creates and returns an image object initialized with the supplied image data.
func CIImageImageWithDataOptions ¶
func CIImageImageWithDataOptions(data *foundation.NSData, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Creates and returns an image object initialized with the supplied image data, using the specified options.
func CIImageImageWithDepthData ¶
func CIImageImageWithDepthData(data *avfoundation.AVDepthData) *CIImage
func CIImageImageWithDepthDataOptions ¶
func CIImageImageWithDepthDataOptions(data *avfoundation.AVDepthData, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
func CIImageImageWithIOSurface ¶
Creates and returns an image from the contents of an IOSurface.
func CIImageImageWithIOSurfaceOptions ¶
func CIImageImageWithIOSurfaceOptions(surface unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Creates, using the specified options, and returns an image from the contents of an IOSurface.
func CIImageImageWithImageProviderSizeFormatColorSpaceOptions ¶
func CIImageImageWithImageProviderSizeFormatColorSpaceOptions(provider objc.ID, width uint, height uint, format int, colorSpace unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Create an image object based on pixels from an image provider object.
func CIImageImageWithMTLTextureOptions ¶
func CIImageImageWithMTLTextureOptions(texture metal.MTLTexture, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Creates and returns an image object with data supplied by a Metal texture.
func CIImageImageWithPortaitEffectsMatte ¶
func CIImageImageWithPortaitEffectsMatte(matte *avfoundation.AVPortraitEffectsMatte) *CIImage
func CIImageImageWithPortaitEffectsMatteOptions ¶
func CIImageImageWithPortaitEffectsMatteOptions(matte *avfoundation.AVPortraitEffectsMatte, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
func CIImageImageWithSemanticSegmentationMatte ¶
func CIImageImageWithSemanticSegmentationMatte(matte *avfoundation.AVSemanticSegmentationMatte) *CIImage
func CIImageImageWithSemanticSegmentationMatteOptions ¶
func CIImageImageWithSemanticSegmentationMatteOptions(matte *avfoundation.AVSemanticSegmentationMatte, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
func CIImageImageWithTextureSizeFlippedColorSpace ¶
func CIImageImageWithTextureSizeFlippedColorSpace(name uint, size corefoundation.CGSize, flipped bool, colorSpace unsafe.Pointer) *CIImage
Creates and returns an image object initialized with data supplied by an OpenGL texture.
func CIImageImageWithTextureSizeFlippedOptions ¶
func CIImageImageWithTextureSizeFlippedOptions(name uint, size corefoundation.CGSize, flipped bool, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Creates and returns an image object initialized with data supplied by an OpenGL texture.
func CIImageMagentaImage ¶
func CIImageMagentaImage() *CIImage
func CIImageProcessorKernelApplyWithExtentInputsArgumentsError ¶
func CIImageProcessorKernelApplyWithExtentInputsArgumentsError(extent corefoundation.CGRect, inputs *foundation.NSArray[*CIImage], arguments *foundation.NSDictionary[*foundation.NSString, objc.ID]) (*CIImage, error)
Call this method on your Core Image Processor Kernel subclass to create a new image of the specified extent.
func CIImageRedImage ¶
func CIImageRedImage() *CIImage
func CIImageWhiteImage ¶
func CIImageWhiteImage() *CIImage
func CIImageYellowImage ¶
func CIImageYellowImage() *CIImage
func (*CIImage) AutoAdjustmentFilters ¶
func (o *CIImage) AutoAdjustmentFilters() *foundation.NSArray[*CIFilter]
Returns all possible automatically selected and configured filters for adjusting the image.
func (*CIImage) AutoAdjustmentFiltersWithOptions ¶
func (o *CIImage) AutoAdjustmentFiltersWithOptions(options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *foundation.NSArray[*CIFilter]
Returns a subset of automatically selected and configured filters for adjusting the image.
func (*CIImage) ColorSpace ¶
func (*CIImage) 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 (*CIImage) 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 (*CIImage) Definition ¶
func (o *CIImage) Definition() *CIFilterShape
func (*CIImage) DepthData ¶
func (o *CIImage) DepthData() *avfoundation.AVDepthData
func (*CIImage) Extent ¶
func (o *CIImage) Extent() corefoundation.CGRect
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 (*CIImage) ImageByApplyingCGOrientation ¶
func (o *CIImage) ImageByApplyingCGOrientation(orientation imageio.CGImagePropertyOrientation) *CIImage
Transforms the original image by a given orientation.
func (*CIImage) ImageByApplyingFilter ¶
func (o *CIImage) ImageByApplyingFilter(filterName *foundation.NSString) *CIImage
Applies the filter to an image and returns the output.
func (*CIImage) ImageByApplyingFilterWithInputParameters ¶
func (o *CIImage) ImageByApplyingFilterWithInputParameters(filterName *foundation.NSString, params *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Returns a new image created by applying a filter to the original image with the specified name and parameters.
func (*CIImage) ImageByApplyingGainMap ¶
Create an image that applies a gain map Core Image image to the received Core Image image.
func (*CIImage) ImageByApplyingGainMapHeadroom ¶
Create an image that applies a gain map Core Image image with a specified headroom to the received Core Image image.
func (*CIImage) ImageByApplyingGaussianBlurWithSigma ¶
Create an image by applying a gaussian blur to the receiver.
func (*CIImage) ImageByApplyingOrientation ¶
Returns a new image created by transforming the original image to the specified EXIF orientation.
func (*CIImage) ImageByApplyingTransform ¶
func (o *CIImage) ImageByApplyingTransform(matrix corefoundation.CGAffineTransform) *CIImage
Returns a new image that represents the original image after applying an affine transform.
func (*CIImage) ImageByApplyingTransformHighQualityDownsample ¶
func (o *CIImage) ImageByApplyingTransformHighQualityDownsample(matrix corefoundation.CGAffineTransform, highQualityDownsample bool) *CIImage
func (*CIImage) ImageByClampingToExtent ¶
Returns a new image created by making the pixel colors along its edges extend infinitely in all directions.
func (*CIImage) ImageByClampingToRect ¶
func (o *CIImage) ImageByClampingToRect(rect corefoundation.CGRect) *CIImage
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 (*CIImage) ImageByColorMatchingColorSpaceToWorkingSpace ¶
Returns a new image created by color matching from the specified color space to the context’s working color space.
func (*CIImage) ImageByColorMatchingWorkingSpaceToColorSpace ¶
Returns a new image created by color matching from the context’s working color space to the specified color space.
func (*CIImage) ImageByCompositingOverImage ¶
Returns a new image created by compositing the original image over the specified destination image.
func (*CIImage) ImageByConvertingLabToWorkingSpace ¶
func (*CIImage) ImageByConvertingWorkingSpaceToLab ¶
func (*CIImage) ImageByCroppingToRect ¶
func (o *CIImage) ImageByCroppingToRect(rect corefoundation.CGRect) *CIImage
Returns a new image with a cropped portion of the original image.
func (*CIImage) ImageByInsertingIntermediate ¶
Create an image that inserts a intermediate that is cacheable
func (*CIImage) ImageByInsertingIntermediate2 ¶
Create an image that inserts a intermediate that is cacheable.
func (*CIImage) ImageByInsertingTiledIntermediate ¶
Create an image that inserts a intermediate that is cached in tiles
func (*CIImage) ImageByPremultiplyingAlpha ¶
Returns a new image created by multiplying the image’s RGB values by its alpha values.
func (*CIImage) ImageBySamplingLinear ¶
Create an image by changing the receiver’s sample mode to bilinear interpolation.
func (*CIImage) ImageBySamplingNearest ¶
Create an image by changing the receiver’s sample mode to nearest neighbor.
func (*CIImage) ImageBySettingAlphaOneInExtent ¶
func (o *CIImage) ImageBySettingAlphaOneInExtent(extent corefoundation.CGRect) *CIImage
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 (*CIImage) ImageBySettingContentAverageLightLevel ¶
Create an image by changing the receiver’s contentAverageLightLevel property.
func (*CIImage) ImageBySettingContentHeadroom ¶
Create an image by changing the receiver’s contentHeadroom property.
func (*CIImage) ImageBySettingProperties ¶
func (o *CIImage) ImageBySettingProperties(properties *foundation.NSDictionary[objc.ID, objc.ID]) *CIImage
Return a new image by changing the receiver’s metadata properties.
func (*CIImage) ImageByUnpremultiplyingAlpha ¶
Returns a new image created by dividing the image’s RGB values by its alpha values.
func (*CIImage) ImageTransformForCGOrientation ¶
func (o *CIImage) ImageTransformForCGOrientation(orientation imageio.CGImagePropertyOrientation) corefoundation.CGAffineTransform
The affine transform for changing the image to the given orientation.
func (*CIImage) ImageTransformForOrientation ¶
func (o *CIImage) ImageTransformForOrientation(orientation int) corefoundation.CGAffineTransform
Returns the transformation needed to reorient the image to the specified orientation.
func (*CIImage) InitWithBitmapDataBytesPerRowSizeFormatColorSpace ¶
func (o *CIImage) InitWithBitmapDataBytesPerRowSizeFormatColorSpace(data *foundation.NSData, bytesPerRow uint, size corefoundation.CGSize, format int, colorSpace unsafe.Pointer) *CIImage
Initializes an image object with bitmap data.
func (*CIImage) InitWithCGImage ¶
Initializes an image object with a Quartz 2D image.
func (*CIImage) InitWithCGImageOptions ¶
func (o *CIImage) InitWithCGImageOptions(image unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Initializes an image object with a Quartz 2D image, using the specified options.
func (*CIImage) InitWithCGImageSourceIndexOptions ¶
func (o *CIImage) InitWithCGImageSourceIndexOptions(source unsafe.Pointer, index uint, dict *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
func (*CIImage) InitWithCGLayer ¶
Initializes an image object from the contents supplied by a CGLayer object. Deprecated: since macOS 10.11.
func (*CIImage) InitWithCGLayerOptions ¶
func (o *CIImage) InitWithCGLayerOptions(layer unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Initializes an image object from the contents supplied by a CGLayer object, using the specified options. Deprecated: since macOS 10.11.
func (*CIImage) InitWithCVImageBuffer ¶
Initializes an image object from the contents of a Core Video image buffer.
func (*CIImage) InitWithCVImageBufferOptions ¶
func (o *CIImage) InitWithCVImageBufferOptions(imageBuffer unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Initializes an image object from the contents of a Core Video image buffer, using the specified options.
func (*CIImage) InitWithCVPixelBuffer ¶
Initializes an image object from the contents of a Core Video pixel buffer.
func (*CIImage) InitWithCVPixelBufferOptions ¶
func (o *CIImage) InitWithCVPixelBufferOptions(pixelBuffer unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Initializes an image object from the contents of a Core Video pixel buffer using the specified options.
func (*CIImage) InitWithColor ¶
Initializes an image of infinite extent whose entire content is the specified color.
func (*CIImage) InitWithContentsOfURL ¶
func (o *CIImage) InitWithContentsOfURL(url *foundation.NSURL) *CIImage
Initializes an image object by reading an image from a URL.
func (*CIImage) InitWithContentsOfURLOptions ¶
func (o *CIImage) InitWithContentsOfURLOptions(url *foundation.NSURL, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Initializes an image object by reading an image from a URL, using the specified options.
func (*CIImage) InitWithData ¶
func (o *CIImage) InitWithData(data *foundation.NSData) *CIImage
Initializes an image object with the supplied image data. Deprecated: since macOS 10.11.
func (*CIImage) InitWithDataOptions ¶
func (o *CIImage) InitWithDataOptions(data *foundation.NSData, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Initializes an image object with the supplied image data, using the specified options. Deprecated: since macOS 10.11.
func (*CIImage) InitWithDepthData ¶
func (o *CIImage) InitWithDepthData(data *avfoundation.AVDepthData) *CIImage
func (*CIImage) InitWithDepthDataOptions ¶
func (o *CIImage) InitWithDepthDataOptions(data *avfoundation.AVDepthData, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
func (*CIImage) InitWithIOSurface ¶
Initializes an image with the contents of an IOSurface.
func (*CIImage) InitWithIOSurfaceOptions ¶
func (o *CIImage) InitWithIOSurfaceOptions(surface unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Initializes, using the specified options, an image with the contents of an IOSurface.
func (*CIImage) InitWithIOSurfacePlaneFormatOptions ¶
func (o *CIImage) InitWithIOSurfacePlaneFormatOptions(surface unsafe.Pointer, plane uint, format int, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Initializes, using the specified format and options, an image with the contents of a specific data plane in an IOSurface. Deprecated: since macOS 10.11.
func (*CIImage) InitWithImageProviderSizeFormatColorSpaceOptions ¶
func (o *CIImage) InitWithImageProviderSizeFormatColorSpaceOptions(provider objc.ID, width uint, height uint, format int, colorSpace unsafe.Pointer, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Initializes an image object based on pixels from an image provider object.
func (*CIImage) InitWithMTLTextureOptions ¶
func (o *CIImage) InitWithMTLTextureOptions(texture metal.MTLTexture, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Initializes an image object with data supplied by a Metal texture.
func (*CIImage) InitWithPortaitEffectsMatte ¶
func (o *CIImage) InitWithPortaitEffectsMatte(matte *avfoundation.AVPortraitEffectsMatte) *CIImage
func (*CIImage) InitWithPortaitEffectsMatteOptions ¶
func (o *CIImage) InitWithPortaitEffectsMatteOptions(matte *avfoundation.AVPortraitEffectsMatte, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
func (*CIImage) InitWithSemanticSegmentationMatte ¶
func (o *CIImage) InitWithSemanticSegmentationMatte(matte *avfoundation.AVSemanticSegmentationMatte) *CIImage
func (*CIImage) InitWithSemanticSegmentationMatteOptions ¶
func (o *CIImage) InitWithSemanticSegmentationMatteOptions(matte *avfoundation.AVSemanticSegmentationMatte, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
func (*CIImage) InitWithTextureSizeFlippedColorSpace ¶
func (o *CIImage) InitWithTextureSizeFlippedColorSpace(name uint, size corefoundation.CGSize, flipped bool, colorSpace unsafe.Pointer) *CIImage
Initializes an image object with data supplied by an OpenGL texture.
func (*CIImage) InitWithTextureSizeFlippedOptions ¶
func (o *CIImage) InitWithTextureSizeFlippedOptions(name uint, size corefoundation.CGSize, flipped bool, options *foundation.NSDictionary[*foundation.NSString, objc.ID]) *CIImage
Initializes an image object with data supplied by an OpenGL texture.
func (*CIImage) IsOpaque ¶
Returns YES if the image is known to have and alpha value of `1.0` over the entire image extent.
func (*CIImage) MetalTexture ¶
func (o *CIImage) MetalTexture() metal.MTLTexture
Returns a Metal Texture if the Core Image image was created with a texture. This will return non-nil if the image was created with “/CIImage/imageWithMTLTexture:options:“ and no options. Otherwise this property will be `nil` you should instead call “/CIContext/render:toMTLTexture:commandBuffer:bounds:colorSpace:“. > Warning: Modifying the contents of this texture will cause the “CIImage“ instance to render with incorrect results.
func (*CIImage) PixelBuffer ¶
func (*CIImage) PortraitEffectsMatte ¶
func (o *CIImage) PortraitEffectsMatte() *avfoundation.AVPortraitEffectsMatte
func (*CIImage) Properties ¶
func (o *CIImage) Properties() *foundation.NSDictionary[*foundation.NSString, objc.ID]
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 (*CIImage) RegionOfInterestForImageInRect ¶
func (o *CIImage) RegionOfInterestForImageInRect(image *CIImage, rect corefoundation.CGRect) corefoundation.CGRect
Returns the region of interest for the filter chain that generates the image.
func (*CIImage) SemanticSegmentationMatte ¶
func (o *CIImage) SemanticSegmentationMatte() *avfoundation.AVSemanticSegmentationMatte
func (*CIImage) Url ¶
func (o *CIImage) Url() *foundation.NSURL
type CIImageAccumulator ¶
type CIImageAccumulator struct {
foundation.NSObject
}
An object that manages feedback-based image processing for tasks such as painting or fluid simulation.
Apple documentation: https://developer.apple.com/documentation/coreimage/ciimageaccumulator
func CIImageAccumulatorFromID ¶
func CIImageAccumulatorFromID(id objc.ID) *CIImageAccumulator
func CIImageAccumulatorImageAccumulatorWithExtentFormat ¶
func CIImageAccumulatorImageAccumulatorWithExtentFormat(extent corefoundation.CGRect, format int) *CIImageAccumulator
Creates an image accumulator with the specified extent and pixel format.
func CIImageAccumulatorImageAccumulatorWithExtentFormatColorSpace ¶
func CIImageAccumulatorImageAccumulatorWithExtentFormatColorSpace(extent corefoundation.CGRect, format int, colorSpace unsafe.Pointer) *CIImageAccumulator
Creates an image accumulator with the specified extent, pixel format, and color space.
func (*CIImageAccumulator) Clear ¶
func (o *CIImageAccumulator) Clear()
Resets the accumulator, discarding any pending updates and the current content.
func (*CIImageAccumulator) Extent ¶
func (o *CIImageAccumulator) Extent() corefoundation.CGRect
func (*CIImageAccumulator) Format ¶
func (o *CIImageAccumulator) Format() int
func (*CIImageAccumulator) Image ¶
func (o *CIImageAccumulator) Image() *CIImage
Returns the current contents of the image accumulator.
func (*CIImageAccumulator) InitWithExtentFormat ¶
func (o *CIImageAccumulator) InitWithExtentFormat(extent corefoundation.CGRect, format int) *CIImageAccumulator
Initializes an image accumulator with the specified extent and pixel format.
func (*CIImageAccumulator) InitWithExtentFormatColorSpace ¶
func (o *CIImageAccumulator) InitWithExtentFormatColorSpace(extent corefoundation.CGRect, format int, colorSpace unsafe.Pointer) *CIImageAccumulator
Initializes an image accumulator with the specified extent, pixel format, and color space.
func (*CIImageAccumulator) SetImage ¶
func (o *CIImageAccumulator) SetImage(image *CIImage)
Sets the contents of the image accumulator to the contents of the specified image object.
func (*CIImageAccumulator) SetImageDirtyRect ¶
func (o *CIImageAccumulator) SetImageDirtyRect(image *CIImage, dirtyRect corefoundation.CGRect)
Updates an image accumulator with a subregion of an image object.
type CIImageProcessorInput ¶
type CIImageProcessorInput interface {
Region() corefoundation.CGRect
BytesPerRow() uint
Format() int
BaseAddress() unsafe.Pointer
Surface() unsafe.Pointer
PixelBuffer() unsafe.Pointer
MetalTexture() metal.MTLTexture
Digest() uint64
RoiTileIndex() uint
RoiTileCount() uint
}
CIImageProcessorInput wraps the ObjC protocol CIImageProcessorInput.
type CIImageProcessorKernel ¶
type CIImageProcessorKernel struct {
foundation.NSObject
}
The abstract class you extend to create custom image processors that can integrate with Core Image workflows.
Apple documentation: https://developer.apple.com/documentation/coreimage/ciimageprocessorkernel
func CIImageProcessorKernelFromID ¶
func CIImageProcessorKernelFromID(id objc.ID) *CIImageProcessorKernel
type CIImageProcessorOutput ¶
type CIImageProcessorOutput interface {
Region() corefoundation.CGRect
BytesPerRow() uint
Format() int
BaseAddress() unsafe.Pointer
Surface() unsafe.Pointer
PixelBuffer() unsafe.Pointer
MetalTexture() metal.MTLTexture
MetalCommandBuffer() metal.MTLCommandBuffer
Digest() uint64
}
CIImageProcessorOutput wraps the ObjC protocol CIImageProcessorOutput.
type CIKernel ¶
type CIKernel struct {
foundation.NSObject
}
A GPU-based image-processing routine used to create custom Core Image filters.
Apple documentation: https://developer.apple.com/documentation/coreimage/cikernel
func CIKernelFromID ¶
func CIKernelKernelWithFunctionNameFromMetalLibraryDataError ¶
func CIKernelKernelWithFunctionNameFromMetalLibraryDataError(name *foundation.NSString, data *foundation.NSData) (*CIKernel, error)
Creates a single kernel object using a Metal Shading Language (MSL) kernel function.
func CIKernelKernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError ¶
func CIKernelKernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError(name *foundation.NSString, data *foundation.NSData, format int) (*CIKernel, error)
Creates a single kernel object using a Metal Shading Language kernel function with optional pixel format.
func CIKernelKernelWithString ¶
func CIKernelKernelWithString(string_ *foundation.NSString) *CIKernel
Creates a single kernel object.
func (*CIKernel) ApplyWithExtentRoiCallbackArguments ¶
func (o *CIKernel) ApplyWithExtentRoiCallbackArguments(extent corefoundation.CGRect, callback objc.Block, args *foundation.NSArray[objc.ID]) *CIImage
Creates a new image using the kernel and specified arguments.
func (*CIKernel) Name ¶
func (o *CIKernel) Name() *foundation.NSString
func (*CIKernel) SetROISelector ¶
Sets the selector Core Image uses to query the region of interest for image processing with the kernel.
type CIPDF417CodeDescriptor ¶
type CIPDF417CodeDescriptor struct {
CIBarcodeDescriptor
}
A concrete subclass of Core Image Barcode Descriptor that represents a PDF417 symbol.
Apple documentation: https://developer.apple.com/documentation/coreimage/cipdf417codedescriptor
func CIPDF417CodeDescriptorDescriptorWithPayloadIsCompactRowCountColumnCount ¶
func CIPDF417CodeDescriptorDescriptorWithPayloadIsCompactRowCountColumnCount(errorCorrectedPayload *foundation.NSData, isCompact bool, rowCount int, columnCount int) *CIPDF417CodeDescriptor
Creates an PDF417 code descriptor for the given payload and parameters.
func CIPDF417CodeDescriptorFromID ¶
func CIPDF417CodeDescriptorFromID(id objc.ID) *CIPDF417CodeDescriptor
func (*CIPDF417CodeDescriptor) ColumnCount ¶
func (o *CIPDF417CodeDescriptor) ColumnCount() int
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 (*CIPDF417CodeDescriptor) ErrorCorrectedPayload ¶
func (o *CIPDF417CodeDescriptor) ErrorCorrectedPayload() *foundation.NSData
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 (*CIPDF417CodeDescriptor) InitWithPayloadIsCompactRowCountColumnCount ¶
func (o *CIPDF417CodeDescriptor) InitWithPayloadIsCompactRowCountColumnCount(errorCorrectedPayload *foundation.NSData, isCompact bool, rowCount int, columnCount int) *CIPDF417CodeDescriptor
Initializes an PDF417 code descriptor for the given payload and parameters.
func (*CIPDF417CodeDescriptor) IsCompact ¶
func (o *CIPDF417CodeDescriptor) IsCompact() bool
A boolean value telling if the PDF417 code is compact. Compact PDF417 symbols have abbreviated right-side guard bars.
func (*CIPDF417CodeDescriptor) RowCount ¶
func (o *CIPDF417CodeDescriptor) RowCount() int
The number of rows in the PDF417 code symbol. Valid row count values are from 3 to 90.
type CIPlugIn ¶
type CIPlugIn struct {
foundation.NSObject
}
The mechanism for loading image units in macOS.
Apple documentation: https://developer.apple.com/documentation/coreimage/ciplugin
func CIPlugInFromID ¶
type CIPlugInRegistration ¶
CIPlugInRegistration wraps the ObjC protocol CIPlugInRegistration.
type CIQRCodeDescriptor ¶
type CIQRCodeDescriptor struct {
CIBarcodeDescriptor
}
A concrete subclass of the Core Image Barcode Descriptor that represents a square QR code symbol.
Apple documentation: https://developer.apple.com/documentation/coreimage/ciqrcodedescriptor
func CIQRCodeDescriptorDescriptorWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel ¶
func CIQRCodeDescriptorDescriptorWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel(errorCorrectedPayload *foundation.NSData, symbolVersion int, maskPattern uint8, errorCorrectionLevel CIQRCodeErrorCorrectionLevel) *CIQRCodeDescriptor
Creates a QR code descriptor for the given payload and parameters.
func CIQRCodeDescriptorFromID ¶
func CIQRCodeDescriptorFromID(id objc.ID) *CIQRCodeDescriptor
func (*CIQRCodeDescriptor) ErrorCorrectedPayload ¶
func (o *CIQRCodeDescriptor) ErrorCorrectedPayload() *foundation.NSData
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 (*CIQRCodeDescriptor) ErrorCorrectionLevel ¶
func (o *CIQRCodeDescriptor) ErrorCorrectionLevel() CIQRCodeErrorCorrectionLevel
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 (*CIQRCodeDescriptor) InitWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel ¶
func (o *CIQRCodeDescriptor) InitWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel(errorCorrectedPayload *foundation.NSData, symbolVersion int, maskPattern uint8, errorCorrectionLevel CIQRCodeErrorCorrectionLevel) *CIQRCodeDescriptor
Initializes a QR code descriptor for the given payload and parameters.
func (*CIQRCodeDescriptor) MaskPattern ¶
func (o *CIQRCodeDescriptor) MaskPattern() uint8
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 (*CIQRCodeDescriptor) SymbolVersion ¶
func (o *CIQRCodeDescriptor) SymbolVersion() int
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 CIQRCodeErrorCorrectionLevel ¶
type CIQRCodeErrorCorrectionLevel 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. CIQRCodeErrorCorrectionLevelL CIQRCodeErrorCorrectionLevel = 76 // Indicates that approximately 37% of the symbol data is dedicated to error correction. CIQRCodeErrorCorrectionLevelM CIQRCodeErrorCorrectionLevel = 77 // Indicates that approximately 55% of the symbol data is dedicated to error correction. CIQRCodeErrorCorrectionLevelQ CIQRCodeErrorCorrectionLevel = 81 // Indicates that approximately 65% of the symbol data is dedicated to error correction. CIQRCodeErrorCorrectionLevelH CIQRCodeErrorCorrectionLevel = 72 )
func (CIQRCodeErrorCorrectionLevel) String ¶
func (e CIQRCodeErrorCorrectionLevel) String() string
type CIQRCodeFeature ¶
type CIQRCodeFeature struct {
CIFeature
}
Information about a Quick Response code detected in a still or video image.
Apple documentation: https://developer.apple.com/documentation/coreimage/ciqrcodefeature
func CIQRCodeFeatureFromID ¶
func CIQRCodeFeatureFromID(id objc.ID) *CIQRCodeFeature
func (*CIQRCodeFeature) BottomLeft ¶
func (o *CIQRCodeFeature) BottomLeft() corefoundation.CGPoint
The image coordinate of the lower-left corner of the detected QR code.
func (*CIQRCodeFeature) BottomRight ¶
func (o *CIQRCodeFeature) BottomRight() corefoundation.CGPoint
The image coordinate of the lower-right corner of the detected QR code.
func (*CIQRCodeFeature) MessageString ¶
func (o *CIQRCodeFeature) MessageString() *foundation.NSString
The string decoded from the detected barcode.
func (*CIQRCodeFeature) SymbolDescriptor ¶
func (o *CIQRCodeFeature) SymbolDescriptor() *CIQRCodeDescriptor
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 (*CIQRCodeFeature) TopLeft ¶
func (o *CIQRCodeFeature) TopLeft() corefoundation.CGPoint
The image coordinate of the upper-left corner of the detected QR code.
func (*CIQRCodeFeature) TopRight ¶
func (o *CIQRCodeFeature) TopRight() corefoundation.CGPoint
The image coordinate of the upper-right corner of the detected QR code.
type CIRAWFilter ¶
type CIRAWFilter struct {
CIFilter
}
A filter subclass that produces an image by manipulating RAW image sensor data from a digital camera or scanner.
Apple documentation: https://developer.apple.com/documentation/coreimage/cirawfilter
func CIRAWFilterFilterWithCVPixelBufferProperties ¶
func CIRAWFilterFilterWithCVPixelBufferProperties(buffer unsafe.Pointer, properties *foundation.NSDictionary[objc.ID, objc.ID]) *CIRAWFilter
Creates a RAW filter from the pixel buffer and its properties that you specify.
func CIRAWFilterFilterWithImageDataIdentifierHint ¶
func CIRAWFilterFilterWithImageDataIdentifierHint(data *foundation.NSData, identifierHint *foundation.NSString) *CIRAWFilter
Creates a RAW filter from the image data and type hint that you specify.
func CIRAWFilterFilterWithImageURL ¶
func CIRAWFilterFilterWithImageURL(url *foundation.NSURL) *CIRAWFilter
Creates a RAW filter from the image at the URL location that you specify.
func CIRAWFilterFromID ¶
func CIRAWFilterFromID(id objc.ID) *CIRAWFilter
func (*CIRAWFilter) BaselineExposure ¶
func (o *CIRAWFilter) BaselineExposure() float32
func (*CIRAWFilter) BoostAmount ¶
func (o *CIRAWFilter) BoostAmount() float32
func (*CIRAWFilter) BoostShadowAmount ¶
func (o *CIRAWFilter) BoostShadowAmount() float32
func (*CIRAWFilter) ColorNoiseReductionAmount ¶
func (o *CIRAWFilter) ColorNoiseReductionAmount() float32
func (*CIRAWFilter) ContrastAmount ¶
func (o *CIRAWFilter) ContrastAmount() float32
func (*CIRAWFilter) DecoderVersion ¶
func (o *CIRAWFilter) DecoderVersion() *foundation.NSString
func (*CIRAWFilter) DetailAmount ¶
func (o *CIRAWFilter) DetailAmount() float32
func (*CIRAWFilter) Exposure ¶
func (o *CIRAWFilter) Exposure() float32
func (*CIRAWFilter) ExtendedDynamicRangeAmount ¶
func (o *CIRAWFilter) ExtendedDynamicRangeAmount() float32
func (*CIRAWFilter) IsColorNoiseReductionSupported ¶
func (o *CIRAWFilter) IsColorNoiseReductionSupported() bool
func (*CIRAWFilter) IsContrastSupported ¶
func (o *CIRAWFilter) IsContrastSupported() bool
func (*CIRAWFilter) IsDetailSupported ¶
func (o *CIRAWFilter) IsDetailSupported() bool
func (*CIRAWFilter) IsDraftModeEnabled ¶
func (o *CIRAWFilter) IsDraftModeEnabled() bool
func (*CIRAWFilter) IsGamutMappingEnabled ¶
func (o *CIRAWFilter) IsGamutMappingEnabled() bool
func (*CIRAWFilter) IsHighlightRecoveryEnabled ¶
func (o *CIRAWFilter) IsHighlightRecoveryEnabled() bool
func (*CIRAWFilter) IsHighlightRecoverySupported ¶
func (o *CIRAWFilter) IsHighlightRecoverySupported() bool
func (*CIRAWFilter) IsLensCorrectionEnabled ¶
func (o *CIRAWFilter) IsLensCorrectionEnabled() bool
func (*CIRAWFilter) IsLensCorrectionSupported ¶
func (o *CIRAWFilter) IsLensCorrectionSupported() bool
func (*CIRAWFilter) IsLocalToneMapSupported ¶
func (o *CIRAWFilter) IsLocalToneMapSupported() bool
func (*CIRAWFilter) IsLuminanceNoiseReductionSupported ¶
func (o *CIRAWFilter) IsLuminanceNoiseReductionSupported() bool
func (*CIRAWFilter) IsMoireReductionSupported ¶
func (o *CIRAWFilter) IsMoireReductionSupported() bool
func (*CIRAWFilter) IsSharpnessSupported ¶
func (o *CIRAWFilter) IsSharpnessSupported() bool
func (*CIRAWFilter) LinearSpaceFilter ¶
func (o *CIRAWFilter) LinearSpaceFilter() *CIFilter
func (*CIRAWFilter) LocalToneMapAmount ¶
func (o *CIRAWFilter) LocalToneMapAmount() float32
func (*CIRAWFilter) LuminanceNoiseReductionAmount ¶
func (o *CIRAWFilter) LuminanceNoiseReductionAmount() float32
func (*CIRAWFilter) MoireReductionAmount ¶
func (o *CIRAWFilter) MoireReductionAmount() float32
func (*CIRAWFilter) NativeSize ¶
func (o *CIRAWFilter) NativeSize() corefoundation.CGSize
func (*CIRAWFilter) NeutralChromaticity ¶
func (o *CIRAWFilter) NeutralChromaticity() corefoundation.CGPoint
func (*CIRAWFilter) NeutralLocation ¶
func (o *CIRAWFilter) NeutralLocation() corefoundation.CGPoint
func (*CIRAWFilter) NeutralTemperature ¶
func (o *CIRAWFilter) NeutralTemperature() float32
func (*CIRAWFilter) NeutralTint ¶
func (o *CIRAWFilter) NeutralTint() float32
func (*CIRAWFilter) Orientation ¶
func (o *CIRAWFilter) Orientation() imageio.CGImagePropertyOrientation
func (*CIRAWFilter) PortraitEffectsMatte ¶
func (o *CIRAWFilter) PortraitEffectsMatte() *CIImage
func (*CIRAWFilter) PreviewImage ¶
func (o *CIRAWFilter) PreviewImage() *CIImage
func (*CIRAWFilter) Properties ¶
func (o *CIRAWFilter) Properties() *foundation.NSDictionary[objc.ID, objc.ID]
func (*CIRAWFilter) ScaleFactor ¶
func (o *CIRAWFilter) ScaleFactor() float32
func (*CIRAWFilter) SemanticSegmentationGlassesMatte ¶
func (o *CIRAWFilter) SemanticSegmentationGlassesMatte() *CIImage
func (*CIRAWFilter) SemanticSegmentationHairMatte ¶
func (o *CIRAWFilter) SemanticSegmentationHairMatte() *CIImage
func (*CIRAWFilter) SemanticSegmentationSkinMatte ¶
func (o *CIRAWFilter) SemanticSegmentationSkinMatte() *CIImage
func (*CIRAWFilter) SemanticSegmentationSkyMatte ¶
func (o *CIRAWFilter) SemanticSegmentationSkyMatte() *CIImage
func (*CIRAWFilter) SemanticSegmentationTeethMatte ¶
func (o *CIRAWFilter) SemanticSegmentationTeethMatte() *CIImage
func (*CIRAWFilter) SetBaselineExposure ¶
func (o *CIRAWFilter) SetBaselineExposure(baselineExposure float32)
func (*CIRAWFilter) SetBoostAmount ¶
func (o *CIRAWFilter) SetBoostAmount(boostAmount float32)
func (*CIRAWFilter) SetBoostShadowAmount ¶
func (o *CIRAWFilter) SetBoostShadowAmount(boostShadowAmount float32)
func (*CIRAWFilter) SetColorNoiseReductionAmount ¶
func (o *CIRAWFilter) SetColorNoiseReductionAmount(colorNoiseReductionAmount float32)
func (*CIRAWFilter) SetContrastAmount ¶
func (o *CIRAWFilter) SetContrastAmount(contrastAmount float32)
func (*CIRAWFilter) SetDecoderVersion ¶
func (o *CIRAWFilter) SetDecoderVersion(decoderVersion *foundation.NSString)
func (*CIRAWFilter) SetDetailAmount ¶
func (o *CIRAWFilter) SetDetailAmount(detailAmount float32)
func (*CIRAWFilter) SetDraftModeEnabled ¶
func (o *CIRAWFilter) SetDraftModeEnabled(draftModeEnabled bool)
func (*CIRAWFilter) SetExposure ¶
func (o *CIRAWFilter) SetExposure(exposure float32)
func (*CIRAWFilter) SetExtendedDynamicRangeAmount ¶
func (o *CIRAWFilter) SetExtendedDynamicRangeAmount(extendedDynamicRangeAmount float32)
func (*CIRAWFilter) SetGamutMappingEnabled ¶
func (o *CIRAWFilter) SetGamutMappingEnabled(gamutMappingEnabled bool)
func (*CIRAWFilter) SetHighlightRecoveryEnabled ¶
func (o *CIRAWFilter) SetHighlightRecoveryEnabled(highlightRecoveryEnabled bool)
func (*CIRAWFilter) SetLensCorrectionEnabled ¶
func (o *CIRAWFilter) SetLensCorrectionEnabled(lensCorrectionEnabled bool)
func (*CIRAWFilter) SetLinearSpaceFilter ¶
func (o *CIRAWFilter) SetLinearSpaceFilter(linearSpaceFilter *CIFilter)
func (*CIRAWFilter) SetLocalToneMapAmount ¶
func (o *CIRAWFilter) SetLocalToneMapAmount(localToneMapAmount float32)
func (*CIRAWFilter) SetLuminanceNoiseReductionAmount ¶
func (o *CIRAWFilter) SetLuminanceNoiseReductionAmount(luminanceNoiseReductionAmount float32)
func (*CIRAWFilter) SetMoireReductionAmount ¶
func (o *CIRAWFilter) SetMoireReductionAmount(moireReductionAmount float32)
func (*CIRAWFilter) SetNeutralChromaticity ¶
func (o *CIRAWFilter) SetNeutralChromaticity(neutralChromaticity corefoundation.CGPoint)
func (*CIRAWFilter) SetNeutralLocation ¶
func (o *CIRAWFilter) SetNeutralLocation(neutralLocation corefoundation.CGPoint)
func (*CIRAWFilter) SetNeutralTemperature ¶
func (o *CIRAWFilter) SetNeutralTemperature(neutralTemperature float32)
func (*CIRAWFilter) SetNeutralTint ¶
func (o *CIRAWFilter) SetNeutralTint(neutralTint float32)
func (*CIRAWFilter) SetOrientation ¶
func (o *CIRAWFilter) SetOrientation(orientation imageio.CGImagePropertyOrientation)
func (*CIRAWFilter) SetScaleFactor ¶
func (o *CIRAWFilter) SetScaleFactor(scaleFactor float32)
func (*CIRAWFilter) SetShadowBias ¶
func (o *CIRAWFilter) SetShadowBias(shadowBias float32)
func (*CIRAWFilter) SetSharpnessAmount ¶
func (o *CIRAWFilter) SetSharpnessAmount(sharpnessAmount float32)
func (*CIRAWFilter) ShadowBias ¶
func (o *CIRAWFilter) ShadowBias() float32
func (*CIRAWFilter) SharpnessAmount ¶
func (o *CIRAWFilter) SharpnessAmount() float32
func (*CIRAWFilter) SupportedDecoderVersions ¶
func (o *CIRAWFilter) SupportedDecoderVersions() *foundation.NSArray[*foundation.NSString]
type CIRectangleFeature ¶
type CIRectangleFeature struct {
CIFeature
}
Information about a rectangular region detected in a still or video image.
Apple documentation: https://developer.apple.com/documentation/coreimage/cirectanglefeature
func CIRectangleFeatureFromID ¶
func CIRectangleFeatureFromID(id objc.ID) *CIRectangleFeature
func (*CIRectangleFeature) BottomLeft ¶
func (o *CIRectangleFeature) BottomLeft() corefoundation.CGPoint
The image coordinate of the lower-left corner of the detected rectangle.
func (*CIRectangleFeature) BottomRight ¶
func (o *CIRectangleFeature) BottomRight() corefoundation.CGPoint
The image coordinate of the lower-right corner of the detected rectangle.
func (*CIRectangleFeature) TopLeft ¶
func (o *CIRectangleFeature) TopLeft() corefoundation.CGPoint
The image coordinate of the upper-left corner of the detected rectangle.
func (*CIRectangleFeature) TopRight ¶
func (o *CIRectangleFeature) TopRight() corefoundation.CGPoint
The image coordinate of the upper-right corner of the detected rectangle.
type CIRenderDestination ¶
type CIRenderDestination struct {
foundation.NSObject
}
A specification for configuring all attributes of a render task’s destination and issuing asynchronous render tasks.
Apple documentation: https://developer.apple.com/documentation/coreimage/cirenderdestination
func CIRenderDestinationFromID ¶
func CIRenderDestinationFromID(id objc.ID) *CIRenderDestination
func (*CIRenderDestination) AlphaMode ¶
func (o *CIRenderDestination) AlphaMode() CIRenderDestinationAlphaMode
func (*CIRenderDestination) BlendKernel ¶
func (o *CIRenderDestination) BlendKernel() *CIBlendKernel
func (*CIRenderDestination) BlendsInDestinationColorSpace ¶
func (o *CIRenderDestination) BlendsInDestinationColorSpace() bool
func (*CIRenderDestination) CaptureTraceURL ¶
func (o *CIRenderDestination) CaptureTraceURL() *foundation.NSURL
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 (*CIRenderDestination) ColorSpace ¶
func (o *CIRenderDestination) ColorSpace() unsafe.Pointer
func (*CIRenderDestination) Height ¶
func (o *CIRenderDestination) Height() uint
func (*CIRenderDestination) InitWithBitmapDataWidthHeightBytesPerRowFormat ¶
func (o *CIRenderDestination) InitWithBitmapDataWidthHeightBytesPerRowFormat(data unsafe.Pointer, width uint, height uint, bytesPerRow uint, format int) *CIRenderDestination
Creates a render destination based on a client-managed buffer.
func (*CIRenderDestination) InitWithGLTextureTargetWidthHeight ¶
func (o *CIRenderDestination) InitWithGLTextureTargetWidthHeight(texture uint, target uint, width uint, height uint) *CIRenderDestination
Creates a render destination based on an OpenGL texture.
func (*CIRenderDestination) InitWithIOSurface ¶
func (o *CIRenderDestination) InitWithIOSurface(surface unsafe.Pointer) *CIRenderDestination
Creates a render destination based on an IOSurface object.
func (*CIRenderDestination) InitWithMTLTextureCommandBuffer ¶
func (o *CIRenderDestination) InitWithMTLTextureCommandBuffer(texture metal.MTLTexture, commandBuffer metal.MTLCommandBuffer) *CIRenderDestination
Creates a render destination based on a Metal texture.
func (*CIRenderDestination) InitWithPixelBuffer ¶
func (o *CIRenderDestination) InitWithPixelBuffer(pixelBuffer unsafe.Pointer) *CIRenderDestination
Creates a render destination based on a Core Video pixel buffer.
func (*CIRenderDestination) InitWithWidthHeightPixelFormatCommandBufferMtlTextureProvider ¶
func (o *CIRenderDestination) InitWithWidthHeightPixelFormatCommandBufferMtlTextureProvider(width uint, height uint, pixelFormat metal.MTLPixelFormat, commandBuffer metal.MTLCommandBuffer, block objc.Block) *CIRenderDestination
Creates a render destination based on a Metal texture with specified pixel format.
func (*CIRenderDestination) IsClamped ¶
func (o *CIRenderDestination) IsClamped() bool
func (*CIRenderDestination) IsDithered ¶
func (o *CIRenderDestination) IsDithered() bool
func (*CIRenderDestination) IsFlipped ¶
func (o *CIRenderDestination) IsFlipped() bool
func (*CIRenderDestination) SetAlphaMode ¶
func (o *CIRenderDestination) SetAlphaMode(alphaMode CIRenderDestinationAlphaMode)
func (*CIRenderDestination) SetBlendKernel ¶
func (o *CIRenderDestination) SetBlendKernel(blendKernel *CIBlendKernel)
func (*CIRenderDestination) SetBlendsInDestinationColorSpace ¶
func (o *CIRenderDestination) SetBlendsInDestinationColorSpace(blendsInDestinationColorSpace bool)
func (*CIRenderDestination) SetCaptureTraceURL ¶
func (o *CIRenderDestination) SetCaptureTraceURL(captureTraceURL *foundation.NSURL)
func (*CIRenderDestination) SetClamped ¶
func (o *CIRenderDestination) SetClamped(clamped bool)
func (*CIRenderDestination) SetColorSpace ¶
func (o *CIRenderDestination) SetColorSpace(colorSpace unsafe.Pointer)
func (*CIRenderDestination) SetDithered ¶
func (o *CIRenderDestination) SetDithered(dithered bool)
func (*CIRenderDestination) SetFlipped ¶
func (o *CIRenderDestination) SetFlipped(flipped bool)
func (*CIRenderDestination) Width ¶
func (o *CIRenderDestination) Width() uint
type CIRenderDestinationAlphaMode ¶
type CIRenderDestinationAlphaMode uint64
Different ways of representing alpha.
const ( // Designates a destination with no alpha compositing. CIRenderDestinationAlphaNone CIRenderDestinationAlphaMode = 0 // Designates a destination that expects premultiplied alpha values. CIRenderDestinationAlphaPremultiplied CIRenderDestinationAlphaMode = 1 // Designates a destination that expects non-premultiplied alpha values. CIRenderDestinationAlphaUnpremultiplied CIRenderDestinationAlphaMode = 2 )
func (CIRenderDestinationAlphaMode) String ¶
func (e CIRenderDestinationAlphaMode) String() string
type CIRenderInfo ¶
type CIRenderInfo struct {
foundation.NSObject
}
An encapsulation of a render task’s timing, passes, and pixels processed.
Apple documentation: https://developer.apple.com/documentation/coreimage/cirenderinfo
func CIRenderInfoFromID ¶
func CIRenderInfoFromID(id objc.ID) *CIRenderInfo
func (*CIRenderInfo) KernelCompileTime ¶
func (o *CIRenderInfo) KernelCompileTime() float64
func (*CIRenderInfo) KernelExecutionTime ¶
func (o *CIRenderInfo) KernelExecutionTime() float64
func (*CIRenderInfo) PassCount ¶
func (o *CIRenderInfo) PassCount() int
func (*CIRenderInfo) PixelsProcessed ¶
func (o *CIRenderInfo) PixelsProcessed() int
type CIRenderTask ¶
type CIRenderTask struct {
foundation.NSObject
}
A single render task.
Apple documentation: https://developer.apple.com/documentation/coreimage/cirendertask
func CIRenderTaskFromID ¶
func CIRenderTaskFromID(id objc.ID) *CIRenderTask
func (*CIRenderTask) WaitUntilCompletedAndReturnError ¶
func (o *CIRenderTask) WaitUntilCompletedAndReturnError() (*CIRenderInfo, error)
Waits until the CIRenderTask finishes and returns.
type CISampler ¶
type CISampler struct {
foundation.NSObject
}
An object that retrieves pixel samples for processing by a filter kernel.
Apple documentation: https://developer.apple.com/documentation/coreimage/cisampler
func CISamplerFromID ¶
func CISamplerSamplerWithImage ¶
Creates and returns a sampler that references an image.
func CISamplerSamplerWithImageOptions ¶
func CISamplerSamplerWithImageOptions(im *CIImage, dict *foundation.NSDictionary[objc.ID, objc.ID]) *CISampler
Creates and returns a sampler that references an image using options specified in a dictionary.
func (*CISampler) Definition ¶
func (o *CISampler) Definition() *CIFilterShape
func (*CISampler) Extent ¶
func (o *CISampler) Extent() corefoundation.CGRect
func (*CISampler) InitWithImage ¶
Initializes a sampler with an image object.
func (*CISampler) InitWithImageOptions ¶
func (o *CISampler) InitWithImageOptions(im *CIImage, dict *foundation.NSDictionary[objc.ID, objc.ID]) *CISampler
Initializes the sampler with an image object using options specified in a dictionary.
type CITextFeature ¶
type CITextFeature struct {
CIFeature
}
Information about a text that was detected in a still or video image.
Apple documentation: https://developer.apple.com/documentation/coreimage/citextfeature
func CITextFeatureFromID ¶
func CITextFeatureFromID(id objc.ID) *CITextFeature
func (*CITextFeature) BottomLeft ¶
func (o *CITextFeature) BottomLeft() corefoundation.CGPoint
The image coordinate of the lower-left corner of the detected text.
func (*CITextFeature) BottomRight ¶
func (o *CITextFeature) BottomRight() corefoundation.CGPoint
The image coordinate of the lower-right corner of the detected text.
func (*CITextFeature) SubFeatures ¶
func (o *CITextFeature) SubFeatures() *foundation.NSArray[objc.ID]
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 (*CITextFeature) TopLeft ¶
func (o *CITextFeature) TopLeft() corefoundation.CGPoint
The image coordinate of the upper-left corner of the detected text.
func (*CITextFeature) TopRight ¶
func (o *CITextFeature) TopRight() corefoundation.CGPoint
The image coordinate of the upper-right corner of the detected text.
type CIVector ¶
type CIVector struct {
foundation.NSObject
}
The Core Image class that defines a vector object.
Apple documentation: https://developer.apple.com/documentation/coreimage/civector
func CIVectorFromID ¶
func CIVectorVectorWithCGAffineTransform ¶
func CIVectorVectorWithCGAffineTransform(t corefoundation.CGAffineTransform) *CIVector
Create a Core Image vector object that is initialized with six values provided by a CGAffineTransform structure.
func CIVectorVectorWithCGPoint ¶
func CIVectorVectorWithCGPoint(p corefoundation.CGPoint) *CIVector
Create a Core Image vector object that is initialized with two values provided by a CGPoint structure.
func CIVectorVectorWithCGRect ¶
func CIVectorVectorWithCGRect(r corefoundation.CGRect) *CIVector
Create a Core Image vector object that is initialized with four values provided by a CGRect structure.
func CIVectorVectorWithString ¶
func CIVectorVectorWithString(representation *foundation.NSString) *CIVector
Create a Core Image vector object with values provided in a string representation.
func CIVectorVectorWithValuesCount ¶
Create a Core Image vector object that is initialized with the specified values.
func CIVectorVectorWithX ¶
Create a Core Image vector object that is initialized with one value.
func CIVectorVectorWithXY ¶
Create a Core Image vector object that is initialized with two values.
func CIVectorVectorWithXYZ ¶
Create a Core Image vector object that is initialized with three values.
func CIVectorVectorWithXYZW ¶
Create a Core Image vector object that is initialized with four values.
func (*CIVector) CGAffineTransformValue ¶
func (o *CIVector) CGAffineTransformValue() corefoundation.CGAffineTransform
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 (*CIVector) CGPointValue ¶
func (o *CIVector) CGPointValue() corefoundation.CGPoint
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 (*CIVector) CGRectValue ¶
func (o *CIVector) CGRectValue() corefoundation.CGRect
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 (*CIVector) InitWithCGAffineTransform ¶
func (o *CIVector) InitWithCGAffineTransform(t corefoundation.CGAffineTransform) *CIVector
Initialize a Core Image vector object with six values provided by a CGAffineTransform structure.
func (*CIVector) InitWithCGPoint ¶
func (o *CIVector) InitWithCGPoint(p corefoundation.CGPoint) *CIVector
Initialize a Core Image vector object with two values provided by a CGPoint structure.
func (*CIVector) InitWithCGRect ¶
func (o *CIVector) InitWithCGRect(r corefoundation.CGRect) *CIVector
Initialize a Core Image vector object with four values provided by a CGRect structure.
func (*CIVector) InitWithString ¶
func (o *CIVector) InitWithString(representation *foundation.NSString) *CIVector
Initialize a Core Image vector object with values provided in a string representation.
func (*CIVector) InitWithValuesCount ¶
Initialize a Core Image vector object with the specified the values.
func (*CIVector) InitWithXY ¶
Initialize a Core Image vector object with two values.
func (*CIVector) InitWithXYZ ¶
Initialize a Core Image vector object with three values.
func (*CIVector) InitWithXYZW ¶
Initialize a Core Image vector object with four values.
func (*CIVector) StringRepresentation ¶
func (o *CIVector) StringRepresentation() *foundation.NSString
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 (*CIVector) ValueAtIndex ¶
Returns a value from a specific position in the vector.
type CIWarpKernel ¶
type CIWarpKernel struct {
CIKernel
}
A GPU-based image-processing routine that processes only the geometry information in an image, used to create custom Core Image filters.
Apple documentation: https://developer.apple.com/documentation/coreimage/ciwarpkernel
func CIWarpKernelFromID ¶
func CIWarpKernelFromID(id objc.ID) *CIWarpKernel
func CIWarpKernelKernelWithString ¶
func CIWarpKernelKernelWithString(string_ *foundation.NSString) *CIWarpKernel
Creates a warp kernel object from the specified kernel source code.
func (*CIWarpKernel) ApplyWithExtentRoiCallbackInputImageArguments ¶
func (o *CIWarpKernel) ApplyWithExtentRoiCallbackInputImageArguments(extent corefoundation.CGRect, callback objc.Block, image *CIImage, args *foundation.NSArray[objc.ID]) *CIImage
Creates a new image using the kernel and the specified input image and arguments.
type Dispatch_autorelease_frequency_t ¶
type Dispatch_autorelease_frequency_t uint64
const ( DISPATCH_AUTORELEASE_FREQUENCY_INHERIT Dispatch_autorelease_frequency_t = 0 DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1 DISPATCH_AUTORELEASE_FREQUENCY_NEVER Dispatch_autorelease_frequency_t = 2 )
func (Dispatch_autorelease_frequency_t) String ¶
func (e Dispatch_autorelease_frequency_t) String() string
type Dispatch_block_flags_t ¶
type Dispatch_block_flags_t uint64
const ( DISPATCH_BLOCK_BARRIER Dispatch_block_flags_t = 1 DISPATCH_BLOCK_DETACHED Dispatch_block_flags_t = 2 DISPATCH_BLOCK_ASSIGN_CURRENT Dispatch_block_flags_t = 4 DISPATCH_BLOCK_NO_QOS_CLASS Dispatch_block_flags_t = 8 DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16 DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32 )
func (Dispatch_block_flags_t) String ¶
func (e Dispatch_block_flags_t) String() string
type Filesec_property_t ¶
type Filesec_property_t int64
const ( FILESEC_OWNER Filesec_property_t = 1 FILESEC_GROUP Filesec_property_t = 2 FILESEC_UUID Filesec_property_t = 3 FILESEC_MODE Filesec_property_t = 4 FILESEC_ACL Filesec_property_t = 5 FILESEC_GRPUUID Filesec_property_t = 6 FILESEC_ACL_RAW Filesec_property_t = 100 FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101 )
func (Filesec_property_t) String ¶
func (e Filesec_property_t) String() string
type Ipc_info_object_type_t ¶
type Ipc_info_object_type_t int64
const ( IPC_OTYPE_NONE Ipc_info_object_type_t = 0 IPC_OTYPE_THREAD_CONTROL Ipc_info_object_type_t = 1 IPC_OTYPE_TASK_CONTROL Ipc_info_object_type_t = 2 IPC_OTYPE_HOST Ipc_info_object_type_t = 3 IPC_OTYPE_HOST_PRIV Ipc_info_object_type_t = 4 IPC_OTYPE_PROCESSOR Ipc_info_object_type_t = 5 IPC_OTYPE_PROCESSOR_SET Ipc_info_object_type_t = 6 IPC_OTYPE_PROCESSOR_SET_NAME Ipc_info_object_type_t = 7 IPC_OTYPE_TIMER Ipc_info_object_type_t = 8 IPC_OTYPE_PORT_SUBST_ONCE Ipc_info_object_type_t = 9 IPC_OTYPE_MIG Ipc_info_object_type_t = 10 IPC_OTYPE_MEMORY_OBJECT Ipc_info_object_type_t = 11 IPC_OTYPE_XMM_PAGER Ipc_info_object_type_t = 12 IPC_OTYPE_XMM_KERNEL Ipc_info_object_type_t = 13 IPC_OTYPE_XMM_REPLY Ipc_info_object_type_t = 14 IPC_OTYPE_UND_REPLY Ipc_info_object_type_t = 15 IPC_OTYPE_HOST_NOTIFY Ipc_info_object_type_t = 16 IPC_OTYPE_HOST_SECURITY Ipc_info_object_type_t = 17 IPC_OTYPE_LEDGER Ipc_info_object_type_t = 18 IPC_OTYPE_MAIN_DEVICE Ipc_info_object_type_t = 19 IPC_OTYPE_TASK_NAME Ipc_info_object_type_t = 20 IPC_OTYPE_SUBSYSTEM Ipc_info_object_type_t = 21 IPC_OTYPE_IO_DONE_QUEUE Ipc_info_object_type_t = 22 IPC_OTYPE_SEMAPHORE Ipc_info_object_type_t = 23 IPC_OTYPE_LOCK_SET Ipc_info_object_type_t = 24 IPC_OTYPE_CLOCK Ipc_info_object_type_t = 25 IPC_OTYPE_CLOCK_CTRL Ipc_info_object_type_t = 26 IPC_OTYPE_IOKIT_IDENT Ipc_info_object_type_t = 27 IPC_OTYPE_NAMED_ENTRY Ipc_info_object_type_t = 28 IPC_OTYPE_IOKIT_CONNECT Ipc_info_object_type_t = 29 IPC_OTYPE_IOKIT_OBJECT Ipc_info_object_type_t = 30 IPC_OTYPE_UPL Ipc_info_object_type_t = 31 IPC_OTYPE_MEM_OBJ_CONTROL Ipc_info_object_type_t = 32 IPC_OTYPE_AU_SESSIONPORT Ipc_info_object_type_t = 33 IPC_OTYPE_FILEPORT Ipc_info_object_type_t = 34 IPC_OTYPE_LABELH Ipc_info_object_type_t = 35 IPC_OTYPE_TASK_RESUME Ipc_info_object_type_t = 36 IPC_OTYPE_VOUCHER Ipc_info_object_type_t = 37 IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38 IPC_OTYPE_WORK_INTERVAL Ipc_info_object_type_t = 39 IPC_OTYPE_UX_HANDLER Ipc_info_object_type_t = 40 IPC_OTYPE_UEXT_OBJECT Ipc_info_object_type_t = 41 IPC_OTYPE_ARCADE_REG Ipc_info_object_type_t = 42 IPC_OTYPE_EVENTLINK Ipc_info_object_type_t = 43 IPC_OTYPE_TASK_INSPECT Ipc_info_object_type_t = 44 IPC_OTYPE_TASK_READ Ipc_info_object_type_t = 45 IPC_OTYPE_THREAD_INSPECT Ipc_info_object_type_t = 46 IPC_OTYPE_THREAD_READ Ipc_info_object_type_t = 47 IPC_OTYPE_SUID_CRED Ipc_info_object_type_t = 48 IPC_OTYPE_HYPERVISOR Ipc_info_object_type_t = 49 IPC_OTYPE_TASK_ID_TOKEN Ipc_info_object_type_t = 50 IPC_OTYPE_TASK_FATAL Ipc_info_object_type_t = 51 IPC_OTYPE_KCDATA Ipc_info_object_type_t = 52 IPC_OTYPE_EXCLAVES_RESOURCE Ipc_info_object_type_t = 53 IPC_OTYPE_THREAD_RESUME Ipc_info_object_type_t = 54 IPC_OTYPE_UNKNOWN Ipc_info_object_type_t = 4294967295 )
func (Ipc_info_object_type_t) String ¶
func (e Ipc_info_object_type_t) String() string
type Launch_data_type_t ¶
type Launch_data_type_t int64
const ( LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1 LAUNCH_DATA_ARRAY Launch_data_type_t = 2 LAUNCH_DATA_FD Launch_data_type_t = 3 LAUNCH_DATA_INTEGER Launch_data_type_t = 4 LAUNCH_DATA_REAL Launch_data_type_t = 5 LAUNCH_DATA_BOOL Launch_data_type_t = 6 LAUNCH_DATA_STRING Launch_data_type_t = 7 LAUNCH_DATA_OPAQUE Launch_data_type_t = 8 LAUNCH_DATA_ERRNO Launch_data_type_t = 9 LAUNCH_DATA_MACHPORT Launch_data_type_t = 10 )
func (Launch_data_type_t) String ¶
func (e Launch_data_type_t) String() string
type MDLabelDomain ¶
type MDLabelDomain int64
@typedef MDLabelDomain @abstract 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
type MDQueryOptionFlags ¶
type MDQueryOptionFlags int64
const ( KMDQuerySynchronous MDQueryOptionFlags = 1 KMDQueryWantsUpdates MDQueryOptionFlags = 4 KMDQueryAllowFSTranslation MDQueryOptionFlags = 8 )
func (MDQueryOptionFlags) String ¶
func (e MDQueryOptionFlags) String() string
type MDQuerySortOptionFlags ¶
type MDQuerySortOptionFlags int64
@enum MDQuerySortOptionFlags @constant kMDQueryReverseSortOrderFlag Sort the attribute in reverse order.
const (
KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)
func (MDQuerySortOptionFlags) String ¶
func (e MDQuerySortOptionFlags) String() string
type MTLCommandBuffer ¶
type MTLCommandBuffer interface {
}
MTLCommandBuffer wraps the ObjC protocol MTLCommandBuffer.
type MTLCommandQueue ¶
type MTLCommandQueue interface {
}
MTLCommandQueue wraps the ObjC protocol MTLCommandQueue.
type Mach_vm_range_flags_t ¶
type Mach_vm_range_flags_t int64
const (
MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)
func (Mach_vm_range_flags_t) String ¶
func (e Mach_vm_range_flags_t) String() string
type Mach_vm_range_flavor_t ¶
type Mach_vm_range_flavor_t int64
const ( MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0 MACH_VM_RANGE_FLAVOR_V1 Mach_vm_range_flavor_t = 1 )
func (Mach_vm_range_flavor_t) String ¶
func (e Mach_vm_range_flavor_t) String() string
type Mach_vm_range_tag_t ¶
type Mach_vm_range_tag_t int64
const ( MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0 MACH_VM_RANGE_DATA Mach_vm_range_tag_t = 1 MACH_VM_RANGE_FIXED Mach_vm_range_tag_t = 2 )
func (Mach_vm_range_tag_t) String ¶
func (e Mach_vm_range_tag_t) String() string
type Mpo_flags_t ¶
type Mpo_flags_t int64
const ( MPO_PORT Mpo_flags_t = 0 MPO_SERVICE_PORT Mpo_flags_t = 1024 MPO_CONNECTION_PORT Mpo_flags_t = 2048 MPO_REPLY_PORT Mpo_flags_t = 4096 MPO_WEAK_REPLY_PORT Mpo_flags_t = 16384 MPO_NOTIFICATION_PORT Mpo_flags_t = 17408 MPO_EXCEPTION_PORT Mpo_flags_t = 32768 MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536 )
func (Mpo_flags_t) String ¶
func (e Mpo_flags_t) String() string
type NXMouseButton ¶
type NXMouseButton int64
const ( NX_OneButton NXMouseButton = 0 NX_LeftButton NXMouseButton = 1 NX_RightButton NXMouseButton = 2 )
func (NXMouseButton) String ¶
func (e NXMouseButton) String() string
type Os_clockid_t ¶
type Os_clockid_t int64
const (
OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)
func (Os_clockid_t) String ¶
func (e Os_clockid_t) String() string
type PMPageToPaperMappingType ¶
type PMPageToPaperMappingType int64
const ( KPMPageToPaperMappingNone PMPageToPaperMappingType = 1 KPMPageToPaperMappingScaleToFit PMPageToPaperMappingType = 2 )
func (PMPageToPaperMappingType) String ¶
func (e PMPageToPaperMappingType) String() string
type Ptrauth_key ¶
type Ptrauth_key int64
const ( Ptrauth_key_none Ptrauth_key = -1 Ptrauth_key_asia Ptrauth_key = 0 Ptrauth_key_asib Ptrauth_key = 1 Ptrauth_key_asda Ptrauth_key = 2 Ptrauth_key_asdb Ptrauth_key = 3 Ptrauth_key_process_independent_code Ptrauth_key = 0 Ptrauth_key_process_dependent_code Ptrauth_key = 1 Ptrauth_key_process_independent_data Ptrauth_key = 2 Ptrauth_key_process_dependent_data Ptrauth_key = 3 Ptrauth_key_return_address Ptrauth_key = 1 Ptrauth_key_frame_pointer Ptrauth_key = 3 Ptrauth_key_function_pointer Ptrauth_key = 0 Ptrauth_key_block_function Ptrauth_key = 0 Ptrauth_key_cxx_vtable_pointer Ptrauth_key = 2 Ptrauth_key_method_list_pointer Ptrauth_key = 2 Ptrauth_key_objc_isa_pointer Ptrauth_key = 2 Ptrauth_key_objc_super_pointer Ptrauth_key = 2 Ptrauth_key_objc_sel_pointer Ptrauth_key = 3 Ptrauth_key_objc_class_ro_pointer Ptrauth_key = 2 Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2 Ptrauth_key_init_fini_pointer Ptrauth_key = 0 )
func (Ptrauth_key) String ¶
func (e Ptrauth_key) String() string
type Qos_class_t ¶
type Qos_class_t uint32
const ( QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33 QOS_CLASS_USER_INITIATED Qos_class_t = 25 QOS_CLASS_DEFAULT Qos_class_t = 21 QOS_CLASS_UTILITY Qos_class_t = 17 QOS_CLASS_BACKGROUND Qos_class_t = 9 QOS_CLASS_UNSPECIFIED Qos_class_t = 0 )
func (Qos_class_t) String ¶
func (e Qos_class_t) String() string
type Virtual_memory_guard_exception_code_t ¶
type Virtual_memory_guard_exception_code_t int64
const ( KGUARD_EXC_DEALLOC_GAP Virtual_memory_guard_exception_code_t = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE Virtual_memory_guard_exception_code_t = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE Virtual_memory_guard_exception_code_t = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE Virtual_memory_guard_exception_code_t = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE Virtual_memory_guard_exception_code_t = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE Virtual_memory_guard_exception_code_t = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE Virtual_memory_guard_exception_code_t = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION Virtual_memory_guard_exception_code_t = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY Virtual_memory_guard_exception_code_t = 13 KGUARD_EXC_SEC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 99 KGUARD_EXC_SEC_COPY_DENIED Virtual_memory_guard_exception_code_t = 100 KGUARD_EXC_SEC_SHARING_DENIED Virtual_memory_guard_exception_code_t = 101 KGUARD_EXC_MTE_SYNC_FAULT Virtual_memory_guard_exception_code_t = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204 )
func (Virtual_memory_guard_exception_code_t) String ¶
func (e Virtual_memory_guard_exception_code_t) String() string
type Xpc_listener_create_flags_t ¶
type Xpc_listener_create_flags_t int64
const ( XPC_LISTENER_CREATE_NONE Xpc_listener_create_flags_t = 0 XPC_LISTENER_CREATE_INACTIVE Xpc_listener_create_flags_t = 1 XPC_LISTENER_CREATE_FORCE_MACH Xpc_listener_create_flags_t = 2 XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4 )
func (Xpc_listener_create_flags_t) String ¶
func (e Xpc_listener_create_flags_t) String() string
type Xpc_session_create_flags_t ¶
type Xpc_session_create_flags_t int64
const ( XPC_SESSION_CREATE_NONE Xpc_session_create_flags_t = 0 XPC_SESSION_CREATE_INACTIVE Xpc_session_create_flags_t = 1 XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2 )
func (Xpc_session_create_flags_t) String ¶
func (e Xpc_session_create_flags_t) String() string
Source Files
¶
- CIAztecCodeDescriptor.go
- CIBarcodeDescriptor.go
- CIBlendKernel.go
- CIColor.go
- CIColorKernel.go
- CIContext.go
- CIDataMatrixCodeDescriptor.go
- CIDetector.go
- CIFaceFeature.go
- CIFeature.go
- CIFilter.go
- CIFilterGenerator.go
- CIFilterShape.go
- CIImage.go
- CIImageAccumulator.go
- CIImageProcessorKernel.go
- CIKernel.go
- CIPDF417CodeDescriptor.go
- CIPlugIn.go
- CIQRCodeDescriptor.go
- CIQRCodeFeature.go
- CIRAWFilter.go
- CIRectangleFeature.go
- CIRenderDestination.go
- CIRenderInfo.go
- CIRenderTask.go
- CISampler.go
- CITextFeature.go
- CIVector.go
- CIWarpKernel.go
- coreimage_enums.go
- coreimage_externs.go
- coreimage_protocols.go
- coreimage_runtime.go
- doc.go