On Sep 22, 2009, at 8:31 PM, Christopher Wright wrote:
Aha! Turning on the Advanced Kernel Settings lets me set an OpenCL
Kernel to 32 bits per pixel, which then passes negative pixel
values through. 16-bit also works.
Ahh, good find. Works here too.
CoreImage with negatives to CL (in 32bit mode) also appears to work
as expected, as well as CL to CL.
The only quirk I can find with this is CL (with negatives) to
CoreImage -- that seems to clamp still (not sure why, since CI to CL
is ok...). can post a sample composition if anyone wants to confirm
this quirk.
I did not see any clamping when I interposed a passthrough OpenCL
kernel between your scaler and negative detector. Make sure you set
the CL output to 32 bit and color space to Image Native or Absolute
Linear. I got some odd artifacts when I set the output to Rendering
Destination.
Is there any documentation on this?
- Stoney
--
Stonewall Ballard
[email protected] http://stoney.sb.org/
_______________________________________________
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]