/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_program_pair.c | 53 if (rgb && pair->RGB.Src[RC_PAIR_PRESUB_SRC].Used in rc_pair_alloc_source() 54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) { in rc_pair_alloc_source() 67 if (pair->RGB.Src[i].Used) { in rc_pair_alloc_source() 68 if (pair->RGB.Src[i].File != file || in rc_pair_alloc_source() 69 pair->RGB.Src[i].Index != index) { in rc_pair_alloc_source() 102 pair->RGB.Src[candidate].Used = 1; in rc_pair_alloc_source() 103 pair->RGB.Src[candidate].File = file; in rc_pair_alloc_source() 104 pair->RGB.Src[candidate].Index = index; in rc_pair_alloc_source() 110 pair->RGB.Src[i].Used = 1; in rc_pair_alloc_source() 158 pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index); in pair_foreach_source_callback() [all …]
|
D | radeon_program_print.c | 345 unsigned spaces = update_branch_depth(inst->RGB.Opcode != RC_OPCODE_NOP ? in rc_print_pair_instruction() 346 inst->RGB.Opcode : inst->Alpha.Opcode, branch_depth); in rc_print_pair_instruction() 352 if (inst->RGB.Src[src].Used) { in rc_print_pair_instruction() 356 rc_print_register(f, inst->RGB.Src[src].File, inst->RGB.Src[src].Index, 0); in rc_print_pair_instruction() 367 if(inst->RGB.Src[RC_PAIR_PRESUB_SRC].Used) { in rc_print_pair_instruction() 370 inst->RGB.Src[RC_PAIR_PRESUB_SRC].Index)); in rc_print_pair_instruction() 382 if (inst->RGB.Opcode != RC_OPCODE_NOP) { in rc_print_pair_instruction() 383 const struct rc_opcode_info * opcode = rc_get_opcode_info(inst->RGB.Opcode); in rc_print_pair_instruction() 388 fprintf(f, " %s%s", opcode->Name, inst->RGB.Saturate ? "_SAT" : ""); in rc_print_pair_instruction() 389 if (inst->RGB.WriteMask) in rc_print_pair_instruction() [all …]
|
D | radeon_pair_schedule.c | 257 else if (sinst->Instruction->U.P.RGB.Opcode == RC_OPCODE_NOP) in instruction_ready() 306 if (!sinst->Instruction->U.P.RGB.OutputWriteMask && in score_no_output() 310 RGB.OutputWriteMask in score_no_output() 341 sinst->Score += sinst->Instruction->U.P.RGB.Src[src_idx].Used + in calc_score_r300() 517 dst_sub = &dst_full->RGB; in merge_presub_sources() 529 info = rc_get_opcode_info(dst_full->RGB.Opcode); in merge_presub_sources() 577 if (!(rc_source_type_swz(dst_full->RGB.Arg[arg].Swizzle) in merge_presub_sources() 582 if (dst_full->RGB.Arg[arg].Source == srcp_src) in merge_presub_sources() 583 dst_full->RGB.Arg[arg].Source = free_source; in merge_presub_sources() 587 else if(dst_full->RGB.Arg[arg].Source == free_source in merge_presub_sources() [all …]
|
D | r300_fragprog_emit.c | 164 code->alu.inst[ip].rgb_inst = translate_rgb_opcode(c, inst->RGB.Opcode); in emit_alu() 169 unsigned int src = use_source(code, inst->RGB.Src[j]); in emit_alu() 171 if (inst->RGB.Src[j].Index >= R300_PFS_NUM_TEMP_REGS) in emit_alu() 183 arg = r300FPTranslateRGBSwizzle(inst->RGB.Arg[j].Source, inst->RGB.Arg[j].Swizzle); in emit_alu() 184 arg |= inst->RGB.Arg[j].Abs << 6; in emit_alu() 185 arg |= inst->RGB.Arg[j].Negate << 5; in emit_alu() 195 if (inst->RGB.Src[RC_PAIR_PRESUB_SRC].Used) { in emit_alu() 196 switch(inst->RGB.Src[RC_PAIR_PRESUB_SRC].Index) { in emit_alu() 241 if (inst->RGB.Saturate) in emit_alu() 246 if (inst->RGB.WriteMask) { in emit_alu() [all …]
|
D | radeon_pair_translate.c | 163 pair->RGB.Opcode = RC_OPCODE_REPL_ALPHA; in set_pair_instruction() 165 pair->RGB.Opcode = inst->Opcode; in set_pair_instruction() 167 pair->RGB.Saturate = 1; in set_pair_instruction() 196 pair->RGB.Src[i].File = in set_pair_instruction() 198 pair->RGB.Src[i].Index = in set_pair_instruction() 200 pair->RGB.Src[i].Used = 1; in set_pair_instruction() 241 pair->RGB.Arg[i].Source = source; in set_pair_instruction() 242 pair->RGB.Arg[i].Swizzle = in set_pair_instruction() 244 pair->RGB.Arg[i].Abs = inst->SrcReg[i].Abs; in set_pair_instruction() 245 …pair->RGB.Arg[i].Negate = !!(srcmask & inst->SrcReg[i].Negate & (RC_MASK_X | RC_MASK_Y | RC_MASK_Z… in set_pair_instruction() [all …]
|
D | r500_fragprog_emit.c | 161 unsigned int t = inst->RGB.Arg[arg].Source; in translate_arg_rgb() 163 t |= inst->RGB.Arg[arg].Negate << 11; in translate_arg_rgb() 164 t |= inst->RGB.Arg[arg].Abs << 12; in translate_arg_rgb() 167 t |= fix_hw_swizzle(GET_SWZ(inst->RGB.Arg[arg].Swizzle, comp)) << (3*comp + 2); in translate_arg_rgb() 248 if (inst->RGB.Opcode == RC_OPCODE_DDX || inst->Alpha.Opcode == RC_OPCODE_DDX || in emit_paired() 249 inst->RGB.Opcode == RC_OPCODE_DDY || inst->Alpha.Opcode == RC_OPCODE_DDY) { in emit_paired() 255 code->inst[ip].inst5 = translate_rgb_op(c, inst->RGB.Opcode); in emit_paired() 258 if (inst->RGB.OutputWriteMask || inst->Alpha.OutputWriteMask || inst->Alpha.DepthWriteMask) { in emit_paired() 269 code->inst[ip].inst0 |= (inst->RGB.WriteMask << 11); in emit_paired() 271 code->inst[ip].inst0 |= (inst->RGB.OutputWriteMask << 15) | (inst->Alpha.OutputWriteMask << 18); in emit_paired() [all …]
|
D | radeon_dataflow.c | 76 inst->RGB.Src[src].Index); in pair_get_src_refmasks() 112 GET_SWZ(inst->RGB.Arg[arg].Swizzle, chan); in reads_pair() 116 inst->RGB.Arg[arg].Source); in reads_pair() 123 if (inst->RGB.Src[src].Used && (refmasks[src] & RC_MASK_XYZ)) in reads_pair() 124 cb(userdata, fullinst, inst->RGB.Src[src].File, inst->RGB.Src[src].Index, in reads_pair() 157 U.P.RGB.Src[RC_PAIR_PRESUB_SRC].Index; in pair_sub_for_all_args() 158 src_array = fullinst->U.P.RGB.Src; in pair_sub_for_all_args() 230 pair_sub_for_all_args(inst, &inst->U.P.RGB, cb, userdata); in rc_pair_for_all_reads_arg() 272 if (inst->RGB.WriteMask) in writes_pair() 273 cb(userdata, fullinst, RC_FILE_TEMPORARY, inst->RGB.DestIndex, inst->RGB.WriteMask); in writes_pair() [all …]
|
D | radeon_pair_dead_sources.c | 28 inst->U.P.RGB.Src[sub->Arg[i].Source].Used = 1; in mark_used() 53 inst->U.P.RGB.Src[i].Used = 0; in rc_pair_remove_dead_sources() 56 mark_used(inst, &inst->U.P.RGB); in rc_pair_remove_dead_sources() 59 mark_used_presub(&inst->U.P.RGB); in rc_pair_remove_dead_sources()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
D | radeon_program_pair.c | 53 if (rgb && pair->RGB.Src[RC_PAIR_PRESUB_SRC].Used in rc_pair_alloc_source() 54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) { in rc_pair_alloc_source() 67 if (pair->RGB.Src[i].Used) { in rc_pair_alloc_source() 68 if (pair->RGB.Src[i].File != file || in rc_pair_alloc_source() 69 pair->RGB.Src[i].Index != index) { in rc_pair_alloc_source() 102 pair->RGB.Src[candidate].Used = 1; in rc_pair_alloc_source() 103 pair->RGB.Src[candidate].File = file; in rc_pair_alloc_source() 104 pair->RGB.Src[candidate].Index = index; in rc_pair_alloc_source() 110 pair->RGB.Src[i].Used = 1; in rc_pair_alloc_source() 158 pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index); in pair_foreach_source_callback() [all …]
|
D | radeon_program_print.c | 345 unsigned spaces = update_branch_depth(inst->RGB.Opcode != RC_OPCODE_NOP ? in rc_print_pair_instruction() 346 inst->RGB.Opcode : inst->Alpha.Opcode, branch_depth); in rc_print_pair_instruction() 352 if (inst->RGB.Src[src].Used) { in rc_print_pair_instruction() 356 rc_print_register(f, inst->RGB.Src[src].File, inst->RGB.Src[src].Index, 0); in rc_print_pair_instruction() 367 if(inst->RGB.Src[RC_PAIR_PRESUB_SRC].Used) { in rc_print_pair_instruction() 370 inst->RGB.Src[RC_PAIR_PRESUB_SRC].Index)); in rc_print_pair_instruction() 382 if (inst->RGB.Opcode != RC_OPCODE_NOP) { in rc_print_pair_instruction() 383 const struct rc_opcode_info * opcode = rc_get_opcode_info(inst->RGB.Opcode); in rc_print_pair_instruction() 388 fprintf(f, " %s%s", opcode->Name, inst->RGB.Saturate ? "_SAT" : ""); in rc_print_pair_instruction() 389 if (inst->RGB.WriteMask) in rc_print_pair_instruction() [all …]
|
D | radeon_pair_schedule.c | 257 else if (sinst->Instruction->U.P.RGB.Opcode == RC_OPCODE_NOP) in instruction_ready() 306 if (!sinst->Instruction->U.P.RGB.OutputWriteMask && in score_no_output() 310 RGB.OutputWriteMask in score_no_output() 341 sinst->Score += sinst->Instruction->U.P.RGB.Src[src_idx].Used + in calc_score_r300() 517 dst_sub = &dst_full->RGB; in merge_presub_sources() 529 info = rc_get_opcode_info(dst_full->RGB.Opcode); in merge_presub_sources() 577 if (!(rc_source_type_swz(dst_full->RGB.Arg[arg].Swizzle) in merge_presub_sources() 582 if (dst_full->RGB.Arg[arg].Source == srcp_src) in merge_presub_sources() 583 dst_full->RGB.Arg[arg].Source = free_source; in merge_presub_sources() 587 else if(dst_full->RGB.Arg[arg].Source == free_source in merge_presub_sources() [all …]
|
D | r300_fragprog_emit.c | 164 code->alu.inst[ip].rgb_inst = translate_rgb_opcode(c, inst->RGB.Opcode); in emit_alu() 169 unsigned int src = use_source(code, inst->RGB.Src[j]); in emit_alu() 171 if (inst->RGB.Src[j].Index >= R300_PFS_NUM_TEMP_REGS) in emit_alu() 183 arg = r300FPTranslateRGBSwizzle(inst->RGB.Arg[j].Source, inst->RGB.Arg[j].Swizzle); in emit_alu() 184 arg |= inst->RGB.Arg[j].Abs << 6; in emit_alu() 185 arg |= inst->RGB.Arg[j].Negate << 5; in emit_alu() 195 if (inst->RGB.Src[RC_PAIR_PRESUB_SRC].Used) { in emit_alu() 196 switch(inst->RGB.Src[RC_PAIR_PRESUB_SRC].Index) { in emit_alu() 241 if (inst->RGB.Saturate) in emit_alu() 246 if (inst->RGB.WriteMask) { in emit_alu() [all …]
|
D | radeon_pair_translate.c | 163 pair->RGB.Opcode = RC_OPCODE_REPL_ALPHA; in set_pair_instruction() 165 pair->RGB.Opcode = inst->Opcode; in set_pair_instruction() 167 pair->RGB.Saturate = 1; in set_pair_instruction() 196 pair->RGB.Src[i].File = in set_pair_instruction() 198 pair->RGB.Src[i].Index = in set_pair_instruction() 200 pair->RGB.Src[i].Used = 1; in set_pair_instruction() 241 pair->RGB.Arg[i].Source = source; in set_pair_instruction() 242 pair->RGB.Arg[i].Swizzle = in set_pair_instruction() 244 pair->RGB.Arg[i].Abs = inst->SrcReg[i].Abs; in set_pair_instruction() 245 …pair->RGB.Arg[i].Negate = !!(srcmask & inst->SrcReg[i].Negate & (RC_MASK_X | RC_MASK_Y | RC_MASK_Z… in set_pair_instruction() [all …]
|
D | r500_fragprog_emit.c | 161 unsigned int t = inst->RGB.Arg[arg].Source; in translate_arg_rgb() 163 t |= inst->RGB.Arg[arg].Negate << 11; in translate_arg_rgb() 164 t |= inst->RGB.Arg[arg].Abs << 12; in translate_arg_rgb() 167 t |= fix_hw_swizzle(GET_SWZ(inst->RGB.Arg[arg].Swizzle, comp)) << (3*comp + 2); in translate_arg_rgb() 248 if (inst->RGB.Opcode == RC_OPCODE_DDX || inst->Alpha.Opcode == RC_OPCODE_DDX || in emit_paired() 249 inst->RGB.Opcode == RC_OPCODE_DDY || inst->Alpha.Opcode == RC_OPCODE_DDY) { in emit_paired() 255 code->inst[ip].inst5 = translate_rgb_op(c, inst->RGB.Opcode); in emit_paired() 258 if (inst->RGB.OutputWriteMask || inst->Alpha.OutputWriteMask || inst->Alpha.DepthWriteMask) { in emit_paired() 269 code->inst[ip].inst0 |= (inst->RGB.WriteMask << 11); in emit_paired() 271 code->inst[ip].inst0 |= (inst->RGB.OutputWriteMask << 15) | (inst->Alpha.OutputWriteMask << 18); in emit_paired() [all …]
|
D | radeon_dataflow.c | 76 inst->RGB.Src[src].Index); in pair_get_src_refmasks() 112 GET_SWZ(inst->RGB.Arg[arg].Swizzle, chan); in reads_pair() 116 inst->RGB.Arg[arg].Source); in reads_pair() 123 if (inst->RGB.Src[src].Used && (refmasks[src] & RC_MASK_XYZ)) in reads_pair() 124 cb(userdata, fullinst, inst->RGB.Src[src].File, inst->RGB.Src[src].Index, in reads_pair() 157 U.P.RGB.Src[RC_PAIR_PRESUB_SRC].Index; in pair_sub_for_all_args() 158 src_array = fullinst->U.P.RGB.Src; in pair_sub_for_all_args() 230 pair_sub_for_all_args(inst, &inst->U.P.RGB, cb, userdata); in rc_pair_for_all_reads_arg() 272 if (inst->RGB.WriteMask) in writes_pair() 273 cb(userdata, fullinst, RC_FILE_TEMPORARY, inst->RGB.DestIndex, inst->RGB.WriteMask); in writes_pair() [all …]
|
D | radeon_pair_dead_sources.c | 28 inst->U.P.RGB.Src[sub->Arg[i].Source].Used = 1; in mark_used() 53 inst->U.P.RGB.Src[i].Used = 0; in rc_pair_remove_dead_sources() 56 mark_used(inst, &inst->U.P.RGB); in rc_pair_remove_dead_sources() 59 mark_used_presub(&inst->U.P.RGB); in rc_pair_remove_dead_sources()
|
/external/deqp/framework/opengl/ |
D | gluTextureUtil.cpp | 77 case TextureFormat::RGB: format = isInt ? GL_RGB_INTEGER : GL_RGB; break; in getTransferFormat() 144 case FMT_CASE(RGB, UNORM_SHORT_565): return GL_RGB565; in getInternalFormat() 164 case FMT_CASE(RGB, UNORM_INT8): return GL_RGB8; in getInternalFormat() 165 case FMT_CASE(RGB, UNSIGNED_INT_11F_11F_10F_REV): return GL_R11F_G11F_B10F; in getInternalFormat() 166 case FMT_CASE(RGB, FLOAT): return GL_RGB32F; in getInternalFormat() 167 case FMT_CASE(RGB, SIGNED_INT32): return GL_RGB32I; in getInternalFormat() 168 case FMT_CASE(RGB, UNSIGNED_INT32): return GL_RGB32UI; in getInternalFormat() 169 case FMT_CASE(RGB, UNORM_INT16): return GL_RGB16; in getInternalFormat() 170 case FMT_CASE(RGB, SNORM_INT16): return GL_RGB16_SNORM; in getInternalFormat() 171 case FMT_CASE(RGB, HALF_FLOAT): return GL_RGB16F; in getInternalFormat() [all …]
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
D | cmscam02.c | 36 cmsFloat64Number RGB[3]; member 105 clr.RGB[0] = (clr.XYZ[0] * 0.7328) + (clr.XYZ[1] * 0.4296) + (clr.XYZ[2] * -0.1624); in XYZtoCAT02() 106 clr.RGB[1] = (clr.XYZ[0] * -0.7036) + (clr.XYZ[1] * 1.6975) + (clr.XYZ[2] * 0.0061); in XYZtoCAT02() 107 clr.RGB[2] = (clr.XYZ[0] * 0.0030) + (clr.XYZ[1] * 0.0136) + (clr.XYZ[2] * 0.9834); in XYZtoCAT02() 119 (pMod->D / pMod -> adoptedWhite.RGB[i])) + in ChromaticAdaptation() 120 (1.0 - pMod->D)) * clr.RGB[i]; in ChromaticAdaptation() 341 clr.RGB[i] = clr.RGBc[i] / in InverseChromaticAdaptation() 342 ((pMod->adoptedWhite.XYZ[1] * pMod->D / pMod->adoptedWhite.RGB[i]) + 1.0 - pMod->D); in InverseChromaticAdaptation() 351 clr.XYZ[0] = (clr.RGB[0] * 1.096124) + (clr.RGB[1] * -0.278869) + (clr.RGB[2] * 0.182745); in CAT02toXYZ() 352 clr.XYZ[1] = (clr.RGB[0] * 0.454369) + (clr.RGB[1] * 0.473533) + (clr.RGB[2] * 0.072098); in CAT02toXYZ() [all …]
|
/external/jpeg/ |
D | jsimd_arm_neon.S | 707 vst2.8 {d26, d27}, [RGB]! 709 vst2.8 {d26[0], d27[0]}, [RGB]! 710 vst2.8 {d26[1], d27[1]}, [RGB]! 711 vst2.8 {d26[2], d27[2]}, [RGB]! 712 vst2.8 {d26[3], d27[3]}, [RGB]! 714 vst2.8 {d26[4], d27[4]}, [RGB]! 715 vst2.8 {d26[5], d27[5]}, [RGB]! 717 vst2.8 {d26[6], d27[6]}, [RGB]! 723 vst3.8 {d10, d11, d12}, [RGB]! 725 vst3.8 {d10[0], d11[0], d12[0]}, [RGB]! [all …]
|
/external/clang/test/CodeGenCXX/ |
D | mangle-ms.cpp | 182 typedef double RGB[3]; typedef 183 RGB color1; 185 extern const RGB color2 = {}; 187 extern RGB const color3[5] = {}; 189 extern RGB const ((color4)[5]) = {};
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
D | Utils.java | 32 import org.eclipse.swt.graphics.RGB; 148 static int closest(RGB[] rgbs, int n, RGB rgb) { in closest() 152 RGB rgb2 = rgbs[i]; in closest() 166 RGB rgb; 188 RGB rgb = data.palette.getRGB(pixels[x]); in downSample() 210 RGB[] rgbs = new RGB[n + (mask != null ? 1 : 0)]; in downSample() 214 … data.transparentPixel != -1 ? data.palette.getRGB(data.transparentPixel) : new RGB(255, 255, 255); in downSample() 232 RGB rgb = data.palette.getRGB(pixels[x]); in downSample()
|
/external/chromium_org/media/base/simd/ |
D | convert_rgb_to_yuv_ssse3.inc | 8 ; The main code that converts RGB pixels to YUV pixels. This function roughly 53 ; Read one ARGB (or RGB) pixel. 56 ; Calculate y[0] from one RGB pixel read above. 61 ; Calculate u[0] from one RGB pixel read above. If this is an odd line, the 69 ; Calculate v[0] from one RGB pixel. Same as u[0], we read the result of the 84 ; Read two ARGB (or RGB) pixels. 87 ; Calculate r[0] and r[1] from two RGB pixels read above. 96 ; Calculate u[0] from two RGB pixels read above. (For details, read the above 103 ; Calculate v[0] from two RGB pixels read above. 166 ; Read four ARGB (or RGB) pixels.
|
D | convert_rgb_to_yuv_ssse3.asm | 44 ; Unpacks one RGB pixel in the specified XMM register. 60 ; Read the specified number of ARGB (or RGB) pixels from the source and store 61 ; them to the destination xmm register. If the input format is RGB, we read RGB 83 ; Read RGB pixels from the source and convert them to ARGB pixels. 85 ; Read one RGB pixel and convert it to one ARGB pixel. 100 ; Read two RGB pixels and convert them to two ARGB pixels. 107 ; Fill the alpha values of these RGB pixels with 0 and convert them to two 111 ; Read four RGB pixels and convert them to four ARGB pixels. 119 ; Fill the alpha values of these RGB pixels with 0 and convert them to four
|
/external/chromium_org/third_party/qcms/src/ |
D | README | 8 - Only supports RGB and Gray colorspaces. e.g. no support for CMYK yet. 9 - Only packed RGB and RGBA, K, and KA.
|
/external/mesa3d/docs/OLD/ |
D | 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
|