/device/google/cuttlefish/guest/hals/camera/ |
D | Exif.cpp | 64 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 …]
|
D | Thumbnail.cpp | 129 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()
|
D | Compressor.cpp | 30 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()
|
D | Compressor.h | 42 ExifData* exifData); 72 bool compressData(const unsigned char* data, ExifData* exifData); 73 bool attachExifData(ExifData* exifData);
|
D | JpegCompressor.cpp | 43 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()
|
D | JpegStub.cpp | 41 ExifData* exifData) in JpegStub_compress() argument 46 width, height, quality, exifData)) { in JpegStub_compress()
|
D | CallbackNotifier.cpp | 247 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()
|
D | Thumbnail.h | 32 ExifData* exifData);
|
D | Exif.h | 36 void freeExifData(ExifData* exifData);
|
D | JpegCompressor.h | 56 status_t compressRawImage(const void* image, ExifData* exifData,
|
D | JpegStub.h | 38 ExifData* exifData);
|
/device/generic/goldfish/camera/ |
D | Exif.cpp | 61 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 …]
|
D | Thumbnail.cpp | 84 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()
|
D | JpegCompressor.cpp | 43 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()
|
D | CallbackNotifier.cpp | 287 ExifData* exifData = createExifData(mCameraParameters); in onNextFrameAvailable() local 306 mJpegQuality, exifData)) { in onNextFrameAvailable() 317 mJpegQuality, exifData); in onNextFrameAvailable() 332 freeExifData(exifData); in onNextFrameAvailable()
|
D | Thumbnail.h | 32 ExifData* exifData);
|
D | JpegCompressor.h | 62 ExifData* exifData);
|
D | Exif.h | 41 void freeExifData(ExifData* exifData);
|
/device/generic/goldfish/camera/jpeg-stub/ |
D | Compressor.cpp | 30 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()
|
D | Compressor.h | 42 ExifData* exifData); 72 bool compressData(const unsigned char* data, ExifData* exifData); 73 bool attachExifData(ExifData* exifData);
|
D | JpegStub.cpp | 41 ExifData* exifData) in JpegStub_compress() argument 46 width, height, quality, exifData)) { in JpegStub_compress()
|
D | JpegStub.h | 38 ExifData* exifData);
|
/device/generic/goldfish/camera/fake-pipeline2/ |
D | JpegCompressor.cpp | 159 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()
|