diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-12-24 17:54:07 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-03-03 00:59:15 +0200 |
commit | 97a118680b1e744f49bb59ca140e4a4ded9718ef (patch) | |
tree | 160c78b43a811df0b653d6b14887350a8965e865 | |
parent | fe29aa676162ae73c8a85b77705c3dbf296d46f4 (diff) |
libcamera: pipeline: simple: Drop unused members of configuration
The SimpleCameraConfiguration class has a sensorFormat_ member variable
and a corresponding accessor that are never used. Drop them.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Phi-Bang Nguyen <pnguyen@baylibre.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
-rw-r--r-- | src/libcamera/pipeline/simple/simple.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp index b71f4267..a5e81a01 100644 --- a/src/libcamera/pipeline/simple/simple.cpp +++ b/src/libcamera/pipeline/simple/simple.cpp @@ -94,8 +94,6 @@ public: Status validate() override; - const V4L2SubdeviceFormat &sensorFormat() { return sensorFormat_; } - bool needConversion() const { return needConversion_; } private: @@ -107,7 +105,6 @@ private: std::shared_ptr<Camera> camera_; const SimpleCameraData *data_; - V4L2SubdeviceFormat sensorFormat_; bool needConversion_; }; |