Documentation
|
|
The C interface for rotate. More...
| afError | af_rotate_S (float *d_out, unsigned xo, unsigned yo, const float *d_in, unsigned xi, unsigned yi, float theta, unsigned batch) |
| Rotate a given image by a specified amount. More... | |
The C interface for rotate.
Rotate the input image by theta radians. Positive indicates clockwise rotatoin and a negative angle rotates the image counter-clockwise.




| afError af_rotate_S | ( | float * | d_out, |
| unsigned | xo, | ||
| unsigned | yo, | ||
| const float * | d_in, | ||
| unsigned | xi, | ||
| unsigned | yi, | ||
| float | theta, | ||
| unsigned | batch | ||
| ) |
Rotate a given image by a specified amount.
| [in] | xo | Number of rows in the output |
| [in] | yo | Number of columns in the output |
| [out] | d_out | The rotated image |
| [in] | xi | Number of rows in input image |
| [in] | yi | Number of columns in input image |
| [in] | d_in | Input image |
| [in] | theta | Value in radians the image is to be rotated |
| [in] | batch | Number of input images (1) |