Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.c933 struct mmal_fmt *mfmt; in vidioc_try_fmt_vid_cap() local
935 mfmt = get_format(f); in vidioc_try_fmt_vid_cap()
936 if (!mfmt) { in vidioc_try_fmt_vid_cap()
941 mfmt = get_format(f); in vidioc_try_fmt_vid_cap()
953 f->fmt.pix.bytesperline = f->fmt.pix.width * mfmt->ybbp; in vidioc_try_fmt_vid_cap()
954 if (!mfmt->remove_padding) { in vidioc_try_fmt_vid_cap()
955 if (mfmt->depth == 24) { in vidioc_try_fmt_vid_cap()
967 int align_mask = ((32 * mfmt->depth) >> 3) - 1; in vidioc_try_fmt_vid_cap()
982 (((f->fmt.pix.width + 31) & ~31) * mfmt->depth) >> 3; in vidioc_try_fmt_vid_cap()
984 if ((mfmt->flags & V4L2_FMT_FLAG_COMPRESSED) && in vidioc_try_fmt_vid_cap()
[all …]
/linux-6.12.1/drivers/media/platform/cadence/
Dcdns-csi2tx.c330 struct v4l2_mbus_framefmt *mfmt; in csi2tx_start() local
349 mfmt = &csi2tx->pad_fmts[pad_idx]; in csi2tx_start()
350 fmt = csi2tx_get_fmt_from_mbus(mfmt->code); in csi2tx_start()
366 writel(CSI2TX_DT_FORMAT_BYTES_PER_LINE(mfmt->width * fmt->bpp) | in csi2tx_start()
367 CSI2TX_DT_FORMAT_MAX_LINE_NUM(mfmt->height + 1), in csi2tx_start()
/linux-6.12.1/drivers/media/i2c/ccs/
Dccs-core.c2521 struct v4l2_mbus_framefmt *mfmt = in ccs_set_crop() local
2524 src_size.width = mfmt->width; in ccs_set_crop()
2525 src_size.height = mfmt->height; in ccs_set_crop()