/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_parse.c | 73 copy_token(void *dst, const void *src) argument 75 memcpy(dst, src, 4);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_format_etc.c | 39 float *dst = dst_row + (y + j) * dst_stride / sizeof(*dst_row) + x * comps; local 44 dst[0] = ubyte_to_float(tmp[0]); 45 dst[1] = ubyte_to_float(tmp[1]); 46 dst[2] = ubyte_to_float(tmp[2]); 47 dst[3] = 1.0f; 48 dst += comps; 66 util_format_etc1_rgb8_fetch_rgba_float(float *dst, const uint8_t *src, unsigned i, unsigned j) argument 77 dst[0] = ubyte_to_float(tmp[0]); 78 dst[1] = ubyte_to_float(tmp[1]); 79 dst[ [all...] |
H A D | u_rect.c | 44 util_copy_rect(ubyte * dst, argument 73 dst += dst_x * blocksize; 75 dst += dst_y * dst_stride; 80 memcpy(dst, src, height * width); 83 memcpy(dst, src, width); 84 dst += dst_stride; 91 util_fill_rect(ubyte * dst, argument 116 dst += dst_x * blocksize; 117 dst += dst_y * dst_stride; 123 memset(dst, u [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
H A D | lp_bld_blend.c | 117 * @param dst dest rgba 119 * @param dst_factor dst factor computed value 120 * @param not_alpha_dependent same factors accross all channels of src/dst 136 LLVMValueRef dst, 144 /* If we are not alpha dependent we can mess with the src/dst factors */ 149 return lp_build_lerp(bld, src_factor, dst, src); 151 return lp_build_lerp(bld, dst_factor, src, dst); 154 result = lp_build_add(bld, src, dst); 158 return lp_build_sub(bld, result, dst); 164 result = lp_build_add(bld, src, dst); 131 lp_build_blend(struct lp_build_context *bld, unsigned func, unsigned factor_src, unsigned factor_dst, LLVMValueRef src, LLVMValueRef dst, LLVMValueRef src_factor, LLVMValueRef dst_factor, boolean not_alpha_dependent, boolean optimise_only) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
H A D | radeon_code.c | 45 void rc_constants_copy(struct rc_constant_list * dst, struct rc_constant_list * src) argument 47 dst->Constants = malloc(sizeof(struct rc_constant) * src->Count); 48 memcpy(dst->Constants, src->Constants, sizeof(struct rc_constant) * src->Count); 49 dst->Count = src->Count; 50 dst->_Reserved = src->Count;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
H A D | r300_tgsi_to_rc.c | 186 struct rc_dst_register * dst, 189 dst->File = translate_register_file(src->Register.File); 190 dst->Index = translate_register_index(ttr, src->Register.File, src->Register.Index); 191 dst->WriteMask = src->Register.WriteMask; 202 struct rc_src_register * dst, 207 dst->File = translate_register_file(src->Register.File); 208 dst->Index = translate_register_index(ttr, src->Register.File, src->Register.Index); 209 dst->RelAddr = src->Register.Indirect; 210 dst->Swizzle = tgsi_util_get_full_src_register_swizzle(src, 0); 211 dst 184 transform_dstreg( struct tgsi_to_rc * ttr, struct rc_dst_register * dst, struct tgsi_full_dst_register * src) argument 200 transform_srcreg( struct tgsi_to_rc * ttr, struct rc_src_register * dst, struct tgsi_full_src_register * src) argument 233 transform_texture(struct rc_instruction * dst, struct tgsi_instruction_texture src, uint32_t *shadowSamplers) argument 273 struct rc_instruction * dst; local [all...] |
H A D | r300_vs.c | 184 struct ureg_dst dst; local 190 dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0); 193 ureg_MOV(ureg, dst, imm);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
H A D | svga_state_fs.c | 83 struct ureg_dst dst; local 90 dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_COLOR, 0); 92 ureg_MOV(ureg, dst, src);
|
H A D | svga_state_vs.c | 81 struct ureg_dst dst; local 88 dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0); 90 ureg_MOV(ureg, dst, src);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | vg_translate.c | 41 VGint *dst = (VGint *)dstAddr; local 48 dst[i] = r << 24 | g << 16 | b << 8 | a; 54 VGint *dst = (VGint *)dstAddr; local 61 dst[i] = r << 24 | g << 16 | b << 8 | a; 67 VGint *dst = (VGint *)dstAddr; local 74 dst[i] = r << 24 | g << 16 | b << 8 | a; 80 VGshort *dst = (VGshort *)dstAddr; local 90 dst[i] = b | g << 5 | r << 11; 96 VGshort *dst = (VGshort *)dstAddr; local 108 dst[ 114 VGshort *dst = (VGshort *)dstAddr; local 132 VGubyte *dst = (VGubyte *)dstAddr; local 143 VGint *dst = (VGint *)dstAddr; local 156 VGint *dst = (VGint *)dstAddr; local 168 VGint *dst = (VGint *)dstAddr; local 181 VGubyte *dst = (VGubyte *)dstAddr; local 191 VGubyte *dst = (VGubyte *)dstAddr; local 202 VGshort *dst = (VGshort *)dstAddr; local 219 VGshort *dst = (VGshort *)dstAddr; local 230 VGshort *dst = (VGshort *)dstAddr; local 246 VGint *dst = (VGint *)dstAddr; local 259 VGint *dst = (VGint *)dstAddr; local 278 VGint *dst = (VGint *)dstAddr; local 291 VGint *dst = (VGint *)dstAddr; local 304 VGint *dst = (VGint *)dstAddr; local 317 VGint *dst = (VGint *)dstAddr; local 330 VGint *dst = (VGint *)dstAddr; local 349 VGint *dst = (VGint *)dstAddr; local 362 VGint *dst = (VGint *)dstAddr; local 375 VGint *dst = (VGint *)dstAddr; local 390 VGint *dst = (VGint *)dstAddr; local 403 VGint *dst = (VGint *)dstAddr; local 422 VGint *dst = (VGint *)dstAddr; local 435 VGint *dst = (VGint *)dstAddr; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
H A D | intel_pixel_read.c | 78 struct intel_buffer_object *dst = intel_buffer_object(pack->BufferObj); local 139 all = (width * height * src->cpp == dst->Base.Size && 145 dst_buffer = intel_bufferobj_buffer(intel, dst,
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | brw_wm_pass2.c | 230 struct brw_wm_value *dst[], 238 if (!dst[i]) { 242 dst[i] = &c->vreg[c->nr_vreg++]; 245 assert(!dst[i]->resident); 248 c->pass2_grf[reg+i].value = dst[i]; 251 dst[i]->resident = &c->pass2_grf[reg+i]; 254 dst[i]->hw_reg = brw_vec8_grf((reg+i)*2, 0); 330 alloc_contiguous_dest(c, inst->dst, 4, insn); 336 assert(inst->dst[i]); 337 alloc_contiguous_dest(c, &inst->dst[ 229 alloc_contiguous_dest(struct brw_wm_compile *c, struct brw_wm_value *dst[], GLuint nr, GLuint thisinsn) argument [all...] |
H A D | intel_pixel_read.c | 78 struct intel_buffer_object *dst = intel_buffer_object(pack->BufferObj); local 139 all = (width * height * src->cpp == dst->Base.Size && 145 dst_buffer = intel_bufferobj_buffer(intel, dst,
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
H A D | intel_pixel_read.c | 78 struct intel_buffer_object *dst = intel_buffer_object(pack->BufferObj); local 139 all = (width * height * src->cpp == dst->Base.Size && 145 dst_buffer = intel_bufferobj_buffer(intel, dst,
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | colormac.h | 45 _mesa_unclamped_float_rgba_to_ubyte(GLubyte dst[4], const GLfloat src[4]) argument 49 UNCLAMPED_FLOAT_TO_UBYTE(dst[i], src[i]);
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
H A D | prog_parameter_layout.c | 58 * \param dst Parameter array copied to 63 * The location in \c dst of the first element copied from \c src on 68 * \c dst to hold all of the elements that will be copied over. 72 struct gl_program_parameter_list *dst, 75 const int base = dst->NumParameters; 82 j = dst->NumParameters; 84 for (j = 0; j < dst->NumParameters; j++) { 85 if (memcmp(dst->Parameters[j].StateIndexes, curr->StateIndexes, 92 assert(j == dst->NumParameters); 95 memcpy(& dst 71 copy_indirect_accessed_array(struct gl_program_parameter_list *src, struct gl_program_parameter_list *dst, unsigned first, unsigned count) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
H A D | vbo_exec_draw.c | 80 GLfloat *dst = exec->vtx.copied.buffer; local 92 memcpy( dst+i*sz, src+(nr-ovf+i)*sz, sz * sizeof(GLfloat) ); 97 memcpy( dst+i*sz, src+(nr-ovf+i)*sz, sz * sizeof(GLfloat) ); 102 memcpy( dst+i*sz, src+(nr-ovf+i)*sz, sz * sizeof(GLfloat) ); 109 memcpy( dst, src+(nr-1)*sz, sz * sizeof(GLfloat) ); 119 memcpy( dst, src+0, sz * sizeof(GLfloat) ); 123 memcpy( dst, src+0, sz * sizeof(GLfloat) ); 124 memcpy( dst+sz, src+(nr-1)*sz, sz * sizeof(GLfloat) ); 146 memcpy( dst+i*sz, src+(nr-ovf+i)*sz, sz * sizeof(GLfloat) );
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | stringprintf.cc | 56 void StringAppendV(string* dst, const char* format, va_list ap) { argument 72 dst->append(space, result); 102 dst->append(buf, result); 117 const string& SStringPrintf(string* dst, const char* format, ...) { argument 120 dst->clear(); 121 StringAppendV(dst, format, ap); 123 return *dst; 126 void StringAppendF(string* dst, const char* format, ...) { argument 129 StringAppendV(dst, format, ap);
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | CubicSubDivide.cpp | 67 void sub_divide(const Cubic& src, double t1, double t2, Cubic& dst) { argument 69 dst[0] = src[0]; 70 dst[1] = src[1]; 71 dst[2] = src[2]; 72 dst[3] = src[3]; 75 double ax = dst[0].x = interp_cubic_coords(&src[0].x, t1); 76 double ay = dst[0].y = interp_cubic_coords(&src[0].y, t1); 81 double dx = dst[3].x = interp_cubic_coords(&src[0].x, t2); 82 double dy = dst[3].y = interp_cubic_coords(&src[0].y, t2); 87 /* bx = */ dst[ 93 sub_divide(const Cubic& src, const _Point& a, const _Point& d, double t1, double t2, _Point dst[2]) argument 110 interp_cubic_coords(const double* src, double* dst, double t) argument 128 chop_at(const Cubic& src, CubicPair& dst, double t) argument [all...] |
/external/chromium_org/third_party/skia/gm/ |
H A D | rrect.cpp | 15 static void inset0(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { argument 20 dst->setEmpty(); 32 dst->setRectRadii(r, radii); 35 static void inset1(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { argument 40 dst->setEmpty(); 48 dst->setRectRadii(r, radii); 51 static void inset2(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { argument 56 dst->setEmpty(); 72 dst->setRectRadii(r, radii); 79 static void inset3(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { argument [all...] |
H A D | twopointradial.cpp | 13 static void intToScalars(SkScalar dst[], const int src[], int n) { argument 15 dst[i] = SkIntToScalar(src[i]);
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleCamera.cpp | 37 SkRect dst = { -150, -150, 150, 150 }; local 39 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit);
|
/external/chromium_org/third_party/skia/src/animator/ |
H A D | SkTypedArray.cpp | 158 int32_t* dst = fArray + index; local 159 memmove(dst + count, dst, sizeof(int32_t) * (oldCount - index)); 161 memcpy(dst, src, sizeof(int32_t) * count); 162 return dst;
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBlitBWMaskTemplate.h | 21 SK_BLITBWMASK_BLIT8 name of function(U8CPU byteMask, SK_BLITBWMASK_DEVTYPE* dst, int x, int y) 47 SK_BLITBWMASK_DEVTYPE* dst = device; local 51 SK_BLITBWMASK_BLIT8(mask, dst); 52 dst += 8; 98 SK_BLITBWMASK_DEVTYPE* dst = device; local 103 SK_BLITBWMASK_BLIT8(mask, dst); 104 dst += 8; 109 SK_BLITBWMASK_BLIT8(mask, dst); 110 dst += 8; 114 SK_BLITBWMASK_BLIT8(mask, dst); [all...] |
H A D | SkBlitRow_D32.cpp | 17 static void S32_Opaque_BlitRow32(SkPMColor* SK_RESTRICT dst, argument 21 sk_memcpy32(dst, src, count); 24 static void S32_Blend_BlitRow32(SkPMColor* SK_RESTRICT dst, argument 34 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); 35 dst += 1; 41 *dst = SkAlphaMulQ(*(src++), src_scale) + SkAlphaMulQ(*dst, dst_scale); 42 dst += 1; 43 *dst 56 S32A_Opaque_BlitRow32(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument 85 S32A_Blend_BlitRow32(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument 169 assignLoop(SkPMColor* dst, SkPMColor color) argument 175 assignLoop(SkPMColor dst[], SkPMColor color, int count) argument 193 ColorRect32(SkPMColor* dst, int width, int height, size_t rowBytes, SkPMColor color) argument [all...] |