diff options
author | Arian <arian.kulmer@web.de> | 2022-08-20 00:31:27 +0200 |
---|---|---|
committer | sinanmohd <pcmsinan@gmail.com> | 2023-01-05 21:30:23 +0530 |
commit | 78c408eb4abc0648ebb7fe369fc6595c688f3e83 (patch) | |
tree | e5e3b570e6e538223d9332d6204f866e6ab35204 /camera/libpiex_shim.cpp | |
parent | 9a0a2da53003775eb965207e47fd84c607d001da (diff) |
veux: Improve camera shim
Change-Id: Id11965102d7d5dce50f989c99810cda6a43aa1ec
Diffstat (limited to 'camera/libpiex_shim.cpp')
-rw-r--r-- | camera/libpiex_shim.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/camera/libpiex_shim.cpp b/camera/libpiex_shim.cpp index 2ce9e19..8843a5f 100644 --- a/camera/libpiex_shim.cpp +++ b/camera/libpiex_shim.cpp @@ -1,17 +1,16 @@ +/* + * Copyright (C) 2022 The LineageOS Project + * + * SPDX-License-Identifier: Apache-2.0 + */ + #include <src/piex.h> namespace piex { -using image_type_recognition::RawImageTypes; - -extern "C" void - _ZN4piex19GetPreviewImageDataEPNS_15StreamInterfaceEPNS_16PreviewImageDataEPNS_22image_type_recognition13RawImageTypesE( - StreamInterface* data, PreviewImageData* preview_image_data, RawImageTypes* output_type); - - -extern "C" void _ZN4piex19GetPreviewImageDataEPNS_15StreamInterfaceEPNS_16PreviewImageDataE( - StreamInterface* data, PreviewImageData* preview_image_data) { - return _ZN4piex19GetPreviewImageDataEPNS_15StreamInterfaceEPNS_16PreviewImageDataEPNS_22image_type_recognition13RawImageTypesE(data, preview_image_data, nullptr); +Error GetPreviewImageData(StreamInterface* data, + PreviewImageData* preview_image_data) { + return GetPreviewImageData(data, preview_image_data, nullptr); } } // namespace piex
\ No newline at end of file |