Searched refs:color_index (Results 1 – 2 of 2) sorted by relevance
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 …]
1141 int color_index = 0; in GetScanline() local1144 color_index |= data << (color * m_bpc); in GetScanline()1147 m_pLineBuf[col] = color_index; in GetScanline()1363 int color_index = 0; in DownSampleScanline8Bit() local1366 color_index |= data << (color * m_bpc); in DownSampleScanline8Bit()1369 m_pLineBuf[col] = color_index; in DownSampleScanline8Bit()