aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/eet
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-03-17 08:50:36 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-03-17 09:58:19 +0100
commit9e2333d40872a7cf9ef1292ddcbe401f4d83eb11 (patch)
tree4a945382c039ab66b6744eea98c5012a018d1c52 /src/lib/eet
parentemile: document Emile_Image. (diff)
downloadefl-9e2333d40872a7cf9ef1292ddcbe401f4d83eb11.tar.gz
eet: use Emile type for encoding.
Diffstat (limited to 'src/lib/eet')
-rw-r--r--src/lib/eet/Eet.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/lib/eet/Eet.h b/src/lib/eet/Eet.h
index 71b87cee55..923f79d687 100644
--- a/src/lib/eet/Eet.h
+++ b/src/lib/eet/Eet.h
@@ -482,15 +482,14 @@ typedef enum _Eet_File_Mode
* Specify lossy encoding for image
* @since 1.10
*/
-typedef enum _Eet_Image_Encoding
-{
- EET_IMAGE_LOSSLESS = 0,
- EET_IMAGE_JPEG = 1,
- EET_IMAGE_ETC1 = 2,
- EET_IMAGE_ETC2_RGB = 3,
- EET_IMAGE_ETC2_RGBA = 4,
- EET_IMAGE_ETC1_ALPHA = 5,
-} Eet_Image_Encoding;
+typedef Emile_Image_Encoding Eet_Image_Encoding;
+
+#define EET_IMAGE_LOSSLESS EMILE_IMAGE_LOSSLESS
+#define EET_IMAGE_JPEG EMILE_IMAGE_JPEG
+#define EET_IMAGE_ETC1 EMILE_IMAGE_ETC1
+#define EET_IMAGE_ETC2_RGB EMILE_IMAGE_ETC2_RGB
+#define EET_IMAGE_ETC2_RGBA EMILE_IMAGE_ETC2_RGBA
+#define EET_IMAGE_ETC1_ALPHA EMILE_IMAGE_ETC1_ALPHA
typedef Emile_Colorspace Eet_Colorspace;