Searched refs:totalTempBufferSize (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/drivers/peripheral/camera/vdi_base/common/utils/exif/ |
H A D | exif_utils.cpp | 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 …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, exifData, exifDataLength, sourceData); in AddCustomExifInfo() 317 outPutSize = totalTempBufferSize; in AddCustomExifInfo() [all …]
|
H A D | exif_utils.h | 62 …static uint32_t PackageJpeg(unsigned char *tempBuffer, int32_t totalTempBufferSize, unsigned char …
|