Searched refs:channels_ (Results 1 – 2 of 2) sorted by relevance
44 return channels_; in channels()76 png_byte channels_; variable
114 channels_ = png_get_channels(png_ptr_, info_ptr_); in PngHandler()116 if (bit_depth_ == 8 && channels_ == 3 && color_type_ == PNG_COLOR_TYPE_RGB) { in PngHandler()118 } else if (bit_depth_ <= 8 && channels_ == 1 && color_type_ == PNG_COLOR_TYPE_GRAY) { in PngHandler()121 } else if (bit_depth_ <= 8 && channels_ == 1 && color_type_ == PNG_COLOR_TYPE_PALETTE) { in PngHandler()127 channels_ = 3; in PngHandler()130 channels_, color_type_); in PngHandler()