@@ -37,7 +37,7 @@
namespace libcamera {
-class DebayerCpu;
+class Debayer;
class FrameBuffer;
class PixelFormat;
class Stream;
@@ -94,8 +94,7 @@ private:
void statsReady(uint32_t frame, uint32_t bufferId);
void inputReady(FrameBuffer *input);
void outputReady(FrameBuffer *output);
-
- std::unique_ptr<DebayerCpu> debayer_;
+ std::unique_ptr<Debayer> debayer_;
Thread ispWorkerThread_;
SharedMemObject<DebayerParams> sharedParams_;
DebayerParams debayerParams_;
@@ -267,7 +267,7 @@ int SoftwareIsp::configure(const StreamConfiguration &inputCfg,
ispWorkerThread_.start();
- ret = debayer_->invokeMethod(&DebayerCpu::configure,
+ ret = debayer_->invokeMethod(&Debayer::configure,
ConnectionTypeBlocking, inputCfg,
outputCfgs, ccmEnabled_);
if (ret) {
@@ -367,7 +367,7 @@ int SoftwareIsp::start()
*/
void SoftwareIsp::stop()
{
- debayer_->invokeMethod(&DebayerCpu::stop,
+ debayer_->invokeMethod(&Debayer::stop,
ConnectionTypeBlocking);
ispWorkerThread_.exit();
@@ -401,7 +401,7 @@ void SoftwareIsp::stop()
void SoftwareIsp::process(uint32_t frame, FrameBuffer *input, FrameBuffer *output)
{
ipa_->computeParams(frame);
- debayer_->invokeMethod(&DebayerCpu::process,
+ debayer_->invokeMethod(&Debayer::process,
ConnectionTypeQueued, frame, input, output, debayerParams_);
}