diff options
Diffstat (limited to 'libcamera')
-rw-r--r-- | libcamera/SecCameraHWInterface.cpp | 5 | ||||
-rw-r--r-- | libcamera/SecCameraHWInterface.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libcamera/SecCameraHWInterface.cpp b/libcamera/SecCameraHWInterface.cpp index 7e36a9d..85e0c01 100644 --- a/libcamera/SecCameraHWInterface.cpp +++ b/libcamera/SecCameraHWInterface.cpp @@ -366,6 +366,11 @@ CameraHardwareSec::~CameraHardwareSec() singleton.clear(); } +status_t CameraHardwareSec::setPreviewWindow(const sp<ANativeWindow>& buf) +{ + return NO_ERROR; +} + sp<IMemoryHeap> CameraHardwareSec::getPreviewHeap() const { return mPreviewHeap; diff --git a/libcamera/SecCameraHWInterface.h b/libcamera/SecCameraHWInterface.h index 724d1bc..150de62 100644 --- a/libcamera/SecCameraHWInterface.h +++ b/libcamera/SecCameraHWInterface.h @@ -63,6 +63,7 @@ public: virtual CameraParameters getParameters() const; virtual status_t sendCommand(int32_t command, int32_t arg1, int32_t arg2); + virtual status_t setPreviewWindow(const sp<ANativeWindow>& buf); virtual void release(); static sp<CameraHardwareInterface> createInstance(int cameraId); |