Home
last modified time | relevance | path

Searched refs:srcAddr (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/opts/
DSkBitmapProcState_opts_mips_dsp.cpp22 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels(); in SI8_D16_nofilter_DX_mips_dsp() local
24 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->rowBytes()); in SI8_D16_nofilter_DX_mips_dsp()
28 src = srcAddr[0]; in SI8_D16_nofilter_DX_mips_dsp()
137 : [table]"r"(table), [srcAddr]"r"(srcAddr), [count]"r"(count) in SI8_D16_nofilter_DX_mips_dsp()
142 src = srcAddr[*xx++]; *colors++ = table[src]; in SI8_D16_nofilter_DX_mips_dsp()
154 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels(); in SI8_opaque_D32_nofilter_DX_mips_dsp() local
155 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->rowBytes()); in SI8_opaque_D32_nofilter_DX_mips_dsp()
158 uint8_t src = srcAddr[0]; in SI8_opaque_D32_nofilter_DX_mips_dsp()
360 : [table]"r"(table), [srcAddr]"r"(srcAddr) in SI8_opaque_D32_nofilter_DX_mips_dsp()
DSkBitmapProcState_opts_arm.cpp34 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels(); in SI8_D16_nofilter_DX_arm() local
39 srcAddr = (const uint8_t*)((const char*)srcAddr + in SI8_D16_nofilter_DX_arm()
45 src = srcAddr[0]; in SI8_D16_nofilter_DX_arm()
99 : [table] "r" (table), [srcAddr] "r" (srcAddr) in SI8_D16_nofilter_DX_arm()
104 src = srcAddr[*xx++]; *colors++ = table[src]; in SI8_D16_nofilter_DX_arm()
123 const uint8_t* SK_RESTRICT srcAddr = (const uint8_t*)s.fBitmap->getPixels(); in SI8_opaque_D32_nofilter_DX_arm() local
128 srcAddr = (const uint8_t*)((const char*)srcAddr + xy[0] * s.fBitmap->rowBytes()); in SI8_opaque_D32_nofilter_DX_arm()
131 uint8_t src = srcAddr[0]; in SI8_opaque_D32_nofilter_DX_arm()
181 : [table] "r" (table), [srcAddr] "r" (srcAddr) in SI8_opaque_D32_nofilter_DX_arm()
DSkBitmapProcState_opts_SSE2.cpp22 const char* srcAddr = static_cast<const char*>(s.fBitmap->getPixels()); in S32_opaque_D32_filter_DX_SSE2() local
26 const uint32_t* row0 = reinterpret_cast<const uint32_t*>(srcAddr + (y0 >> 4) * rb); in S32_opaque_D32_filter_DX_SSE2()
27 const uint32_t* row1 = reinterpret_cast<const uint32_t*>(srcAddr + (XY & 0x3FFF) * rb); in S32_opaque_D32_filter_DX_SSE2()
128 const char* srcAddr = static_cast<const char*>(s.fBitmap->getPixels()); in S32_alpha_D32_filter_DX_SSE2() local
132 const uint32_t* row0 = reinterpret_cast<const uint32_t*>(srcAddr + (y0 >> 4) * rb); in S32_alpha_D32_filter_DX_SSE2()
133 const uint32_t* row1 = reinterpret_cast<const uint32_t*>(srcAddr + (XY & 0x3FFF) * rb); in S32_alpha_D32_filter_DX_SSE2()
649 const char* srcAddr = static_cast<const char*>(s.fBitmap->getPixels()); in S32_D16_filter_DX_SSE2() local
653 const uint32_t* row0 = reinterpret_cast<const uint32_t*>(srcAddr + (y0 >> 4) * rb); in S32_D16_filter_DX_SSE2()
654 const uint32_t* row1 = reinterpret_cast<const uint32_t*>(srcAddr + (XY & 0x3FFF) * rb); in S32_D16_filter_DX_SSE2()
/external/skia/src/core/
DSkBitmapProcState_sample.h51 const char* SK_RESTRICT srcAddr = (const char*)s.fBitmap->getPixels(); in MAKENAME() local
61 src = ((const SRCTYPE*)(srcAddr + (XY >> 16) * rb))[XY & 0xFFFF]; in MAKENAME()
67 src = ((const SRCTYPE*)(srcAddr + (XY >> 16) * rb))[XY & 0xFFFF]; in MAKENAME()
74 src = ((const SRCTYPE*)(srcAddr + (XY >> 16) * rb))[XY & 0xFFFF]; in MAKENAME()
94 const SRCTYPE* SK_RESTRICT srcAddr = (const SRCTYPE*)s.fBitmap->getPixels(); in MAKENAME() local
99 srcAddr = (const SRCTYPE*)((const char*)srcAddr + in MAKENAME()
106 src = srcAddr[0]; in MAKENAME()
114 SRCTYPE x0 = srcAddr[UNPACK_PRIMARY_SHORT(xx0)]; in MAKENAME()
115 SRCTYPE x1 = srcAddr[UNPACK_SECONDARY_SHORT(xx0)]; in MAKENAME()
116 SRCTYPE x2 = srcAddr[UNPACK_PRIMARY_SHORT(xx1)]; in MAKENAME()
[all …]
DSkBitmapProcState_shaderproc.h46 const char* SK_RESTRICT srcAddr = (const char*)s.fBitmap->getPixels(); in SCALE_FILTER_NAME() local
48 row0 = (const SRCTYPE*)(srcAddr + y0 * rb); in SCALE_FILTER_NAME()
49 row1 = (const SRCTYPE*)(srcAddr + y1 * rb); in SCALE_FILTER_NAME()
/external/mesa3d/src/mesa/main/
Dtexstore.c324 const GLvoid *srcAddr, in _mesa_make_temp_float_image() argument
365 = (const GLubyte *) _mesa_image_address(dims, srcPacking, srcAddr, in _mesa_make_temp_float_image()
436 const GLvoid *srcAddr, in make_temp_uint_image() argument
474 = (const GLubyte *) _mesa_image_address(dims, srcPacking, srcAddr, in make_temp_uint_image()
565 const GLvoid *srcAddr, in _mesa_make_temp_ubyte_image() argument
605 (const GLubyte *) _mesa_image_address(dims, srcPacking, srcAddr, in _mesa_make_temp_ubyte_image()
859 const GLvoid *srcAddr, in _mesa_swizzle_ubyte_image() argument
873 = (const GLubyte *) _mesa_image_address(dimensions, srcPacking, srcAddr, in _mesa_swizzle_ubyte_image()
932 const GLvoid *srcAddr, in memcpy_texture() argument
940 srcPacking, srcAddr, srcWidth, srcHeight, srcFormat, srcType, 0, 0, 0); in memcpy_texture()
[all …]
Dtexstore.h65 const GLvoid *srcAddr, \
79 const GLvoid *srcAddr,
88 const GLvoid *srcAddr,
Dtexcompress_s3tc.c183 srcFormat, srcType, srcAddr, in _mesa_texstore_rgb_dxt1()
191 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgb_dxt1()
236 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_dxt1()
244 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_dxt1()
289 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_dxt3()
296 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_dxt3()
341 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_dxt5()
348 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_dxt5()
Dtexcompress_rgtc.c109 srcFormat, srcType, srcAddr, in _mesa_texstore_red_rgtc1()
156 srcFormat, srcType, srcAddr, in _mesa_texstore_signed_red_rgtc1()
204 srcFormat, srcType, srcAddr, in _mesa_texstore_rg_rgtc2()
258 srcFormat, srcType, srcAddr, in _mesa_texstore_signed_rg_rgtc2()
Dtexcompress_fxt1.c81 srcFormat, srcType, srcAddr, in _mesa_texstore_rgb_fxt1()
90 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgb_fxt1()
131 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_fxt1()
140 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight, in _mesa_texstore_rgba_fxt1()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp59 Instruction *splitAt, Value *srcAddr, Value *dstAddr, Value *len, in convertTransferToLoop() argument
73 unsigned srcAS = cast<PointerType>(srcAddr->getType())->getAddressSpace(); in convertTransferToLoop()
77 srcAddr = builder.CreateBitCast(srcAddr, Type::getInt8PtrTy(Context, srcAS)); in convertTransferToLoop()
87 Value *val = loop.CreateLoad(loop.CreateGEP(loop.getInt8Ty(), srcAddr, ind), in convertTransferToLoop()
194 Value *srcAddr = load->getOperand(0); in runOnFunction() local
199 convertTransferToLoop(store, srcAddr, dstAddr, len, load->isVolatile(), in runOnFunction()
DNVPTXISelLowering.cpp1323 SDValue srcAddr = in LowerCall() local
1326 SDValue theVal = DAG.getLoad(elemtype, dl, tempChain, srcAddr, in LowerCall()
2140 SDValue srcAddr = in LowerFormalArguments() local
2151 p = DAG.getExtLoad(ExtOp, dl, Ins[InsIdx].VT, Root, srcAddr, in LowerFormalArguments()
2155 p = DAG.getLoad(partVT, dl, Root, srcAddr, in LowerFormalArguments()
/external/clang/lib/CodeGen/
DCGCall.cpp2452 llvm::Value *srcAddr = srcLV.getAddress(); in emitWriteback() local
2453 assert(!isProvablyNull(srcAddr) && in emitWriteback()
2460 bool provablyNonNull = isProvablyNonNull(srcAddr); in emitWriteback()
2465 llvm::Value *isNull = CGF.Builder.CreateIsNull(srcAddr, "icr.isnull"); in emitWriteback()
2475 cast<llvm::PointerType>(srcAddr->getType())->getElementType(), in emitWriteback()
2553 llvm::Value *srcAddr = CGF.EmitScalarExpr(CRE->getSubExpr()); in emitWritebackArg() local
2557 srcLV = CGF.MakeNaturalAlignAddrLValue(srcAddr, srcAddrType); in emitWritebackArg()
2559 llvm::Value *srcAddr = srcLV.getAddress(); in emitWritebackArg() local
2568 if (isProvablyNull(srcAddr)) { in emitWritebackArg()
2598 bool provablyNonNull = isProvablyNonNull(srcAddr); in emitWritebackArg()
[all …]
DCGAtomic.cpp1429 llvm::Value *srcAddr = atomics.materializeRValue(rvalue); in EmitAtomicStore() local
1437 args.add(RValue::get(EmitCastToVoidPtr(srcAddr)), getContext().VoidPtrTy); in EmitAtomicStore()