@@ -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_;
@@ -348,7 +348,7 @@ int SoftwareIsp::start()
ispWorkerThread_.start();
- return debayer_->invokeMethod(&DebayerCpu::start,
+ return debayer_->invokeMethod(&Debayer::start,
ConnectionTypeBlocking);
}
@@ -360,7 +360,7 @@ int SoftwareIsp::start()
*/
void SoftwareIsp::stop()
{
- debayer_->invokeMethod(&DebayerCpu::stop,
+ debayer_->invokeMethod(&Debayer::stop,
ConnectionTypeBlocking);
ispWorkerThread_.exit();
@@ -394,7 +394,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_);
}