Home
last modified time | relevance | path

Searched refs:u8 (Results 1 – 25 of 37) sorted by relevance

12

/drivers/peripheral/camera/test/hdi/v1_1/src/
Dfront_camera_tag_uttest_v1_1.cpp44 if (entry.data.u8[i] == value) { in g_isFrontTagValueExistsU8()
76 printf("OHOS_ABILITY_SCENE_BEAUTY_VALUES : %d\n", entry.data.u8[i]);
77 uint8_t value = entry.data.u8[i];
119 printf("OHOS_ABILITY_BEAUTY_FACE_SLENDER_VALUES : %d\n", entry.data.u8[i]);
120 uint8_t value = entry.data.u8[i];
207 printf("OHOS_ABILITY_BEAUTY_SKIN_SMOOTH_VALUES : %d\n", entry.data.u8[i]);
208 uint8_t value = entry.data.u8[i];
Dcamera_tag_uttest_v1_1.cpp44 if (entry.data.u8[i] == value) { in isTagValueExistsU8()
91 if (entry.data.u8[i] == HDI::Camera::V1_0::OperationMode::NORMAL) {
93 } else if (entry.data.u8[i] == OHOS::HDI::Camera::V1_1::PORTRAIT) {
127 printf("OHOS_ABILITY_SCENE_PORTRAIT_EFFECT_TYPES : %d\n", entry.data.u8[i]);
128 uint8_t value = entry.data.u8[i];
169 printf("OHOS_ABILITY_SCENE_FILTER_VALUES : %d\n", entry.data.u8[i]);
170 uint8_t value = entry.data.u8[i];
213 printf("OHOS_ABILITY_BEAUTY_AUTO_VALUES : %d\n", entry.data.u8[i]);
214 uint8_t value = entry.data.u8[i];
/drivers/peripheral/camera/test/ut/v4l2/
Dusb_camera_test.cpp118 << static_cast<int>(entry.data.u8[0]) << std::endl; in TEST_F()
119 EXPECT_TRUE(entry.data.u8[0] == OHOS_CAMERA_CONNECTION_TYPE_USB_PLUGIN); in TEST_F()
140 …std::cout << "OHOS_ABILITY_CAMERA_POSITION value is " << static_cast<int>(entry.data.u8[0]) << std… in TEST_F()
141 EXPECT_TRUE(entry.data.u8[0] == OHOS_CAMERA_POSITION_OTHER); in TEST_F()
162 …std::cout << "OHOS_ABILITY_FLASH_AVAILABLE value is " << static_cast<int>(entry.data.u8[0]) << std… in TEST_F()
185 << static_cast<int>(entry.data.u8[i]) << std::endl; in TEST_F()
211 std::cout << " " << static_cast<int>(entry.data.u8[i]); in TEST_F()
239 std::cout << " " << static_cast<int>(entry.data.u8[i]); in TEST_F()
267 std::cout << " " << static_cast<int>(entry.data.u8[i]); in TEST_F()
295 std::cout << " " << static_cast<int>(entry.data.u8[i]); in TEST_F()
[all …]
Dcamera_ability_test.cpp56 flashAvailable = *(entry.data.u8); in GetFlashAvailable()
75 afAvailable.push_back(*(entry.data.u8 + i)); in GetAfAvailable()
Dcamera_vendor_tag_test.cpp58 EXPECT_EQ(entry.data.u8[0], sensorMode); in TEST_F()
88 EXPECT_EQ(entry.data.u8[0], newSensorMode); in TEST_F()
Dcamera_stabili_test.cpp47 videoStabilizationAvailableModes_.push_back(*(entry.data.u8 + i)); in GetAvalialbleVideoStabilizationModes()
/drivers/peripheral/camera/vdi_base/common/metadata_manager/src/
Dmetadata_config.cpp58 … result = metadata_[streamId]->addEntry(*it, static_cast<void *>(entry.data.u8), entry.count); in UpdateSettingsConfig()
60 … result = metadata_[streamId]->updateEntry(*it, static_cast<void *>(entry.data.u8), entry.count); in UpdateSettingsConfig()
Dmetadata_controller.cpp407 if (*(baseEntry.data.u8) == *(newEntry.data.u8)) { in IsChangeU8Metadata()
486 result = outMeta->addEntry(*it, static_cast<void *>(entry.data.u8), entry.count); in DealUpdateNewTagData()
/drivers/peripheral/camera/test/ut/usb_camera/
Dusb_camera_test.cpp117 << static_cast<int>(entry.data.u8[0]) << std::endl; in TEST_F()
118 EXPECT_TRUE(entry.data.u8[0] == OHOS_CAMERA_CONNECTION_TYPE_USB_PLUGIN); in TEST_F()
139 …std::cout << "OHOS_ABILITY_CAMERA_POSITION value is " << static_cast<int>(entry.data.u8[0]) << std… in TEST_F()
140 EXPECT_TRUE(entry.data.u8[0] == OHOS_CAMERA_POSITION_OTHER); in TEST_F()
161 …std::cout << "OHOS_ABILITY_FLASH_AVAILABLE value is " << static_cast<int>(entry.data.u8[0]) << std… in TEST_F()
184 << static_cast<int>(entry.data.u8[i]) << std::endl; in TEST_F()
210 std::cout << " " << static_cast<int>(entry.data.u8[i]); in TEST_F()
238 std::cout << " " << static_cast<int>(entry.data.u8[i]); in TEST_F()
266 std::cout << " " << static_cast<int>(entry.data.u8[i]); in TEST_F()
294 std::cout << " " << static_cast<int>(entry.data.u8[i]); in TEST_F()
[all …]
/drivers/peripheral/camera/test/hdi/v1_3/src/
Dcamera_professional_uttest_v1_3.cpp56 if (entry.data.u8[i] == value) { in g_isModeExists()
107 EXPECT_TRUE(entry.data.u8 != nullptr);
109 float value = entry.data.u8[i];
323 …if (cameraTest->rc == HDI::Camera::V1_0::NO_ERROR && entry.data.u8 != nullptr && entry.count > 0) {
325 if (entry.data.u8[i] == OHOS_CAMERA_FOCUS_ASSIST_FLASH_MODE_DEFAULT) {
327 } else if (entry.data.u8[i] == OHOS_CAMERA_FOCUS_ASSIST_FLASH_MODE_AUTO) {
329 } else if (entry.data.u8[i] == OHOS_CAMERA_FOCUS_ASSIST_FLASH_MODE_ON) {
331 } else if (entry.data.u8[i] == OHOS_CAMERA_FOCUS_ASSIST_FLASH_MODE_OFF) {
342 uint8_t focusAssistFlashMode = entry.data.u8[i];
413 …if (cameraTest->rc == HDI::Camera::V1_0::NO_ERROR && entry.data.u8 != nullptr && entry.count > 0) {
[all …]
Dcamera_hdi_uttest_v1_3.cpp55 if (entry.data.u8[i] == value) { in IsTagValueExistsU8()
71 int v = entry.data.u8[i]; in PrintAllTagDataU8()
142 …if (cameraTest->rc == HDI::Camera::V1_0::NO_ERROR && entry.data.u8 != nullptr && entry.count > 0) {
143 EXPECT_TRUE(entry.data.u8 != nullptr);
145 uint8_t value = entry.data.u8[i];
291 …if (cameraTest->rc == HDI::Camera::V1_0::NO_ERROR && entry.data.u8 != nullptr && entry.count > 0) { in SuperSlowMotionStatusCallback()
292 uint8_t value = entry.data.u8[0]; in SuperSlowMotionStatusCallback()
321 …if (cameraTest->rc == HDI::Camera::V1_0::NO_ERROR && entry.data.u8 != nullptr && entry.count > 0) {
322 EXPECT_TRUE(entry.data.u8 != nullptr);
324 uint8_t value = entry.data.u8[i];
[all …]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/
Dipp_node.cpp125 focusMode = *(entry.data.u8); in PrintFocusMode()
138 focusState = *(entry.data.u8); in PrintFocusState()
151 exposureMode = *(entry.data.u8); in PrintExposureMode()
190 exposureState = *(entry.data.u8); in PrintExposureState()
267 uint8_t exposureMode = *(entry.data.u8); in SendExposureMetaData()
293 uint8_t focusMode = *(entry.data.u8); in SendFocusMetaData()
/drivers/peripheral/camera/interfaces/hdi_ipc/utils/src/
Dutils_data_stub.cpp28 WriteData<int8_t>(*(entry.data.u8 + i), cameraAbility); in WriteMetadataDataToVec()
129 entry.data.u8 = new(std::nothrow) uint8_t[entry.count]; in ReadMetadataDataFromVec()
130 if (entry.data.u8 != nullptr) { in ReadMetadataDataFromVec()
132 ReadData<uint8_t>(entry.data.u8[i], index, cameraAbility); in ReadMetadataDataFromVec()
327 buffers.push_back(*(entry.data.u8 + i)); in WriteMetadata()
370 entry.data.u8 = new(std::nothrow) uint8_t[entry.count]; in ReadMetadataUInt8()
371 if (entry.data.u8 != nullptr) { in ReadMetadataUInt8()
373 entry.data.u8[i] = buffers.at(i); in ReadMetadataUInt8()
483 *buffer = static_cast<void*>(entry.data.u8); in EntryDataToBuffer()
/drivers/interface/camera/metadata/src/
Dmetadata_utils.cpp31 WriteData<int8_t>(*(entry.data.u8 + i), cameraAbility); in WriteMetadataDataToVec()
158 entry.data.u8 = new(std::nothrow) uint8_t[entry.count]; in ReadMetadataDataFromVecUInt8()
159 if (entry.data.u8 != nullptr) { in ReadMetadataDataFromVecUInt8()
161 MetadataUtils::ReadData<uint8_t>(entry.data.u8[i], index, cameraAbility); in ReadMetadataDataFromVecUInt8()
363 byteBuffers.push_back(*(item.data.u8 + i)); in WriteMetadata()
569 entry.data.u8 = new(std::nothrow) uint8_t[entry.count]; in ReadMetadataUInt8()
570 if (entry.data.u8 != nullptr) { in ReadMetadataUInt8()
572 entry.data.u8[i] = buffers.at(i); in ReadMetadataUInt8()
695 *buffer = reinterpret_cast<void *>(item.data.u8); in ItemDataToBuffer()
714 if (entry.data.u8 != nullptr) { in FreeMetadataBuffer()
[all …]
Dcamera_metadata_info.cpp749 item->data.u8 = localItem->data.value; in GetCameraMetadataItem()
756 item->data.u8 = srcMetadataData + localItem->data.offset; in GetCameraMetadataItem()
1140 if (entry.data.u8 == nullptr) { in U8ItemToString()
1144 std::string dataStr = std::to_string(*(entry.data.u8)); in U8ItemToString()
1147 dataStr += "]\n\t[" + std::to_string(*(entry.data.u8 + i)); in U8ItemToString()
1149 dataStr += " " + std::to_string(*(entry.data.u8 + i)); in U8ItemToString()
/drivers/peripheral/camera/test/demo_3A/
Dohos_camera_demo_3a.cpp853 faceDetectMode = *(entry.data.u8); in GetFaceDetectMode()
887 focusMode.push_back(*(entry.data.u8 + i)); in GetAvailableFocusModes()
910 exposureMode.push_back(*(entry.data.u8 + i)); in GetAvailableExposureModes()
974 meterModes.push_back(*(entry.data.u8 + i)); in GetAvailableMeterModes()
997 flashModes.push_back(*(entry.data.u8 + i)); in GetAvailableFlashModes()
1016 mirrorSupported = *(entry.data.u8); in GetMirrorSupported()
1080 cameraPosition= *(entry.data.u8); in GetCameraPosition()
1096 cameraType= *(entry.data.u8); in GetCameraType()
1112 cameraConnectionType= *(entry.data.u8); in GetCameraConnectionType()
1127 faceDetectMaxNum = *(entry.data.u8); in GetFaceDetectMaxNum()
[all …]
/drivers/peripheral/camera/test/demo/
Dohos_camera_demo.cpp845 faceDetectMode = *(entry.data.u8); in GetFaceDetectMode()
879 focusMode.push_back(*(entry.data.u8 + i)); in GetAvailableFocusModes()
902 exposureMode.push_back(*(entry.data.u8 + i)); in GetAvailableExposureModes()
966 meterModes.push_back(*(entry.data.u8 + i)); in GetAvailableMeterModes()
989 flashModes.push_back(*(entry.data.u8 + i)); in GetAvailableFlashModes()
1008 mirrorSupported = *(entry.data.u8); in GetMirrorSupported()
1072 cameraPosition= *(entry.data.u8); in GetCameraPosition()
1088 cameraType= *(entry.data.u8); in GetCameraType()
1104 cameraConnectionType= *(entry.data.u8); in GetCameraConnectionType()
1119 faceDetectMaxNum = *(entry.data.u8); in GetFaceDetectMaxNum()
[all …]
/drivers/peripheral/distributed_camera/hdi_service/test/sample/
Ddcamera_hdf_demo.cpp794 faceDetectMode = *(entry.data.u8); in GetFaceDetectMode()
828 focusMode.push_back(*(entry.data.u8 + i)); in GetAvailableFocusModes()
851 exposureMode.push_back(*(entry.data.u8 + i)); in GetAvailableExposureModes()
915 meterModes.push_back(*(entry.data.u8 + i)); in GetAvailableMeterModes()
938 flashModes.push_back(*(entry.data.u8 + i)); in GetAvailableFlashModes()
957 mirrorSupported = *(entry.data.u8); in GetMirrorSupported()
1021 cameraPosition= *(entry.data.u8); in GetCameraPosition()
1037 cameraType= *(entry.data.u8); in GetCameraType()
1053 cameraConnectionType= *(entry.data.u8); in GetCameraConnectionType()
1068 faceDetectMaxNum = *(entry.data.u8); in GetFaceDetectMaxNum()
[all …]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/stability_node/
Dstability_node.cpp67 … CAMERA_LOGE("%{public}s get videoStabiliMode value = %{public}d", __FUNCTION__, *(entry.data.u8)); in PrintNodeMetaData()
/drivers/peripheral/camera/vdi_base/usb_camera/pipeline_core/src/node/
Dexif_node.cpp119 captureQuality = *(entry.data.u8); in SendMetadata()
131 mirrorSwitch = *(entry.data.u8); in SendMetadata()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/
Dsensor_controller.cpp587 awbMode = *(entry.data.u8); in SendAWBMetaData()
639 awbLock = *(entry.data.u8); in SendAWBLockMetaData()
719 uint8_t exposureMode = *(entry.data.u8); in SendExposureModeMetaData()
732 aeLock = *(entry.data.u8); in SendExposureModeMetaData()
763 exposureMode = *(entry.data.u8); in SendExposureAutoModeMetaData()
795 aeLock = *(entry.data.u8); in SendAELockMetaData()
825 focusMode = *(entry.data.u8); in SendFocusMetaData()
907 meterMode = *(entry.data.u8); in SendMeterMetaData()
949 uint8_t flashMode = *(entry.data.u8); in SendFlashMetaData()
/drivers/hdf_core/framework/model/input/driver/touchscreen/
Dtouch_ft5x06.c42 static int Ft5x06_EP00(ChipDevice *device, u8 *rdbuf) in Ft5x06_EP00()
63 static int Ft5x06_EP01(ChipDevice *device, u8 *rdbuf) in Ft5x06_EP01()
88 u8 rdbuf[EDT_NAME_LEN]; in Ft5x06_Identify()
226 u8 *rdbuf = &buf[i * tpLen + offset]; in ParsePointData()
/drivers/peripheral/camera/test/hdi/v1_2/src/
Dcamera_hdi_uttest_v1_2.cpp49 if (entry.data.u8[i] == value) { in IsTagValueExistsU8()
510 EXPECT_TRUE(entry.data.u8 != nullptr);
511 CAMERA_LOGI("OHOS_ABILITY_SUPPORTED_COLOR_MODES: %{public}d", entry.data.u8[0]);
577 EXPECT_TRUE(entry.data.u8 != nullptr);
583 … TranslateXMageAbilityToString(static_cast<camera_xmage_color_type>(entry.data.u8[i])).c_str());
585 xmageAbilities.push_back(entry.data.u8[i]);
848 if (entry.data.u8[i] == OHOS_CAMERA_VIDEO_STABILIZATION_OFF) {
850 } else if (entry.data.u8[i] == OHOS_CAMERA_VIDEO_STABILIZATION_AUTO) {
1200 if (ret == HDI::Camera::V1_0::NO_ERROR && entry.data.u8 != nullptr && entry.count > 0) {
1201 EXPECT_TRUE(entry.data.u8 != nullptr);
[all …]
/drivers/interface/camera/metadata/include/
Dcamera_metadata_operator.h100 uint8_t *u8; member
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/
Dwpa_common_cmd.h111 const char *macToStr(const u8 *addr);

12