Home
last modified time | relevance | path

Searched refs:currentFormat (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
H A Dv4l2_fileformat.cpp38 DeviceFormat currentFormat = {}; in V4L2GetCurrentFormat() local
39currentFormat.fmtdesc.description = std::string(reinterpret_cast<char*>(enumFmtDesc.description)); in V4L2GetCurrentFormat()
40 currentFormat.fmtdesc.pixelformat = enumFmtDesc.pixelformat; in V4L2GetCurrentFormat()
41 currentFormat.fmtdesc.width = frmSize.discrete.width; in V4L2GetCurrentFormat()
42 currentFormat.fmtdesc.height = frmSize.discrete.height; in V4L2GetCurrentFormat()
43 currentFormat.fmtdesc.fps.numerator = fraMival.discrete.numerator; in V4L2GetCurrentFormat()
44 currentFormat.fmtdesc.fps.denominator = fraMival.discrete.denominator; in V4L2GetCurrentFormat()
46 fmtDesc.push_back(currentFormat); in V4L2GetCurrentFormat()
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/
H A Dcamera_fileformat.cpp37 CameraCtrl currentFormat = {}; in CameraGetCurrentFormat() local
38 strncpy_s(currentFormat.fmtdesc.description, NAME_SIZE, enumFmtDesc.description, NAME_SIZE); in CameraGetCurrentFormat()
39 currentFormat.fmtdesc.pixelFormat = enumFmtDesc.pixelFormat; in CameraGetCurrentFormat()
40 currentFormat.fmtdesc.width = frmSize.width; in CameraGetCurrentFormat()
41 currentFormat.fmtdesc.height = frmSize.height; in CameraGetCurrentFormat()
42 currentFormat.fmtdesc.fps.numerator = fraMival.numerator; in CameraGetCurrentFormat()
43 currentFormat.fmtdesc.fps.denominator = fraMival.denominator; in CameraGetCurrentFormat()
44 fmtDesc.push_back(currentFormat); in CameraGetCurrentFormat()