Home
last modified time | relevance | path

Searched refs:mfmt (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.c936 struct mmal_fmt *mfmt; in vidioc_try_fmt_vid_cap() local
938 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 …]
/linux-6.1.9/drivers/media/platform/cadence/
Dcdns-csi2tx.c331 struct v4l2_mbus_framefmt *mfmt; in csi2tx_start() local
350 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()