libcamera: request: Rename Private::reuse() to Private::reset()

The Request::Private::reuse() is different from Request::reuse().
It resets the members of Request::Private to default values hence,
rename it to a more appropriate Request::Private::reset().

Update the usage and documentation accordingly.

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Umang Jain
2022-08-30 19:03:21 +05:30
parent 48d7bb29bd
commit 5eb7be6a0a
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ public:
bool completeBuffer(FrameBuffer *buffer);
void complete();
void cancel();
void reuse();
void reset();
void prepare(std::chrono::milliseconds timeout = 0ms);
Signal<> prepared;