Home
last modified time | relevance | path

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

/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp1541 size_t compactSize = get_camera_metadata_compact_size(md); in sShouldShrink() local
1543 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() local
1553 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()