Home
last modified time | relevance | path

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

/drivers/media/test-drivers/visl/
Dvisl-video.c367 const struct visl_coded_format_desc *coded_desc; in visl_try_fmt_vid_cap() local
370 coded_desc = ctx->coded_format_desc; in visl_try_fmt_vid_cap()
372 for (i = 0; i < coded_desc->num_decoded_fmts; i++) { in visl_try_fmt_vid_cap()
373 if (coded_desc->decoded_fmts[i] == pix_mp->pixelformat) in visl_try_fmt_vid_cap()
377 if (i == coded_desc->num_decoded_fmts) in visl_try_fmt_vid_cap()
378 pix_mp->pixelformat = coded_desc->decoded_fmts[0]; in visl_try_fmt_vid_cap()
382 &coded_desc->frmsize); in visl_try_fmt_vid_cap()
396 const struct visl_coded_format_desc *coded_desc; in visl_try_fmt_vid_out() local
398 coded_desc = visl_find_coded_fmt_desc(pix_mp->pixelformat); in visl_try_fmt_vid_out()
399 if (!coded_desc) { in visl_try_fmt_vid_out()
[all …]
/drivers/media/platform/nvidia/tegra-vde/
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()
/drivers/staging/media/rkvdec/
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()