Home
last modified time | relevance | path

Searched refs:colors (Results 1 – 25 of 161) sorted by relevance

1234567

/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86cmap.c99 LOCO *colors; member
270 LOCO *colors; in CMapAllocateColormapPrivate() local
277 if (!(colors = xallocarray(numColors, sizeof(LOCO)))) in CMapAllocateColormapPrivate()
281 free(colors); in CMapAllocateColormapPrivate()
288 pColPriv->colors = colors; in CMapAllocateColormapPrivate()
332 free(pColPriv->colors); in CMapDestroyColormap()
543 indices, cmapPriv->colors, pmap->pVisual); in CMapReinstallMap()
566 LOCO *gamma, *colors; in CMapRefreshColors() local
574 colors = pColPriv->colors; in CMapRefreshColors()
584 colors[i].red = gamma[index].red; in CMapRefreshColors()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xnest/
H A DColor.c49 XColor *colors; in xnestCreateColormap() local
65 colors = xallocarray(ncolors, sizeof(XColor)); in xnestCreateColormap()
67 colors[i].pixel = i; in xnestCreateColormap()
68 XQueryColors(xnestDisplay, xnestColormap(pCmap), colors, ncolors); in xnestCreateColormap()
70 pCmap->red[i].co.local.red = colors[i].red; in xnestCreateColormap()
71 pCmap->red[i].co.local.green = colors[i].red; in xnestCreateColormap()
72 pCmap->red[i].co.local.blue = colors[i].red; in xnestCreateColormap()
74 free(colors); in xnestCreateColormap()
78 colors = xallocarray(ncolors, sizeof(XColor)); in xnestCreateColormap()
80 colors[i].pixel = i; in xnestCreateColormap()
[all …]
/OK3568_Linux_fs/external/xserver/xkb/
H A Dxkbgeom.h110 #define XkbShapeDoodadColor(g,d) (&(g)->colors[(d)->color_ndx])
112 #define XkbSetShapeDoodadColor(g,d,c) ((d)->color_ndx= (c)-&(g)->colors[0])
129 #define XkbTextDoodadColor(g,d) (&(g)->colors[(d)->color_ndx])
130 #define XkbSetTextDoodadColor(g,d,c) ((d)->color_ndx= (c)-&(g)->colors[0])
145 #define XkbIndicatorDoodadOnColor(g,d) (&(g)->colors[(d)->on_color_ndx])
146 #define XkbIndicatorDoodadOffColor(g,d) (&(g)->colors[(d)->off_color_ndx])
148 ((d)->on_color_ndx= (c)-&(g)->colors[0])
150 ((d)->off_color_ndx= (c)-&(g)->colors[0])
166 #define XkbLogoDoodadColor(g,d) (&(g)->colors[(d)->color_ndx])
168 #define XkbSetLogoDoodadColor(g,d,c) ((d)->color_ndx= (c)-&(g)->colors[0])
[all …]
/OK3568_Linux_fs/buildroot/support/scripts/
H A Dgraph-depends180 def print_attrs(outfile, pkg, pkg_type, pkg_version, depth, colors): argument
187 color = colors[0]
190 color = colors[2]
192 color = colors[1]
205 arrow_dir, draw_graph, depth, max_depth, pkg, colors): argument
210 print_attrs(outfile, pkg, dict_types[pkg], dict_versions[pkg], depth, colors)
237 arrow_dir, draw_graph, depth + 1, max_depth, d, colors)
329 colors = args.colors.split(',', 4)
330 if len(colors) != 3:
331 logging.error("Error: incorrect color list '%s'" % args.colors)
[all …]
H A Dgraph-build-time135 b = plt.bar(ind+0.1, vals[i], width=0.8, color=colors[i], bottom=bottom, linewidth=0.25)
205 colors=colors)
232 colors=colors)
294 colors = alternate_colors variable
296 colors = default_colors variable
/OK3568_Linux_fs/buildroot/package/libsvgtiny/
H A D0004-Build-Include-gperf-generated-code-directly.patch16 src/colors.gperf | 8 --------
34 -$(BUILDDIR)/src_colors.c: src/colors.gperf
35 +$(DIR)autogenerated_colors.c: src/colors.gperf
48 diff --git a/src/colors.gperf b/src/colors.gperf
50 --- a/src/colors.gperf
51 +++ b/src/colors.gperf
89 -/* colors.gperf */
H A D0003-Hopefully-silence-warnings-about-inlines-and-non-inlines-calling-one.patch11 src/colors.gperf | 9 +++++++++
14 diff --git a/src/colors.gperf b/src/colors.gperf
16 --- a/src/colors.gperf
17 +++ b/src/colors.gperf
H A D0002-Remove-Werror.patch12 GPERF: src/colors.gperf
16 from src/colors.gperf:16:
23 In file included from src/colors.gperf:18:0:
/OK3568_Linux_fs/external/xserver/hw/xfree86/ramdac/
H A Dxf86RamDacCmap.c42 RamDacLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices, LOCO * colors, in RamDacLoadPalette() argument
51 (*hwp->WriteData) (pScrn, colors[index].red); in RamDacLoadPalette()
52 (*hwp->WriteData) (pScrn, colors[index].green); in RamDacLoadPalette()
53 (*hwp->WriteData) (pScrn, colors[index].blue); in RamDacLoadPalette()
H A DTI.c688 int *indices, LOCO * colors, VisualPtr pVisual) in TIramdacLoadPalette() argument
697 (*hwp->WriteData) (pScrn, colors[index >> 1].red); in TIramdacLoadPalette()
698 (*hwp->WriteData) (pScrn, colors[index].green); in TIramdacLoadPalette()
699 (*hwp->WriteData) (pScrn, colors[index >> 1].blue); in TIramdacLoadPalette()
703 (*hwp->WriteData) (pScrn, colors[index].red); in TIramdacLoadPalette()
704 (*hwp->WriteData) (pScrn, colors[(index << 1) + 1].green); in TIramdacLoadPalette()
705 (*hwp->WriteData) (pScrn, colors[index].blue); in TIramdacLoadPalette()
715 (*hwp->WriteData) (pScrn, colors[index].red); in TIramdacLoadPalette()
716 (*hwp->WriteData) (pScrn, colors[index].green); in TIramdacLoadPalette()
717 (*hwp->WriteData) (pScrn, colors[index].blue); in TIramdacLoadPalette()
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dquota.c72 int colors[MAX_BINDINGS]; member
125 if (data->colors[id] < 0) in iwl_mvm_quota_iterator()
126 data->colors[id] = mvmvif->phy_ctxt->color; in iwl_mvm_quota_iterator()
128 WARN_ON_ONCE(data->colors[id] != mvmvif->phy_ctxt->color); in iwl_mvm_quota_iterator()
191 .colors = { -1, -1, -1, -1 }, in iwl_mvm_update_quotas()
269 if (data.colors[i] < 0) in iwl_mvm_update_quotas()
275 cpu_to_le32(FW_CMD_ID_AND_COLOR(i, data.colors[i])); in iwl_mvm_update_quotas()
H A Dbinding.c72 u16 colors[MAX_MACS_IN_BINDING]; member
105 data->colors[i])); in iwl_mvm_binding_cmd()
140 data->colors[data->idx] = mvmvif->color; in iwl_mvm_iface_iterator()
179 data.colors[data.idx] = mvmvif->color; in iwl_mvm_binding_update()
/OK3568_Linux_fs/external/xserver/hw/kdrive/src/
H A Dkcmap.c38 xrgb colors[KD_MAX_PSEUDO_SIZE]; in KdSetColormap() local
61 QueryColors(pCmap, (1 << pScreenPriv->screen->fb.depth), pixels, colors, in KdSetColormap()
66 defs[i].red = colors[i].red; in KdSetColormap()
67 defs[i].green = colors[i].green; in KdSetColormap()
68 defs[i].blue = colors[i].blue; in KdSetColormap()
/OK3568_Linux_fs/external/xserver/mi/
H A Dmisprite.c87 xColorItem colors[2]; member
331 pScreenPriv->colors[SOURCE_COLOR].red = 0; in miSpriteInitialize()
332 pScreenPriv->colors[SOURCE_COLOR].green = 0; in miSpriteInitialize()
333 pScreenPriv->colors[SOURCE_COLOR].blue = 0; in miSpriteInitialize()
334 pScreenPriv->colors[MASK_COLOR].red = 0; in miSpriteInitialize()
335 pScreenPriv->colors[MASK_COLOR].green = 0; in miSpriteInitialize()
336 pScreenPriv->colors[MASK_COLOR].blue = 0; in miSpriteInitialize()
613 if (MaskMatch (dev->colors[plane].pixel,pdef[i].pixel,mask)) {\ in miSpriteStoreColors()
614 dev->colors[plane].dac = pdef[i].dac; \ in miSpriteStoreColors()
632 if (pdef[i].pixel == pPriv->colors[SOURCE_COLOR].pixel) { in miSpriteStoreColors()
[all …]
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dalienware-wmi.c193 struct color_platform colors; member
206 struct color_platform colors; member
213 struct color_platform colors; member
259 zone->colors = repackager.cp; in parse_rgb()
290 wmax_basic_args.colors = zone->colors; in alienware_update_led()
298 legacy_args.colors = zone->colors; in alienware_update_led()
328 target_zone->colors.red, in zone_show()
329 target_zone->colors.green, target_zone->colors.blue); in zone_show()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/
H A DCVE-2019-7635.patch8 CVE-2019-7635: Reject BMP images with pixel colors out the palette
9 If a 1-, 4-, or 8-bit per pixel BMP image declares less used colors
11 number of used colors is created. If some of the image's pixel
12 refer to a color number higher then the maximal used colors, a subsequent
H A DCVE-2019-7638.patch18 …ateRGBSurface(), thus 256-color pallete is allocated. But then biClrUsed colors are read from a fi…
33 + SDL_SetError("BMP file has an invalid number of colors");
/OK3568_Linux_fs/buildroot/package/python-ansicolors/
H A DConfig.in4 ANSI colors for Python.
6 http://github.com/jonathaneunice/colors/
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dcolorspaces.rst59 colors are specified with lower case 'x' and 'y', then the CIE xyY
67 A monitor or TV will reproduce colors by emitting light at three
85 To recapitulate: the CIE XYZ colorspace uniquely identifies colors.
88 constructed that transforms CIE XYZ colors to colors in the new
100 colors used in graphics are all R'G'B', except in openGL which uses
102 provide linear RGB colors or to use the built-in openGL support to apply
123 all colors that humans can perceive, but the transform to another
124 colorspace will produce colors that are outside the [0…1] range. Once
125 clamped to the [0…1] range those colors can no longer be reproduced in
154 If you want to read more about colors and colorspaces, then the
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/
H A Dsiggen.py733 colors = {'color_title': '\033[1m',
740 for k in colors.keys():
741 colors[k] = ''
742 return colors
744 def worddiff_str(oldstr, newstr, colors=None): argument
745 if not colors:
746 colors = init_colors(False)
754 item = '{color_add}{{+{value}+}}{color_default}'.format(value=value, **colors)
757 item = '{color_remove}[-{value}-]{color_default}'.format(value=value, **colors)
764 def list_inline_diff(oldlist, newlist, colors=None): argument
[all …]
/OK3568_Linux_fs/kernel/tools/perf/Documentation/
H A Dperf-config.txt77 [colors]
143 To change colors of selected line to other foreground and background colors
146 % perf config --system colors.selected=yellow,green
167 colors.*::
168 The variables for customizing the colors used in the output for the
170 foreground and background colors, separated by a comma, for example:
179 Available colors:
183 colors.top::
185 And values of this variable specify percentage colors.
188 colors.medium::
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-multimedia/recipes-multimedia/mycroft/files/
H A D0003-dev_setup.sh-Remove-the-TERM-dependency.patch20 -# If tput is available and can handle multiple colors
22 - if [[ $(tput colors) != "-1" ]]; then
/OK3568_Linux_fs/u-boot/common/
H A Dlcd.c554 __weak void lcd_set_cmap(struct bmp_image *bmp, unsigned colors) in lcd_set_cmap() argument
560 for (i = 0; i < colors; ++i) { in lcd_set_cmap()
579 unsigned colors, bpix, bmp_bpix; in lcd_display_bitmap() local
597 colors = 1 << bmp_bpix; in lcd_display_bitmap()
621 (int)width, (int)height, (int)colors, 1 << bpix); in lcd_display_bitmap()
624 lcd_set_cmap(bmp, colors); in lcd_display_bitmap()
/OK3568_Linux_fs/kernel/Documentation/leds/
H A Dleds-class-multicolor.rst16 The multicolor class presents files that groups the colors as indexes in an
22 colors will be arbitrary. The multi_index file can be read to determine the
25 The multi_index file is an array that contains the string list of the colors as
/OK3568_Linux_fs/yocto/meta-openembedded/meta-multimedia/recipes-multimedia/musicpd/
H A Dncmpc_0.47.bb16 PACKAGECONFIG ??= "colors locale mouse nls regex help_screen library_screen search_screen song_scre…
18 PACKAGECONFIG[colors] = "-Dcolors=true,-Dcolors=false"

1234567