Searched refs:totalTempBufferSize (Results 1 - 2 of 2) sorted by relevance
/drivers/peripheral/camera/vdi_base/common/utils/exif/ |
H A D | exif_utils.cpp | 201 uint32_t ExifUtils::PackageJpeg(unsigned char *tempBuffer, int32_t totalTempBufferSize, unsigned char *exifData, in PackageJpeg() argument 209 if (memcpy_s(tempBuffer, totalTempBufferSize, EXIF_HEADER, EXIF_HEADER_LENGTH) != 0) { in PackageJpeg() 213 if (memcpy_s(tempBuffer + EXIF_HEADER_LENGTH, totalTempBufferSize, &orderValue, in PackageJpeg() 218 if (memcpy_s(tempBuffer + EXIF_HEADER_LENGTH + sizeof(orderValue), totalTempBufferSize, &value, in PackageJpeg() 223 if (memcpy_s(tempBuffer + EXIF_HEADER_LENGTH + sizeof(orderValue) + sizeof(value), totalTempBufferSize, in PackageJpeg() 229 totalTempBufferSize, in PackageJpeg() 281 int32_t totalTempBufferSize = 0; in AddCustomExifInfo() local 309 totalTempBufferSize = EXIF_HEADER_LENGTH + exifBlockLength + exifDataLength + in AddCustomExifInfo() 311 tempBuffer = static_cast<unsigned char *>(malloc(totalTempBufferSize)); in AddCustomExifInfo() 316 ret = PackageJpeg(tempBuffer, totalTempBufferSize, exifDat in AddCustomExifInfo() [all...] |
H A D | exif_utils.h | 62 static uint32_t PackageJpeg(unsigned char *tempBuffer, int32_t totalTempBufferSize, unsigned char *exifData,
|
Completed in 2 milliseconds