Home
last modified time | relevance | path

Searched refs:color_table (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/libavformat/
Dqtpalette.c73 const uint8_t *color_table; in ff_get_qtpalette() local
76 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()
/third_party/ffmpeg/libavcodec/
Dtexturedsp.c447 int color_table[8]; in rgtc1_block_internal() local
460 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 …]
Dtiertexseqv.c82 const unsigned char *color_table; in seq_decode_op1() local
114 color_table = src; in seq_decode_op1()
119 dst[i] = color_table[get_bits(&gb, bits)]; in seq_decode_op1()
Dxpmdec.c50 static const ColorEntry color_table[] = { variable
278 color_table, in color_string_to_rgba()
279 FF_ARRAY_ELEMS(color_table), in color_string_to_rgba()
/third_party/ffmpeg/libavutil/
Dparseutils.c204 static const ColorEntry color_table[] = { variable
399 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()
/third_party/ffmpeg/libavfilter/
Davf_showspectrum.c186 } color_table[][8] = { variable
582 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 …]
/third_party/uboot/u-boot-2020.01/drivers/video/
Dcfb_console.c1192 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()
Datmel_lcdfb.c108 struct bmp_color_table_entry cte = bmp->color_table[i]; in lcd_set_cmap()
/third_party/uboot/u-boot-2020.01/include/
Dbmp_layout.h48 struct bmp_color_table_entry color_table[0]; member
/third_party/weston/clients/
Dterminal.c471 struct terminal_color color_table[256]; member
538 struct terminal_color *color_table = terminal->color_table; in init_color_table() local
542 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 …]
/third_party/flutter/skia/third_party/externals/wuffs/script/bench-rust-gif-dot-rs/src/
Dmain.rs99 gif::parser::color_table(&src[COLOR_TABLE_OFFSET..], COLOR_TABLE_ELEMENT_COUNT).unwrap(); in decode()
/third_party/ffmpeg/libavutil/tests/
Dparseutils.c226 for (i = 0; i < FF_ARRAY_ELEMS(color_table); ++i) { in test_av_get_known_color_name()
/third_party/uboot/u-boot-2020.01/common/
Dlcd.c547 cte = bmp->color_table[i]; in lcd_set_cmap()
576 palette = bmp->color_table; in lcd_display_bitmap()
/third_party/minimp3/player/
Dstb_image.h6134 stbi_uc *color_table; member
6230 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()