HomeSort by: relevance | last modified time | path
    Searched refs:RGB (Results 1 - 25 of 66) sorted by relevancy

1 2 3

  /xsrc/external/mit/xorg-server/dist/include/
rgb.h 51 } RGB;
  /xsrc/external/mit/xorg-server.old/dist/include/
rgb.h 52 } RGB;
  /xsrc/external/mit/libX11/dist/src/xcms/
XRGB.c 31 * XcmsColor structures to RGB in an array of XColor structures.
98 pXColors->red = pColors->spec.RGB.red;
99 pXColors->green = pColors->spec.RGB.green;
100 pXColors->blue = pColors->spec.RGB.blue;
121 * Translates an RGB color specification in an XColor
127 * bits_per_rgb is 8, then spec.RGB.red will be 0xca00.
136 pColors->spec.RGB.red = (pXColors->red & MASK[bits_per_rgb]);
137 pColors->spec.RGB.green = (pXColors->green & MASK[bits_per_rgb]);
138 pColors->spec.RGB.blue = (pXColors->blue & MASK[bits_per_rgb]);
180 pXcmsColor->spec.RGB.red
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
radeon_program_pair.c 39 unsigned int rgb, unsigned int alpha,
48 if ((!rgb && !alpha) || file == RC_FILE_NONE)
53 if (rgb && pair->RGB.Src[RC_PAIR_PRESUB_SRC].Used
54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) {
66 if (rgb) {
67 if (pair->RGB.Src[i].Used) {
68 if (pair->RGB.Src[i].File != file ||
69 pair->RGB.Src[i].Index != index) {
94 } else if (candidate < 0 || (rgb && rgb_used > 2
    [all...]
radeon_pair_dead_sources.c 54 inst->U.P.RGB.Src[sub->Arg[i].Source].Used = 1;
79 inst->U.P.RGB.Src[i].Used = 0;
82 mark_used(inst, &inst->U.P.RGB);
85 mark_used_presub(&inst->U.P.RGB);
radeon_pair_translate.c 134 static void src_uses(struct rc_src_register src, unsigned int * rgb,
141 *rgb = 1;
165 pair->RGB.Opcode = RC_OPCODE_REPL_ALPHA;
167 pair->RGB.Opcode = inst->Opcode;
169 pair->RGB.Saturate = 1;
184 * pair->{RGB,ALPHA}.Src[RC_PAIR_PRESUB_SRC] */
194 unsigned int rgb = 0; local
196 src_uses(inst->SrcReg[j], &rgb, &alpha);
197 if(rgb) {
198 pair->RGB.Src[i].File
    [all...]
radeon_program_print.c 345 unsigned spaces = update_branch_depth(inst->RGB.Opcode != RC_OPCODE_NOP ?
346 inst->RGB.Opcode : inst->Alpha.Opcode, branch_depth);
352 if (inst->RGB.Src[src].Used) {
356 rc_print_register(f, inst->RGB.Src[src].File, inst->RGB.Src[src].Index, 0);
367 if(inst->RGB.Src[RC_PAIR_PRESUB_SRC].Used) {
370 inst->RGB.Src[RC_PAIR_PRESUB_SRC].Index));
382 if (inst->RGB.Opcode != RC_OPCODE_NOP) {
383 const struct rc_opcode_info * opcode = rc_get_opcode_info(inst->RGB.Opcode);
388 fprintf(f, " %s%s", opcode->Name, inst->RGB.Saturate ? "_SAT" : "")
    [all...]
radeon_pair_schedule.c 67 /** If the scheduler has paired an RGB and an Alpha instruction together,
257 else if (sinst->Instruction->U.P.RGB.Opcode == RC_OPCODE_NOP)
306 if (!sinst->Instruction->U.P.RGB.OutputWriteMask &&
310 RGB.OutputWriteMask
341 sinst->Score += sinst->Instruction->U.P.RGB.Src[src_idx].Used +
497 * dst_full is an rgb instruction, meaning that it has a vector instruction(rgb)
517 dst_sub = &dst_full->RGB;
529 info = rc_get_opcode_info(dst_full->RGB.Opcode);
575 /*If this arg does not read from an rgb source
    [all...]
r300_fragprog_emit.c 166 code->alu.inst[ip].rgb_inst = translate_rgb_opcode(c, inst->RGB.Opcode);
170 /* Set the RGB address */
171 unsigned int src = use_source(code, inst->RGB.Src[j]);
173 if (inst->RGB.Src[j].Index >= R300_PFS_NUM_TEMP_REGS)
185 arg = r300FPTranslateRGBSwizzle(inst->RGB.Arg[j].Source, inst->RGB.Arg[j].Swizzle);
186 arg |= inst->RGB.Arg[j].Abs << 6;
187 arg |= inst->RGB.Arg[j].Negate << 5;
197 if (inst->RGB.Src[RC_PAIR_PRESUB_SRC].Used) {
198 switch(inst->RGB.Src[RC_PAIR_PRESUB_SRC].Index)
    [all...]
radeon_dataflow.c 76 inst->RGB.Src[src].Index);
112 GET_SWZ(inst->RGB.Arg[arg].Swizzle, chan);
116 inst->RGB.Arg[arg].Source);
123 if (inst->RGB.Src[src].Used && (refmasks[src] & RC_MASK_XYZ))
124 cb(userdata, fullinst, inst->RGB.Src[src].File, inst->RGB.Src[src].Index,
157 U.P.RGB.Src[RC_PAIR_PRESUB_SRC].Index;
158 src_array = fullinst->U.P.RGB.Src;
216 * This function calls the callback function (cb) for each arg of the RGB and
230 pair_sub_for_all_args(inst, &inst->U.P.RGB, cb, userdata)
    [all...]
r500_fragprog_emit.c 163 unsigned int t = inst->RGB.Arg[arg].Source;
165 t |= inst->RGB.Arg[arg].Negate << 11;
166 t |= inst->RGB.Arg[arg].Abs << 12;
169 t |= fix_hw_swizzle(GET_SWZ(inst->RGB.Arg[arg].Swizzle, comp)) << (3*comp + 2);
250 if (inst->RGB.Opcode == RC_OPCODE_DDX || inst->Alpha.Opcode == RC_OPCODE_DDX ||
251 inst->RGB.Opcode == RC_OPCODE_DDY || inst->Alpha.Opcode == RC_OPCODE_DDY) {
257 code->inst[ip].inst5 = translate_rgb_op(c, inst->RGB.Opcode);
260 if (inst->RGB.OutputWriteMask || inst->Alpha.OutputWriteMask || inst->Alpha.DepthWriteMask) {
271 code->inst[ip].inst0 |= (inst->RGB.WriteMask << 11);
273 code->inst[ip].inst0 |= (inst->RGB.OutputWriteMask << 15) | (inst->Alpha.OutputWriteMask << 18)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/
radeon_program_pair.c 39 unsigned int rgb, unsigned int alpha,
48 if ((!rgb && !alpha) || file == RC_FILE_NONE)
53 if (rgb && pair->RGB.Src[RC_PAIR_PRESUB_SRC].Used
54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) {
66 if (rgb) {
67 if (pair->RGB.Src[i].Used) {
68 if (pair->RGB.Src[i].File != file ||
69 pair->RGB.Src[i].Index != index) {
94 } else if (candidate < 0 || (rgb && rgb_used > 2
    [all...]
radeon_pair_dead_sources.c 54 inst->U.P.RGB.Src[sub->Arg[i].Source].Used = 1;
79 inst->U.P.RGB.Src[i].Used = 0;
82 mark_used(inst, &inst->U.P.RGB);
85 mark_used_presub(&inst->U.P.RGB);
radeon_pair_translate.c 132 static void src_uses(struct rc_src_register src, unsigned int * rgb,
139 *rgb = 1;
163 pair->RGB.Opcode = RC_OPCODE_REPL_ALPHA;
165 pair->RGB.Opcode = inst->Opcode;
167 pair->RGB.Saturate = 1;
182 * pair->{RGB,ALPHA}.Src[RC_PAIR_PRESUB_SRC] */
192 unsigned int rgb = 0; local
194 src_uses(inst->SrcReg[j], &rgb, &alpha);
195 if(rgb) {
196 pair->RGB.Src[i].File
    [all...]
radeon_program_print.c 345 unsigned spaces = update_branch_depth(inst->RGB.Opcode != RC_OPCODE_NOP ?
346 inst->RGB.Opcode : inst->Alpha.Opcode, branch_depth);
352 if (inst->RGB.Src[src].Used) {
356 rc_print_register(f, inst->RGB.Src[src].File, inst->RGB.Src[src].Index, 0);
367 if(inst->RGB.Src[RC_PAIR_PRESUB_SRC].Used) {
370 inst->RGB.Src[RC_PAIR_PRESUB_SRC].Index));
382 if (inst->RGB.Opcode != RC_OPCODE_NOP) {
383 const struct rc_opcode_info * opcode = rc_get_opcode_info(inst->RGB.Opcode);
388 fprintf(f, " %s%s", opcode->Name, inst->RGB.Saturate ? "_SAT" : "")
    [all...]
radeon_pair_schedule.c 67 /** If the scheduler has paired an RGB and an Alpha instruction together,
257 else if (sinst->Instruction->U.P.RGB.Opcode == RC_OPCODE_NOP)
306 if (!sinst->Instruction->U.P.RGB.OutputWriteMask &&
310 RGB.OutputWriteMask
341 sinst->Score += sinst->Instruction->U.P.RGB.Src[src_idx].Used +
497 * dst_full is an rgb instruction, meaning that it has a vector instruction(rgb)
517 dst_sub = &dst_full->RGB;
529 info = rc_get_opcode_info(dst_full->RGB.Opcode);
575 /*If this arg does not read from an rgb source
    [all...]
r300_fragprog_emit.c 164 code->alu.inst[ip].rgb_inst = translate_rgb_opcode(c, inst->RGB.Opcode);
168 /* Set the RGB address */
169 unsigned int src = use_source(code, inst->RGB.Src[j]);
171 if (inst->RGB.Src[j].Index >= R300_PFS_NUM_TEMP_REGS)
183 arg = r300FPTranslateRGBSwizzle(inst->RGB.Arg[j].Source, inst->RGB.Arg[j].Swizzle);
184 arg |= inst->RGB.Arg[j].Abs << 6;
185 arg |= inst->RGB.Arg[j].Negate << 5;
195 if (inst->RGB.Src[RC_PAIR_PRESUB_SRC].Used) {
196 switch(inst->RGB.Src[RC_PAIR_PRESUB_SRC].Index)
    [all...]
radeon_dataflow.c 76 inst->RGB.Src[src].Index);
112 GET_SWZ(inst->RGB.Arg[arg].Swizzle, chan);
116 inst->RGB.Arg[arg].Source);
123 if (inst->RGB.Src[src].Used && (refmasks[src] & RC_MASK_XYZ))
124 cb(userdata, fullinst, inst->RGB.Src[src].File, inst->RGB.Src[src].Index,
157 U.P.RGB.Src[RC_PAIR_PRESUB_SRC].Index;
158 src_array = fullinst->U.P.RGB.Src;
216 * This function calls the callback function (cb) for each arg of the RGB and
230 pair_sub_for_all_args(inst, &inst->U.P.RGB, cb, userdata)
    [all...]
r500_fragprog_emit.c 161 unsigned int t = inst->RGB.Arg[arg].Source;
163 t |= inst->RGB.Arg[arg].Negate << 11;
164 t |= inst->RGB.Arg[arg].Abs << 12;
167 t |= fix_hw_swizzle(GET_SWZ(inst->RGB.Arg[arg].Swizzle, comp)) << (3*comp + 2);
248 if (inst->RGB.Opcode == RC_OPCODE_DDX || inst->Alpha.Opcode == RC_OPCODE_DDX ||
249 inst->RGB.Opcode == RC_OPCODE_DDY || inst->Alpha.Opcode == RC_OPCODE_DDY) {
255 code->inst[ip].inst5 = translate_rgb_op(c, inst->RGB.Opcode);
258 if (inst->RGB.OutputWriteMask || inst->Alpha.OutputWriteMask || inst->Alpha.DepthWriteMask) {
269 code->inst[ip].inst0 |= (inst->RGB.WriteMask << 11);
271 code->inst[ip].inst0 |= (inst->RGB.OutputWriteMask << 15) | (inst->Alpha.OutputWriteMask << 18)
    [all...]
  /xsrc/external/mit/fontconfig/dist/conf.d/
10-sub-pixel-rgb.conf 4 <description>Enable sub-pixel rendering with the RGB stripes layout</description>
13 <edit name="rgba" mode="append"><const>rgb</const></edit>
10-sub-pixel-vrgb.conf 4 <description>Enable sub-pixel rendering with the vertical RGB stripes layout</description>
  /xsrc/external/mit/MesaLib/dist/docs/_extra/specs/
MESA_pixmap_colormap.spec 32 Since Mesa allows RGB rendering into drawables with PseudoColor,
63 The Mesa implementation of GLX allows RGB rendering into X windows and
65 to compute pixel values from RGB values Mesa requires a colormap.
  /xsrc/external/mit/MesaLib.old/dist/docs/specs/
MESA_pixmap_colormap.spec 32 Since Mesa allows RGB rendering into drawables with PseudoColor,
63 The Mesa implementation of GLX allows RGB rendering into X windows and
65 to compute pixel values from RGB values Mesa requires a colormap.
  /xsrc/external/mit/MesaLib/dist/docs/_extra/specs/OLD/
MESA_packed_depth_stencil.spec 91 RGB Color R, G, B components
112 UNSIGNED_BYTE_3_3_2 ubyte 3 RGB
113 UNSIGNED_BYTE_2_3_3_REV ubyte 3 RGB
114 UNSIGNED_SHORT_5_6_5 ushort 3 RGB
115 UNSIGNED_SHORT_5_6_5_REV ushort 3 RGB
177 RGB red green blue
189 BLUE, ALPHA, RGB, RGBA, ABGR_EXT, LUMINANCE, or LUMINANCE_ALPHA, and
193 read "If <format> is one of RED, GREEN, BLUE, ALPHA, RGB, RGBA,
  /xsrc/external/mit/MesaLib.old/dist/docs/specs/OLD/
MESA_packed_depth_stencil.spec 91 RGB Color R, G, B components
112 UNSIGNED_BYTE_3_3_2 ubyte 3 RGB
113 UNSIGNED_BYTE_2_3_3_REV ubyte 3 RGB
114 UNSIGNED_SHORT_5_6_5 ushort 3 RGB
115 UNSIGNED_SHORT_5_6_5_REV ushort 3 RGB
177 RGB red green blue
189 BLUE, ALPHA, RGB, RGBA, ABGR_EXT, LUMINANCE, or LUMINANCE_ALPHA, and
193 read "If <format> is one of RED, GREEN, BLUE, ALPHA, RGB, RGBA,

Completed in 18 milliseconds

1 2 3