I\'m trying to learn Renderscript, so I wish to try to do some simple operations that I think about.
I thought of rotating a b
This should solve your problem
RS
rs_allocation *in; uchar4 attribute((kernel)) rotate90CW(uint32_t x, uint32_t y){ ... uchar4 curIn =rsGetElementAt_uchar4(in, x, y); return curIn; }