Home
last modified time | relevance | path

Searched refs:cap_fmt (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dv4l2.c665 struct v4l2_format *cap_fmt; in tegra_s_coded_fmt() local
711 cap_fmt = &ctx->decoded_fmt; in tegra_s_coded_fmt()
712 cap_fmt->fmt.pix_mp.xfer_func = f->fmt.pix_mp.xfer_func; in tegra_s_coded_fmt()
713 cap_fmt->fmt.pix_mp.ycbcr_enc = f->fmt.pix_mp.ycbcr_enc; in tegra_s_coded_fmt()
714 cap_fmt->fmt.pix_mp.colorspace = f->fmt.pix_mp.colorspace; in tegra_s_coded_fmt()
715 cap_fmt->fmt.pix_mp.quantization = f->fmt.pix_mp.quantization; in tegra_s_coded_fmt()
/openbmc/linux/drivers/staging/media/rkvdec/
H A Drkvdec.c337 struct v4l2_format *cap_fmt; in rkvdec_s_output_fmt() local
383 cap_fmt = &ctx->decoded_fmt; in rkvdec_s_output_fmt()
384 cap_fmt->fmt.pix_mp.colorspace = f->fmt.pix_mp.colorspace; in rkvdec_s_output_fmt()
385 cap_fmt->fmt.pix_mp.xfer_func = f->fmt.pix_mp.xfer_func; in rkvdec_s_output_fmt()
386 cap_fmt->fmt.pix_mp.ycbcr_enc = f->fmt.pix_mp.ycbcr_enc; in rkvdec_s_output_fmt()
387 cap_fmt->fmt.pix_mp.quantization = f->fmt.pix_mp.quantization; in rkvdec_s_output_fmt()
/openbmc/linux/drivers/media/platform/amphion/
H A Dvdec.c401 struct vpu_format *cap_fmt = vpu_get_format(inst, f->type); in vdec_try_fmt() local
403 if (!vpu_helper_match_format(inst, cap_fmt->type, cap_fmt->pixfmt, in vdec_try_fmt()
405 f->fmt.pix_mp.pixelformat = cap_fmt->pixfmt; in vdec_try_fmt()
/openbmc/linux/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-core.c953 struct s5p_jpeg_fmt *out_fmt, *cap_fmt; in s5p_jpeg_open() local
976 cap_fmt = s5p_jpeg_find_format(ctx, V4L2_PIX_FMT_JPEG, in s5p_jpeg_open()
982 cap_fmt = s5p_jpeg_find_format(ctx, V4L2_PIX_FMT_YUYV, in s5p_jpeg_open()
994 ctx->cap_q.fmt = cap_fmt; in s5p_jpeg_open()
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0004-ffmpeg-4.3.4-rpi_14.patch51236 - struct v4l2_format cap_fmt = s->capture.format;
51276 + struct v4l2_format cap_fmt = s->capture.format;
51280 ret = ioctl(s->fd, VIDIOC_G_FMT, &cap_fmt);
51295 + reinit = ctx_resolution_changed(&s->capture, &cap_fmt);
51299 - reinit = v4l2_resolution_changed(&s->capture, &cap_fmt);
51300 + s->capture.format = cap_fmt;
51302 - s->capture.height = v4l2_get_height(&cap_fmt);
51303 - s->capture.width = v4l2_get_width(&cap_fmt);
51305 + s->capture.height = ff_v4l2_get_format_height(&cap_fmt);
51306 + s->capture.width = ff_v4l2_get_format_width(&cap_fmt);