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.cpp881 piex::PreviewImageData image_data; in getObjectInfo() local
882 if (!GetExifFromRawImage(stream.get(), path, image_data)) { in getObjectInfo()
887 info.mThumbCompressedSize = image_data.thumbnail.length; in getObjectInfo()
889 info.mImagePixWidth = image_data.full_width; in getObjectInfo()
890 info.mImagePixHeight = image_data.full_height; in getObjectInfo()
932 piex::PreviewImageData image_data; in getThumbnail() local
933 if (!GetExifFromRawImage(stream.get(), path, image_data)) { in getThumbnail()
938 if (image_data.thumbnail.length == 0 in getThumbnail()
939 || image_data.thumbnail.format != ::piex::Image::kJpegCompressed) { in getThumbnail()
944 result = malloc(image_data.thumbnail.length); in getThumbnail()
[all …]
Dandroid_media_Utils.h99 piex::StreamInterface* stream, const String8& filename, piex::PreviewImageData& image_data);
Dandroid_media_Utils.cpp147 piex::PreviewImageData& image_data) { in GetExifFromRawImage() argument
149 image_data = piex::PreviewImageData(); in GetExifFromRawImage()
157 piex::Error err = piex::GetPreviewImageData(stream, &image_data); in GetExifFromRawImage()