Searched refs:currentFormat (Results 1 – 2 of 2) sorted by relevance
38 DeviceFormat currentFormat = {}; in V4L2GetCurrentFormat() local39 … currentFormat.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()
37 CameraCtrl currentFormat = {}; in CameraGetCurrentFormat() local38 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()