From: Seunghun Lee Date: Tue, 1 Nov 2022 00:30:39 +0000 (+0900) Subject: Redefine 'tdm_transform' enumaration X-Git-Tag: accepted/tizen/7.0/unified/20230417.162206~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f634150363b538b3d22800b86446eb9a5ea875e5;p=platform%2Fcore%2Fuifw%2Flibtdm.git Redefine 'tdm_transform' enumaration It was discovered that some tdm backend driver actually tnranslated 90 and 270 degree rotations of 'tdm_transform' enumeration as counter-clockwise. Since there is no other tdm backend drivers using 'tdm_transform' enumeration, we've decided to redefine `tdm_transform` enumeration rather than guide the tdm backend driver to follow the spec in the documentation. Change-Id: Ibea6ecd7e8ff38ac2312580507001ebbe826fb67 --- diff --git a/include/tdm_common.h b/include/tdm_common.h index a3ccede..48192ab 100644 --- a/include/tdm_common.h +++ b/include/tdm_common.h @@ -78,13 +78,13 @@ typedef enum { */ typedef enum { TDM_TRANSFORM_NORMAL = 0, /**< no transform */ - 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_90 = 1, /**< rotate 90 degrees counter-clockwise */ + TDM_TRANSFORM_180 = 2, /**< rotate 180 degrees counter-clockwise */ + TDM_TRANSFORM_270 = 3, /**< rotate 270 degrees counter-clockwise */ TDM_TRANSFORM_FLIPPED = 4, /**< no rotate 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_FLIPPED_90 = 5, /**< rotate 90 degrees counter-clockwise and horizontal flip */ + TDM_TRANSFORM_FLIPPED_180 = 6, /**< rotate 180 degrees counter-clockwise and horizontal flip */ + TDM_TRANSFORM_FLIPPED_270 = 7, /**< rotate 270 degrees counter-clockwise and horizontal flip */ } tdm_transform; /**