summaryrefslogtreecommitdiff
path: root/src/libcamera/pipeline/ipu3/imgu.h
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-11-03 22:43:07 +0100
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2021-02-05 01:20:32 +0100
commitc5fe5f572cae994cd39a32347ea273a22ddf8c89 (patch)
tree9817275d02c6c4e5fddb7f4421845e5a9828a631 /src/libcamera/pipeline/ipu3/imgu.h
parent758aa9ba6175309ab8c479e797ca65cb48e3aaeb (diff)
libcamera: ipu3: imgu: Configure the stat video device as part of configure()
There is no reason to expose and call a separate configureStat() when the statistics video device can be configured with the exact same parameters as part of configure(). Move the configuration internally to the ImgUDevice simplifying the interface, there is no functional change. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/libcamera/pipeline/ipu3/imgu.h')
-rw-r--r--src/libcamera/pipeline/ipu3/imgu.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libcamera/pipeline/ipu3/imgu.h b/src/libcamera/pipeline/ipu3/imgu.h
index c73ac5a5..37f5ae77 100644
--- a/src/libcamera/pipeline/ipu3/imgu.h
+++ b/src/libcamera/pipeline/ipu3/imgu.h
@@ -61,13 +61,6 @@ public:
outputFormat);
}
- int configureStat(const StreamConfiguration &cfg,
- V4L2DeviceFormat *outputFormat)
- {
- return configureVideoDevice(stat_.get(), PAD_STAT, cfg,
- outputFormat);
- }
-
int allocateBuffers(unsigned int bufferCount);
void freeBuffers();