Lines Matching refs:pfmt
32 const struct vpu_format *pfmt; in vpu_helper_check_type() local
34 for (pfmt = inst->formats; pfmt->pixfmt; pfmt++) { in vpu_helper_check_type()
35 if (!vpu_iface_check_format(inst, pfmt->pixfmt)) in vpu_helper_check_type()
37 if (pfmt->type == type) in vpu_helper_check_type()
46 const struct vpu_format *pfmt; in vpu_helper_find_format() local
54 for (pfmt = inst->formats; pfmt->pixfmt; pfmt++) { in vpu_helper_find_format()
55 if (pfmt->pixfmt == pixelfmt && (!type || type == pfmt->type)) in vpu_helper_find_format()
56 return pfmt; in vpu_helper_find_format()
64 const struct vpu_format *pfmt; in vpu_helper_enum_format() local
70 for (pfmt = inst->formats; pfmt->pixfmt; pfmt++) { in vpu_helper_enum_format()
71 if (!vpu_iface_check_format(inst, pfmt->pixfmt)) in vpu_helper_enum_format()
74 if (pfmt->type == type) { in vpu_helper_enum_format()
76 return pfmt; in vpu_helper_enum_format()