Lines Matching refs:frameDesc
237 struct v4l2_frmsizeenum frameDesc {}; in getFormatFrames() struct
238 frameDesc.index = index; in getFormatFrames()
239 frameDesc.pixel_format = format->fcc; in getFormatFrames()
241 int ret = ioctl(mUVCFd.get(), VIDIOC_ENUM_FRAMESIZES, &frameDesc); in getFormatFrames()
245 if (frameDesc.index != index) { in getFormatFrames()
247 frameDesc.index, index); in getFormatFrames()
251 switch (frameDesc.type) { in getFormatFrames()
253 configFrame.width = frameDesc.discrete.width; in getFormatFrames()
254 configFrame.height = frameDesc.discrete.height; in getFormatFrames()
258 configFrame.width = frameDesc.stepwise.min_width; in getFormatFrames()
259 configFrame.height = frameDesc.stepwise.min_height; in getFormatFrames()
262 ALOGE("%s frame type %u invalid", __FUNCTION__, frameDesc.type); in getFormatFrames()