Home
last modified time | relevance | path

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

/hardware/google/camera/common/hal/utils/
Dutils.cc316 camera_metadata_ro_entry_t old_entry; in IsSessionParameterCompatible() local
317 if (old_session->Get(new_entry.tag, &old_entry) != OK) { in IsSessionParameterCompatible()
322 if (new_entry.count != old_entry.count) { in IsSessionParameterCompatible()
326 new_entry.count, old_entry.count); in IsSessionParameterCompatible()
335 int32_t old_min_fps = old_entry.data.i32[0]; in IsSessionParameterCompatible()
336 int32_t old_max_fps = old_entry.data.i32[1]; in IsSessionParameterCompatible()
348 size_t type_size = camera_metadata_type_size[old_entry.type]; in IsSessionParameterCompatible()
349 size_t entry_size = type_size * old_entry.count; in IsSessionParameterCompatible()
350 int32_t cmp = memcmp(new_entry.data.u8, old_entry.data.u8, entry_size); in IsSessionParameterCompatible()