facebook360_dep
Facebook360 Depth Estimation Pipeline
|
Functions | |
void | writeDDSHeaderField (char *headerData, const int offset, const uint32_t val) |
uint8_t | gammaCorrect (const float val, const float gammaCorrection) |
void | compressBC7 (const cv::Mat &image, const filesystem::path &destFilename, const float gammaCorrection=2.2/1.8, const bool writeDDSHeader=true) |
void | compressBC7 (const filesystem::path &srcFilename, const filesystem::path &destFilename, const float gammaCorrection=2.2/1.8, const bool writeDDSHeader=true) |
void fb360_dep::bc7_util::compressBC7 | ( | const cv::Mat & | image, |
const filesystem::path & | destFilename, | ||
const float | gammaCorrection = 2.2 / 1.8 , |
||
const bool | writeDDSHeader = true |
||
) |
void fb360_dep::bc7_util::compressBC7 | ( | const filesystem::path & | srcFilename, |
const filesystem::path & | destFilename, | ||
const float | gammaCorrection = 2.2 / 1.8 , |
||
const bool | writeDDSHeader = true |
||
) |
uint8_t fb360_dep::bc7_util::gammaCorrect | ( | const float | val, |
const float | gammaCorrection | ||
) |
void fb360_dep::bc7_util::writeDDSHeaderField | ( | char * | headerData, |
const int | offset, | ||
const uint32_t | val | ||
) |