Home
last modified time | relevance | path

Searched refs:chars (Results 1 – 25 of 36) sorted by relevance

12

/hardware/interfaces/camera/common/default/
DCameraModule.cpp31 void CameraModule::deriveCameraCharacteristicsKeys(uint32_t deviceVersion, CameraMetadata& chars) { in deriveCameraCharacteristicsKeys() argument
41 chars.update(ANDROID_CONTROL_AE_LOCK_AVAILABLE, &data, /*count*/ 1); in deriveCameraCharacteristicsKeys()
43 chars.update(ANDROID_CONTROL_AWB_LOCK_AVAILABLE, &data, /*count*/ 1); in deriveCameraCharacteristicsKeys()
45 camera_metadata_entry entry = chars.find(ANDROID_CONTROL_AVAILABLE_SCENE_MODES); in deriveCameraCharacteristicsKeys()
54 entry = chars.find(ANDROID_CONTROL_AE_AVAILABLE_MODES); in deriveCameraCharacteristicsKeys()
63 entry = chars.find(ANDROID_CONTROL_AF_AVAILABLE_MODES); in deriveCameraCharacteristicsKeys()
72 entry = chars.find(ANDROID_CONTROL_AWB_AVAILABLE_MODES); in deriveCameraCharacteristicsKeys()
85 chars.update(ANDROID_CONTROL_AVAILABLE_MODES, controlModes); in deriveCameraCharacteristicsKeys()
87 entry = chars.find(ANDROID_REQUEST_AVAILABLE_REQUEST_KEYS); in deriveCameraCharacteristicsKeys()
107 chars.update(ANDROID_SHADING_AVAILABLE_MODES, lscModes); in deriveCameraCharacteristicsKeys()
[all …]
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedSensor.cpp1415 const SensorCharacteristics& chars) { in RemosaicRAW16Image() argument
1416 if (chars.full_res_width % 2 != 0 || chars.full_res_height % 2 != 0) { in RemosaicRAW16Image()
1420 __FUNCTION__, chars.full_res_height, chars.full_res_width); in RemosaicRAW16Image()
1423 for (uint32_t i = 0; i < chars.full_res_width; i += 4) { in RemosaicRAW16Image()
1424 for (uint32_t j = 0; j < chars.full_res_height; j += 4) { in RemosaicRAW16Image()
1433 const SensorCharacteristics& chars) { in CaptureRawBinned() argument
1434 CaptureRaw(img, row_stride_in_bytes, gain, chars, /*in_sensor_zoom*/ false, in CaptureRawBinned()
1442 const SensorCharacteristics& chars) { in CaptureRawInSensorZoom() argument
1443 CaptureRaw(img, row_stride_in_bytes, gain, chars, /*in_sensor_zoom*/ true, in CaptureRawInSensorZoom()
1450 const SensorCharacteristics& chars) { in CaptureRawFullRes() argument
[all …]
DEmulatedSensor.h405 const SensorCharacteristics& chars);
408 const SensorCharacteristics& chars);
411 uint32_t gain, const SensorCharacteristics& chars);
413 uint32_t gain, const SensorCharacteristics& chars);
415 const SensorCharacteristics& chars, bool in_sensor_zoom,
421 int32_t color_space, const SensorCharacteristics& chars);
424 int32_t color_space, const SensorCharacteristics& chars);
426 uint32_t stride, const SensorCharacteristics& chars);
429 const SensorCharacteristics& chars);
442 const SensorCharacteristics& chars);
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/
DStreamConfigurationMap.cpp116 StreamConfigurationMap::StreamConfigurationMap(const HalCameraMetadata& chars, in StreamConfigurationMap() argument
120 auto ret = chars.Get(maxResolution ? kScalerStreamConfigurationsMaxRes in StreamConfigurationMap()
132 ret = chars.Get(maxResolution ? kDepthStreamConfigurationsMaxRes in StreamConfigurationMap()
140 ret = chars.Get( in StreamConfigurationMap()
152 ret = chars.Get( in StreamConfigurationMap()
159 ret = chars.Get( in StreamConfigurationMap()
171 ret = chars.Get( in StreamConfigurationMap()
177 ret = chars.Get(maxResolution ? kScalerInputOutputFormatsMapMaxRes in StreamConfigurationMap()
201 ret = chars.Get( in StreamConfigurationMap()
DStreamConfigurationMap.h57 StreamConfigurationMap(const HalCameraMetadata& chars,
/hardware/interfaces/camera/common/default/include/
DCameraModule.h79 static void deriveCameraCharacteristicsKeys(uint32_t deviceVersion, CameraMetadata& chars);
81 static void appendAvailableKeys(CameraMetadata& chars, int32_t keyTag,
/hardware/interfaces/camera/device/3.6/default/
DExternalCameraDevice.cpp41 const common::V1_0::helper::CameraMetadata& chars, in createSession() argument
45 cb, cfg, sortedFormats, croppingType, chars, cameraId, std::move(v4l2Fd)); in createSession()
DExternalCameraDeviceSession.cpp35 const common::V1_0::helper::CameraMetadata& chars, in ExternalCameraDeviceSession() argument
39 callback, cfg, sortedFormats, croppingType, chars, cameraId, std::move(v4l2Fd)) { in ExternalCameraDeviceSession()
DExternalCameraOfflineSession.cpp51 const common::V1_0::helper::CameraMetadata& chars, in ExternalCameraOfflineSession() argument
60 mCroppingType(croppingType), mChars(chars), mCameraId(cameraId), in ExternalCameraOfflineSession()
/hardware/interfaces/keymaster/4.1/support/
DKeymaster3.cpp93 KeyCharacteristics convert(const V3_0::KeyCharacteristics& chars) { in convert() argument
95 converted.hardwareEnforced = convert(chars.teeEnforced); in convert()
96 converted.softwareEnforced = convert(chars.softwareEnforced); in convert()
164 auto cb = [&](V3_0::ErrorCode error, const V3_0::KeyCharacteristics& chars) { in getKeyCharacteristics() argument
165 _hidl_cb(convert(error), convert(chars)); in getKeyCharacteristics()
176 const V3_0::KeyCharacteristics& chars) { in importKey() argument
177 _hidl_cb(convert(error), keyBlob, convert(chars)); in importKey()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkey_param_output.cpp123 ::std::ostream& operator<<(::std::ostream& os, const KeyCharacteristics& chars) { in operator <<() argument
124 return os << "SW: " << chars.softwareEnforced << ::std::endl in operator <<()
125 << "TEE: " << chars.teeEnforced << ::std::endl; in operator <<()
/hardware/interfaces/camera/device/default/
DExternalCameraOfflineSession.h47 const common::V1_0::helper::CameraMetadata& chars,
82 const common::V1_0::helper::CameraMetadata& chars, in OutputThread() argument
85 : ExternalCameraDeviceSession::OutputThread(std::move(parent), ct, chars, in OutputThread()
DExternalCameraDevice.h77 const common::V1_0::helper::CameraMetadata& chars, const std::string& cameraId,
DExternalCameraOfflineSession.cpp57 const CroppingType& croppingType, const common::V1_0::helper::CameraMetadata& chars, in ExternalCameraOfflineSession() argument
63 mChars(chars), in ExternalCameraOfflineSession()
/hardware/google/camera/devices/EmulatedCamera/hwl/tools/
Dparse_bugreport.py35 def storeJsonConfigration(filePath, chars): argument
37 json.dump(chars, jsonFile, sort_keys=True, indent=1)
/hardware/interfaces/camera/device/3.5/default/
DExternalCameraDevice.cpp49 const common::V1_0::helper::CameraMetadata& chars, in createSession() argument
53 cb, cfg, sortedFormats, croppingType, chars, cameraId, std::move(v4l2Fd)); in createSession()
DExternalCameraDeviceSession.cpp35 const common::V1_0::helper::CameraMetadata& chars, in ExternalCameraDeviceSession() argument
39 callback, cfg, sortedFormats, croppingType, chars, cameraId, std::move(v4l2Fd)) { in ExternalCameraDeviceSession()
277 const common::V1_0::helper::CameraMetadata& chars, in OutputThread() argument
279 V3_4::implementation::ExternalCameraDeviceSession::OutputThread(parent, ct, chars), in OutputThread()
/hardware/interfaces/camera/device/3.6/default/include/ext_device_v3_6_impl/
DExternalCameraOfflineSession.h93 const common::V1_0::helper::CameraMetadata& chars,
136 const common::V1_0::helper::CameraMetadata& chars, in OutputThread()
140 parent, ct, chars, bufReqThread), in OutputThread()
DExternalCameraDevice_3_6.h68 const common::V1_0::helper::CameraMetadata& chars,
DExternalCameraDeviceSession.h63 const common::V1_0::helper::CameraMetadata& chars,
/hardware/interfaces/camera/provider/aidl/vts/
Dcamera_aidl_test.h249 const CameraMetadata& chars,
252 static void verifyCameraCharacteristics(const CameraMetadata& chars);
258 static void verifyRecommendedConfigs(const CameraMetadata& chars);
260 static void verifyMonochromeCharacteristics(const CameraMetadata& chars);
DVtsAidlHalCameraProvider_TargetTest.cpp239 CameraMetadata chars; in TEST_P() local
240 ret = device->getCameraCharacteristics(&chars); in TEST_P()
242 verifyCameraCharacteristics(chars); in TEST_P()
243 verifyMonochromeCharacteristics(chars); in TEST_P()
244 verifyRecommendedConfigs(chars); in TEST_P()
245 verifyLogicalOrUltraHighResCameraMetadata(name, device, chars, cameraDeviceNames); in TEST_P()
277 CameraMetadata chars; in TEST_P() local
278 ret = device->getCameraCharacteristics(&chars); in TEST_P()
282 reinterpret_cast<const camera_metadata_t*>(chars.metadata.data()); in TEST_P()
2753 CameraMetadata chars; in TEST_P() local
[all …]
Dcamera_aidl_test.cpp233 camera_metadata_t* chars = in isSecureOnly() local
237 Status retCameraKind = getSystemCameraKind(chars, &systemCameraKind); in isSecureOnly()
582 void CameraAidlTest::verifyCameraCharacteristics(const CameraMetadata& chars) { in verifyCameraCharacteristics() argument
584 reinterpret_cast<const camera_metadata_t*>(chars.metadata.data()); in verifyCameraCharacteristics()
586 size_t expectedSize = chars.metadata.size(); in verifyCameraCharacteristics()
983 void CameraAidlTest::verifyMonochromeCharacteristics(const CameraMetadata& chars) { in verifyMonochromeCharacteristics() argument
984 const camera_metadata_t* metadata = (camera_metadata_t*)chars.metadata.data(); in verifyMonochromeCharacteristics()
1071 void CameraAidlTest::verifyRecommendedConfigs(const CameraMetadata& chars) { in verifyRecommendedConfigs() argument
1083 reinterpret_cast<const camera_metadata_t*>(chars.metadata.data()); in verifyRecommendedConfigs()
1194 const CameraMetadata& chars, const std::vector<std::string>& deviceNames) { in verifyLogicalOrUltraHighResCameraMetadata() argument
[all …]
/hardware/interfaces/camera/device/3.5/default/include/ext_device_v3_5_impl/
DExternalCameraDevice_3_5.h80 const common::V1_0::helper::CameraMetadata& chars,
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraDevice_3_4.h98 const common::V1_0::helper::CameraMetadata& chars,

12