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>
This commit is contained in:
parent
ec2402a1ad
commit
7f85673e13
2 changed files with 20 additions and 20 deletions
|
@ -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_;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue