Home
last modified time | relevance | path

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

/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
Dv4l2_stream.cpp76 format.fmtdesc.fps.denominator = Stream_Parm.parm.capture.timeperframe.denominator; in V4L2StreamFPSGet()
88 Stream_Parm.parm.capture.timeperframe.denominator = format.fmtdesc.fps.denominator; in V4L2StreamFPSSet()
Dv4l2_fileformat.cpp68 currentFormat.fmtdesc.fps.denominator = fraMival.discrete.denominator; in V4L2SearchFormat()
72 …ERA_LOGD("frame interval: %d, %d\n\n", fraMival.discrete.numerator, fraMival.discrete.denominator); in V4L2SearchFormat()
293 format.cropcap.pixelaspect.denominator = cropcap.pixelaspect.denominator; in V4L2GetCropCap()
/drivers/peripheral/camera/vdi_base/common/utils/exif/
Dexif_utils.cpp107 gpsRational[0].denominator = 1; in AddLatOrLongInfo()
109 gpsRational[1].denominator = 1; in AddLatOrLongInfo()
111 gpsRational[2].denominator = 1; in AddLatOrLongInfo()
155 gpsAltitudeRational.denominator = altitudeRational.denominator; in AddAltitudeInfo()
328 long long denominator = 1; in ConvertAltitudeToRational() local
346 denominator *= digitPosition; in ConvertAltitudeToRational()
347 CAMERA_LOGI("%{public}s denominator = %{public}lld", __FUNCTION__, denominator); in ConvertAltitudeToRational()
354 if ((numerator % i == 0) && (denominator % i == 0)) { in ConvertAltitudeToRational()
356 denominator /= i; in ConvertAltitudeToRational()
362 outPutAltitude.denominator = denominator; in ConvertAltitudeToRational()
[all …]
Dexif_utils.h48 int32_t denominator; member
/drivers/peripheral/display/hal/default_standard/src/display_gralloc/
Dallocator.h36 T DivRoundUp(T numerator, T denominator) in DivRoundUp() argument
38 if (denominator == 0) { in DivRoundUp()
41 return (numerator + denominator - 1) / denominator; in DivRoundUp()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/
Dcamera_fileformat.cpp59 currentFormat.fmtdesc.fps.denominator = fraMival.denominator; in CameraSearchFormat()
272 isFailed |= !HdfSbufWriteUint32(reqData, ctrl.fmtdesc.fps.denominator); in CameraSetFPS()
307 isFailed |= !HdfSbufReadUint32(respData, &(ctrl.fmtdesc.fps.denominator)); in CameraGetFPS()
406 isFailed |= !HdfSbufReadUint32(respData, &(fraMival.denominator)); 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.h76 int32_t denominator; member
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/include/
Dcamera_common.h144 uint32_t denominator; member
179 uint32_t denominator; member
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/include/
Dv4l2_common.h39 int32_t denominator; 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()
437 if (FPS_CALC_COEFF > UINT_MAX_VAL / ctrlConfig->pixelFormat.fps.denominator) { in CheckFrameRate()
441 …fps = FPS_CALC_COEFF * (ctrlConfig->pixelFormat.fps.denominator) / ctrlConfig->pixelFormat.fps.num… in CheckFrameRate()
/drivers/peripheral/camera/interfaces/hdi_ipc/utils/src/
Dutils_data_stub.cpp44 WriteData<int32_t>((*(entry.data.r + i)).denominator, cameraAbility); in WriteMetadataDataToVec()
163 ReadData<int32_t>(entry.data.r[i].denominator, index, cameraAbility); in ReadMetadataDataFromVec()
352 buffers.push_back((*(entry.data.r + i)).denominator); in WriteMetadata()
416 entry.data.r[i].denominator = buffers.at(j + 1); in ReadMetadata()
/drivers/interface/camera/metadata/include/
Dcamera_metadata_operator.h72 int32_t denominator; member
/drivers/hdf_core/framework/model/camera/device_manager/include/
Dcamera_device_manager.h58 uint32_t denominator; member
/drivers/interface/camera/metadata/src/
Dmetadata_utils.cpp57 WriteData<int32_t>((*(entry.data.r + i)).denominator, cameraAbility); in WriteMetadataDataToVec()
197 ReadData<int32_t>(entry.data.r[i].denominator, index, cameraAbility); in ReadMetadataDataFromVec()
342 rationalBuffers.push_back((*(item.data.r + i)).denominator); in WriteMetadata()
550 entry.data.r[i].denominator = buffers.at(j + 1); in ReadMetadataRational()
Dcamera_metadata_operator.cpp927 std::to_string((*(entry.data.r)).denominator); in RationalItemToString()
931 std::to_string((*(entry.data.r + i)).denominator); in RationalItemToString()
934 std::to_string((*(entry.data.r + i)).denominator); in RationalItemToString()
/drivers/interface/camera/metadata/
DREADME_zh.md176 int32_t denominator;
/drivers/hdf_core/framework/model/camera/device_impl/src/
Dcamera_stream.c218 isFailed |= !HdfSbufWriteUint32(rspData, ctrlConfig.pixelFormat.fps.denominator); in CameraGetFPSData()
244 isFailed |= !HdfSbufReadUint32(reqData, &ctrlConfig->pixelFormat.fps.denominator); in CameraSetFPSData()
349 if (!HdfSbufWriteUint32(rspData, enumFmt.pixelFormat.fps.denominator)) { in CameraEnumFrameintervalData()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/
Dsensor_controller.cpp694 format.fmtdesc.fps.denominator = (fpsRange_[0] + fpsRange_[1]) / GROUP_LEN; in SendFpsMetaData()
697 format.fmtdesc.fps.denominator, format.fmtdesc.fps.numerator); in SendFpsMetaData()
Dv4l2_device_manager.cpp634 int32_t fpsValue = it.fmtdesc.fps.denominator / it.fmtdesc.fps.numerator; in ConvertAbilityFpsRangesToOhos()
660 fpsValue = it.fmtdesc.fps.denominator / it.fmtdesc.fps.numerator; in ConvertAbilityStreamAvailableExtendConfigurationsToOhos()
/drivers/peripheral/camera/test/demo/
Dohos_camera_demo.cpp946 exposureCompensationSteps.denominator = entry.data.r->denominator; in GetExposureCompensationSteps()
948 exposureCompensationSteps.numerator, exposureCompensationSteps.denominator); in GetExposureCompensationSteps()
/drivers/peripheral/distributed_camera/hdi_service/test/sample/
Ddcamera_hdf_demo.cpp895 exposureCompensationSteps.denominator = entry.data.r->denominator; in GetExposureCompensationSteps()
897 exposureCompensationSteps.numerator, exposureCompensationSteps.denominator); in GetExposureCompensationSteps()
/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()
635 fpsValue = it.fmtdesc.fps.denominator / it.fmtdesc.fps.numerator; in ConvertAbilityStreamAvailableExtendConfigurationsToOhos()
/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.cpp439 aeCompensationStep.denominator = (int32_t)nodeValue; in DealAeCompensationSteps()