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