Searched refs:decoded_fmt (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/media/test-drivers/visl/ |
H A D | visl-video.c | 83 u32 width = ctx->decoded_fmt.fmt.pix_mp.width; in visl_tpg_init() 84 u32 height = ctx->decoded_fmt.fmt.pix_mp.height; in visl_tpg_init() 271 struct v4l2_format *f = &ctx->decoded_fmt; in visl_reset_decoded_fmt() 272 u32 decoded_fmt = ctx->coded_format_desc[0].decoded_fmts[0]; in visl_reset_decoded_fmt() local 274 visl_init_fmt(f, decoded_fmt); in visl_reset_decoded_fmt() 284 visl_print_fmt(ctx, &ctx->decoded_fmt); in visl_reset_decoded_fmt() 348 *f = ctx->decoded_fmt; in visl_g_fmt_vid_cap() 471 ctx->decoded_fmt = *f; in visl_s_fmt_vid_cap() 474 visl_print_fmt(ctx, &ctx->decoded_fmt); in visl_s_fmt_vid_cap() 550 f = &ctx->decoded_fmt; in visl_queue_setup() [all …]
|
H A D | visl-dec.c | 227 struct v4l2_pix_format_mplane *decoded_fmt = &ctx->decoded_fmt.fmt.pix_mp; in visl_tpg_fill() local 313 decoded_fmt->pixelformat, in visl_tpg_fill() 314 (decoded_fmt->pixelformat >> 8) & 0xff, in visl_tpg_fill() 315 (decoded_fmt->pixelformat >> 16) & 0xff, in visl_tpg_fill() 316 (decoded_fmt->pixelformat >> 24) & 0xff, in visl_tpg_fill() 317 decoded_fmt->width, in visl_tpg_fill() 318 decoded_fmt->height, in visl_tpg_fill() 319 decoded_fmt->num_planes); in visl_tpg_fill() 324 for (i = 0; i < decoded_fmt->num_planes; i++) { in visl_tpg_fill() 329 decoded_fmt->plane_fmt[i].bytesperline, in visl_tpg_fill() [all …]
|
H A D | visl.h | 151 struct v4l2_format decoded_fmt; member
|
/openbmc/linux/drivers/media/platform/nvidia/tegra-vde/ |
H A D | v4l2.c | 96 f = &ctx->decoded_fmt; in tegra_queue_setup() 232 pixfmt = &ctx->decoded_fmt.fmt.pix_mp; in tegra_buf_prepare() 469 struct v4l2_format *f = &ctx->decoded_fmt; in tegra_reset_decoded_fmt() 529 *f = ctx->decoded_fmt; in tegra_g_decoded_fmt() 590 ctx->decoded_fmt = *f; in tegra_s_decoded_fmt() 711 cap_fmt = &ctx->decoded_fmt; in tegra_s_coded_fmt() 844 tegra_try_decoded_fmt(file, file->private_data, &ctx->decoded_fmt); in tegra_open()
|
H A D | vde.h | 152 struct v4l2_format decoded_fmt; member
|
H A D | h264.c | 701 struct v4l2_pix_format_mplane *pixfmt = &ctx->decoded_fmt.fmt.pix_mp; in tegra_vde_h264_setup_frame()
|
/openbmc/linux/drivers/staging/media/rkvdec/ |
H A D | rkvdec.h | 103 struct v4l2_format decoded_fmt; member
|
H A D | rkvdec.c | 191 struct v4l2_format *f = &ctx->decoded_fmt; in rkvdec_reset_decoded_fmt() 327 ctx->decoded_fmt = *f; in rkvdec_s_capture_fmt() 383 cap_fmt = &ctx->decoded_fmt; in rkvdec_s_output_fmt() 409 *f = ctx->decoded_fmt; in rkvdec_g_capture_fmt() 480 f = &ctx->decoded_fmt; in rkvdec_queue_setup() 509 f = &ctx->decoded_fmt; in rkvdec_buf_prepare()
|
H A D | rkvdec-vp9.c | 554 aligned_height = round_up(ctx->decoded_fmt.fmt.pix_mp.height, 64); in config_registers() 556 aligned_pitch = round_up(ctx->decoded_fmt.fmt.pix_mp.width * in config_registers() 691 writel_relaxed(ctx->decoded_fmt.fmt.pix_mp.width | in config_registers() 692 (ctx->decoded_fmt.fmt.pix_mp.height << 16), in config_registers() 715 if (aligned_width != ctx->decoded_fmt.fmt.pix_mp.width || in validate_dec_params() 716 aligned_height != ctx->decoded_fmt.fmt.pix_mp.height) { in validate_dec_params()
|
H A D | rkvdec-h264.c | 910 f = &ctx->decoded_fmt; in config_registers()
|