Searched refs:mfmt (Results 1 – 2 of 2) sorted by relevance
936 struct mmal_fmt *mfmt; in vidioc_try_fmt_vid_cap() local938 mfmt = get_format(f); in vidioc_try_fmt_vid_cap()939 if (!mfmt) { in vidioc_try_fmt_vid_cap()944 mfmt = get_format(f); in vidioc_try_fmt_vid_cap()956 f->fmt.pix.bytesperline = f->fmt.pix.width * mfmt->ybbp; in vidioc_try_fmt_vid_cap()957 if (!mfmt->remove_padding) { in vidioc_try_fmt_vid_cap()958 if (mfmt->depth == 24) { in vidioc_try_fmt_vid_cap()970 int align_mask = ((32 * mfmt->depth) >> 3) - 1; in vidioc_try_fmt_vid_cap()985 (((f->fmt.pix.width + 31) & ~31) * mfmt->depth) >> 3; in vidioc_try_fmt_vid_cap()987 if ((mfmt->flags & V4L2_FMT_FLAG_COMPRESSED) && in vidioc_try_fmt_vid_cap()[all …]
331 struct v4l2_mbus_framefmt *mfmt; in csi2tx_start() local350 mfmt = &csi2tx->pad_fmts[pad_idx]; in csi2tx_start()351 fmt = csi2tx_get_fmt_from_mbus(mfmt->code); in csi2tx_start()367 writel(CSI2TX_DT_FORMAT_BYTES_PER_LINE(mfmt->width * fmt->bpp) | in csi2tx_start()368 CSI2TX_DT_FORMAT_MAX_LINE_NUM(mfmt->height + 1), in csi2tx_start()