Collection

Accelerate sample architecture

Source-backed, high-level architecture notes for Apple sample-code pages grouped in the Accelerate folder.

  • Catalog module label: Accelerate
  • Coverage: 31 / 31 sample pages documented
  • Source policy: archive hashes and extracted-tree references are verified locally before analysis

Samples

Sample Platforms High-level architecture Documented patterns
Adding a bokeh effect to images macOS A Swift sample with the source-visible chain vImageMorphologyAppContentViewMorphologyTransformerAccelerate APIs. SwiftUI environment injection, Publisher-backed observable state
Adjusting saturation and applying tone mapping macOS A Swift sample with the source-visible chain YpCbCrAdjustmentAppContentViewAccelerate APIs. SwiftUI environment injection, Publisher-backed observable state
Adjusting the brightness and contrast of an image macOS A Swift sample with the source-visible chain GammaCorrectionAppContentViewGammaCorrectionEngineAccelerate APIs. SwiftUI environment injection, Publisher-backed observable state
Adjusting the hue of an image macOS A Swift sample with the source-visible chain HueAdjustmentAppContentViewAccelerate APIs. SwiftUI environment injection, Publisher-backed observable state
Applying biquadratic filters to a music loop macOS A Swift sample with the source-visible chain BiquadCoefficientsCalculatorAppContentViewFilterableMusicProviderAccelerate APIs. Protocol-oriented abstraction, SwiftUI environment injection
Applying tone curve adjustments to images macOS A Swift sample with the source-visible chain vImage_PolynomialAppContentViewPolynomialTransformerAccelerate APIs. SwiftUI environment injection, Binding-based state propagation, Publisher-backed observable state
Applying transformations to selected colors in an image macOS A Swift sample with the source-visible chain vImage_selective_desaturationAppContentViewColorConverterAccelerate APIs. SwiftUI environment injection, Publisher-backed observable state
Applying vImage operations to video sample buffers macOS A Swift sample with the source-visible chain VideoCaptureAppContentViewAccelerate APIs. Delegate or data-source callbacks, SwiftUI environment injection
Blurring an image macOS A Swift sample with the source-visible chain vImageConvolutionAppContentViewAccelerate APIs. SwiftUI environment injection, Publisher-backed observable state
Calculating the dominant colors in an image macOS A Swift sample with the source-visible chain AccelerateKMeansAppContentViewAccelerate APIs. SwiftUI environment injection, Publisher-backed observable state
Compressing an image using linear algebra macOS A Swift sample with the source-visible chain SVDImageCompressionAppContentViewAccelerate APIs. SwiftUI environment injection, Publisher-backed observable state
Compressing and decompressing files with stream compression macOS A Swift sample with the source-visible chain CompressionStreamingAppContentViewSwiftUI / Compression APIs. SwiftUI environment injection, Publisher-backed observable state
Converting color images to grayscale macOS A Swift sample with the source-visible chain GrayscaleConversionAppContentViewGrayscaleConverterAccelerate APIs. SwiftUI environment injection, Publisher-backed observable state
Converting luminance and chrominance planes to an ARGB image macOS A Swift sample with the source-visible chain YUVtoRGBAppContentViewYUVtoRGBConverterAccelerate APIs. Delegate or data-source callbacks, SwiftUI environment injection, Publisher-backed observable state
Creating an audio unit extension using the vDSP library macOS A C/Objective-C header, Objective-C++, Swift sample with the source-visible chain vDSP_audio_unitAppContentViewAudioUnitViewModelSimplePlayEngineSwiftUI / AudioToolbox APIs. Model-View-ViewModel, View-controller organization, Protocol-oriented abstraction, Builder, Publisher-backed observable state
Cropping to the subject in a chroma-keyed image macOS A Swift sample with the source-visible chain TrimTransparentPixelsAppContentViewImageProviderAccelerate APIs. SwiftUI environment injection
Equalizing audio with discrete cosine transforms (DCTs) macOS A Swift sample with the source-visible chain AudioEqualizationAppContentViewDrumLoopProviderAccelerate APIs. Protocol-oriented abstraction, SwiftUI environment injection, Publisher-backed observable state
Finding the sharpest image in a sequence of captured images iOS, iPadOS, Mac Catalyst A Swift sample with the source-visible chain AccelerateBlurDetectionAppBlurDetectorViewBlurDetectorResultModelBlurDetectionItemRendererAccelerate APIs. Protocol-oriented abstraction, Delegate or data-source callbacks, SwiftUI environment injection, Publisher-backed observable state
Halftone descreening with 2D fast Fourier transform macOS A Swift sample with the source-visible chain HalftoneDescreenerAppContentViewAccelerate APIs. SwiftUI environment injection, Publisher-backed observable state
Improving the quality of quantized images with dithering macOS A Swift sample with the source-visible chain ImageDitherAppContentViewImageDitherEngineAccelerate APIs. SwiftUI environment injection
Integrating vImage pixel buffers into a Core Image workflow macOS A Swift sample with the source-visible chain ContrastStretchAppContentViewAccelerate APIs. SwiftUI environment injection, Publisher-backed observable state
Reducing artifacts with custom resampling filters macOS A Swift sample with the source-visible chain CustomResamplingAppContentViewCustomResamplingEngineAccelerate APIs. SwiftUI environment injection
Rotating a cube by transforming its vertices macOS A Swift sample with the source-visible chain QuaternionDemonstrationAppContentViewSceneKit / SwiftUI APIs. SwiftUI environment injection, Publisher-backed observable state
Sharing texture data between the Model I/O framework and the vImage library macOS A Swift sample with the source-visible chain vimage_sky_compositorAppContentViewImageProviderAccelerate APIs. SwiftUI environment injection, Publisher-backed observable state
Signal extraction from noise iOS, iPadOS, Mac Catalyst A Swift sample with the source-visible chain SignalExtractionFromNoiseAppContentViewAccelerate APIs. SwiftUI environment injection, Publisher-backed observable state
Solving systems of linear equations with LAPACK macOS A Swift sample centered on main, with direct use of Accelerate.
Specifying histograms with vImage macOS A Swift sample with the source-visible chain HistogramSpecificationAppContentViewAccelerate APIs. SwiftUI environment injection, Publisher-backed observable state
Supporting real-time ML inference on the CPU macOS A C/Objective-C header, Objective-C++, Python, Swift sample with the source-visible chain BNNSBitcrusherAppContentViewAudioUnitViewModelSimplePlayEngineSwiftUI / AudioToolbox APIs. Model-View-ViewModel, View-controller organization, Protocol-oriented abstraction, Builder, Publisher-backed observable state
Training a neural network to recognize digits macOS A Swift sample centered on Digits, with direct use of Accelerate.
Using vImage pixel buffers to generate video effects macOS A Swift sample with the source-visible chain vImagePixelBuffer_VideoEffectsAppContentViewVideoEffectsEngineAccelerate APIs. Delegate or data-source callbacks, SwiftUI environment injection, Publisher-backed observable state
Visualizing sound as an audio spectrogram macOS A Swift sample with the source-visible chain AudioSpectrogramAppContentViewAccelerate APIs. Delegate or data-source callbacks, SwiftUI environment injection, Publisher-backed observable state

Cross-sample signals

Recurring documented patterns

Pattern label Sample documents
SwiftUI environment injection 27
Publisher-backed observable state 24
Protocol-oriented abstraction 5
Delegate or data-source callbacks 5
Model-View-ViewModel 2
View-controller organization 2
Builder 2

Type-role naming evidence

Counts below are declaration-name suffixes, not inferred patterns.

Role suffix Distinct declarations across samples
View 35
App 29
Engine 6
Provider 6
Converter 4
Model 3
Transformer 2
Generator 2
Delegate 2
Builder 2
Controller 2
Manager 2
ViewModel 2
Renderer 1

Swift access-control evidence

These are declaration occurrences in scanned Swift source, including implicit internal declarations.

Access level Occurrences
implicit internal 1998
private 152
public 66
private(set) 6
fileprivate 3

References

Generated from the verified local catalog and completed Markdown documents.