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.h71 TV4L2 raw_conversion = 0; in MetadataToV4L2() local
72 int res = wrapped_converter_->MetadataToV4L2(value, &raw_conversion); in MetadataToV4L2()
79 raw_conversion -= (raw_conversion - min_) % step_; in MetadataToV4L2()
82 if (raw_conversion < min_) { in MetadataToV4L2()
83 raw_conversion = min_; in MetadataToV4L2()
84 } else if (raw_conversion > max_) { in MetadataToV4L2()
85 raw_conversion = max_; in MetadataToV4L2()
88 *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()