Home
last modified time | relevance | path

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

/linux/drivers/media/test-drivers/visl/
H A Dvisl-video.c385 const struct visl_coded_format_desc *coded_desc; in visl_try_fmt_vid_cap() local
388 coded_desc = ctx->coded_format_desc; in visl_try_fmt_vid_cap()
390 for (i = 0; i < coded_desc->num_decoded_fmts; i++) { in visl_try_fmt_vid_cap()
391 if (coded_desc->decoded_fmts[i] == pix_mp->pixelformat) in visl_try_fmt_vid_cap()
395 if (i == coded_desc->num_decoded_fmts) in visl_try_fmt_vid_cap()
396 pix_mp->pixelformat = coded_desc->decoded_fmts[0]; in visl_try_fmt_vid_cap()
400 &coded_desc->frmsize); in visl_try_fmt_vid_cap()
414 const struct visl_coded_format_desc *coded_desc; in visl_try_fmt_vid_out() local
416 coded_desc = visl_find_coded_fmt_desc(pix_mp->pixelformat); in visl_try_fmt_vid_out()
417 if (!coded_desc) { in visl_try_fmt_vid_out()
[all …]
/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dv4l2.c538 const struct tegra_coded_fmt_desc *coded_desc; in tegra_try_decoded_fmt() local
546 coded_desc = ctx->coded_fmt_desc; in tegra_try_decoded_fmt()
547 if (WARN_ON(!coded_desc)) in tegra_try_decoded_fmt()
550 if (!coded_desc->num_decoded_fmts) in tegra_try_decoded_fmt()
553 for (i = 0; i < coded_desc->num_decoded_fmts; i++) { in tegra_try_decoded_fmt()
554 if (coded_desc->decoded_fmts[i] == pix_mp->pixelformat) in tegra_try_decoded_fmt()
558 if (i == coded_desc->num_decoded_fmts) in tegra_try_decoded_fmt()
559 pix_mp->pixelformat = coded_desc->decoded_fmts[0]; in tegra_try_decoded_fmt()
564 &coded_desc->frmsize); in tegra_try_decoded_fmt()
/linux/drivers/staging/media/rkvdec/
H A Drkvdec.c240 const struct rkvdec_coded_fmt_desc *coded_desc; in rkvdec_try_capture_fmt() local
248 coded_desc = ctx->coded_fmt_desc; in rkvdec_try_capture_fmt()
249 if (WARN_ON(!coded_desc)) in rkvdec_try_capture_fmt()
252 for (i = 0; i < coded_desc->num_decoded_fmts; i++) { in rkvdec_try_capture_fmt()
253 if (coded_desc->decoded_fmts[i] == pix_mp->pixelformat) in rkvdec_try_capture_fmt()
257 if (i == coded_desc->num_decoded_fmts) in rkvdec_try_capture_fmt()
258 pix_mp->pixelformat = coded_desc->decoded_fmts[0]; in rkvdec_try_capture_fmt()
265 &coded_desc->frmsize); in rkvdec_try_capture_fmt()