tdm_common: clarify TDM_TRANSFORM enumaration. 94/240394/1
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 6 Aug 2020 13:13:46 +0000 (22:13 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Thu, 6 Aug 2020 13:47:24 +0000 (22:47 +0900)
An Enumeration for TDM_TRANSFORM was ambiguous because there wasn't
description for direction of rotation.

Change-Id: Ie3a9dc5fc3eb3c328a57dd880c31cd9aa2df9951

include/tdm_common.h

index a661a6d..a3ccede 100644 (file)
@@ -78,13 +78,13 @@ typedef enum {
  */
 typedef enum {
        TDM_TRANSFORM_NORMAL            = 0, /**< no transform */
-       TDM_TRANSFORM_90                = 1, /**< rotate 90 */
-       TDM_TRANSFORM_180               = 2, /**< rotate 180 */
-       TDM_TRANSFORM_270               = 3, /**< rotate 270 */
+       TDM_TRANSFORM_90                = 1, /**< rotate 90 degrees clockwise */
+       TDM_TRANSFORM_180               = 2, /**< rotate 180 degrees clockwise */
+       TDM_TRANSFORM_270               = 3, /**< rotate 270 degrees clockwise */
        TDM_TRANSFORM_FLIPPED           = 4, /**< no rotate and horizontal flip */
-       TDM_TRANSFORM_FLIPPED_90        = 5, /**< rotate 90 and horizontal flip */
-       TDM_TRANSFORM_FLIPPED_180       = 6, /**< rotate 180 and horizontal flip */
-       TDM_TRANSFORM_FLIPPED_270       = 7, /**< rotate 270 and horizontal flip */
+       TDM_TRANSFORM_FLIPPED_90        = 5, /**< rotate 90 degrees clockwise and horizontal flip */
+       TDM_TRANSFORM_FLIPPED_180       = 6, /**< rotate 180 degrees clockwise and horizontal flip */
+       TDM_TRANSFORM_FLIPPED_270       = 7, /**< rotate 270 degrees clockwise and horizontal flip */
 } tdm_transform;
 
 /**