Lines Matching defs:row_info
194 count_filters(png_structp png_ptr, png_row_infop row_info, png_bytep data)
196 if (png_ptr != NULL && row_info != NULL)
209 count_zero_samples(png_structp png_ptr, png_row_infop row_info, png_bytep data)
215 /* Contents of row_info:
226 if (row_info->color_type == 0 || row_info->color_type == 3)
231 for (n = 0, nstop=row_info->width; n<nstop; n++)
233 if (row_info->bit_depth == 1)
245 if (row_info->bit_depth == 2)
257 if (row_info->bit_depth == 4)
269 if (row_info->bit_depth == 8)
273 if (row_info->bit_depth == 16)
285 int color_channels = row_info->channels;
286 if (row_info->color_type > 3)color_channels--;
288 for (n = 0, nstop=row_info->width; n<nstop; n++)
292 if (row_info->bit_depth == 8)
296 if (row_info->bit_depth == 16)
304 if (row_info->color_type > 3)
307 if (row_info->bit_depth == 16)