android: camera_request: Turn struct into a class
The Camera3RequestDescriptor structure is growing into an object with member functions. Turn it into a class, uninline the destructor to reduce code size, explicitly disable copy as requests are not copyable, and delete the default constructor to force all instances to be fully constructed. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
This commit is contained in:
committed by
Umang Jain
parent
109a98e8c0
commit
030c8f1a7e
@@ -33,7 +33,7 @@
|
||||
#include "camera_worker.h"
|
||||
#include "jpeg/encoder.h"
|
||||
|
||||
struct Camera3RequestDescriptor;
|
||||
class Camera3RequestDescriptor;
|
||||
struct CameraConfigData;
|
||||
|
||||
class CameraDevice : protected libcamera::Loggable
|
||||
|
||||
Reference in New Issue
Block a user