Lines Matching refs:intervalDesc
202 struct v4l2_frmivalenum intervalDesc {}; in getFrameIntervals() struct
203 intervalDesc.index = index; in getFrameIntervals()
204 intervalDesc.pixel_format = format->fcc; in getFrameIntervals()
205 intervalDesc.width = frame->width; in getFrameIntervals()
206 intervalDesc.height = frame->height; in getFrameIntervals()
207 int ret = ioctl(mUVCFd.get(), VIDIOC_ENUM_FRAMEINTERVALS, &intervalDesc); in getFrameIntervals()
211 if (intervalDesc.index != index) { in getFrameIntervals()
213 intervalDesc.index, index); in getFrameIntervals()
216 switch (intervalDesc.type) { in getFrameIntervals()
218 ival = (intervalDesc.discrete.numerator * FRAME_INTERVAL_NUM) / in getFrameIntervals()
219 intervalDesc.discrete.denominator; in getFrameIntervals()
223 ival = intervalDesc.stepwise.min.numerator / intervalDesc.stepwise.min.denominator; in getFrameIntervals()
226 ALOGE("%s frame type %u invalid", __FUNCTION__, intervalDesc.type); in getFrameIntervals()