Searched refs:uformat (Results 1 – 1 of 1) sorted by relevance
30 static const struct uvc_format_desc *to_uvc_format(struct uvcg_format *uformat) in to_uvc_format() argument35 if (uformat->type == UVCG_UNCOMPRESSED) { in to_uvc_format()38 unc = to_uvcg_uncompressed(&uformat->group.cg_item); in to_uvc_format()43 } else if (uformat->type == UVCG_FRAMEBASED) { in to_uvc_format()46 unc = to_uvcg_framebased(&uformat->group.cg_item); in to_uvc_format()60 static int uvc_v4l2_get_bytesperline(struct uvcg_format *uformat, in uvc_v4l2_get_bytesperline() argument65 if (uformat->type == UVCG_UNCOMPRESSED) { in uvc_v4l2_get_bytesperline()66 u = to_uvcg_uncompressed(&uformat->group.cg_item); in uvc_v4l2_get_bytesperline()76 static int uvc_get_frame_size(struct uvcg_format *uformat, in uvc_get_frame_size() argument79 unsigned int bpl = uvc_v4l2_get_bytesperline(uformat, uframe); in uvc_get_frame_size()[all …]