Lines Matching refs:fmtd
1915 struct v4l2_fmtdesc fmtd;
1917 if (copy_from_user(&fmtd, arg, sizeof(fmtd)))
1920 if (fmtd.type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
1923 if (fmtd.index == 0) {
1924 strcpy(fmtd.description, "bayer rgb");
1925 fmtd.pixelformat = V4L2_PIX_FMT_SBGGR8;
1926 } else if (fmtd.index == 1) {
1927 strcpy(fmtd.description, "compressed");
1928 fmtd.pixelformat = V4L2_PIX_FMT_ET61X251;
1929 fmtd.flags = V4L2_FMT_FLAG_COMPRESSED;
1933 fmtd.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
1934 memset(&fmtd.reserved, 0, sizeof(fmtd.reserved));
1936 if (copy_to_user(arg, &fmtd, sizeof(fmtd)))