pixelformat: respect linesizes when converting pixel formats

This commit is contained in:
itsmattkc
2020-05-01 03:42:31 +10:00
parent 8c8bb45f7f
commit a2cba8c103
2 changed files with 27 additions and 6 deletions
+2 -2
View File
@@ -48,6 +48,8 @@ public:
virtual QString GetIndexFilename() override;
static void BufferToFrame(OIIO::ImageBuf* buf, FramePtr frame);
private:
#if OIIO_VERSION < 10903
OIIO::ImageInput* image_;
@@ -55,8 +57,6 @@ private:
std::unique_ptr<OIIO::ImageInput> image_;
#endif
static void BufferToFrame(OIIO::ImageBuf* buf, FramePtr frame);
static bool FileTypeIsSupported(const QString& fn);
static int GetImageSequenceDigitCount(const QString& filename);