Lines Matching refs:palette
608 png_free(png_ptr, info_ptr->palette);
609 info_ptr->palette = NULL;
831 /* Build a grayscale palette. Palette is assumed to be 1 << bit_depth
837 png_build_grayscale_palette(int bit_depth, png_colorp palette)
846 if (palette == NULL)
879 palette[i].red = (png_byte)v;
880 palette[i].green = (png_byte)v;
881 palette[i].blue = (png_byte)v;