Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavformat/
Dqtpalette.c365 const uint8_t *color_table; in ff_get_qtpalette() local
368 color_table = qt_default_palette_2; in ff_get_qtpalette()
370 color_table = qt_default_palette_4; in ff_get_qtpalette()
372 color_table = qt_default_palette_16; in ff_get_qtpalette()
374 color_table = qt_default_palette_256; in ff_get_qtpalette()
376 r = color_table[i * 3 + 0]; in ff_get_qtpalette()
377 g = color_table[i * 3 + 1]; in ff_get_qtpalette()
378 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/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/mesa3d/src/gallium/frontends/vdpau/
Doutput.c293 void const *color_table) in vlVdpOutputSurfacePutBitsIndexed() argument
329 if (!color_table) in vlVdpOutputSurfacePutBitsIndexed()
398 context->texture_subdata(context, res, 0, PIPE_MAP_WRITE, &box, color_table, in vlVdpOutputSurfacePutBitsIndexed()
/third_party/mesa3d/src/mesa/drivers/x11/
DxmesaP.h226 unsigned long color_table[576]; /* RGB -> pixel value */ member