-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for side-by-side stereo images (.jps) #265
Conversation
42c8565
to
d7a4339
Compare
tide/core/data/ImageReader.cpp
Outdated
|
||
QImage _ensureGlCompatibleFormat(const QImage& image) | ||
{ | ||
const auto argb32 = QImage::Format_ARGB32; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this a variable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm that's purely cosmetics so that the next line below fits in one line (<80 characters)...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beauty is in the eyes of the beholder :) I think you should remove it and let clang-format handle the layout.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I changed it ;-)
tide/core/data/ImageReader.cpp
Outdated
return QSize{stereoSize.width() / 2, stereoSize.height()}; | ||
} | ||
|
||
QRect _getMonoRect(const QSize& image, const deflect::View view) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe call it imageSize
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok done
No description provided.