Linearize frame counter in lens rotation

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>