Searched refs:color_index (Results 1 – 3 of 3) sorted by relevance
272 $color_index{$rgb} = $i;285 if ( !defined($color_index{$rgb}) ) {287 $color_index{$rgb} = $nix;293 $lost++ if ( !defined($color_index{$rgb}) );375 $i = $color_index{$rgb} + 0;
241 int repeat_count, color_index, max_color_index = 2, background_color_index; in sixel_decode() local255 color_index = 0; in sixel_decode()389 if ((color_index = param[0]) < 0) { in sixel_decode()390 color_index = 0; in sixel_decode()391 } else if (color_index >= SIXEL_PALETTE_MAX) { in sixel_decode()392 color_index = SIXEL_PALETTE_MAX - 1; in sixel_decode()401 sixel_palet[color_index] = hls_to_rgb(param[2] * 100 / 360, param[3], param[4]); in sixel_decode()406 sixel_palet[color_index] = SIXEL_XRGB(param[2], param[3], param[4]); in sixel_decode()450 if (color_index > max_color_index) { in sixel_decode()451 max_color_index = color_index; in sixel_decode()[all …]
1045 unsigned int color_index = 0; in GetScanline() local1048 color_index |= data << (color * m_bpc); in GetScanline()1051 m_pLineBuf[col] = color_index; in GetScanline()1268 unsigned int color_index = 0; in DownSampleScanline8Bit() local1271 color_index |= data << (color * m_bpc); in DownSampleScanline8Bit()1274 m_pLineBuf[col] = color_index; in DownSampleScanline8Bit()