Home
last modified time | relevance | path

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

/device/google/cuttlefish/guest/hals/camera/
DExif.cpp64 static void removeExistingEntry(ExifData* exifData, ExifIfd ifd, int tag) { in removeExistingEntry() argument
65 ExifEntry* entry = exif_content_get_entry(exifData->ifd[ifd], in removeExistingEntry()
68 exif_content_remove_entry(exifData->ifd[ifd], entry); in removeExistingEntry()
92 static bool createEntry(ExifData* exifData, in createEntry() argument
97 removeExistingEntry(exifData, ifd, tag); in createEntry()
98 ExifByteOrder byteOrder = exif_data_get_byte_order(exifData); in createEntry()
100 exif_content_add_entry(exifData->ifd[ifd], entry); in createEntry()
117 static bool createEntry(ExifData* exifData, in createEntry() argument
124 return createEntry(exifData, ifd, tag, values, denominator); in createEntry()
129 static bool createEntry(ExifData* exifData, in createEntry() argument
[all …]
DThumbnail.cpp129 ExifData* exifData) { in createThumbnail() argument
157 exifData->size = compressor.getCompressedSize(); in createThumbnail()
158 exifData->data = reinterpret_cast<unsigned char*>(malloc(exifData->size)); in createThumbnail()
159 if (exifData->data == nullptr) { in createThumbnail()
161 __FUNCTION__, exifData->size); in createThumbnail()
162 exifData->size = 0; in createThumbnail()
165 compressor.getCompressedImage(exifData->data); in createThumbnail()
DCompressor.cpp30 ExifData* exifData) { in compress() argument
37 return compressData(data, exifData); in compress()
101 bool Compressor::compressData(const unsigned char* data, ExifData* exifData) { in compressData() argument
127 attachExifData(exifData); in compressData()
157 bool Compressor::attachExifData(ExifData* exifData) { in attachExifData() argument
158 if (exifData == nullptr) { in attachExifData()
166 exif_data_save_data(exifData, &rawData, &size); in attachExifData()
DCompressor.h42 ExifData* exifData);
72 bool compressData(const unsigned char* data, ExifData* exifData);
73 bool attachExifData(ExifData* exifData);
DJpegCompressor.cpp43 int height, int quality, ExifData* exifData);
70 ExifData* exifData, in compressRawImage() argument
77 return (status_t)(*f)(&mStub, image, width, height, quality, exifData); in compressRawImage()
DJpegStub.cpp41 ExifData* exifData) in JpegStub_compress() argument
46 width, height, quality, exifData)) { in JpegStub_compress()
DCallbackNotifier.cpp247 ExifData* exifData = createExifData(*cameraParameters); in onNextFrameAvailable() local
261 mJpegQuality, exifData)) { in onNextFrameAvailable()
268 status_t res = compressor.compressRawImage(frame, exifData, mJpegQuality, width, height); in onNextFrameAvailable()
283 freeExifData(exifData); in onNextFrameAvailable()
DThumbnail.h32 ExifData* exifData);
DExif.h36 void freeExifData(ExifData* exifData);
DJpegCompressor.h56 status_t compressRawImage(const void* image, ExifData* exifData,
DJpegStub.h38 ExifData* exifData);
/device/generic/goldfish/camera/
DExif.cpp61 static void removeExistingEntry(ExifData* exifData, ExifIfd ifd, int tag) { in removeExistingEntry() argument
62 ExifEntry* entry = exif_content_get_entry(exifData->ifd[ifd], in removeExistingEntry()
65 exif_content_remove_entry(exifData->ifd[ifd], entry); in removeExistingEntry()
89 static bool createEntry(ExifData* exifData, in createEntry() argument
94 removeExistingEntry(exifData, ifd, tag); in createEntry()
95 ExifByteOrder byteOrder = exif_data_get_byte_order(exifData); in createEntry()
97 exif_content_add_entry(exifData->ifd[ifd], entry); in createEntry()
114 static bool createEntry(ExifData* exifData, in createEntry() argument
121 return createEntry(exifData, ifd, tag, values, denominator); in createEntry()
126 static bool createEntry(ExifData* exifData, in createEntry() argument
[all …]
DThumbnail.cpp84 ExifData* exifData) { in createThumbnail() argument
112 exifData->size = compressor.getCompressedSize(); in createThumbnail()
113 exifData->data = reinterpret_cast<unsigned char*>(malloc(exifData->size)); in createThumbnail()
114 if (exifData->data == nullptr) { in createThumbnail()
116 __FUNCTION__, exifData->size); in createThumbnail()
117 exifData->size = 0; in createThumbnail()
120 compressor.getCompressedImage(exifData->data); in createThumbnail()
DJpegCompressor.cpp43 int width, int height, int quality, ExifData* exifData);
73 ExifData* exifData) in compressRawImage() argument
76 return (status_t)(*f)(&mStub, image, width, height, quality, exifData); in compressRawImage()
DCallbackNotifier.cpp287 ExifData* exifData = createExifData(mCameraParameters); in onNextFrameAvailable() local
306 mJpegQuality, exifData)) { in onNextFrameAvailable()
317 mJpegQuality, exifData); in onNextFrameAvailable()
332 freeExifData(exifData); in onNextFrameAvailable()
DThumbnail.h32 ExifData* exifData);
DJpegCompressor.h62 ExifData* exifData);
DExif.h41 void freeExifData(ExifData* exifData);
/device/generic/goldfish/camera/jpeg-stub/
DCompressor.cpp30 ExifData* exifData) { in compress() argument
36 return compressData(data, exifData); in compress()
82 bool Compressor::compressData(const unsigned char* data, ExifData* exifData) { in compressData() argument
107 attachExifData(exifData); in compressData()
132 bool Compressor::attachExifData(ExifData* exifData) { in attachExifData() argument
133 if (exifData == nullptr) { in attachExifData()
141 exif_data_save_data(exifData, &rawData, &size); in attachExifData()
DCompressor.h42 ExifData* exifData);
72 bool compressData(const unsigned char* data, ExifData* exifData);
73 bool attachExifData(ExifData* exifData);
DJpegStub.cpp41 ExifData* exifData) in JpegStub_compress() argument
46 width, height, quality, exifData)) { in JpegStub_compress()
DJpegStub.h38 ExifData* exifData);
/device/generic/goldfish/camera/fake-pipeline2/
DJpegCompressor.cpp159 ExifData* exifData = createExifData(mSettings, mAuxBuffer.width, mAuxBuffer.height); in compress() local
173 thumbJpegQuality, exifData); in compress()
185 jpegQuality, exifData); in compress()
197 freeExifData(exifData); in compress()