diff options
author | Utkarsh Tiwari <utkarsh02t@gmail.com> | 2022-07-26 23:45:42 +0530 |
---|---|---|
committer | Utkarsh Tiwari <utkarsh02t@gmail.com> | 2022-09-05 12:19:50 +0530 |
commit | d182a99e7bff4edd7fd4812087d240b6b9365c45 (patch) | |
tree | 3fa08885d99592f9fac0b7cebf3fba78918a131e /src/android/camera_hal_config.h | |
parent | d598e77aa5500c60694f1f6aa4f95d67edc202ae (diff) |
qcam: Queue requests only through MainWindow::queueRequest()
Currently to request a frame, we operate the camera directly.
This approach is also scattered in two places,
MainWindow::startCapture() and MainWindow::queueRequest().
This makes it difficult to account for requests.
Centralize all the queuing to a single function queueRequest()
Rename the current queueRequest() to renderComplete().
This makes more sense as this slot is triggered when
the render is complete and we want to queue another
request.
Signed-off-by: Utkarsh Tiwari <utkarsh02t@gmail.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/android/camera_hal_config.h')
0 files changed, 0 insertions, 0 deletions