Lines Matching refs:characteristics
211 const SensorCharacteristics& characteristics) { in AreCharacteristicsSupported() argument
212 if ((characteristics.width == 0) || (characteristics.height == 0)) { in AreCharacteristicsSupported()
214 characteristics.width, characteristics.height); in AreCharacteristicsSupported()
218 if ((characteristics.full_res_width == 0) || in AreCharacteristicsSupported()
219 (characteristics.full_res_height == 0)) { in AreCharacteristicsSupported()
221 characteristics.full_res_width, characteristics.full_res_height); in AreCharacteristicsSupported()
225 if (characteristics.is_10bit_dynamic_range_capable) { in AreCharacteristicsSupported()
227 const auto& hlg10_entry = characteristics.dynamic_range_profiles.find( in AreCharacteristicsSupported()
229 if ((characteristics.dynamic_range_profiles.size() != 1) || in AreCharacteristicsSupported()
230 (hlg10_entry == characteristics.dynamic_range_profiles.end())) { in AreCharacteristicsSupported()
236 if ((characteristics.exposure_time_range[0] >= in AreCharacteristicsSupported()
237 characteristics.exposure_time_range[1]) || in AreCharacteristicsSupported()
238 ((characteristics.exposure_time_range[0] < kSupportedExposureTimeRange[0]) || in AreCharacteristicsSupported()
239 (characteristics.exposure_time_range[1] > in AreCharacteristicsSupported()
245 if ((characteristics.frame_duration_range[0] >= in AreCharacteristicsSupported()
246 characteristics.frame_duration_range[1]) || in AreCharacteristicsSupported()
247 ((characteristics.frame_duration_range[0] < in AreCharacteristicsSupported()
249 (characteristics.frame_duration_range[1] > in AreCharacteristicsSupported()
255 if ((characteristics.sensitivity_range[0] >= in AreCharacteristicsSupported()
256 characteristics.sensitivity_range[1]) || in AreCharacteristicsSupported()
257 ((characteristics.sensitivity_range[0] < kSupportedSensitivityRange[0]) || in AreCharacteristicsSupported()
258 (characteristics.sensitivity_range[1] > kSupportedSensitivityRange[1])) || in AreCharacteristicsSupported()
259 (!((kDefaultSensitivity >= characteristics.sensitivity_range[0]) && in AreCharacteristicsSupported()
260 (kDefaultSensitivity <= characteristics.sensitivity_range[1])))) { in AreCharacteristicsSupported()
265 if (characteristics.color_arangement != kSupportedColorFilterArrangement) { in AreCharacteristicsSupported()
270 for (const auto& blackLevel : characteristics.black_level_pattern) { in AreCharacteristicsSupported()
271 if (blackLevel >= characteristics.max_raw_value) { in AreCharacteristicsSupported()
277 if ((characteristics.frame_duration_range[0] / characteristics.height) == 0) { in AreCharacteristicsSupported()
282 if (characteristics.max_raw_streams > kMaxRAWStreams) { in AreCharacteristicsSupported()
284 __FUNCTION__, characteristics.max_raw_streams, kMaxRAWStreams); in AreCharacteristicsSupported()
288 if (characteristics.max_processed_streams > kMaxProcessedStreams) { in AreCharacteristicsSupported()
290 __FUNCTION__, characteristics.max_processed_streams, in AreCharacteristicsSupported()
295 if (characteristics.max_stalling_streams > kMaxStallingStreams) { in AreCharacteristicsSupported()
297 __FUNCTION__, characteristics.max_stalling_streams, in AreCharacteristicsSupported()
302 if (characteristics.max_input_streams > kMaxInputStreams) { in AreCharacteristicsSupported()
304 __FUNCTION__, characteristics.max_input_streams, kMaxInputStreams); in AreCharacteristicsSupported()
308 if ((characteristics.lens_shading_map_size[0] > kMaxLensShadingMapSize[0]) || in AreCharacteristicsSupported()
309 (characteristics.lens_shading_map_size[1] > kMaxLensShadingMapSize[1])) { in AreCharacteristicsSupported()
311 __FUNCTION__, characteristics.lens_shading_map_size[0], in AreCharacteristicsSupported()
312 characteristics.lens_shading_map_size[1], kMaxLensShadingMapSize[0], in AreCharacteristicsSupported()
317 if (characteristics.max_pipeline_depth < kPipelineDepth) { in AreCharacteristicsSupported()
319 __FUNCTION__, characteristics.max_pipeline_depth, kPipelineDepth); in AreCharacteristicsSupported()