Home
last modified time | relevance | path

Searched refs:coded_fmt (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/media/test-drivers/visl/
H A Dvisl-dec.c226 struct v4l2_pix_format_mplane *coded_fmt = &ctx->coded_fmt.fmt.pix_mp; in visl_tpg_fill() local
260 coded_fmt->pixelformat, in visl_tpg_fill()
261 (coded_fmt->pixelformat >> 8) & 0xff, in visl_tpg_fill()
262 (coded_fmt->pixelformat >> 16) & 0xff, in visl_tpg_fill()
263 (coded_fmt->pixelformat >> 24) & 0xff, in visl_tpg_fill()
264 coded_fmt->width, in visl_tpg_fill()
265 coded_fmt->height, in visl_tpg_fill()
266 coded_fmt->num_planes); in visl_tpg_fill()
271 for (i = 0; i < coded_fmt->num_planes; i++) { in visl_tpg_fill()
276 coded_fmt->plane_fmt[i].bytesperline, in visl_tpg_fill()
[all …]
H A Dvisl-video.c22 u32 fourcc = ctx->coded_fmt.fmt.pix_mp.pixelformat; in visl_set_current_codec()
250 struct v4l2_format *f = &ctx->coded_fmt; in visl_reset_coded_fmt()
264 visl_print_fmt(ctx, &ctx->coded_fmt); in visl_reset_coded_fmt()
280 ctx->coded_fmt.fmt.pix_mp.width, in visl_reset_decoded_fmt()
281 ctx->coded_fmt.fmt.pix_mp.height); in visl_reset_decoded_fmt()
358 *f = ctx->coded_fmt; in visl_g_fmt_vid_out()
440 ctx->coded_fmt = *f; in visl_s_fmt_vid_out()
452 visl_print_fmt(ctx, &ctx->coded_fmt); in visl_s_fmt_vid_out()
547 f = &ctx->coded_fmt; in visl_queue_setup()
622 pix_fmt = &ctx->coded_fmt.fmt.pix; in visl_buf_prepare()
H A Dvisl.h150 struct v4l2_format coded_fmt; member
/openbmc/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dv4l2.c94 f = &ctx->coded_fmt; in tegra_queue_setup()
229 pixfmt = &ctx->coded_fmt.fmt.pix_mp; in tegra_buf_prepare()
422 struct v4l2_format *f = &ctx->coded_fmt; in tegra_reset_coded_fmt()
475 ctx->coded_fmt.fmt.pix_mp.width, in tegra_reset_decoded_fmt()
476 ctx->coded_fmt.fmt.pix_mp.height); in tegra_reset_decoded_fmt()
614 *f = ctx->coded_fmt; in tegra_g_coded_fmt()
676 f->fmt.pix_mp.pixelformat != ctx->coded_fmt.fmt.pix_mp.pixelformat)) in tegra_s_coded_fmt()
697 ctx->coded_fmt = *f; in tegra_s_coded_fmt()
841 tegra_try_coded_fmt(file, file->private_data, &ctx->coded_fmt); in tegra_open()
H A Dvde.h151 struct v4l2_format coded_fmt; member
/openbmc/linux/drivers/staging/media/rkvdec/
H A Drkvdec.c176 struct v4l2_format *f = &ctx->coded_fmt; in rkvdec_reset_coded_fmt()
197 ctx->coded_fmt.fmt.pix_mp.width, in rkvdec_reset_decoded_fmt()
198 ctx->coded_fmt.fmt.pix_mp.height); in rkvdec_reset_decoded_fmt()
261 pix_mp->width = max(pix_mp->width, ctx->coded_fmt.fmt.pix_mp.width); in rkvdec_try_capture_fmt()
262 pix_mp->height = max(pix_mp->height, ctx->coded_fmt.fmt.pix_mp.height); in rkvdec_try_capture_fmt()
349 f->fmt.pix_mp.pixelformat != ctx->coded_fmt.fmt.pix_mp.pixelformat)) in rkvdec_s_output_fmt()
369 ctx->coded_fmt = *f; in rkvdec_s_output_fmt()
400 *f = ctx->coded_fmt; in rkvdec_g_output_fmt()
478 f = &ctx->coded_fmt; in rkvdec_queue_setup()
507 f = &ctx->coded_fmt; in rkvdec_buf_prepare()
H A Drkvdec.h102 struct v4l2_format coded_fmt; member
H A Drkvdec-h264.c1060 if (width > ctx->coded_fmt.fmt.pix_mp.width || in rkvdec_h264_validate_sps()
1061 height > ctx->coded_fmt.fmt.pix_mp.height) in rkvdec_h264_validate_sps()