Searched refs:raw_conversion (Results 1 – 2 of 2) sorted by relevance
72 TV4L2 raw_conversion = 0; in MetadataToV4L2() local73 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()
70 TMapKey raw_conversion = 0; in MetadataToV4L2() local71 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()