Lines Matching defs:fmt

22 	u32 fourcc = ctx->coded_fmt.fmt.pix_mp.pixelformat;
52 const struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp;
83 u32 width = ctx->decoded_fmt.fmt.pix_mp.width;
84 u32 height = ctx->decoded_fmt.fmt.pix_mp.height;
85 struct v4l2_pix_format_mplane *f = &ctx->decoded_fmt.fmt.pix_mp;
240 f->fmt.pix_mp.pixelformat = fourcc;
241 f->fmt.pix_mp.field = V4L2_FIELD_NONE;
242 f->fmt.pix_mp.colorspace = V4L2_COLORSPACE_REC709;
243 f->fmt.pix_mp.ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT;
244 f->fmt.pix_mp.quantization = V4L2_QUANTIZATION_DEFAULT;
245 f->fmt.pix_mp.xfer_func = V4L2_XFER_FUNC_DEFAULT;
251 struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp;
257 f->fmt.pix_mp.width = ctx->coded_format_desc->frmsize.min_width;
258 f->fmt.pix_mp.height = ctx->coded_format_desc->frmsize.min_height;
278 v4l2_fill_pixfmt_mp(&f->fmt.pix_mp,
280 ctx->coded_fmt.fmt.pix_mp.width,
281 ctx->coded_fmt.fmt.pix_mp.height);
365 struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp;
395 struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp;
438 desc = visl_find_coded_fmt_desc(f->fmt.pix_mp.pixelformat);
446 ctx->decoded_fmt.fmt.pix_mp.colorspace = f->fmt.pix_mp.colorspace;
447 ctx->decoded_fmt.fmt.pix_mp.xfer_func = f->fmt.pix_mp.xfer_func;
448 ctx->decoded_fmt.fmt.pix_mp.ycbcr_enc = f->fmt.pix_mp.ycbcr_enc;
449 ctx->decoded_fmt.fmt.pix_mp.quantization = f->fmt.pix_mp.quantization;
483 const struct visl_coded_format_desc *fmt;
489 fmt = visl_find_coded_fmt_desc(fsize->pixel_format);
490 if (!fmt) {
499 fsize->stepwise = fmt->frmsize;
555 if (*num_planes != f->fmt.pix_mp.num_planes)
558 for (i = 0; i < f->fmt.pix_mp.num_planes; i++) {
559 if (sizes[i] < f->fmt.pix_mp.plane_fmt[i].sizeimage)
563 *num_planes = f->fmt.pix_mp.num_planes;
564 for (i = 0; i < f->fmt.pix_mp.num_planes; i++)
565 sizes[i] = f->fmt.pix_mp.plane_fmt[i].sizeimage;
571 for (i = 0; i < f->fmt.pix_mp.num_planes; i++)
573 i, f->fmt.pix_mp.plane_fmt[i].sizeimage);
622 pix_fmt = &ctx->coded_fmt.fmt.pix;
624 pix_fmt = &ctx->decoded_fmt.fmt.pix;