libcamera: software_isp: debayer: Add missing override
Add the missing `override` specifiers in the derived classes of `Debayer`, so that the compiler can ensure that the functions in the derived classes really override the functions in the base class. Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Bryan O'Donoghue <bod.linux@nxsw.ie>
This commit is contained in:
@@ -36,16 +36,16 @@ public:
|
||||
|
||||
int configure(const StreamConfiguration &inputCfg,
|
||||
const std::vector<std::reference_wrapper<const StreamConfiguration>> &outputCfgs,
|
||||
bool ccmEnabled);
|
||||
Size patternSize(PixelFormat inputFormat);
|
||||
std::vector<PixelFormat> formats(PixelFormat input);
|
||||
bool ccmEnabled) override;
|
||||
Size patternSize(PixelFormat inputFormat) override;
|
||||
std::vector<PixelFormat> formats(PixelFormat input) override;
|
||||
std::tuple<unsigned int, unsigned int>
|
||||
strideAndFrameSize(const PixelFormat &outputFormat, const Size &size);
|
||||
void process(uint32_t frame, FrameBuffer *input, FrameBuffer *output, const DebayerParams ¶ms);
|
||||
int start();
|
||||
void stop();
|
||||
SizeRange sizes(PixelFormat inputFormat, const Size &inputSize);
|
||||
const SharedFD &getStatsFD() { return stats_->getStatsFD(); }
|
||||
strideAndFrameSize(const PixelFormat &outputFormat, const Size &size) override;
|
||||
void process(uint32_t frame, FrameBuffer *input, FrameBuffer *output, const DebayerParams ¶ms) override;
|
||||
int start() override;
|
||||
void stop() override;
|
||||
SizeRange sizes(PixelFormat inputFormat, const Size &inputSize) override;
|
||||
const SharedFD &getStatsFD() override { return stats_->getStatsFD(); }
|
||||
|
||||
private:
|
||||
friend class DebayerCpuThread;
|
||||
|
||||
@@ -43,20 +43,20 @@ public:
|
||||
|
||||
int configure(const StreamConfiguration &inputCfg,
|
||||
const std::vector<std::reference_wrapper<const StreamConfiguration>> &outputCfgs,
|
||||
bool ccmEnabled);
|
||||
bool ccmEnabled) override;
|
||||
|
||||
Size patternSize(PixelFormat inputFormat);
|
||||
Size patternSize(PixelFormat inputFormat) override;
|
||||
|
||||
std::vector<PixelFormat> formats(PixelFormat input);
|
||||
std::tuple<unsigned int, unsigned int> strideAndFrameSize(const PixelFormat &outputFormat, const Size &size);
|
||||
std::vector<PixelFormat> formats(PixelFormat input) override;
|
||||
std::tuple<unsigned int, unsigned int> strideAndFrameSize(const PixelFormat &outputFormat, const Size &size) override;
|
||||
|
||||
void process(uint32_t frame, FrameBuffer *input, FrameBuffer *output, const DebayerParams ¶ms);
|
||||
int start();
|
||||
void stop();
|
||||
void process(uint32_t frame, FrameBuffer *input, FrameBuffer *output, const DebayerParams ¶ms) override;
|
||||
int start() override;
|
||||
void stop() override;
|
||||
|
||||
const SharedFD &getStatsFD() { return stats_->getStatsFD(); }
|
||||
const SharedFD &getStatsFD() override { return stats_->getStatsFD(); }
|
||||
|
||||
SizeRange sizes(PixelFormat inputFormat, const Size &inputSize);
|
||||
SizeRange sizes(PixelFormat inputFormat, const Size &inputSize) override;
|
||||
|
||||
private:
|
||||
static int getInputConfig(PixelFormat inputFormat, DebayerInputConfig &config);
|
||||
|
||||
Reference in New Issue
Block a user