Lines Matching refs:coded_desc
367 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()
401 coded_desc = &visl_coded_fmts[0]; in visl_try_fmt_vid_out()
406 &coded_desc->frmsize); in visl_try_fmt_vid_out()