/drivers/peripheral/camera/vdi_base/common/utils/exif/ |
D | exif_utils.cpp | 106 gpsRational[0].numerator = degree; // Index in AddLatOrLongInfo() 108 gpsRational[1].numerator = minute; // Index in AddLatOrLongInfo() 110 gpsRational[2].numerator = second; // Index in AddLatOrLongInfo() 154 gpsAltitudeRational.numerator = altitudeRational.numerator; in AddAltitudeInfo() 327 long long numerator = 0; in ConvertAltitudeToRational() local 343 numerator = numerator * digitPosition + (character - '0'); in ConvertAltitudeToRational() 344 CAMERA_LOGI("%{public}s numerator = %{public}lld", __FUNCTION__, numerator); in ConvertAltitudeToRational() 353 for (int i = commonDivisor; static_cast<long long>(i) < numerator; i++) { in ConvertAltitudeToRational() 354 if ((numerator % i == 0) && (denominator % i == 0)) { in ConvertAltitudeToRational() 355 numerator /= i; in ConvertAltitudeToRational() [all …]
|
D | exif_utils.h | 47 int32_t numerator; member
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/ |
D | v4l2_stream.cpp | 75 format.fmtdesc.fps.numerator = Stream_Parm.parm.capture.timeperframe.numerator; in V4L2StreamFPSGet() 89 Stream_Parm.parm.capture.timeperframe.numerator = format.fmtdesc.fps.numerator; in V4L2StreamFPSSet()
|
D | v4l2_fileformat.cpp | 67 currentFormat.fmtdesc.fps.numerator = fraMival.discrete.numerator; in V4L2SearchFormat() 72 …CAMERA_LOGD("frame interval: %d, %d\n\n", fraMival.discrete.numerator, fraMival.discrete.denominat… in V4L2SearchFormat() 294 format.cropcap.pixelaspect.numerator = cropcap.pixelaspect.numerator; in V4L2GetCropCap()
|
/drivers/peripheral/display/hal/default_standard/src/display_gralloc/ |
D | allocator.h | 36 T DivRoundUp(T numerator, T denominator) in DivRoundUp() argument 41 return (numerator + denominator - 1) / denominator; in DivRoundUp()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/ |
D | camera_fileformat.cpp | 58 currentFormat.fmtdesc.fps.numerator = fraMival.numerator; in CameraSearchFormat() 273 isFailed |= !HdfSbufWriteUint32(reqData, ctrl.fmtdesc.fps.numerator); in CameraSetFPS() 306 isFailed |= !HdfSbufReadUint32(respData, &(ctrl.fmtdesc.fps.numerator)); in CameraGetFPS() 405 isFailed |= !HdfSbufReadUint32(respData, &(fraMival.numerator)); in Enumfrmivale() 411 … CAMERA_LOGD("frame interval: %{public}d, %{public}d\n", fraMival.numerator, fraMival.denominator); in Enumfrmivale()
|
/drivers/peripheral/camera/vdi_base/common/device_manager/include/ |
D | device_manager_adapter.h | 75 int32_t numerator; member
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/include/ |
D | camera_common.h | 143 uint32_t numerator; member 178 uint32_t numerator; member
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/include/ |
D | v4l2_common.h | 38 int32_t numerator; member
|
/drivers/peripheral/camera/interfaces/hdi_ipc/utils/src/ |
D | utils_data_stub.cpp | 43 WriteData<int32_t>((*(entry.data.r + i)).numerator, cameraAbility); in WriteMetadataDataToVec() 162 ReadData<int32_t>(entry.data.r[i].numerator, index, cameraAbility); in ReadMetadataDataFromVec() 351 buffers.push_back((*(entry.data.r + i)).numerator); in WriteMetadata() 415 entry.data.r[i].numerator = buffers.at(j); in ReadMetadata()
|
/drivers/interface/camera/metadata/include/ |
D | camera_metadata_operator.h | 71 int32_t numerator; member
|
/drivers/hdf_core/framework/model/camera/utils/src/ |
D | camera_utils.c | 432 … if (ctrlConfig->pixelFormat.fps.numerator == 0 || ctrlConfig->pixelFormat.fps.denominator == 0) { in CheckFrameRate() 434 ctrlConfig->pixelFormat.fps.numerator, ctrlConfig->pixelFormat.fps.denominator); in CheckFrameRate() 441 …FPS_CALC_COEFF * (ctrlConfig->pixelFormat.fps.denominator) / ctrlConfig->pixelFormat.fps.numerator; in CheckFrameRate()
|
/drivers/hdf_core/framework/model/camera/device_manager/include/ |
D | camera_device_manager.h | 57 uint32_t numerator; member
|
/drivers/interface/camera/metadata/src/ |
D | metadata_utils.cpp | 56 WriteData<int32_t>((*(entry.data.r + i)).numerator, cameraAbility); in WriteMetadataDataToVec() 196 ReadData<int32_t>(entry.data.r[i].numerator, index, cameraAbility); in ReadMetadataDataFromVec() 341 rationalBuffers.push_back((*(item.data.r + i)).numerator); in WriteMetadata() 549 entry.data.r[i].numerator = buffers.at(j); in ReadMetadataRational()
|
D | camera_metadata_operator.cpp | 926 std::string dataStr = std::to_string((*(entry.data.r)).numerator) + "/" + in RationalItemToString() 930 dataStr += "]\n\t[" + std::to_string((*(entry.data.r + i)).numerator) + "/" + in RationalItemToString() 933 dataStr += " " + std::to_string((*(entry.data.r + i)).numerator) + "/" + in RationalItemToString()
|
/drivers/interface/camera/metadata/ |
D | README_zh.md | 175 int32_t numerator;
|
/drivers/peripheral/camera/vdi_base/usb_camera/adapter/platform/v4l2/src/device_manager/ |
D | v4l2_device_manager.cpp | 609 int32_t fpsValue = it.fmtdesc.fps.denominator / it.fmtdesc.fps.numerator; in ConvertAbilityFpsRangesToOhos() 632 if (it.fmtdesc.description != name || it.fmtdesc.fps.numerator == 0) { in ConvertAbilityStreamAvailableExtendConfigurationsToOhos() 635 fpsValue = it.fmtdesc.fps.denominator / it.fmtdesc.fps.numerator; in ConvertAbilityStreamAvailableExtendConfigurationsToOhos()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/ |
D | v4l2_device_manager.cpp | 634 int32_t fpsValue = it.fmtdesc.fps.denominator / it.fmtdesc.fps.numerator; in ConvertAbilityFpsRangesToOhos() 657 if (it.fmtdesc.description != name || it.fmtdesc.fps.numerator == 0) { in ConvertAbilityStreamAvailableExtendConfigurationsToOhos() 660 fpsValue = it.fmtdesc.fps.denominator / it.fmtdesc.fps.numerator; in ConvertAbilityStreamAvailableExtendConfigurationsToOhos()
|
D | sensor_controller.cpp | 695 format.fmtdesc.fps.numerator = 1; in SendFpsMetaData() 697 format.fmtdesc.fps.denominator, format.fmtdesc.fps.numerator); in SendFpsMetaData()
|
/drivers/hdf_core/framework/model/camera/device_impl/src/ |
D | camera_stream.c | 217 isFailed |= !HdfSbufWriteUint32(rspData, ctrlConfig.pixelFormat.fps.numerator); in CameraGetFPSData() 245 isFailed |= !HdfSbufReadUint32(reqData, &ctrlConfig->pixelFormat.fps.numerator); in CameraSetFPSData() 345 if (!HdfSbufWriteUint32(rspData, enumFmt.pixelFormat.fps.numerator)) { in CameraEnumFrameintervalData()
|
/drivers/peripheral/camera/test/demo/ |
D | ohos_camera_demo.cpp | 945 exposureCompensationSteps.numerator = entry.data.r->numerator; in GetExposureCompensationSteps() 948 exposureCompensationSteps.numerator, exposureCompensationSteps.denominator); in GetExposureCompensationSteps()
|
/drivers/peripheral/distributed_camera/hdi_service/test/sample/ |
D | dcamera_hdf_demo.cpp | 894 exposureCompensationSteps.numerator = entry.data.r->numerator; in GetExposureCompensationSteps() 897 exposureCompensationSteps.numerator, exposureCompensationSteps.denominator); in GetExposureCompensationSteps()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/main_test/ |
D | v4l2_main.cpp | 290 iter->fmtdesc.fps.numerator, iter->fmtdesc.fps.denominator); in V4L2UvcCallback()
|
/drivers/peripheral/camera/vdi_base/v4l2/src/camera_host/ |
D | hcs_deal.cpp | 437 aeCompensationStep.numerator = (int32_t)nodeValue; in DealAeCompensationSteps()
|