diff Core/ImageFormats/ImageBuffer.h @ 844:502c49adb5ad jpeg

jpeg lossless
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 05 Jun 2014 14:08:23 +0200
parents 262feb14f92f
children 839be3022203
line wrap: on
line diff
--- a/Core/ImageFormats/ImageBuffer.h	Wed Jun 04 17:57:59 2014 +0200
+++ b/Core/ImageFormats/ImageBuffer.h	Thu Jun 05 14:08:23 2014 +0200
@@ -45,6 +45,7 @@
     bool changed_;
     std::vector<uint8_t> data_;
 
+    bool forceMinimalPitch_;  // Currently unused
     PixelFormat format_;
     unsigned int width_;
     unsigned int height_;
@@ -85,5 +86,12 @@
     ImageAccessor GetAccessor();
 
     ImageAccessor GetConstAccessor();
+
+    bool IsMinimalPitchForced() const
+    {
+      return forceMinimalPitch_;
+    }
+
+    void SetMinimalPitchForced(bool force);
   };
 }