/drivers/peripheral/camera/interfaces/hdi_ipc/utils/src/ |
D | utils_data_stub.cpp | 27 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/ |
D | metadata_utils.cpp | 40 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 …]
|
D | camera_metadata_operator.cpp | 796 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/ |
D | codec_node.cpp | 111 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()
|
D | exif_node.cpp | 126 captureOrientation = *(entry.data.i32); in SendMetadata()
|
/drivers/peripheral/camera/test/ut/v4l2/ |
D | camera_ability_test.cpp | 41 sensorOrientation = *(entry.data.i32); in GetSensorOrientation() 117 jpegOrientation = *(entry.data.i32); in GetJpegOrientation()
|
D | camera_fps_test.cpp | 47 fpsRange_.push_back(*(entry.data.i32 + i)); in GetFpsRange()
|
D | usb_camera_test.cpp | 347 …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()
|
D | usb_camera_test_mult.cpp | 413 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/ |
D | sensor_controller.cpp | 519 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/ |
D | dcamera_host.cpp | 106 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/ |
D | ipp_node.cpp | 177 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/ |
D | metadata_controller.cpp | 184 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/ |
D | uvc_node.cpp | 152 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/ |
D | uvc_node.cpp | 152 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/ |
D | v4l2_source_node.cpp | 135 streamId = *entry.data.i32; in GetStreamId()
|
/drivers/interface/camera/metadata/include/ |
D | camera_metadata_operator.h | 104 int32_t *i32; member
|
/drivers/peripheral/camera/test/ut/usb_camera/ |
D | usb_camera_test.cpp | 346 …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/ |
D | camera_hdi_uttest_v1_1.cpp | 327 if (ret == HDI::Camera::V1_0::NO_ERROR && entry.data.i32 != nullptr && entry.count > 0) { 332 ss << entry.data.i32[i] << " ";
|
D | hdi_common_v1_1.cpp | 230 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/ |
D | v4l2_device_manager.h | 85 ohosTagVec.push_back(entry.data.i32[i]); in MergeMetadata()
|
/drivers/peripheral/camera/test/benchmarktest/v1_0/src/ |
D | benchmark_common.cpp | 190 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/ |
D | vi_controller.cpp | 154 expo = *(entry.data.i32); in SendAEMetaData()
|
/drivers/peripheral/camera/test/hdi/v1_0/src/ |
D | ut_common.cpp | 212 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/ |
D | benchmark_common.cpp | 216 int id = entry.data.i32[i]; in StartStream() 224 int id = entry.data.i32[i]; in StartStream()
|