Home
last modified time | relevance | path

Searched refs:pix_mp (Results 1 – 25 of 61) sorted by relevance

123

/linux-6.1.9/drivers/media/platform/verisilicon/
Dhantro_v4l2.c32 struct v4l2_pix_format_mplane *pix_mp);
34 struct v4l2_pix_format_mplane *pix_mp);
253 struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp; in vidioc_g_fmt_out_mplane() local
258 *pix_mp = ctx->src_fmt; in vidioc_g_fmt_out_mplane()
266 struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp; in vidioc_g_fmt_cap_mplane() local
271 *pix_mp = ctx->dst_fmt; in vidioc_g_fmt_cap_mplane()
277 struct v4l2_pix_format_mplane *pix_mp, in hantro_try_fmt() argument
287 (pix_mp->pixelformat & 0x7f), in hantro_try_fmt()
288 (pix_mp->pixelformat >> 8) & 0x7f, in hantro_try_fmt()
289 (pix_mp->pixelformat >> 16) & 0x7f, in hantro_try_fmt()
[all …]
Dhantro_postproc.c195 struct v4l2_pix_format_mplane pix_mp; in hantro_postproc_alloc() local
203 v4l2_fill_pixfmt_mp(&pix_mp, fmt->fourcc, ctx->src_fmt.width, in hantro_postproc_alloc()
206 buf_size = pix_mp.plane_fmt[0].sizeimage; in hantro_postproc_alloc()
208 buf_size += hantro_h264_mv_size(pix_mp.width, in hantro_postproc_alloc()
209 pix_mp.height); in hantro_postproc_alloc()
211 buf_size += hantro_vp9_mv_size(pix_mp.width, in hantro_postproc_alloc()
212 pix_mp.height); in hantro_postproc_alloc()
214 buf_size += hantro_hevc_mv_size(pix_mp.width, in hantro_postproc_alloc()
215 pix_mp.height); in hantro_postproc_alloc()
/linux-6.1.9/drivers/media/platform/mediatek/jpeg/
Dmtk_jpeg_core.c259 static int mtk_jpeg_try_fmt_mplane(struct v4l2_pix_format_mplane *pix_mp, in mtk_jpeg_try_fmt_mplane() argument
264 pix_mp->field = V4L2_FIELD_NONE; in mtk_jpeg_try_fmt_mplane()
266 pix_mp->num_planes = fmt->colplanes; in mtk_jpeg_try_fmt_mplane()
267 pix_mp->pixelformat = fmt->fourcc; in mtk_jpeg_try_fmt_mplane()
270 struct v4l2_plane_pix_format *pfmt = &pix_mp->plane_fmt[0]; in mtk_jpeg_try_fmt_mplane()
272 pix_mp->height = clamp(pix_mp->height, MTK_JPEG_MIN_HEIGHT, in mtk_jpeg_try_fmt_mplane()
274 pix_mp->width = clamp(pix_mp->width, MTK_JPEG_MIN_WIDTH, in mtk_jpeg_try_fmt_mplane()
286 pix_mp->height = clamp(round_up(pix_mp->height, fmt->v_align), in mtk_jpeg_try_fmt_mplane()
288 pix_mp->width = clamp(round_up(pix_mp->width, fmt->h_align), in mtk_jpeg_try_fmt_mplane()
292 struct v4l2_plane_pix_format *pfmt = &pix_mp->plane_fmt[i]; in mtk_jpeg_try_fmt_mplane()
[all …]
/linux-6.1.9/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-regs.c292 struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp; in mdp_map_ycbcr_prof_mplane() local
297 switch (pix_mp->colorspace) { in mdp_map_ycbcr_prof_mplane()
302 if (pix_mp->quantization == V4L2_QUANTIZATION_FULL_RANGE) in mdp_map_ycbcr_prof_mplane()
306 if (pix_mp->quantization == V4L2_QUANTIZATION_FULL_RANGE) in mdp_map_ycbcr_prof_mplane()
310 if (pix_mp->quantization == V4L2_QUANTIZATION_FULL_RANGE) in mdp_map_ycbcr_prof_mplane()
374 struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp; in mdp_try_fmt_mplane() local
381 fmt = mdp_find_fmt(pix_mp->pixelformat, f->type); in mdp_try_fmt_mplane()
386 (pix_mp->pixelformat & 0xff), in mdp_try_fmt_mplane()
387 (pix_mp->pixelformat >> 8) & 0xff, in mdp_try_fmt_mplane()
388 (pix_mp->pixelformat >> 16) & 0xff, in mdp_try_fmt_mplane()
[all …]
Dmtk-mdp3-m2m.c198 struct v4l2_pix_format_mplane *pix_mp; in mdp_m2m_queue_setup() local
201 pix_mp = &ctx_get_frame(ctx, q->type)->format.fmt.pix_mp; in mdp_m2m_queue_setup()
205 if (*num_planes != pix_mp->num_planes) in mdp_m2m_queue_setup()
207 for (i = 0; i < pix_mp->num_planes; ++i) in mdp_m2m_queue_setup()
208 if (sizes[i] < pix_mp->plane_fmt[i].sizeimage) in mdp_m2m_queue_setup()
211 *num_planes = pix_mp->num_planes; in mdp_m2m_queue_setup()
212 for (i = 0; i < pix_mp->num_planes; ++i) in mdp_m2m_queue_setup()
213 sizes[i] = pix_mp->plane_fmt[i].sizeimage; in mdp_m2m_queue_setup()
222 struct v4l2_pix_format_mplane *pix_mp; in mdp_m2m_buf_prepare() local
229 pix_mp = &ctx_get_frame(ctx, vb->type)->format.fmt.pix_mp; in mdp_m2m_buf_prepare()
[all …]
/linux-6.1.9/drivers/staging/media/rkvdec/
Drkvdec.c166 f->fmt.pix_mp.pixelformat = fourcc; in rkvdec_reset_fmt()
167 f->fmt.pix_mp.field = V4L2_FIELD_NONE; in rkvdec_reset_fmt()
168 f->fmt.pix_mp.colorspace = V4L2_COLORSPACE_REC709; in rkvdec_reset_fmt()
169 f->fmt.pix_mp.ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in rkvdec_reset_fmt()
170 f->fmt.pix_mp.quantization = V4L2_QUANTIZATION_DEFAULT; in rkvdec_reset_fmt()
171 f->fmt.pix_mp.xfer_func = V4L2_XFER_FUNC_DEFAULT; in rkvdec_reset_fmt()
182 f->fmt.pix_mp.width = ctx->coded_fmt_desc->frmsize.min_width; in rkvdec_reset_coded_fmt()
183 f->fmt.pix_mp.height = ctx->coded_fmt_desc->frmsize.min_height; in rkvdec_reset_coded_fmt()
195 v4l2_fill_pixfmt_mp(&f->fmt.pix_mp, in rkvdec_reset_decoded_fmt()
197 ctx->coded_fmt.fmt.pix_mp.width, in rkvdec_reset_decoded_fmt()
[all …]
/linux-6.1.9/drivers/media/platform/nvidia/tegra-vde/
Dv4l2.c99 if (*num_planes != f->fmt.pix_mp.num_planes) in tegra_queue_setup()
102 for (i = 0; i < f->fmt.pix_mp.num_planes; i++) { in tegra_queue_setup()
103 if (sizes[i] < f->fmt.pix_mp.plane_fmt[i].sizeimage) in tegra_queue_setup()
107 *num_planes = f->fmt.pix_mp.num_planes; in tegra_queue_setup()
109 for (i = 0; i < f->fmt.pix_mp.num_planes; i++) in tegra_queue_setup()
110 sizes[i] = f->fmt.pix_mp.plane_fmt[i].sizeimage; in tegra_queue_setup()
229 pixfmt = &ctx->coded_fmt.fmt.pix_mp; in tegra_buf_prepare()
232 pixfmt = &ctx->decoded_fmt.fmt.pix_mp; in tegra_buf_prepare()
411 f->fmt.pix_mp.pixelformat = fourcc; in tegra_reset_fmt()
412 f->fmt.pix_mp.field = V4L2_FIELD_NONE; in tegra_reset_fmt()
[all …]
/linux-6.1.9/drivers/media/platform/mediatek/mdp/
Dmtk_mdp_m2m.c178 struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp; in mtk_mdp_try_fmt_mplane() local
184 fmt = mtk_mdp_find_fmt(pix_mp->pixelformat, f->type); in mtk_mdp_try_fmt_mplane()
190 pix_mp->pixelformat); in mtk_mdp_try_fmt_mplane()
194 pix_mp->field = V4L2_FIELD_NONE; in mtk_mdp_try_fmt_mplane()
195 pix_mp->pixelformat = fmt->pixelformat; in mtk_mdp_try_fmt_mplane()
197 pix_mp->colorspace = ctx->colorspace; in mtk_mdp_try_fmt_mplane()
198 pix_mp->xfer_func = ctx->xfer_func; in mtk_mdp_try_fmt_mplane()
199 pix_mp->ycbcr_enc = ctx->ycbcr_enc; in mtk_mdp_try_fmt_mplane()
200 pix_mp->quantization = ctx->quant; in mtk_mdp_try_fmt_mplane()
224 ctx->id, f->type, pix_mp->width, pix_mp->height, in mtk_mdp_try_fmt_mplane()
[all …]
/linux-6.1.9/drivers/media/platform/qcom/camss/
Dcamss-video.c362 format->fmt.pix_mp.pixelformat, in video_get_subdev_format()
369 return video_mbus_to_pix_mp(&fmt.format, &format->fmt.pix_mp, in video_get_subdev_format()
383 &video->active_fmt.fmt.pix_mp; in video_queue_setup()
412 &video->active_fmt.fmt.pix_mp; in video_buf_init()
440 &video->active_fmt.fmt.pix_mp; in video_buf_prepare()
467 struct v4l2_pix_format_mplane *pix = &video->active_fmt.fmt.pix_mp; in video_check_format()
469 struct v4l2_pix_format_mplane *sd_pix = &format.fmt.pix_mp; in video_check_format()
481 pix->field != format.fmt.pix_mp.field) in video_check_format()
684 struct v4l2_pix_format_mplane *pix_mp; in __video_try_fmt() local
693 pix_mp = &f->fmt.pix_mp; in __video_try_fmt()
[all …]
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_dec.c31 if (fmt->fourcc == f->fmt.pix_mp.pixelformat) in mtk_vdec_find_format()
270 struct v4l2_pix_format_mplane *pix_fmt_mp = &f->fmt.pix_mp; in vidioc_try_fmt()
352 struct v4l2_pix_format_mplane *pix_fmt_mp = &f->fmt.pix_mp; in vidioc_try_fmt_vid_out_mplane()
447 struct v4l2_pix_format_mplane *pix_mp; in vidioc_vdec_s_fmt() local
459 pix_mp = &f->fmt.pix_mp; in vidioc_vdec_s_fmt()
499 q_data->sizeimage[0] = pix_mp->plane_fmt[0].sizeimage; in vidioc_vdec_s_fmt()
500 q_data->coded_width = pix_mp->width; in vidioc_vdec_s_fmt()
501 q_data->coded_height = pix_mp->height; in vidioc_vdec_s_fmt()
503 ctx->colorspace = pix_mp->colorspace; in vidioc_vdec_s_fmt()
504 ctx->ycbcr_enc = pix_mp->ycbcr_enc; in vidioc_vdec_s_fmt()
[all …]
Dmtk_vcodec_enc.c298 f->fmt.pix_mp.field = V4L2_FIELD_NONE; in vidioc_try_fmt_cap()
299 f->fmt.pix_mp.num_planes = 1; in vidioc_try_fmt_cap()
300 f->fmt.pix_mp.plane_fmt[0].bytesperline = 0; in vidioc_try_fmt_cap()
301 f->fmt.pix_mp.flags = 0; in vidioc_try_fmt_cap()
310 struct v4l2_pix_format_mplane *pix_fmt_mp = &f->fmt.pix_mp; in vidioc_try_fmt_out()
456 q_data->coded_width = f->fmt.pix_mp.width; in vidioc_venc_s_fmt_cap()
457 q_data->coded_height = f->fmt.pix_mp.height; in vidioc_venc_s_fmt_cap()
458 q_data->field = f->fmt.pix_mp.field; in vidioc_venc_s_fmt_cap()
460 for (i = 0; i < f->fmt.pix_mp.num_planes; i++) { in vidioc_venc_s_fmt_cap()
463 plane_fmt = &f->fmt.pix_mp.plane_fmt[i]; in vidioc_venc_s_fmt_cap()
[all …]
/linux-6.1.9/drivers/media/test-drivers/vicodec/
Dvicodec-core.c763 struct v4l2_pix_format_mplane *pix_mp; in vidioc_g_fmt() local
797 pix_mp = &f->fmt.pix_mp; in vidioc_g_fmt()
798 pix_mp->width = q_data->coded_width; in vidioc_g_fmt()
799 pix_mp->height = q_data->coded_height; in vidioc_g_fmt()
800 pix_mp->field = V4L2_FIELD_NONE; in vidioc_g_fmt()
801 pix_mp->pixelformat = info->id; in vidioc_g_fmt()
802 pix_mp->num_planes = 1; in vidioc_g_fmt()
803 pix_mp->plane_fmt[0].bytesperline = in vidioc_g_fmt()
805 pix_mp->plane_fmt[0].sizeimage = q_data->sizeimage; in vidioc_g_fmt()
806 pix_mp->colorspace = ctx->state.colorspace; in vidioc_g_fmt()
[all …]
/linux-6.1.9/drivers/media/platform/samsung/exynos-gsc/
Dgsc-core.c393 struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp; in gsc_try_fmt_mplane() local
399 pr_debug("user put w: %d, h: %d", pix_mp->width, pix_mp->height); in gsc_try_fmt_mplane()
401 fmt = find_fmt(&pix_mp->pixelformat, NULL, 0); in gsc_try_fmt_mplane()
404 pix_mp->pixelformat); in gsc_try_fmt_mplane()
408 if (pix_mp->field == V4L2_FIELD_ANY) in gsc_try_fmt_mplane()
409 pix_mp->field = V4L2_FIELD_NONE; in gsc_try_fmt_mplane()
410 else if (pix_mp->field != V4L2_FIELD_NONE) { in gsc_try_fmt_mplane()
411 pr_debug("Not supported field order(%d)\n", pix_mp->field); in gsc_try_fmt_mplane()
430 pix_mp->colorspace = ctx->out_colorspace; in gsc_try_fmt_mplane()
438 tmp_w = pix_mp->width; in gsc_try_fmt_mplane()
[all …]
/linux-6.1.9/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_dec.c171 if (formats[i].fourcc == f->fmt.pix_mp.pixelformat && in find_format()
335 struct v4l2_pix_format_mplane *pix_mp; in vidioc_g_fmt() local
338 pix_mp = &f->fmt.pix_mp; in vidioc_g_fmt()
355 pix_mp->width = ctx->buf_width; in vidioc_g_fmt()
356 pix_mp->height = ctx->buf_height; in vidioc_g_fmt()
357 pix_mp->field = V4L2_FIELD_NONE; in vidioc_g_fmt()
358 pix_mp->num_planes = 2; in vidioc_g_fmt()
361 pix_mp->pixelformat = ctx->dst_fmt->fourcc; in vidioc_g_fmt()
362 pix_mp->plane_fmt[0].bytesperline = ctx->buf_width; in vidioc_g_fmt()
363 pix_mp->plane_fmt[0].sizeimage = ctx->luma_size; in vidioc_g_fmt()
[all …]
/linux-6.1.9/drivers/media/platform/nxp/imx-jpeg/
Dmxc-jpeg.c1750 struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp; in mxc_jpeg_try_fmt() local
1752 u32 w = (pix_mp->width < MXC_JPEG_MAX_WIDTH) ? in mxc_jpeg_try_fmt()
1753 pix_mp->width : MXC_JPEG_MAX_WIDTH; in mxc_jpeg_try_fmt()
1754 u32 h = (pix_mp->height < MXC_JPEG_MAX_HEIGHT) ? in mxc_jpeg_try_fmt()
1755 pix_mp->height : MXC_JPEG_MAX_HEIGHT; in mxc_jpeg_try_fmt()
1759 memset(pix_mp->reserved, 0, sizeof(pix_mp->reserved)); in mxc_jpeg_try_fmt()
1760 pix_mp->field = V4L2_FIELD_NONE; in mxc_jpeg_try_fmt()
1761 pix_mp->num_planes = fmt->colplanes; in mxc_jpeg_try_fmt()
1762 pix_mp->pixelformat = fmt->fourcc; in mxc_jpeg_try_fmt()
1764 pix_mp->width = w; in mxc_jpeg_try_fmt()
[all …]
/linux-6.1.9/drivers/media/platform/amphion/
Dvenc.c169 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; in venc_g_fmt()
186 f->fmt.pix_mp.colorspace = venc->params.color.primaries; in venc_g_fmt()
187 f->fmt.pix_mp.xfer_func = venc->params.color.transfer; in venc_g_fmt()
188 f->fmt.pix_mp.ycbcr_enc = venc->params.color.matrix; in venc_g_fmt()
189 f->fmt.pix_mp.quantization = venc->params.color.full_range; in venc_g_fmt()
210 struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp; in venc_s_fmt() local
228 cur_fmt->width = pix_mp->width; in venc_s_fmt()
229 cur_fmt->height = pix_mp->height; in venc_s_fmt()
231 cur_fmt->sizeimage[i] = pix_mp->plane_fmt[i].sizeimage; in venc_s_fmt()
232 cur_fmt->bytesperline[i] = pix_mp->plane_fmt[i].bytesperline; in venc_s_fmt()
[all …]
Dvdec.c285 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; in vdec_g_fmt()
303 f->fmt.pix_mp.colorspace = vdec->codec_info.color_primaries; in vdec_g_fmt()
304 f->fmt.pix_mp.xfer_func = vdec->codec_info.transfer_chars; in vdec_g_fmt()
305 f->fmt.pix_mp.ycbcr_enc = vdec->codec_info.matrix_coeffs; in vdec_g_fmt()
306 f->fmt.pix_mp.quantization = vdec->codec_info.full_range; in vdec_g_fmt()
321 f->fmt.pix_mp.colorspace = vdec->codec_info.color_primaries; in vdec_try_fmt()
322 f->fmt.pix_mp.xfer_func = vdec->codec_info.transfer_chars; in vdec_try_fmt()
323 f->fmt.pix_mp.ycbcr_enc = vdec->codec_info.matrix_coeffs; in vdec_try_fmt()
324 f->fmt.pix_mp.quantization = vdec->codec_info.full_range; in vdec_try_fmt()
326 f->fmt.pix_mp.colorspace = V4L2_COLORSPACE_DEFAULT; in vdec_try_fmt()
[all …]
/linux-6.1.9/drivers/staging/media/ipu3/
Dipu3-v4l2.c32 imgu_pipe->nodes[IMGU_NODE_IN].vdev_fmt.fmt.pix_mp.width; in imgu_subdev_open()
34 imgu_pipe->nodes[IMGU_NODE_IN].vdev_fmt.fmt.pix_mp.height; in imgu_subdev_open()
91 &imgu_pipe->nodes[node].vdev_fmt.fmt.pix_mp : NULL; in imgu_subdev_s_stream()
360 need_bytes = node->vdev_fmt.fmt.pix_mp.plane_fmt[0].sizeimage; in imgu_vb2_buf_queue()
405 size = fmt->fmt.pix_mp.plane_fmt[0].sizeimage; in imgu_vb2_queue_setup()
592 if (formats[i].fourcc == f->fmt.pix_mp.pixelformat && in find_format()
715 fmts[i] = &f->fmt.pix_mp; in imgu_fmt()
720 fmts[i] = kmemdup(&imgu_pipe->nodes[inode].vdev_fmt.fmt.pix_mp, in imgu_fmt()
728 fmts[i] = &imgu_pipe->nodes[inode].vdev_fmt.fmt.pix_mp; in imgu_fmt()
766 imgu_pipe->nodes[node].vdev_fmt.fmt.pix_mp = f->fmt.pix_mp; in imgu_fmt()
[all …]
/linux-6.1.9/drivers/staging/media/meson/vdec/
Dvdec.c495 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; in vdec_try_fmt_common()
574 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; in vdec_g_fmt()
602 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; in vdec_s_fmt()
626 format.fmt.pix_mp.pixelformat = pixfmt_out; in vdec_s_fmt()
627 format.fmt.pix_mp.width = orig_pixmp.width; in vdec_s_fmt()
628 format.fmt.pix_mp.height = orig_pixmp.height; in vdec_s_fmt()
632 sess->width = format.fmt.pix_mp.width; in vdec_s_fmt()
633 sess->height = format.fmt.pix_mp.height; in vdec_s_fmt()
644 format.fmt.pix_mp.pixelformat = pixfmt_cap; in vdec_s_fmt()
645 format.fmt.pix_mp.width = orig_pixmp.width; in vdec_s_fmt()
[all …]
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dvdec.c169 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; in vdec_try_fmt_common()
265 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; in vdec_g_fmt()
301 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; in vdec_s_fmt()
330 format.fmt.pix_mp.pixelformat = pixfmt_out; in vdec_s_fmt()
331 format.fmt.pix_mp.width = orig_pixmp.width; in vdec_s_fmt()
332 format.fmt.pix_mp.height = orig_pixmp.height; in vdec_s_fmt()
336 inst->out_width = format.fmt.pix_mp.width; in vdec_s_fmt()
337 inst->out_height = format.fmt.pix_mp.height; in vdec_s_fmt()
348 format.fmt.pix_mp.pixelformat = pixfmt_cap; in vdec_s_fmt()
349 format.fmt.pix_mp.width = orig_pixmp.width; in vdec_s_fmt()
[all …]
Dvenc.c169 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; in venc_try_fmt_common()
231 struct v4l2_pix_format_mplane *pixmp = &f->fmt.pix_mp; in venc_s_fmt()
262 format.fmt.pix_mp.pixelformat = pixfmt_out; in venc_s_fmt()
263 format.fmt.pix_mp.width = orig_pixmp.width; in venc_s_fmt()
264 format.fmt.pix_mp.height = orig_pixmp.height; in venc_s_fmt()
268 inst->out_width = format.fmt.pix_mp.width; in venc_s_fmt()
269 inst->out_height = format.fmt.pix_mp.height; in venc_s_fmt()
279 format.fmt.pix_mp.pixelformat = pixfmt_cap; in venc_s_fmt()
280 format.fmt.pix_mp.width = orig_pixmp.width; in venc_s_fmt()
281 format.fmt.pix_mp.height = orig_pixmp.height; in venc_s_fmt()
[all …]
/linux-6.1.9/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_v4l2.c136 _sun4i_csi_try_fmt(csi, &f->fmt.pix_mp); in sun4i_csi_try_fmt_vid_cap()
146 _sun4i_csi_try_fmt(csi, &f->fmt.pix_mp); in sun4i_csi_s_fmt_vid_cap()
147 csi->fmt = f->fmt.pix_mp; in sun4i_csi_s_fmt_vid_cap()
157 f->fmt.pix_mp = csi->fmt; in sun4i_csi_g_fmt_vid_cap()
/linux-6.1.9/drivers/media/platform/renesas/
Drcar_fdp1.c1416 f->fmt.pix_mp = q_data->format; in fdp1_g_fmt()
1590 fdp1_try_fmt_output(ctx, NULL, &f->fmt.pix_mp); in fdp1_try_fmt()
1592 fdp1_try_fmt_capture(ctx, NULL, &f->fmt.pix_mp); in fdp1_try_fmt()
1596 (char *)&f->fmt.pix_mp.pixelformat, f->fmt.pix_mp.pixelformat, in fdp1_try_fmt()
1597 f->fmt.pix_mp.width, f->fmt.pix_mp.height, f->fmt.pix_mp.field); in fdp1_try_fmt()
1667 fdp1_set_format(ctx, &f->fmt.pix_mp, f->type); in fdp1_s_fmt()
1671 (char *)&f->fmt.pix_mp.pixelformat, f->fmt.pix_mp.pixelformat, in fdp1_s_fmt()
1672 f->fmt.pix_mp.width, f->fmt.pix_mp.height, f->fmt.pix_mp.field); in fdp1_s_fmt()
/linux-6.1.9/drivers/media/platform/ti/vpe/
Dcsc.c153 mp = &src_fmt->fmt.pix_mp; in csc_set_coeff()
165 mp = &dst_fmt->fmt.pix_mp; in csc_set_coeff()
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-ioctl.c302 mp = &p->fmt.pix_mp; in v4l_print_format()
1042 fmt->fmt.pix_mp.num_planes = min_t(u32, fmt->fmt.pix_mp.num_planes, in v4l_sanitize_format()
1076 u32 ycbcr_enc = fmt->fmt.pix_mp.ycbcr_enc; in v4l_sanitize_format()
1077 u32 quantization = fmt->fmt.pix_mp.quantization; in v4l_sanitize_format()
1078 u32 xfer_func = fmt->fmt.pix_mp.xfer_func; in v4l_sanitize_format()
1080 v4l_sanitize_colorspace(fmt->fmt.pix_mp.pixelformat, in v4l_sanitize_format()
1081 &fmt->fmt.pix_mp.colorspace, &ycbcr_enc, in v4l_sanitize_format()
1084 fmt->fmt.pix_mp.ycbcr_enc = ycbcr_enc; in v4l_sanitize_format()
1085 fmt->fmt.pix_mp.quantization = quantization; in v4l_sanitize_format()
1086 fmt->fmt.pix_mp.xfer_func = xfer_func; in v4l_sanitize_format()
[all …]

123