Searched refs:nr_channels (Results 1 – 5 of 5) sorted by relevance
157 chans = self.nr_channels()203 def nr_channels(self): member in Format204 nr_channels = 0207 nr_channels += 1208 return nr_channels
135 desc->nr_channels == 4 && in util_format_has_alpha1()532 src_desc->nr_channels != dst_desc->nr_channels || in util_is_format_compatible()606 for (chan = 0; chan < format_desc->nr_channels; ++chan) { in util_format_fits_8unorm()1366 desc->channel[desc->nr_channels - 1].type != UTIL_FORMAT_TYPE_VOID)); in util_format_rgbx_to_rgba()
226 print(" %u,\t/* nr_channels */" % (format.nr_channels(),))
165 unsigned nr_channels:3; member827 desc->nr_channels == 4 && in util_format_is_rgbx_or_bgrx()1496 return desc->nr_channels; in util_format_get_nr_components()
54 if format.nr_channels() <= 1:448 for i in range(format.nr_channels()):