libcamera: software_isp: debayer: Make the debayer_ object of type class Debayer not DebayerCpu
Make the type of object Debayer not DebayerCpu thus allowing us to assign the object to either DebayerCpu or DebayerEGL. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
This commit is contained in:
parent
355fd41dfd
commit
3142e37619
1 changed files with 2 additions and 3 deletions
|
@ -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_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue