add API for transform unsigned short