Function xf::cv::Atan2LookupFP

Function Documentation

static short xf::cv::Atan2LookupFP(short xs, short ys, int M1, int N1, int M2, int N2)

Funtion to find atan2(y,x). x is QM1.N1 and y is QM2.N2 fixed point format. x and y are of 16-bit. The value returned is of 16-bit width fixed point format of Qout_M.out_N. The angle returned by this function will be in -pi to pi range in Q4.12