Lines Matching refs:metadata
31 static int64_t GetLastStreamUseCase(const HalCameraMetadata* metadata) { in GetLastStreamUseCase() argument
38 ret = metadata->Get(ANDROID_SCALER_AVAILABLE_STREAM_USE_CASES, &entry); in GetLastStreamUseCase()
48 status_t SupportsSessionHalBufManager(const HalCameraMetadata* metadata, in SupportsSessionHalBufManager() argument
50 if ((metadata == nullptr) || (result == nullptr)) { in SupportsSessionHalBufManager()
57 ret = metadata->Get(ANDROID_INFO_SUPPORTED_BUFFER_MANAGEMENT_VERSION, &entry); in SupportsSessionHalBufManager()
72 status_t GetSensorCharacteristics(const HalCameraMetadata* metadata, in GetSensorCharacteristics() argument
74 if ((metadata == nullptr) || (sensor_chars == nullptr)) { in GetSensorCharacteristics()
80 ret = metadata->Get(ANDROID_SENSOR_INFO_PIXEL_ARRAY_SIZE, &entry); in GetSensorCharacteristics()
90 ret = metadata->Get(ANDROID_SENSOR_INFO_PIXEL_ARRAY_SIZE_MAXIMUM_RESOLUTION, in GetSensorCharacteristics()
99 ret = metadata->Get(ANDROID_SENSOR_INFO_ACTIVE_ARRAY_SIZE, &entry); in GetSensorCharacteristics()
102 if (google_camera_hal::utils::GetSensorActiveArraySize(metadata, &rect) != in GetSensorCharacteristics()
129 ret = metadata->Get(ANDROID_REQUEST_MAX_NUM_OUTPUT_STREAMS, &entry); in GetSensorCharacteristics()
140 metadata, in GetSensorCharacteristics()
142 ret = metadata->Get(ANDROID_REQUEST_AVAILABLE_DYNAMIC_RANGE_PROFILES_MAP, in GetSensorCharacteristics()
172 metadata, in GetSensorCharacteristics()
174 ret = metadata->Get(ANDROID_REQUEST_AVAILABLE_COLOR_SPACE_PROFILES_MAP, in GetSensorCharacteristics()
218 if (HasCapability(metadata, in GetSensorCharacteristics()
220 ret = metadata->Get(ANDROID_SENSOR_INFO_EXPOSURE_TIME_RANGE, &entry); in GetSensorCharacteristics()
230 ret = metadata->Get(ANDROID_SENSOR_INFO_MAX_FRAME_DURATION, &entry); in GetSensorCharacteristics()
239 ret = metadata->Get(ANDROID_SENSOR_INFO_SENSITIVITY_RANGE, &entry); in GetSensorCharacteristics()
259 if (HasCapability(metadata, ANDROID_REQUEST_AVAILABLE_CAPABILITIES_RAW)) { in GetSensorCharacteristics()
260 ret = metadata->Get(ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT, &entry); in GetSensorCharacteristics()
271 ret = metadata->Get(ANDROID_SENSOR_INFO_WHITE_LEVEL, &entry); in GetSensorCharacteristics()
278 ret = metadata->Get(ANDROID_SENSOR_BLACK_LEVEL_PATTERN, &entry); in GetSensorCharacteristics()
288 ret = metadata->Get(ANDROID_LENS_INFO_SHADING_MAP_SIZE, &entry); in GetSensorCharacteristics()
297 ret = metadata->Get(ANDROID_SENSOR_COLOR_TRANSFORM1, &entry); in GetSensorCharacteristics()
316 ret = metadata->Get(ANDROID_SENSOR_FORWARD_MATRIX1, &entry); in GetSensorCharacteristics()
342 metadata, in GetSensorCharacteristics()
344 HasCapability(metadata, in GetSensorCharacteristics()
346 ret = metadata->Get(ANDROID_REQUEST_MAX_NUM_INPUT_STREAMS, &entry); in GetSensorCharacteristics()
355 ret = metadata->Get(ANDROID_REQUEST_PIPELINE_MAX_DEPTH, &entry); in GetSensorCharacteristics()
368 ret = metadata->Get(ANDROID_SENSOR_ORIENTATION, &entry); in GetSensorCharacteristics()
376 ret = metadata->Get(ANDROID_LENS_FACING, &entry); in GetSensorCharacteristics()
387 if (HasCapability(metadata, in GetSensorCharacteristics()
390 sensor_chars->end_valid_stream_use_case = GetLastStreamUseCase(metadata); in GetSensorCharacteristics()