diff options
author | Nick Chusid <nchusid@google.com> | 2021-06-08 21:47:53 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-06-08 21:47:53 +0000 |
commit | 8060966efdb8f1142dfa4f864adf07d3aade8536 (patch) | |
tree | a01ef945ef570b8e5691cc0a12e28de37d42ada2 /src/piex.h | |
parent | 1c7d7561df9772e8bc2bf7f84a6fb00c4c0c82b5 (diff) | |
parent | 81b491ff16e36597b7ffbba3117ab9d31bdac533 (diff) | |
download | piex-8060966efdb8f1142dfa4f864adf07d3aade8536.tar.gz |
Add support for CR3s with embedded heif thumbnails am: 5c5b671ef7 am: 81b491ff16
Original change: https://android-review.googlesource.com/c/platform/external/piex/+/1726814
Change-Id: I62117798f535826d6780c0816f92bf8121754ccb
Diffstat (limited to 'src/piex.h')
-rw-r--r-- | src/piex.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -49,6 +49,7 @@ #include <string> #include <vector> +#include "src/image_type_recognition/image_type_recognition_lite.h" #include "src/piex_types.h" namespace piex { @@ -70,8 +71,11 @@ bool IsRaw(StreamInterface* data); // // One could check the "preview_image_data->preview_length != 0" for the // existance of a preview image. -Error GetPreviewImageData(StreamInterface* data, - PreviewImageData* preview_image_data); +// +// Updates output_type based on data, if output_type is non-null. +Error GetPreviewImageData( + StreamInterface* data, PreviewImageData* preview_image_data, + image_type_recognition::RawImageTypes* output_type = nullptr); // Returns true if the full width and height and the mosaic pattern dimension of // a DNG image could be obtained. False otherwise. |