Lines Matching refs:n_color
276 int n_color;
370 n_color = (1U << img->bitspersample);
371 img->redcmap = (uint16 *) _TIFFmalloc(sizeof(uint16)*n_color);
372 img->greencmap = (uint16 *) _TIFFmalloc(sizeof(uint16)*n_color);
373 img->bluecmap = (uint16 *) _TIFFmalloc(sizeof(uint16)*n_color);
379 _TIFFmemcpy( img->redcmap, red_orig, n_color * 2 );
380 _TIFFmemcpy( img->greencmap, green_orig, n_color * 2 );
381 _TIFFmemcpy( img->bluecmap, blue_orig, n_color * 2 );