Lines Matching refs:entry

47         camera_metadata_entry entry = chars.find(ANDROID_CONTROL_AVAILABLE_SCENE_MODES);  in deriveCameraCharacteristicsKeys()  local
48 if (entry.count > 1 || entry.data.u8[0] != ANDROID_CONTROL_SCENE_MODE_DISABLED) { in deriveCameraCharacteristicsKeys()
56 entry = chars.find(ANDROID_CONTROL_AE_AVAILABLE_MODES); in deriveCameraCharacteristicsKeys()
57 if (entry.count > 0) { in deriveCameraCharacteristicsKeys()
58 for (size_t i = 0; i < entry.count; i++) { in deriveCameraCharacteristicsKeys()
59 if (entry.data.u8[i] == ANDROID_CONTROL_AE_MODE_OFF) { in deriveCameraCharacteristicsKeys()
65 entry = chars.find(ANDROID_CONTROL_AF_AVAILABLE_MODES); in deriveCameraCharacteristicsKeys()
66 if (entry.count > 0) { in deriveCameraCharacteristicsKeys()
67 for (size_t i = 0; i < entry.count; i++) { in deriveCameraCharacteristicsKeys()
68 if (entry.data.u8[i] == ANDROID_CONTROL_AF_MODE_OFF) { in deriveCameraCharacteristicsKeys()
74 entry = chars.find(ANDROID_CONTROL_AWB_AVAILABLE_MODES); in deriveCameraCharacteristicsKeys()
75 if (entry.count > 0) { in deriveCameraCharacteristicsKeys()
76 for (size_t i = 0; i < entry.count; i++) { in deriveCameraCharacteristicsKeys()
77 if (entry.data.u8[i] == ANDROID_CONTROL_AWB_MODE_OFF) { in deriveCameraCharacteristicsKeys()
89 entry = chars.find(ANDROID_REQUEST_AVAILABLE_REQUEST_KEYS); in deriveCameraCharacteristicsKeys()
92 if (entry.count > 0) { in deriveCameraCharacteristicsKeys()
93 for (size_t i = 0; i < entry.count; i++) { in deriveCameraCharacteristicsKeys()
94 if (entry.data.i32[i] == ANDROID_SHADING_MODE) { in deriveCameraCharacteristicsKeys()
120 entry = chars.find(ANDROID_CONTROL_AVAILABLE_HIGH_SPEED_VIDEO_CONFIGURATIONS); in deriveCameraCharacteristicsKeys()
121 if (entry.count > 0) { in deriveCameraCharacteristicsKeys()
123 for (size_t i = 0; i < entry.count; i += 4) { in deriveCameraCharacteristicsKeys()
124 highSpeedConfig.add(entry.data.i32[i]); // width in deriveCameraCharacteristicsKeys()
125 highSpeedConfig.add(entry.data.i32[i + 1]); // height in deriveCameraCharacteristicsKeys()
126 highSpeedConfig.add(entry.data.i32[i + 2]); // fps_min in deriveCameraCharacteristicsKeys()
127 highSpeedConfig.add(entry.data.i32[i + 3]); // fps_max in deriveCameraCharacteristicsKeys()
138 camera_metadata_entry entry = chars.find(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS); in deriveCameraCharacteristicsKeys() local
148 for (size_t i=0; i < entry.count; i += STREAM_CONFIGURATION_SIZE) { in deriveCameraCharacteristicsKeys()
149 int32_t format = entry.data.i32[i + STREAM_FORMAT_OFFSET]; in deriveCameraCharacteristicsKeys()
150 int32_t width = entry.data.i32[i + STREAM_WIDTH_OFFSET]; in deriveCameraCharacteristicsKeys()
151 int32_t height = entry.data.i32[i + STREAM_HEIGHT_OFFSET]; in deriveCameraCharacteristicsKeys()
152 int32_t isInput = entry.data.i32[i + STREAM_IS_INPUT_OFFSET]; in deriveCameraCharacteristicsKeys()
172 entry = chars.find(ANDROID_SENSOR_OPAQUE_RAW_SIZE); in deriveCameraCharacteristicsKeys()
173 if (entry.count == 0) { in deriveCameraCharacteristicsKeys()
183 entry = chars.find(ANDROID_CONTROL_POST_RAW_SENSITIVITY_BOOST_RANGE); in deriveCameraCharacteristicsKeys()
184 if (entry.count == 0) { in deriveCameraCharacteristicsKeys()
198 camera_metadata_entry entry = chars.find(ANDROID_SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE); in deriveCameraCharacteristicsKeys() local
199 if (entry.count == 0) { in deriveCameraCharacteristicsKeys()
201 entry = chars.find(ANDROID_SENSOR_INFO_ACTIVE_ARRAY_SIZE); in deriveCameraCharacteristicsKeys()
202 preCorrectionArray.appendArray(entry.data.i32, entry.count); in deriveCameraCharacteristicsKeys()
226 camera_metadata_entry entry = chars.find(keyTag); in appendAvailableKeys() local
228 availableKeys.setCapacity(entry.count + appendKeys.size()); in appendAvailableKeys()
229 for (size_t i = 0; i < entry.count; i++) { in appendAvailableKeys()
230 availableKeys.push(entry.data.i32[i]); in appendAvailableKeys()
511 camera_metadata_ro_entry_t entry = in isLogicalMultiCamera() local
513 const uint8_t* ids = entry.data.u8; in isLogicalMultiCamera()
515 for (size_t i = 0; i < entry.count; ++i) { in isLogicalMultiCamera()