Lines Matching defs:dec_pdata

22 		     const struct mtk_vcodec_dec_pdata *dec_pdata)
27 for (k = 0; k < *dec_pdata->num_formats; k++) {
28 fmt = &dec_pdata->vdec_formats[k];
38 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata;
44 fmt = &dec_pdata->vdec_formats[format_index];
45 for (i = 0; i < *dec_pdata->num_formats; i++) {
46 if (dec_pdata->vdec_formats[i].type != MTK_FMT_FRAME)
310 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata;
312 fmt = mtk_vdec_find_format(f, dec_pdata);
316 fmt = mtk_vdec_find_format(f, dec_pdata);
328 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata;
330 fmt = mtk_vdec_find_format(f, dec_pdata);
334 fmt = mtk_vdec_find_format(f, dec_pdata);
424 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata;
437 if (!dec_pdata->uses_stateless_api &&
454 fmt = mtk_vdec_find_format(f, dec_pdata);
458 dec_pdata->default_out_fmt->fourcc;
459 fmt = mtk_vdec_find_format(f, dec_pdata);
462 dec_pdata->default_cap_fmt->fourcc;
463 fmt = mtk_vdec_find_format(f, dec_pdata);
499 if (dec_pdata->uses_stateless_api) {
550 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata;
555 for (i = 0; i < *dec_pdata->num_formats; i++) {
556 if (fsize->pixel_format != dec_pdata->vdec_formats[i].fourcc)
560 if (!dec_pdata->vdec_formats[i].frmsize.max_width)
564 fsize->stepwise = dec_pdata->vdec_formats[i].frmsize;
582 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata;
586 for (i = 0; i < *dec_pdata->num_formats; i++) {
588 dec_pdata->vdec_formats[i].type != MTK_FMT_DEC)
591 dec_pdata->vdec_formats[i].type != MTK_FMT_FRAME)
602 if (i == *dec_pdata->num_formats)
605 fmt = &dec_pdata->vdec_formats[i];