Home | History | Annotate | Download | only in libpng

Lines Matching refs:color_type

461    int bit_depth, color_type, compression_type, filter_type;
481 color_type = buf[9];
491 png_ptr->color_type = (png_byte)color_type;
498 switch (png_ptr->color_type)
526 color_type, interlace_type, compression_type, filter_type);
556 if (!(png_ptr->color_type&PNG_COLOR_MASK_COLOR))
564 if (png_ptr->color_type != PNG_COLOR_TYPE_PALETTE)
573 if (png_ptr->color_type != PNG_COLOR_TYPE_PALETTE)
617 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
652 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
805 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
821 if (png_ptr->color_type & PNG_COLOR_MASK_COLOR)
1370 if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY)
1385 else if (png_ptr->color_type == PNG_COLOR_TYPE_RGB)
1401 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
1459 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
1473 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
1475 else if (png_ptr->color_type & PNG_COLOR_MASK_COLOR)
1495 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
1513 else if (!(png_ptr->color_type & PNG_COLOR_MASK_COLOR)) /* GRAY */
3289 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
3296 else if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY)
3303 else if (png_ptr->color_type == PNG_COLOR_TYPE_RGB)
3317 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
3319 else if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY)
3326 else if (png_ptr->color_type == PNG_COLOR_TYPE_RGB)
3346 png_ptr->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
3357 if (png_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA)
3362 else if (png_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA)