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 12fc524..4f114bc 100644 --- a/libcamera/SecCameraHWInterface.cpp +++ b/libcamera/SecCameraHWInterface.cpp @@ -402,6 +402,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 5ac3e91..a98e935 100644 --- a/libcamera/SecCameraHWInterface.h +++ b/libcamera/SecCameraHWInterface.h @@ -64,6 +64,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); |