Home
last modified time | relevance | path

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

/hardware/libhardware/modules/camera/3_4/metadata/
Dranged_converter.h72 TV4L2 raw_conversion = 0; in MetadataToV4L2() local
73 int res = wrapped_converter_->MetadataToV4L2(value, &raw_conversion); in MetadataToV4L2()
80 raw_conversion -= (raw_conversion - min_) % step_; in MetadataToV4L2()
83 if (raw_conversion < min_) { in MetadataToV4L2()
84 raw_conversion = min_; in MetadataToV4L2()
85 } else if (raw_conversion > max_) { in MetadataToV4L2()
86 raw_conversion = max_; in MetadataToV4L2()
89 *conversion = raw_conversion; in MetadataToV4L2()
Dmap_converter.h70 TMapKey raw_conversion = 0; in MetadataToV4L2() local
71 int res = wrapped_converter_->MetadataToV4L2(value, &raw_conversion); in MetadataToV4L2()
78 auto kv = conversion_map_.lower_bound(raw_conversion); in MetadataToV4L2()
91 TMapKey diff = kv->first - raw_conversion; in MetadataToV4L2()
96 if (raw_conversion - kv->first < diff) { in MetadataToV4L2()