Home | History | Annotate | Download | only in libpng-1.2.19

Lines Matching refs:num_palette

225    if (info_ptr->num_palette <= 0 || info_ptr->num_palette
236 /* Changed from info->num_palette to PNG_MAX_PALETTE_LENGTH in version
246 for (i = 0; i < info_ptr->num_palette; i++)
530 png_colorp palette, int num_palette)
537 if (num_palette < 0 || num_palette > PNG_MAX_PALETTE_LENGTH)
558 of num_palette entries,
564 png_memcpy(png_ptr->palette, palette, num_palette * png_sizeof (png_color));
566 info_ptr->num_palette = png_ptr->num_palette = (png_uint_16)num_palette;