commit | f835f386a119c3f78f5acb93e86a4f025211739a | [log] [tgz] |
---|---|---|
author | Steve Longerbeam <slongerbeam@gmail.com> | Wed Jun 25 18:05:37 2014 -0700 |
committer | Philipp Zabel <p.zabel@pengutronix.de> | Tue Sep 02 14:55:46 2014 +0200 |
tree | 25b664ab16429566cf5367a3c0de209157fabef9 | |
parent | ae0e9708b30b3eebe5a58e4d055eb49a73d641dd [diff] |
gpu: ipu-v3: Add rotation mode conversion utilities Add two functions: - ipu_degrees_to_rot_mode(): converts a degrees, hflip, and vflip setting to an IPU rotation mode. - ipu_rot_mode_to_degrees(): converts an IPU rotation mode with given hflip and vflip settings to degrees. Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>