Home
last modified time | relevance | path

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

/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_stabili_test.cpp47 videoStabilizationAvailableModes_.push_back(*(entry.data.u8 + i)); in GetAvalialbleVideoStabilizationModes()
Dtest_camera_base.cpp132 uint8_t switchValue = *(entry.data.u8); in PrintFaceDetectInfo()
707 videoStabiliMode = *(entry.data.u8); in PrintStabiliInfo()
/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 …]
Dtest_camera_base.cpp149 uint8_t switchValue = *(entry.data.u8); in PrintFaceDetectInfo()
723 videoStabiliMode = *(entry.data.u8); in PrintStabiliInfo()
/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.cpp392 if (*(baseEntry.data.u8) == *(newEntry.data.u8)) { in IsChangeU8Metadata()
471 result = outMeta->addEntry(*it, static_cast<void *>(entry.data.u8), entry.count); in DealUpdateNewTagData()
/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.cpp23 WriteData<int8_t>(*(entry.data.u8 + i), cameraAbility); in WriteMetadataDataToVec()
124 entry.data.u8 = new(std::nothrow) uint8_t[entry.count]; in ReadMetadataDataFromVec()
125 if (entry.data.u8 != nullptr) { in ReadMetadataDataFromVec()
127 ReadData<uint8_t>(entry.data.u8[i], index, cameraAbility); in ReadMetadataDataFromVec()
321 buffers.push_back(*(entry.data.u8 + i)); in WriteMetadata()
365 entry.data.u8 = new(std::nothrow) uint8_t[entry.count]; in ReadMetadata()
366 if (entry.data.u8 != nullptr) { in ReadMetadata()
368 entry.data.u8[i] = buffers.at(i); in ReadMetadata()
426 *buffer = static_cast<void*>(entry.data.u8); in EntryDataToBuffer()
/drivers/interface/camera/metadata/src/
Dmetadata_utils.cpp36 WriteData<int8_t>(*(entry.data.u8 + i), cameraAbility); in WriteMetadataDataToVec()
158 entry.data.u8 = new(std::nothrow) uint8_t[entry.count]; in ReadMetadataDataFromVec()
159 if (entry.data.u8 != nullptr) { in ReadMetadataDataFromVec()
161 ReadData<uint8_t>(entry.data.u8[i], index, cameraAbility); in ReadMetadataDataFromVec()
305 byteBuffers.push_back(*(item.data.u8 + i)); in WriteMetadata()
472 entry.data.u8 = new(std::nothrow) uint8_t[entry.count]; in ReadMetadataUInt8()
473 if (entry.data.u8 != nullptr) { in ReadMetadataUInt8()
475 entry.data.u8[i] = buffers.at(i); in ReadMetadataUInt8()
593 *buffer = reinterpret_cast<void *>(item.data.u8); in ItemDataToBuffer()
612 if (entry.data.u8 != nullptr) { in FreeMetadataBuffer()
[all …]
Dcamera_metadata_operator.cpp453 item->data.u8 = localItem->data.value; in GetCameraMetadataItem()
455 item->data.u8 = GetMetadataData(src) + localItem->data.offset; in GetCameraMetadataItem()
770 std::string dataStr = std::to_string(*(entry.data.u8)); in U8ItemToString()
773 dataStr += "]\n\t[" + std::to_string(*(entry.data.u8 + i)); in U8ItemToString()
775 dataStr += " " + std::to_string(*(entry.data.u8 + i)); in U8ItemToString()
/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/usb_camera/pipeline_core/src/node/
Dexif_node.cpp120 captureQuality = *(entry.data.u8); in SendMetadata()
132 mirrorSwitch = *(entry.data.u8); in SendMetadata()
Dcodec_node.cpp144 CAMERA_LOGI("OHOS_JPEG_QUALITY is = %{public}d", static_cast<int>(entry.data.u8[0])); in ConfigJpegQuality()
/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()
236 u8 *rdbuf = &buf[i * tpLen + offset]; in ParsePointData()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/stability_node/
Dstability_node.cpp79 … CAMERA_LOGE("%{public}s get videoStabiliMode value = %{public}d", __FUNCTION__, *(entry.data.u8)); in PrintNodeMetaData()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/
Dsensor_controller.cpp545 awbMode = *(entry.data.u8); in SendAWBMetaData()
564 exposureMode = *(entry.data.u8); in SendExposureMetaData()
605 focusMode = *(entry.data.u8); in SendFocusMetaData()
636 meterMode = *(entry.data.u8); in SendMeterMetaData()
666 uint8_t flashMode = *(entry.data.u8); in SendFlashMetaData()
/drivers/interface/camera/metadata/include/
Dcamera_metadata_operator.h103 uint8_t *u8; member
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_device/
Ddmetadata_processor.cpp426 if (*(item.data.u8 + i) != *(anoItem.data.u8 + i)) { in UpdateOnChanged()
531 return item.data.u8; in GetMetadataItemData()
710 … DHLOGI("tag index:%d, name:%s, value:%d", item.index, name, (uint8_t)(item.data.u8[k])); in PrintDCameraMetadata()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/include/
Dv4l2_device_manager.h83 ohosTagVec.push_back(entry.data.u8[i]); in MergeMetadata()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/device_manager/
Dvi_controller.cpp172 awbMode = *(entry.data.u8); in SendAWBMetaData()