RGB to HLS Conversion within Iterator
Hey all,
Having trouble finding the most efficient way to use the PF_ColorCallbacksSuite within my iterator so I can do some math in HLS, then transform back to RGB to send to the out pixel.
The best way I can think of is to make all 3 versions of the ColorCallbackSuite (8,16, and 32 bit) a part of my refcon struct and then set the appropriate one up in smart render, but the AEFX suite scoper does not seem happy about doing that.
I would then also have to put the PF_ProgPtr that's required for the callbacks into my *refcon but that also seems like a bit of a hack. Is there any better way of transforming from RGB to HLS and back within an iterator function besides just plugging in my own math to do so? I have a function to do just that waiting on deck, I just figured using the built in versions would play nicer with the rest of AE. Thanks so much, the vast amount of info on this forum has been invaluable to me getting even this far in my project.
Robert