@@ -42,7 +42,7 @@ namespace IMCodec
4242 return mPluginProperties ;
4343 }
4444
45- TexelFormat GetTexelFormat (uint16_t sampleFormat, uint16 bitsPerSample, uint16_t samplesPerPixel, uint16_t photoMetric) const
45+ TexelFormat GetTexelFormat (uint16_t sampleFormat, uint16_t bitsPerSample, uint16_t samplesPerPixel, uint16_t photoMetric) const
4646 {
4747 TexelFormat texelFormat = TexelFormat::UNKNOWN;
4848
@@ -168,11 +168,11 @@ namespace IMCodec
168168
169169 uint16_t sampleFormat{};
170170
171- uint32 width, height{};
172- uint16 bitsPerSample{};
171+ uint32_t width, height{};
172+ uint16_t bitsPerSample{};
173173 // uint16 compression{};
174- uint16 photoMetric{};
175- uint16 samplesPerPixel{};
174+ uint16_t photoMetric{};
175+ uint16_t samplesPerPixel{};
176176 uint16_t orientation{};
177177 uint32_t rowPitch{};
178178 // uint32 rowsPerStrip{};
@@ -248,7 +248,7 @@ namespace IMCodec
248248 // override target row pitch - always 32bpp
249249 imageItem->descriptor .rowPitchInBytes = width * 4 ;
250250 imageItem->data .Allocate (height * imageItem->descriptor .rowPitchInBytes );
251- TIFFReadRGBAImageOriented (tiff, width, height, reinterpret_cast <uint32 *>(imageItem->data .data ()), orientation);
251+ TIFFReadRGBAImageOriented (tiff, width, height, reinterpret_cast <uint32_t *>(imageItem->data .data ()), orientation);
252252 }
253253
254254
0 commit comments