Revision cec188e4
Added by David Sorber over 9 years ago
| software/photo_compress_archiver/main.cc | ||
|---|---|---|
|
void header()
|
||
|
{
|
||
|
std::cout << BOLD << "Photo Compress Archiver -- " << version << "\n" << ENDC;
|
||
|
std::cout << " Copyright 2017 - David Sorber\n";
|
||
|
std::cout << " >>> Utilizing packJPG by Matthias Stirner\n" << std::endl;
|
||
|
std::cout << " Copyright 2017 - David Sorber\n";
|
||
|
std::cout << " >>> Utilizing packJPG by Matthias Stirner\n" << std::endl;
|
||
|
}
|
||
|
|
||
|
void usage(char** argv)
|
||
| ... | ... | |
|
// Display header and
|
||
|
header();
|
||
|
uint32_t num_cores = std::thread::hardware_concurrency();
|
||
|
std::cout << " [" << num_cores << " cores detected]\n";
|
||
|
std::cout << "[" << num_cores << " cores detected]\n";
|
||
|
|
||
|
// Decode/store decompress option
|
||
|
bool decompress = false;
|
||
Adding some minor edits along with a bit of debug code.