Eet: Use medium quality for ETC1 by default
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 17 Apr 2014 10:03:19 +0000 (19:03 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 18 Apr 2014 06:39:41 +0000 (15:39 +0900)
And remove  dithering.
This is the same as  07700a799ce759

src/lib/eet/eet_image.c

index 6564372..d5bda22 100644 (file)
@@ -1018,8 +1018,11 @@ eet_data_image_etc1_compressed_convert(int         *size,
 
    nw = htonl(w);
    nh = htonl(h);
-   param.m_dithering = 1;
-   if (quality > 70)
+
+   // Disable dithering, as it will deteriorate the quality of flat surfaces
+   param.m_dithering = 0;
+
+   if (quality > 95)
      {
         param.m_quality = rg_etc1_high_quality;
         block = 7;