A GPU accelerated image and video processing framework built on Metal.
MIT License
Bot releases are visible (Hide)
Enhancements
Add an autoreleasepool
in MTIAsyncVideoCompositionRequestHandler
in case the relative queue does not have a .workItem
autorelease frequency.
Published by YuAo almost 2 years ago
Bug fixes
Static
sub-pod for resource copying behavior change in Xcode 14. 0c48a7cbfc54334c687e0708a31b3feb9339f25fPublished by YuAo almost 2 years ago
Enhancements
Revert #314. MTICoreImageKernel
now respects the origin of the output CIImage
.
Published by YuAo over 2 years ago
Enhancements
[Shaders] Support unified Metal language. https://github.com/MetalPetal/MetalPetal/commit/bdb515635033288b9d8f13aeab4e5343894f7aa9
This also fixes the SwiftPM integration on iOS 16 and macOS 13
Published by YuAo over 2 years ago
Bug fixes
CIImage
s that have non-zero origin. #314stride
instead of size
for raw pointer access. 58b226325e52ee13d18e869f28912522dc476ca1Enhancements
MTITexturePromise.texture
is now public. 3e9bc59f02a8ed6e20f3642ba55f48ceb262891fMTICVPixelBufferPromise.pixelBuffer
is now public. 16d627405c3a9c7ac228a98998d319816583d038Published by YuAo almost 3 years ago
Deprecation
Enhancements
MTIRenderPipelineKernel
#293Published by YuAo about 3 years ago
Enhancements
CVPixelBuffer
s. 5b74467543412a41643f0f65f41271f5c29079d8colorPrimaries
, colorYCbCrMatrix
and colorTransferFunction
. 601636764678ac3e52ff71831fced506155542e2Published by YuAo over 3 years ago
Enhancements
noSourceFrame
error. 84be369be4402122a3afd97b6985bbf5099839b2Request.anySourceImage
an optional value. #256Published by YuAo over 3 years ago
Bug fixes
Published by YuAo over 3 years ago
Enhancements
MTIContext
now automatically chooses to use MTIHeapTexturePool
on supported devices. a0fa22797ea3b18fd7d2eb6324a06b19da887791Deprecation
MTIVector
no longer conforms to NSCoding
.
MTIVector
is designed for encoding small vector values for the shader functions. Data serialization should be done using other methods.
MTIContextOptions
no longer conforms to NSCopying
.
MTIContextOptions
is designed to be a temporary object. The context does not keep references to the context options. There is no need for the MTIContextOptions
to conform to the NSCopying
protocol.
Published by YuAo over 3 years ago
Features
MTIRoundCornerFilter
to support both circular
and continuous
corner curve.MTILayer
.Enhancements
Hashable
conformance to MTIVertex
.Published by YuAo over 3 years ago
Features
MTIRGBColorSpaceConversionFilter
for converting between linear sRGB, sRGB and ITU-R 709 color spaces.Enhancements
MTIUnpremultiplyAlphaFilter
and MTIPremultiplyAlphaFilter
no longer inherit from MTIUnaryImageRenderingFilter
, this avoids some misuses.MTIMultilayerCompositeKernel
.Deprecation
MTIUnpremultiplyAlphaWithSRGBToLinearRGBFilter
, use MTIRGBColorSpaceConversionFilter
instead.Published by YuAo over 3 years ago
Features
outputAlphaType
of MTIMultilayerCompositingFilter
, MTICoreImageUnaryFilter
and MTIBlendFilter
.MTIBlendFilter
now accepts images with premultiplied alpha channels.MTILayer
. #237MTIVideoComposition
to process videos. VideoIO
is no longer a requirement for video processing. #239 #236Enhancements
MultilayerCompositingFilter
, MultilayerCompositingFilter.Layer
now supports method chaining.MTIBlendFilter
and MTIMultilayerCompositingFilter
.Published by YuAo over 3 years ago
Bug fixes
Published by YuAo over 3 years ago
Features
MTIBlendFunctionDescriptors(blendFormula:)
.Enhancements
int
values to float
parameters. 1ec9966Bug fixes
rasterSampleCount
is greater than zero on Intel Macs.Published by YuAo almost 4 years ago
Features
kCVPixelFormatType_420YpCbCr10BiPlanarVideo/FullRange
support. #218Bug Fixes
MTIHighPassSkinSmoothingFilter
initial state fix. https://github.com/MetalPetal/MetalPetal/commit/31a9aee5efd362432f824862b93d9d3cee1ca9ee
Published by YuAo about 4 years ago
Features
MTISKSceneRenderer
antialiasingMode
and sRGB support to MTISCNSceneRenderer
Enhancements
MTIImageView
and MTIThreadSafeImageView
. 27c11f666bd61299f63351572b9f09cff4e0ca4dpassthroughAlphaTypeHandlingRule
46f164effda7f0f32429e7e3bfd8ed04067d4c75Published by YuAo about 4 years ago
Enhancements
CGImage
. #181Published by YuAo about 4 years ago
Demo
Enhancements
short
/ushort
/char
/uchar
SIMD vectors to MTIVector
. #171tintColor
to MTILayer
. 1463c6ddcda446b8b38a50d8bd1091d158b708dfMTIDefaultTextureLoader
7e67cee8141ff32a06c8ff9bc4cb7806110198ee and MTIThreadSafeImageView
3bf5f67c8dbf8d49aa315af69b3e5ab05c503138Bug Fixes
MTIContext.renderedBuffer(for:)
now respect the targetImage
's dimensions. 14e5e40b3e3ed806e193e3048386736af5609aefPublished by YuAo over 4 years ago