Home
last modified time | relevance | path

Searched refs:color_table (Results 1 – 9 of 9) 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/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/astc-encoder/Source/
Dstb_image.h6485 stbi_uc *color_table; member
6585 c = &g->color_table[g->codes[code].suffix * 4]; in stbi__out_gif_code()
6799 g->color_table = (stbi_uc *) g->lpal; in stbi__gif_load_next()
6801 g->color_table = (stbi_uc *) g->pal; in stbi__gif_load_next()