Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_ExifInterface.cpp130 piex::PreviewImageData image_data; in getRawAttributes() local
132 if (!GetExifFromRawImage(piexStream.get(), String8("[piex stream]"), image_data)) { in getRawAttributes()
139 if (image_data.thumbnail.length > 0 in getRawAttributes()
140 && image_data.thumbnail.format == ::piex::Image::kJpegCompressed) { in getRawAttributes()
142 map.add(String8("ThumbnailOffset"), String8::format("%d", image_data.thumbnail.offset)); in getRawAttributes()
143 map.add(String8("ThumbnailLength"), String8::format("%d", image_data.thumbnail.length)); in getRawAttributes()
150 String8::format("%u", image_data.exif_orientation)); in getRawAttributes()
153 String8::format("%u", image_data.full_width)); in getRawAttributes()
156 String8::format("%u", image_data.full_height)); in getRawAttributes()
163 if (!image_data.maker.empty()) { in getRawAttributes()
[all …]
Dandroid_mtp_MtpDatabase.cpp879 piex::PreviewImageData image_data; in getObjectInfo() local
880 if (!GetExifFromRawImage(stream.get(), path, image_data)) { in getObjectInfo()
885 info.mThumbCompressedSize = image_data.thumbnail.length; in getObjectInfo()
887 info.mImagePixWidth = image_data.full_width; in getObjectInfo()
888 info.mImagePixHeight = image_data.full_height; in getObjectInfo()
929 piex::PreviewImageData image_data; in getThumbnail() local
930 if (!GetExifFromRawImage(stream.get(), path, image_data)) { in getThumbnail()
935 if (image_data.thumbnail.length == 0 in getThumbnail()
936 || image_data.thumbnail.format != ::piex::Image::kJpegCompressed) { in getThumbnail()
941 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()