oiiodecoder: improved code

This commit is contained in:
itsmattkc
2022-05-24 18:49:29 -07:00
parent 6371fe0bc0
commit c2570b23c3
3 changed files with 61 additions and 53 deletions
+5 -3
View File
@@ -56,11 +56,13 @@ private:
void CloseImageHandle();
static VideoParams GetVideoParamsFromImageSpec(const OIIO::ImageSpec &spec);
VideoParams::Format pix_fmt_;
OIIO::TypeDesc::BASETYPE oiio_pix_fmt_;
int channel_count_;
OIIO::ImageBuf* buffer_;
Frame buffer_;
RetrieveVideoParams last_params_;
static QStringList supported_formats_;