Home
last modified time | relevance | path

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

/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dv4l2.c422 ctx->coded_fmt_desc = &soc->coded_fmts[0]; in tegra_reset_coded_fmt()
423 tegra_reset_fmt(ctx, f, ctx->coded_fmt_desc->fourcc); in tegra_reset_coded_fmt()
426 f->fmt.pix_mp.width = ctx->coded_fmt_desc->frmsize.min_width; in tegra_reset_coded_fmt()
427 f->fmt.pix_mp.height = ctx->coded_fmt_desc->frmsize.min_height; in tegra_reset_coded_fmt()
469 tegra_reset_fmt(ctx, f, ctx->coded_fmt_desc->decoded_fmts[0]); in tegra_reset_decoded_fmt()
472 ctx->coded_fmt_desc->decoded_fmts[0], in tegra_reset_decoded_fmt()
489 err = ctx->coded_fmt_desc->decode_wait(ctx); in tegra_decode_complete()
511 if (WARN_ON(!ctx->coded_fmt_desc)) in tegra_enum_decoded_fmt()
514 if (f->index >= ctx->coded_fmt_desc->num_decoded_fmts) in tegra_enum_decoded_fmt()
517 f->pixelformat = ctx->coded_fmt_desc->decoded_fmts[f->index]; in tegra_enum_decoded_fmt()
[all …]
H A Dvde.h152 const struct tegra_coded_fmt_desc *coded_fmt_desc; member
/linux/drivers/media/platform/rockchip/rkvdec/
H A Drkvdec.c56 const struct rkvdec_coded_fmt_desc *desc = ctx->coded_fmt_desc; in rkvdec_enum_decoded_fmt()
78 const struct rkvdec_coded_fmt_desc *desc = ctx->coded_fmt_desc; in rkvdec_is_valid_fmt()
141 const struct rkvdec_coded_fmt_desc *desc = ctx->coded_fmt_desc; in rkvdec_try_ctrl()
152 const struct rkvdec_coded_fmt_desc *desc = ctx->coded_fmt_desc; in rkvdec_s_ctrl()
617 ctx->coded_fmt_desc = rkvdec_enum_coded_fmt_desc(ctx, 0); in rkvdec_reset_coded_fmt()
618 rkvdec_reset_fmt(ctx, f, ctx->coded_fmt_desc->fourcc); in rkvdec_reset_coded_fmt()
621 f->fmt.pix_mp.width = ctx->coded_fmt_desc->frmsize.min_width; in rkvdec_reset_coded_fmt()
622 f->fmt.pix_mp.height = ctx->coded_fmt_desc->frmsize.min_height; in rkvdec_reset_coded_fmt()
624 if (ctx->coded_fmt_desc->ops->adjust_fmt) in rkvdec_reset_coded_fmt()
625 ctx->coded_fmt_desc->ops->adjust_fmt(ctx, f); in rkvdec_reset_coded_fmt()
[all …]