Hello,currently I am writing a Custom QuartzComposer PlugIn that needs to read and write
image data as fast as possible.
Starting from an example, I 've started to get my image data as follows:[self.inputImage lockBufferRepresentationWithPixelFormat:QCPlugInPixelFormatRGBAf colorSpace:[self.inputImage imageColorSpace] forBounds: [self.inputImage imageBounds]];
then I am operating on the buffer writing the data on a seperate output buffer from whom I generate a output provider
byprovider = [[context outputImageProviderFromBufferWithPixelFormat:QCPlugInPixelFormatRGBAf pixelsWide:width
pixelsHigh:height
baseAddress:outputBuffer
bytesPerRow:[self.inputImage
bufferBytesPerRow]
releaseCallback:_BufferReleaseCallback
releaseContext:NULL
colorSpace:[context colorSpace]
shouldColorMatch:YES] retain];
Now I am wondering, if this a efficient way, or if there are better
ways to do it.
Thanks for your help in advance, JUM
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [email protected]

