Home
last modified time | relevance | path

Searched refs:coded_fmt_desc (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/staging/media/rkvdec/
H A Drkvdec.c178 ctx->coded_fmt_desc = &rkvdec_coded_fmts[0]; in rkvdec_reset_coded_fmt()
179 rkvdec_reset_fmt(ctx, f, ctx->coded_fmt_desc->fourcc); in rkvdec_reset_coded_fmt()
185 if (ctx->coded_fmt_desc->ops->adjust_fmt) in rkvdec_reset_coded_fmt()
186 ctx->coded_fmt_desc->ops->adjust_fmt(ctx, f); in rkvdec_reset_coded_fmt()
196 ctx->coded_fmt_desc->decoded_fmts[0], in rkvdec_reset_decoded_fmt()
248 coded_desc = ctx->coded_fmt_desc; in rkvdec_try_capture_fmt()
368 ctx->coded_fmt_desc = desc; in rkvdec_s_output_fmt()
428 if (WARN_ON(!ctx->coded_fmt_desc)) in rkvdec_enum_capture_fmt()
431 if (f->index >= ctx->coded_fmt_desc->num_decoded_fmts) in rkvdec_enum_capture_fmt()
561 desc = ctx->coded_fmt_desc; in rkvdec_start_streaming()
[all …]
H A Drkvdec.h104 const struct rkvdec_coded_fmt_desc *coded_fmt_desc; member
/openbmc/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dv4l2.c424 ctx->coded_fmt_desc = &soc->coded_fmts[0]; in tegra_reset_coded_fmt()
425 tegra_reset_fmt(ctx, f, ctx->coded_fmt_desc->fourcc); in tegra_reset_coded_fmt()
428 f->fmt.pix_mp.width = ctx->coded_fmt_desc->frmsize.min_width; in tegra_reset_coded_fmt()
474 ctx->coded_fmt_desc->decoded_fmts[0], in tegra_reset_decoded_fmt()
491 err = ctx->coded_fmt_desc->decode_wait(ctx); in tegra_decode_complete()
513 if (WARN_ON(!ctx->coded_fmt_desc)) in tegra_enum_decoded_fmt()
516 if (f->index >= ctx->coded_fmt_desc->num_decoded_fmts) in tegra_enum_decoded_fmt()
519 f->pixelformat = ctx->coded_fmt_desc->decoded_fmts[f->index]; in tegra_enum_decoded_fmt()
546 coded_desc = ctx->coded_fmt_desc; in tegra_try_decoded_fmt()
696 ctx->coded_fmt_desc = desc; in tegra_s_coded_fmt()
[all …]
H A Dvde.h153 const struct tegra_coded_fmt_desc *coded_fmt_desc; member