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.

Here's my sample composition that shows (showed?) CL -> CI weirding out:

Attachment: CLClamping.qtz
Description: application/quartzcomposer



However, after restarting QC it seems to be ok now ..... so you're right, it's fine in both cases. (it wasn't a color space or format issue, as they were all configured identically).

Is there any documentation on this?


OpenCL's documented on khronos' website ( http://www.khronos.org/registry/cl/specs/opencl-1.0.43.pdf )

CoreImage is documented on Apple's developer site ( http://developer.apple.com/mac/library/DOCUMENTATION/GraphicsImaging/Reference/CIKernelLangRef/ci_gslang_ext.html#/ /apple_ref/doc/uid/TP40004397-CH206-TPXREF101 )

The nuances (like 32bit mode, among other things) are somewhat QC- specific, and are probably not well documented. :/

--
[ christopher wright ]
[email protected]
http://kineme.net/

Attachment: 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]

Reply via email to