Home
last modified time | relevance | path

Searched refs:i32 (Results 1 – 25 of 31) sorted by relevance

12

/drivers/peripheral/camera/interfaces/hdi_ipc/utils/src/
Dutils_data_stub.cpp27 WriteData<int32_t>(*(entry.data.i32 + i), cameraAbility); in WriteMetadataDataToVec()
131 entry.data.i32 = new(std::nothrow) int32_t[entry.count]; in ReadMetadataDataFromVec()
132 if (entry.data.i32 != nullptr) { in ReadMetadataDataFromVec()
134 ReadData<int32_t>(entry.data.i32[i], index, cameraAbility); in ReadMetadataDataFromVec()
327 buffers.push_back(*(entry.data.i32 + i)); in WriteMetadata()
374 entry.data.i32 = new(std::nothrow) int32_t[entry.count]; in ReadMetadata()
375 if (entry.data.i32 != nullptr) { in ReadMetadata()
377 entry.data.i32[i] = buffers.at(i); in ReadMetadata()
428 *buffer = static_cast<void*>(entry.data.i32); in EntryDataToBuffer()
/drivers/interface/camera/metadata/src/
Dmetadata_utils.cpp40 WriteData<int32_t>(*(entry.data.i32 + i), cameraAbility); in WriteMetadataDataToVec()
165 entry.data.i32 = new(std::nothrow) int32_t[entry.count]; in ReadMetadataDataFromVec()
166 if (entry.data.i32 != nullptr) { in ReadMetadataDataFromVec()
168 ReadData<int32_t>(entry.data.i32[i], index, cameraAbility); in ReadMetadataDataFromVec()
311 int32Buffers.push_back(*(item.data.i32 + i)); in WriteMetadata()
484 entry.data.i32 = new(std::nothrow) int32_t[entry.count]; in ReadMetadataInt32()
485 if (entry.data.i32 != nullptr) { in ReadMetadataInt32()
487 entry.data.i32[i] = buffers.at(i); in ReadMetadataInt32()
595 *buffer = reinterpret_cast<void *>(item.data.i32); in ItemDataToBuffer()
616 if (entry.data.i32 != nullptr) { in FreeMetadataBuffer()
[all …]
Dcamera_metadata_operator.cpp796 std::string dataStr = std::to_string(*(entry.data.i32)); in I32ItemToString()
799 dataStr += "]\n\t[" + std::to_string(*(entry.data.i32 + i)); in I32ItemToString()
801 dataStr += " " + std::to_string(*(entry.data.i32 + i)); in I32ItemToString()
/drivers/peripheral/camera/vdi_base/usb_camera/pipeline_core/src/node/
Dcodec_node.cpp111 if (ret != 0 || entry.data.i32 == nullptr) { in ConfigJpegOrientation()
117 int32_t ohosRotation = *entry.data.i32; in ConfigJpegOrientation()
145 if (*entry.data.i32 == OHOS_CAMERA_JPEG_LEVEL_LOW) { in ConfigJpegQuality()
147 } else if (*entry.data.i32 == OHOS_CAMERA_JPEG_LEVEL_MIDDLE) { in ConfigJpegQuality()
149 } else if (*entry.data.i32 == OHOS_CAMERA_JPEG_LEVEL_HIGH) { in ConfigJpegQuality()
Dexif_node.cpp126 captureOrientation = *(entry.data.i32); in SendMetadata()
/drivers/peripheral/camera/test/ut/v4l2/
Dcamera_ability_test.cpp41 sensorOrientation = *(entry.data.i32); in GetSensorOrientation()
117 jpegOrientation = *(entry.data.i32); in GetJpegOrientation()
Dcamera_fps_test.cpp47 fpsRange_.push_back(*(entry.data.i32 + i)); in GetFpsRange()
Dusb_camera_test.cpp347 …std::cout << static_cast<int>(entry.data.i32[0]) << "," << static_cast<int>(entry.data.i32[1]) << … in TEST_F()
391 …std::cout << "OHOS_JPEG_ORIENTATION value is " << static_cast<int>(entry.data.i32[0]) << std::endl; in TEST_F()
456 if (ret == 0 && entry.data.i32 != nullptr && entry.count > 0) { in TEST_F()
461 std::cout << entry.data.i32[i] << " "; in TEST_F()
Dusb_camera_test_mult.cpp413 if (ret == 0 && entry.data.i32 != nullptr && entry.count > 0) { in TEST_F()
414 …format = entry.data.i32[entry.count - 6]; // 6:The sixth digit from the bottom is the format of vi… in TEST_F()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/
Dsensor_controller.cpp519 int32_t expo = *(entry.data.i32); in SendAEMetaData()
586 exposureCompensation = *(entry.data.i32); in SendExposureMetaData()
617 afRegions.push_back(*(entry.data.i32 + i)); in SendFocusMetaData()
618 CAMERA_LOGI("Set afRegions [%{public}d]", *(entry.data.i32 + i)); in SendFocusMetaData()
648 meterPoint.push_back(*(entry.data.i32 + i)); in SendMeterMetaData()
649 CAMERA_LOGI("Set CMD_METER_POINT [%{public}d]", *(entry.data.i32 + i)); in SendMeterMetaData()
687 fpsRange_.push_back(*(entry.data.i32 + i)); in SendFpsMetaData()
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_host/
Ddcamera_host.cpp106 int32_t format = item.data.i32[index]; in GetCameraAbility()
107 int32_t width = item.data.i32[index + WIDTH_OFFSET]; in GetCameraAbility()
108 int32_t height = item.data.i32[index + HEIGHT_OFFSET]; in GetCameraAbility()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/
Dipp_node.cpp177 exposureCompensation = *(entry.data.i32); in PrintExposureCompensation()
279 int32_t exposureCompensation = *(entry.data.i32); in SendExposureMetaData()
301 CAMERA_LOGI("Set afRegions [%{public}d]", *(entry.data.i32 + i)); in SendFocusMetaData()
302 afRegions.push_back(*(entry.data.i32 + i)); in SendFocusMetaData()
/drivers/peripheral/camera/vdi_base/common/metadata_manager/src/
Dmetadata_controller.cpp184 streamId = *entry.data.i32; in GetStreamId()
401 if (*(baseEntry.data.i32) == *(newEntry.data.i32)) { in IsChangeI32Metadata()
433 if (*(baseEntry.data.i32 + i) != *(newEntry.data.i32 + i)) { in IsChangeI32ArrayMetadata()
/drivers/peripheral/camera/vdi_base/usb_camera/adapter/platform/v4l2/src/pipeline_core/nodes/uvc_node/
Duvc_node.cpp152 streamId = *entry.data.i32; in GetStreamId()
165 fpsRange.push_back(*(entry.data.i32 + i)); in GetUpdateFps()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/pipeline_core/nodes/uvc_node/
Duvc_node.cpp152 streamId = *entry.data.i32; in GetStreamId()
165 fpsRange.push_back(*(entry.data.i32 + i)); in GetUpdateFps()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/pipeline_core/nodes/v4l2_source_node/
Dv4l2_source_node.cpp135 streamId = *entry.data.i32; in GetStreamId()
/drivers/interface/camera/metadata/include/
Dcamera_metadata_operator.h104 int32_t *i32; member
/drivers/peripheral/camera/test/ut/usb_camera/
Dusb_camera_test.cpp346 …std::cout << static_cast<int>(entry.data.i32[0]) << "," << static_cast<int>(entry.data.i32[1]) << … in TEST_F()
390 …std::cout << "OHOS_JPEG_ORIENTATION value is " << static_cast<int>(entry.data.i32[0]) << std::endl; in TEST_F()
455 if (ret == 0 && entry.data.i32 != nullptr && entry.count > 0) { in TEST_F()
460 std::cout << entry.data.i32[i] << " "; in TEST_F()
/drivers/peripheral/camera/test/hdi/v1_1/src/
Dcamera_hdi_uttest_v1_1.cpp327 if (ret == HDI::Camera::V1_0::NO_ERROR && entry.data.i32 != nullptr && entry.count > 0) {
332 ss << entry.data.i32[i] << " ";
Dhdi_common_v1_1.cpp230 int id = entry.data.i32[i]; in DefaultInfosAnalyze()
238 int id = entry.data.i32[i]; in DefaultInfosAnalyze()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/include/
Dv4l2_device_manager.h85 ohosTagVec.push_back(entry.data.i32[i]); in MergeMetadata()
/drivers/peripheral/camera/test/benchmarktest/v1_0/src/
Dbenchmark_common.cpp190 int id = entry.data.i32[i]; in StartStream()
198 int id = entry.data.i32[i]; in StartStream()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/device_manager/
Dvi_controller.cpp154 expo = *(entry.data.i32); in SendAEMetaData()
/drivers/peripheral/camera/test/hdi/v1_0/src/
Dut_common.cpp212 int id = entry.data.i32[i]; in DefaultInfosAnalyze()
220 int id = entry.data.i32[i]; in DefaultInfosAnalyze()
/drivers/peripheral/camera/test/benchmarktest/v1_1/src/
Dbenchmark_common.cpp216 int id = entry.data.i32[i]; in StartStream()
224 int id = entry.data.i32[i]; in StartStream()

12