Home
last modified time | relevance | path

Searched refs:numerator (Results 1 – 24 of 24) sorted by relevance

/drivers/peripheral/camera/vdi_base/common/utils/exif/
Dexif_utils.cpp106 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 …]
Dexif_utils.h47 int32_t numerator; member
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
Dv4l2_stream.cpp75 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()
Dv4l2_fileformat.cpp67 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/
Dallocator.h36 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/
Dcamera_fileformat.cpp58 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/
Ddevice_manager_adapter.h75 int32_t numerator; member
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/include/
Dcamera_common.h143 uint32_t numerator; member
178 uint32_t numerator; member
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/include/
Dv4l2_common.h38 int32_t numerator; member
/drivers/peripheral/camera/interfaces/hdi_ipc/utils/src/
Dutils_data_stub.cpp43 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/
Dcamera_metadata_operator.h71 int32_t numerator; member
/drivers/hdf_core/framework/model/camera/utils/src/
Dcamera_utils.c432 … 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/
Dcamera_device_manager.h57 uint32_t numerator; member
/drivers/interface/camera/metadata/src/
Dmetadata_utils.cpp56 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()
Dcamera_metadata_operator.cpp926 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/
DREADME_zh.md175 int32_t numerator;
/drivers/peripheral/camera/vdi_base/usb_camera/adapter/platform/v4l2/src/device_manager/
Dv4l2_device_manager.cpp609 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/
Dv4l2_device_manager.cpp634 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()
Dsensor_controller.cpp695 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/
Dcamera_stream.c217 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/
Dohos_camera_demo.cpp945 exposureCompensationSteps.numerator = entry.data.r->numerator; in GetExposureCompensationSteps()
948 exposureCompensationSteps.numerator, exposureCompensationSteps.denominator); in GetExposureCompensationSteps()
/drivers/peripheral/distributed_camera/hdi_service/test/sample/
Ddcamera_hdf_demo.cpp894 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/
Dv4l2_main.cpp290 iter->fmtdesc.fps.numerator, iter->fmtdesc.fps.denominator); in V4L2UvcCallback()
/drivers/peripheral/camera/vdi_base/v4l2/src/camera_host/
Dhcs_deal.cpp437 aeCompensationStep.numerator = (int32_t)nodeValue; in DealAeCompensationSteps()