I've had a lingering question about image type/color space in QC that may
not be able to be reduced to a one size fits all answer, but I figured I may
as well throw it out there on-list in case any benefit comes of it.
When I create a video patch and connect to a Billboard in QC, the output of
the video patch is a CVPixelBuffer, and colorspace and native pixel format
seem to be device dependent.
If I run this through a simple CI Kernel, like :
kernel vec4 image(sampler image)
{
return sample( image, samplerCoord( image ) );
}
The image turns to a CIImage (makes sense), the colorspace turns
LinearRGB(!), and there is no native pixel format. This makes sense, and a
small question I have is if it ever proves beneficial to convert to
LinearRGB to get any kind of gain or difference in the way image processing
happens after that step.
Then next question is more involved:
When I note plugins that filter image and provide output as a QCImageBuffer,
they seem to not work correctly when placed inside of a Render In Image
patch, if fed by an RII that is "inside" of the first RII (these also
provide QCImageBuffers as output image types). It produces a look that is
similar to the look that results from not having a clear inside of the RII.
This can be avoided by taking one RII out of the other, placing on the same
"level" as the RII it used to be in, and feeding out from one into the
other, but this seems like it shouldn't be a problem, and was not a problem
in Leopard.
This makes me wonder if the QCImageBuffer class as a provider and RII have
some kind of bug that has been introduced in Snow Leopard. It's as if the
RII, being a QCImageBuffer, doesn't know to execute correctly if it's
connected to a plugin that uses QCImageBuffers, which then connects to
Billboard.
Sorry, I don't really know how to submit an example, since it is inherently
a problem with non-stock (but supported by QCplugin) scenarios.
--
George Toledo
[email protected]
www.georgetoledo.com
The information contained in this E-mail and any attachments may be
confidential.
If you have received this E-mail in error, please notify us immediately by
telephone or return E-mail.
You should not use or disclose the contents of this E-mail or any of the
attachments for any purpose or to any persons.
_______________________________________________
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]