Skip to content

Commit

Permalink
Fix open source builds (#138)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #138
Fixing simple breakages that were introduced recently in OSS builds.

Differential Revision: D51574638

fbshipit-source-id: f81f8214ba1095fff02be1bd27bc94896ed0098c
  • Loading branch information
Georges Berenger authored and facebook-github-bot committed Nov 27, 2023
1 parent 9334e11 commit e5ba39b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vrs/utils/PixelFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -662,8 +662,9 @@ bool PixelFrame::normalizeToPixelFormat(
return false;
}

bool PixelFrame::ssimCompare(const PixelFrame& other, double& meanSSIM, double& meanContrast) {
XR_LOGE_ONCE("PixelFrame::ssimCompare has no open source implementation");
bool PixelFrame::msssimCompare(const PixelFrame& other, double& msssim) {
XR_LOGW("PixelFrame::ssimCompare has no open source implementation");
return false;
}

#endif // !IS_VRS_OSS_CODE()
Expand Down

0 comments on commit e5ba39b

Please sign in to comment.