Searched refs:color_table (Results 1 – 14 of 14) sorted by relevance
73 const uint8_t *color_table; in ff_get_qtpalette() local76 color_table = ff_qt_default_palette_2; in ff_get_qtpalette()78 color_table = ff_qt_default_palette_4; in ff_get_qtpalette()80 color_table = ff_qt_default_palette_16; in ff_get_qtpalette()82 color_table = ff_qt_default_palette_256; in ff_get_qtpalette()84 r = color_table[i * 3 + 0]; in ff_get_qtpalette()85 g = color_table[i * 3 + 1]; in ff_get_qtpalette()86 b = color_table[i * 3 + 2]; in ff_get_qtpalette()
447 int color_table[8]; in rgtc1_block_internal() local460 color_table[0] = r0; in rgtc1_block_internal()461 color_table[1] = r1; in rgtc1_block_internal()465 color_table[2] = (6 * r0 + 1 * r1) / 7; // bit code 010 in rgtc1_block_internal()466 color_table[3] = (5 * r0 + 2 * r1) / 7; // bit code 011 in rgtc1_block_internal()467 color_table[4] = (4 * r0 + 3 * r1) / 7; // bit code 100 in rgtc1_block_internal()468 color_table[5] = (3 * r0 + 4 * r1) / 7; // bit code 101 in rgtc1_block_internal()469 color_table[6] = (2 * r0 + 5 * r1) / 7; // bit code 110 in rgtc1_block_internal()470 color_table[7] = (1 * r0 + 6 * r1) / 7; // bit code 111 in rgtc1_block_internal()473 color_table[2] = (4 * r0 + 1 * r1) / 5; // bit code 010 in rgtc1_block_internal()[all …]
82 const unsigned char *color_table; in seq_decode_op1() local114 color_table = src; in seq_decode_op1()119 dst[i] = color_table[get_bits(&gb, bits)]; in seq_decode_op1()
50 static const ColorEntry color_table[] = { variable278 color_table, in color_string_to_rgba()279 FF_ARRAY_ELEMS(color_table), in color_string_to_rgba()
204 static const ColorEntry color_table[] = { variable399 color_table, in av_parse_color()400 FF_ARRAY_ELEMS(color_table), in av_parse_color()438 if ((unsigned)color_idx >= FF_ARRAY_ELEMS(color_table)) in av_get_known_color_name()441 color = &color_table[color_idx]; in av_get_known_color_name()
186 } color_table[][8] = { variable582 for (i = 1; i < FF_ARRAY_ELEMS(color_table[cm]) - 1; i++) in pick_color()583 if (color_table[cm][i].a >= a) in pick_color()587 if (a <= color_table[cm][i - 1].a) { in pick_color()588 y = color_table[cm][i - 1].y; in pick_color()589 u = color_table[cm][i - 1].u; in pick_color()590 v = color_table[cm][i - 1].v; in pick_color()591 } else if (a >= color_table[cm][i].a) { in pick_color()592 y = color_table[cm][i].y; in pick_color()593 u = color_table[cm][i].u; in pick_color()[all …]
1192 cte = img->color_table[i]; in display_rle8_bitmap()1206 cte = img->color_table[i]; in display_rle8_bitmap()1215 cte = img->color_table[i]; in display_rle8_bitmap()1466 cte = bmp->color_table[idx]; in video_display_bitmap()1487 cte = bmp->color_table[xcount]; in video_display_bitmap()1511 cte = bmp->color_table[*bmap++]; in video_display_bitmap()1528 cte = bmp->color_table[*bmap++]; in video_display_bitmap()1549 cte = bmp->color_table[*bmap++]; in video_display_bitmap()1563 cte = bmp->color_table[*bmap++]; in video_display_bitmap()1577 cte = bmp->color_table[*bmap++]; in video_display_bitmap()
108 struct bmp_color_table_entry cte = bmp->color_table[i]; in lcd_set_cmap()
48 struct bmp_color_table_entry color_table[0]; member
471 struct terminal_color color_table[256]; member538 struct terminal_color *color_table = terminal->color_table; in init_color_table() local542 color_table[c] = terminal->color_scheme->palette[c]; in init_color_table()545 color_table[c].b = ((double)(r % 6) / 6.0); r /= 6; in init_color_table()546 color_table[c].g = ((double)(r % 6) / 6.0); r /= 6; in init_color_table()547 color_table[c].r = ((double)(r % 6) / 6.0); in init_color_table()548 color_table[c].a = 1.0; in init_color_table()551 color_table[c].r = ((double) r) / 256.0; in init_color_table()552 color_table[c].g = color_table[c].r; in init_color_table()553 color_table[c].b = color_table[c].r; in init_color_table()[all …]
99 gif::parser::color_table(&src[COLOR_TABLE_OFFSET..], COLOR_TABLE_ELEMENT_COUNT).unwrap(); in decode()
226 for (i = 0; i < FF_ARRAY_ELEMS(color_table); ++i) { in test_av_get_known_color_name()
547 cte = bmp->color_table[i]; in lcd_set_cmap()576 palette = bmp->color_table; in lcd_display_bitmap()
6134 stbi_uc *color_table; member6230 c = &g->color_table[g->codes[code].suffix * 4]; in stbi__out_gif_code()6432 g->color_table = (stbi_uc *) g->lpal; in stbi__gif_load_next()6434 g->color_table = (stbi_uc *) g->pal; in stbi__gif_load_next()