diff options
author | Umang Jain <umang.jain@ideasonboard.com> | 2024-06-24 19:18:58 +0530 |
---|---|---|
committer | Umang Jain <umang.jain@ideasonboard.com> | 2024-07-03 10:36:55 +0530 |
commit | 7f85673e13a034908e773a6bf421ca880ef0ab4a (patch) | |
tree | ae105daf6b0e9592b53721be11df9d3000a2f74b /include | |
parent | ec2402a1ad316cddecc4edda96fa0c3d3e671d9d (diff) |
converter: converter_v4l2_m2m: Rename private Stream class
Rename the private Stream class from V4L2M2MConverter::Stream to
V4L2M2MConverter::V4L2M2MStream. This is done to improve readability
of the code when we drop the handling of stream by indexes in a
subsequent patch.
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libcamera/internal/converter/converter_v4l2_m2m.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libcamera/internal/converter/converter_v4l2_m2m.h b/include/libcamera/internal/converter/converter_v4l2_m2m.h index 1126050c..0da62290 100644 --- a/include/libcamera/internal/converter/converter_v4l2_m2m.h +++ b/include/libcamera/internal/converter/converter_v4l2_m2m.h @@ -57,10 +57,10 @@ public: const std::map<unsigned int, FrameBuffer *> &outputs); private: - class Stream : protected Loggable + class V4L2M2MStream : protected Loggable { public: - Stream(V4L2M2MConverter *converter, unsigned int index); + V4L2M2MStream(V4L2M2MConverter *converter, unsigned int index); bool isValid() const { return m2m_ != nullptr; } @@ -91,7 +91,7 @@ private: std::unique_ptr<V4L2M2MDevice> m2m_; - std::vector<Stream> streams_; + std::vector<V4L2M2MStream> streams_; std::map<FrameBuffer *, unsigned int> queue_; }; |