Searched refs:n_color (Results 1 – 2 of 2) sorted by relevance
174 unsigned int n_color = ((x % m_n_colors_per_layer_face) + y) % m_n_colors_per_layer_face; in generateTestData() local176 *result_ptr = m_layer_face_data[n_layer][n_color][n_component]; in generateTestData()
276 int n_color; in TIFFRGBAImageBegin() local370 n_color = (1U << img->bitspersample); in TIFFRGBAImageBegin()371 img->redcmap = (uint16 *) _TIFFmalloc(sizeof(uint16)*n_color); in TIFFRGBAImageBegin()372 img->greencmap = (uint16 *) _TIFFmalloc(sizeof(uint16)*n_color); in TIFFRGBAImageBegin()373 img->bluecmap = (uint16 *) _TIFFmalloc(sizeof(uint16)*n_color); in TIFFRGBAImageBegin()379 _TIFFmemcpy( img->redcmap, red_orig, n_color * 2 ); in TIFFRGBAImageBegin()380 _TIFFmemcpy( img->greencmap, green_orig, n_color * 2 ); in TIFFRGBAImageBegin()381 _TIFFmemcpy( img->bluecmap, blue_orig, n_color * 2 ); in TIFFRGBAImageBegin()