Home | History | Annotate | Download | only in libpng

Lines Matching refs:color_type

445    int bit_depth, color_type, compression_type, filter_type;
465 color_type = buf[9];
475 png_ptr->color_type = (png_byte)color_type;
482 switch (png_ptr->color_type)
510 color_type, interlace_type, compression_type, filter_type);
540 if (!(png_ptr->color_type&PNG_COLOR_MASK_COLOR))
548 if (png_ptr->color_type != PNG_COLOR_TYPE_PALETTE)
557 if (png_ptr->color_type != PNG_COLOR_TYPE_PALETTE)
601 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
636 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
789 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
805 if (png_ptr->color_type & PNG_COLOR_MASK_COLOR)
1354 if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY)
1369 else if (png_ptr->color_type == PNG_COLOR_TYPE_RGB)
1385 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
1443 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
1457 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
1459 else if (png_ptr->color_type & PNG_COLOR_MASK_COLOR)
1479 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
1497 else if (!(png_ptr->color_type & PNG_COLOR_MASK_COLOR)) /* GRAY */
3247 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
3254 else if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY)
3261 else if (png_ptr->color_type == PNG_COLOR_TYPE_RGB)
3275 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
3277 else if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY)
3284 else if (png_ptr->color_type == PNG_COLOR_TYPE_RGB)
3304 png_ptr->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
3315 if (png_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA)
3320 else if (png_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA)