Home
last modified time | relevance | path

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

12

/hardware/interfaces/camera/common/1.0/default/
DCameraModule.cpp33 uint32_t deviceVersion, CameraMetadata &chars) { in deriveCameraCharacteristicsKeys() argument
43 chars.update(ANDROID_CONTROL_AE_LOCK_AVAILABLE, &data, /*count*/1); in deriveCameraCharacteristicsKeys()
45 chars.update(ANDROID_CONTROL_AWB_LOCK_AVAILABLE, &data, /*count*/1); in deriveCameraCharacteristicsKeys()
47 camera_metadata_entry entry = chars.find(ANDROID_CONTROL_AVAILABLE_SCENE_MODES); in deriveCameraCharacteristicsKeys()
56 entry = chars.find(ANDROID_CONTROL_AE_AVAILABLE_MODES); in deriveCameraCharacteristicsKeys()
65 entry = chars.find(ANDROID_CONTROL_AF_AVAILABLE_MODES); in deriveCameraCharacteristicsKeys()
74 entry = chars.find(ANDROID_CONTROL_AWB_AVAILABLE_MODES); in deriveCameraCharacteristicsKeys()
87 chars.update(ANDROID_CONTROL_AVAILABLE_MODES, controlModes); in deriveCameraCharacteristicsKeys()
89 entry = chars.find(ANDROID_REQUEST_AVAILABLE_REQUEST_KEYS); in deriveCameraCharacteristicsKeys()
109 chars.update(ANDROID_SHADING_AVAILABLE_MODES, lscModes); in deriveCameraCharacteristicsKeys()
[all …]
/hardware/qcom/msm8998/json-c/
Dprintbuf.c125 int chars; in vasprintf() local
131 chars = _vscprintf(fmt, ap)+1; in vasprintf()
135 chars = vsnprintf(&_T_emptybuffer, 0, fmt, ap)+1; in vasprintf()
136 if(chars < 0) { chars *= -1; } /* CAW: old glibc versions have this problem */ in vasprintf()
139 b = (char*)malloc(sizeof(char)*chars); in vasprintf()
142 if((chars = vsprintf(b, fmt, ap)) < 0) in vasprintf()
149 return chars; in vasprintf()
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/
DStreamConfigurationMap.cpp66 StreamConfigurationMap::StreamConfigurationMap(const HalCameraMetadata& chars) { in StreamConfigurationMap() argument
68 auto ret = chars.Get(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS, &entry); in StreamConfigurationMap()
76 ret = chars.Get(ANDROID_DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS, &entry); in StreamConfigurationMap()
81 ret = chars.Get(ANDROID_SCALER_AVAILABLE_MIN_FRAME_DURATIONS, &entry); in StreamConfigurationMap()
89 ret = chars.Get(ANDROID_DEPTH_AVAILABLE_DEPTH_MIN_FRAME_DURATIONS, &entry); in StreamConfigurationMap()
94 ret = chars.Get(ANDROID_SCALER_AVAILABLE_STALL_DURATIONS, &entry); in StreamConfigurationMap()
101 ret = chars.Get(ANDROID_DEPTH_AVAILABLE_DEPTH_STALL_DURATIONS, &entry); in StreamConfigurationMap()
106 ret = chars.Get(ANDROID_SCALER_AVAILABLE_INPUT_OUTPUT_FORMATS_MAP, &entry); in StreamConfigurationMap()
DStreamConfigurationMap.h56 StreamConfigurationMap(const HalCameraMetadata& chars);
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedSensor.cpp895 const SensorCharacteristics& chars) { in CaptureRaw() argument
897 float total_gain = gain / 100.0 * GetBaseGainFactor(chars.max_raw_value); in CaptureRaw()
906 for (unsigned int y = 0; y < chars.height; y++) { in CaptureRaw()
909 for (unsigned int x = 0; x < chars.width; x++) { in CaptureRaw()
921 (raw_count < chars.max_raw_value) ? raw_count : chars.max_raw_value; in CaptureRaw()
930 raw_count += chars.black_level_pattern[bayer_row[x & 0x1]]; in CaptureRaw()
943 const SensorCharacteristics& chars) { in CaptureRGB() argument
945 float total_gain = gain / 100.0 * GetBaseGainFactor(chars.max_raw_value); in CaptureRGB()
947 int scale64x = 64 * total_gain * 255 / chars.max_raw_value; in CaptureRGB()
948 uint32_t inc_h = ceil((float)chars.width / width); in CaptureRGB()
[all …]
DEmulatedSensor.h299 const SensorCharacteristics& chars);
303 const SensorCharacteristics& chars);
306 const SensorCharacteristics& chars);
308 uint32_t stride, const SensorCharacteristics& chars);
320 const SensorCharacteristics& chars);
/hardware/interfaces/camera/common/1.0/default/include/
DCameraModule.h81 static void deriveCameraCharacteristicsKeys(uint32_t deviceVersion, CameraMetadata &chars);
83 static void appendAvailableKeys(CameraMetadata &chars,
/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/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/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/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/device/3.5/default/include/ext_device_v3_5_impl/
DExternalCameraDevice_3_5.h80 const common::V1_0::helper::CameraMetadata& chars,
DExternalCameraDeviceSession.h83 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,
DExternalCameraDeviceSession.h94 const common::V1_0::helper::CameraMetadata& chars,
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp818 const CameraMetadata& chars, int deviceVersion,
820 void verifyCameraCharacteristics(Status status, const CameraMetadata& chars);
824 void verifyMonochromeCharacteristics(const CameraMetadata& chars, int deviceVersion);
1687 camera_metadata_t* chars = (camera_metadata_t*)metadata.data(); in isSecureOnly() local
1689 Status status = getSystemCameraKind(chars, &systemCameraKind); in isSecureOnly()
2661 ret = device3_x->getCameraCharacteristics([&](auto status, const auto& chars) { in TEST_P() argument
2664 reinterpret_cast<const camera_metadata_t*>(chars.data()); in TEST_P()
2747 ret = device3_x->getCameraCharacteristics([&](auto status, const auto& chars) { in TEST_P() argument
2748 verifyCameraCharacteristics(status, chars); in TEST_P()
2749 verifyMonochromeCharacteristics(chars, deviceVersion); in TEST_P()
[all …]
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraUtils.cpp563 Size getMaxThumbnailResolution(const common::V1_0::helper::CameraMetadata& chars) { in getMaxThumbnailResolution() argument
566 chars.find(ANDROID_JPEG_AVAILABLE_THUMBNAIL_SIZES); in getMaxThumbnailResolution()
DExternalCameraDevice.cpp1016 const common::V1_0::helper::CameraMetadata& chars, in createSession() argument
1020 cb, cfg, sortedFormats, croppingType, chars, cameraId, std::move(v4l2Fd)); in createSession()

12