diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/camera/ov9281.cpp | 4 | ||||
| -rw-r--r-- | src/image.cpp | 3 | ||||
| -rw-r--r-- | src/main.cpp | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/camera/ov9281.cpp b/src/camera/ov9281.cpp index a629a91..8f84255 100644 --- a/src/camera/ov9281.cpp +++ b/src/camera/ov9281.cpp @@ -119,8 +119,8 @@ bool OV9281::validateConfig() << std::endl; std::cout << __func__ << ":\tbufferCount: " << streamConfig.bufferCount << std::endl; - std::cout << __func__ << ":\torientation: " << m_config->orientation - << std::endl; + // std::cout << __func__ << ":\torientation: " << m_config->orientation + // << std::endl; break; } case CameraConfiguration::Status::Invalid: { diff --git a/src/image.cpp b/src/image.cpp index 9c258c6..e5265c7 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -227,6 +227,8 @@ void Image::copyFromData(const void *src, size_t size) // data = (uint8_t *) src; break; } +#define RADXA_HAS_NO_R16 +#ifndef RADXA_HAS_NO_R16 case libcamera::formats::R16: { // std::cout << "R16" << std::endl; // data_t &d = *data; @@ -239,6 +241,7 @@ void Image::copyFromData(const void *src, size_t size) } break; } +#endif // RADXA_HAS_NO_R16 default: throw std::logic_error(__func__ + std::string(": unsupported pixel format")); break; diff --git a/src/main.cpp b/src/main.cpp index aab134e..bc0c00b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -21,7 +21,7 @@ #include "imagealgos.h" #include "laser.h" #include "macro.h" -#include "pigpio.h" +// #include "pigpio.h" #include "printerclient.h" #include "profile.h" #include "rotaryencoder.h" |
