Home
last modified time | relevance | path

Searched refs:image_data (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp880 piex::PreviewImageData image_data; in getObjectInfo() local
881 if (!GetExifFromRawImage(stream.get(), path, image_data)) { in getObjectInfo()
886 info.mThumbCompressedSize = image_data.thumbnail.length; in getObjectInfo()
888 info.mImagePixWidth = image_data.full_width; in getObjectInfo()
889 info.mImagePixHeight = image_data.full_height; in getObjectInfo()
930 piex::PreviewImageData image_data; in getThumbnail() local
931 if (!GetExifFromRawImage(stream.get(), path, image_data)) { in getThumbnail()
936 if (image_data.thumbnail.length == 0 in getThumbnail()
937 || image_data.thumbnail.format != ::piex::Image::kJpegCompressed) { in getThumbnail()
942 result = malloc(image_data.thumbnail.length); in getThumbnail()
[all …]
Dandroid_media_Utils.h100 piex::StreamInterface* stream, const String8& filename, piex::PreviewImageData& image_data);
Dandroid_media_Utils.cpp146 piex::PreviewImageData& image_data) { in GetExifFromRawImage() argument
148 image_data = piex::PreviewImageData(); in GetExifFromRawImage()
156 piex::Error err = piex::GetPreviewImageData(stream, &image_data); in GetExifFromRawImage()