Searched refs:compactSize (Results 1 – 1 of 1) sorted by relevance
1541 size_t compactSize = get_camera_metadata_compact_size(md); in sShouldShrink() local1543 if (totalSize >= compactSize + METADATA_SHRINK_ABS_THRESHOLD && in sShouldShrink()1544 totalSize >= compactSize * METADATA_SHRINK_REL_THRESHOLD) { in sShouldShrink()1545 ALOGV("Camera metadata should be shrunk from %zu to %zu", totalSize, compactSize); in sShouldShrink()1552 size_t compactSize = get_camera_metadata_compact_size(src); in sCreateCompactCopy() local1553 void* buffer = calloc(1, compactSize); in sCreateCompactCopy()1555 ALOGE("%s: Allocating %zu bytes failed", __FUNCTION__, compactSize); in sCreateCompactCopy()1557 return copy_camera_metadata(buffer, compactSize, src); in sCreateCompactCopy()