comparison 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
comparison
equal deleted inserted replaced
843:6a5cceec04ef 844:502c49adb5ad
43 { 43 {
44 private: 44 private:
45 bool changed_; 45 bool changed_;
46 std::vector<uint8_t> data_; 46 std::vector<uint8_t> data_;
47 47
48 bool forceMinimalPitch_; // Currently unused
48 PixelFormat format_; 49 PixelFormat format_;
49 unsigned int width_; 50 unsigned int width_;
50 unsigned int height_; 51 unsigned int height_;
51 unsigned int pitch_; 52 unsigned int pitch_;
52 uint8_t *buffer_; 53 uint8_t *buffer_;
83 } 84 }
84 85
85 ImageAccessor GetAccessor(); 86 ImageAccessor GetAccessor();
86 87
87 ImageAccessor GetConstAccessor(); 88 ImageAccessor GetConstAccessor();
89
90 bool IsMinimalPitchForced() const
91 {
92 return forceMinimalPitch_;
93 }
94
95 void SetMinimalPitchForced(bool force);
88 }; 96 };
89 } 97 }