Lines Matching refs:pfmt
33 const struct vpu_format *pfmt; in vpu_helper_check_type() local
35 for (pfmt = inst->formats; pfmt->pixfmt; pfmt++) { in vpu_helper_check_type()
36 if (!vpu_iface_check_format(inst, pfmt->pixfmt)) in vpu_helper_check_type()
38 if (pfmt->type == type) in vpu_helper_check_type()
47 const struct vpu_format *pfmt; in vpu_helper_find_format() local
55 for (pfmt = inst->formats; pfmt->pixfmt; pfmt++) { in vpu_helper_find_format()
56 if (pfmt->pixfmt == pixelfmt && (!type || type == pfmt->type)) in vpu_helper_find_format()
57 return pfmt; in vpu_helper_find_format()
95 const struct vpu_format *pfmt; in vpu_helper_enum_format() local
101 for (pfmt = inst->formats; pfmt->pixfmt; pfmt++) { in vpu_helper_enum_format()
102 if (!vpu_iface_check_format(inst, pfmt->pixfmt)) in vpu_helper_enum_format()
105 if (pfmt->type == type) { in vpu_helper_enum_format()
107 return pfmt; in vpu_helper_enum_format()