Quote:
Originally Posted by KJaget
Given that HSV requires a bunch of conditional code it's going to be tough to vectorize.
|
I managed to implement an RGB->HSV colour space conversion by using the
VBIT (bitwise insert if true) instruction in combination with VGT (greater than). VBIT is a way to vectorize branching operations to a certain degree.
I'll do a write up on this at some time, but I've got a lot on my plate over the next 2 weeks and I have to clean up the code a bit.