Lines Matching refs:fmtd
1324 struct v4l2_fmtdesc fmtd;
1326 if (copy_from_user(&fmtd, arg, sizeof(fmtd)))
1329 if (fmtd.type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
1332 if (fmtd.index == 0) {
1333 strcpy(fmtd.description, "JPEG");
1334 fmtd.pixelformat = V4L2_PIX_FMT_JPEG;
1335 fmtd.flags = V4L2_FMT_FLAG_COMPRESSED;
1339 fmtd.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
1340 memset(&fmtd.reserved, 0, sizeof(fmtd.reserved));
1342 if (copy_to_user(arg, &fmtd, sizeof(fmtd)))