Home
last modified time | relevance | path

Searched refs:exifData (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifReader.java47 ExifData exifData = new ExifData(parser.getByteOrder()); in read() local
54 exifData.addIfdData(new IfdData(parser.getCurrentIfd())); in read()
61 exifData.getIfdData(tag.getIfd()).setTag(tag); in read()
69 exifData.getIfdData(tag.getIfd()).setTag(tag); in read()
74 exifData.setCompressedThumbnail(buf); in read()
82 exifData.setStripBytes(parser.getStripIndex(), buf); in read()
90 return exifData; in read()
DExifOutputStream.java94 protected void setExifData(ExifData exifData) { in setExifData() argument
95 mExifData = exifData; in setExifData()
/frameworks/av/services/camera/libcameraservice/tests/
DNV12Compressor.cpp53 std::unique_ptr<ExifData> exifData(exif_data_new()); in compressWithExifOrientation() local
54 if (exifData.get() == nullptr) { in compressWithExifOrientation()
58 exif_data_set_option(exifData.get(), EXIF_DATA_OPTION_FOLLOW_SPECIFICATION); in compressWithExifOrientation()
59 exif_data_set_data_type(exifData.get(), EXIF_DATA_TYPE_COMPRESSED); in compressWithExifOrientation()
60 exif_data_set_byte_order(exifData.get(), EXIF_BYTE_ORDER_INTEL); in compressWithExifOrientation()
67 exif_content_add_entry(exifData->ifd[EXIF_IFD_0], exifEntry.get()); in compressWithExifOrientation()
75 return compressData(data, exifData.get()); in compressWithExifOrientation()
137 bool NV12Compressor::compressData(const unsigned char* data, ExifData* exifData) { in compressData() argument
163 attachExifData(exifData); in compressData()
193 bool NV12Compressor::attachExifData(ExifData* exifData) { in attachExifData() argument
[all …]
DNV12Compressor.h129 bool compressData(const unsigned char* data, ExifData* exifData);
130 bool attachExifData(ExifData* exifData);
/frameworks/av/services/camera/libcameraservice/common/
DDepthPhotoProcessor.cpp83 auto exifData = exif_data_new(); in getExifOrientation() local
84 exif_data_load_data(exifData, jpegBuffer, jpegBufferSize); in getExifOrientation()
85 ExifEntry *orientation = exif_content_get_entry(exifData->ifd[EXIF_IFD_0], in getExifOrientation()
89 exif_data_unref(exifData); in getExifOrientation()
93 auto orientationValue = exif_get_short(orientation->data, exif_data_get_byte_order(exifData)); in getExifOrientation()
108 exif_data_unref(exifData); in getExifOrientation()
/frameworks/base/core/java/android/provider/
DMetadataReader.java233 Bundle exifData = getExifData(stream, tags); in getMetadata() local
234 if (exifData.size() > 0) { in getMetadata()
235 metadata.putBundle(DocumentsContract.METADATA_EXIF, exifData); in getMetadata()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1785 public static void setJpegKeys(CaptureRequest.Builder builder, ExifTestData exifData, in setJpegKeys() argument
1788 builder.set(CaptureRequest.JPEG_GPS_LOCATION, exifData.gpsLocation); in setJpegKeys()
1789 builder.set(CaptureRequest.JPEG_ORIENTATION, exifData.jpegOrientation); in setJpegKeys()
1790 builder.set(CaptureRequest.JPEG_QUALITY, exifData.jpegQuality); in setJpegKeys()
1792 exifData.thumbnailQuality); in setJpegKeys()
1798 areGpsFieldsEqual(exifData.gpsLocation, in setJpegKeys()
1801 exifData.jpegOrientation, in setJpegKeys()
1804 exifData.jpegQuality, builder.get(CaptureRequest.JPEG_QUALITY)); in setJpegKeys()
1806 exifData.thumbnailQuality, in setJpegKeys()