Home
last modified time | relevance | path

Searched refs:dstPtr (Results 1 – 25 of 46) sorted by relevance

12

/external/skia/src/codec/
DSkMaskSwizzler.cpp18 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_rgba_opaque() local
24 dstPtr[i] = SkPackARGB_as_RGBA(0xFF, red, green, blue); in swizzle_mask16_to_rgba_opaque()
35 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_bgra_opaque() local
41 dstPtr[i] = SkPackARGB_as_BGRA(0xFF, red, green, blue); in swizzle_mask16_to_bgra_opaque()
52 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_rgba_unpremul() local
59 dstPtr[i] = SkPackARGB_as_RGBA(alpha, red, green, blue); in swizzle_mask16_to_rgba_unpremul()
70 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_bgra_unpremul() local
77 dstPtr[i] = SkPackARGB_as_BGRA(alpha, red, green, blue); in swizzle_mask16_to_bgra_unpremul()
88 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_rgba_premul() local
95 dstPtr[i] = premultiply_argb_as_rgba(alpha, red, green, blue); in swizzle_mask16_to_rgba_premul()
[all …]
DSkBmpStandardCodec.cpp308 SkPMColor* dstPtr = (SkPMColor*) dst; in decodeIcoMask() local
328 void* dstRow = SkTAddOffset<SkPMColor>(dstPtr, row * dstRowBytes); in decodeIcoMask()
/external/skqp/src/codec/
DSkMaskSwizzler.cpp18 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_rgba_opaque() local
24 dstPtr[i] = SkPackARGB_as_RGBA(0xFF, red, green, blue); in swizzle_mask16_to_rgba_opaque()
35 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_bgra_opaque() local
41 dstPtr[i] = SkPackARGB_as_BGRA(0xFF, red, green, blue); in swizzle_mask16_to_bgra_opaque()
52 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_rgba_unpremul() local
59 dstPtr[i] = SkPackARGB_as_RGBA(alpha, red, green, blue); in swizzle_mask16_to_rgba_unpremul()
70 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_bgra_unpremul() local
77 dstPtr[i] = SkPackARGB_as_BGRA(alpha, red, green, blue); in swizzle_mask16_to_bgra_unpremul()
88 SkPMColor* dstPtr = (SkPMColor*) dstRow; in swizzle_mask16_to_rgba_premul() local
95 dstPtr[i] = premultiply_argb_as_rgba(alpha, red, green, blue); in swizzle_mask16_to_rgba_premul()
[all …]
DSkBmpStandardCodec.cpp308 SkPMColor* dstPtr = (SkPMColor*) dst; in decodeIcoMask() local
328 void* dstRow = SkTAddOffset<SkPMColor>(dstPtr, row * dstRowBytes); in decodeIcoMask()
/external/lz4/lib/
Dlz4frame.c159 BYTE* const dstPtr = (BYTE*)dst; in LZ4F_writeLE32() local
160 dstPtr[0] = (BYTE)value32; in LZ4F_writeLE32()
161 dstPtr[1] = (BYTE)(value32 >> 8); in LZ4F_writeLE32()
162 dstPtr[2] = (BYTE)(value32 >> 16); in LZ4F_writeLE32()
163 dstPtr[3] = (BYTE)(value32 >> 24); in LZ4F_writeLE32()
182 BYTE* const dstPtr = (BYTE*)dst; in LZ4F_writeLE64() local
183 dstPtr[0] = (BYTE)value64; in LZ4F_writeLE64()
184 dstPtr[1] = (BYTE)(value64 >> 8); in LZ4F_writeLE64()
185 dstPtr[2] = (BYTE)(value64 >> 16); in LZ4F_writeLE64()
186 dstPtr[3] = (BYTE)(value64 >> 24); in LZ4F_writeLE64()
[all …]
Dlz4.c359 void LZ4_wildCopy8(void* dstPtr, const void* srcPtr, void* dstEnd) in LZ4_wildCopy8() argument
361 BYTE* d = (BYTE*)dstPtr; in LZ4_wildCopy8()
388 LZ4_memcpy_using_offset_base(BYTE* dstPtr, const BYTE* srcPtr, BYTE* dstEnd, const size_t offset) in LZ4_memcpy_using_offset_base() argument
391 dstPtr[0] = srcPtr[0]; in LZ4_memcpy_using_offset_base()
392 dstPtr[1] = srcPtr[1]; in LZ4_memcpy_using_offset_base()
393 dstPtr[2] = srcPtr[2]; in LZ4_memcpy_using_offset_base()
394 dstPtr[3] = srcPtr[3]; in LZ4_memcpy_using_offset_base()
396 memcpy(dstPtr+4, srcPtr, 4); in LZ4_memcpy_using_offset_base()
398 dstPtr += 8; in LZ4_memcpy_using_offset_base()
400 memcpy(dstPtr, srcPtr, 8); in LZ4_memcpy_using_offset_base()
[all …]
/external/dng_sdk/source/
Ddng_linearization_info.cpp492 real32 *dstPtr = (real32 *) dPtr; in Process() local
503 *dstPtr = (*srcPtr) * scale; in Process()
506 dstPtr += dStep; in Process()
554 *dstPtr = x; in Process()
557 dstPtr += dStep; in Process()
576 uint16 *dstPtr = (uint16 *) dPtr; in Process() local
586 *dstPtr = lut [*srcPtr]; in Process()
589 dstPtr += dStep; in Process()
603 *dstPtr = lut [*srcPtr]; in Process()
606 dstPtr += dStep; in Process()
[all …]
/external/deqp/modules/gles31/functional/
Des31fIndirectComputeDispatchTests.cpp194 deUint32* const dstPtr = (deUint32*)&data[cmdIter->offset]; in createCmdBufferUpload() local
196 dstPtr[0] = cmdIter->numWorkGroups[0]; in createCmdBufferUpload()
197 dstPtr[1] = cmdIter->numWorkGroups[1]; in createCmdBufferUpload()
198 dstPtr[2] = cmdIter->numWorkGroups[2]; in createCmdBufferUpload()
272 deUint8* const dstPtr = &data[resultBlockSize*cmdNdx]; in createResultBuffer() local
274 …*(deUint32*)(dstPtr + RESULT_BLOCK_EXPECTED_COUNT_OFFSET + 0*4) = m_commands[cmdNdx].numWorkGroups… in createResultBuffer()
275 …*(deUint32*)(dstPtr + RESULT_BLOCK_EXPECTED_COUNT_OFFSET + 1*4) = m_commands[cmdNdx].numWorkGroups… in createResultBuffer()
276 …*(deUint32*)(dstPtr + RESULT_BLOCK_EXPECTED_COUNT_OFFSET + 2*4) = m_commands[cmdNdx].numWorkGroups… in createResultBuffer()
277 *(deUint32*)(dstPtr + RESULT_BLOCK_NUM_PASSED_OFFSET) = 0; in createResultBuffer()
/external/deqp/framework/delibs/depool/
DdePoolStringBuilder.c125 char* dstPtr = resultStr; in dePoolStringBuilder_dupToPool() local
131 *dstPtr++ = *p++; in dePoolStringBuilder_dupToPool()
135 *dstPtr++ = 0; in dePoolStringBuilder_dupToPool()
/external/llvm-project/llvm/test/CodeGen/SystemZ/
Dcond-move-10.ll11 define void @f0(i64 *%ptr0, i64 *%dstPtr) {
52 store i64 %res, i64* %dstPtr
57 define void @f1(i32 *%ptr0, i32 *%dstPtr) {
98 store i32 %res, i32* %dstPtr
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp193 deUint32* const dstPtr = (deUint32*)&indirectDataPtr[cmdIter->m_offset]; in fillIndirectBufferData() local
195 dstPtr[0] = cmdIter->m_numWorkGroups[0]; in fillIndirectBufferData()
196 dstPtr[1] = cmdIter->m_numWorkGroups[1]; in fillIndirectBufferData()
197 dstPtr[2] = cmdIter->m_numWorkGroups[2]; in fillIndirectBufferData()
235 deUint8* const dstPtr = &resultDataPtr[resultBlockSize*cmdNdx]; in iterate() local
237 *(deUint32*)(dstPtr + 0 * sizeof(deUint32)) = m_dispatchCommands[cmdNdx].m_numWorkGroups[0]; in iterate()
238 *(deUint32*)(dstPtr + 1 * sizeof(deUint32)) = m_dispatchCommands[cmdNdx].m_numWorkGroups[1]; in iterate()
239 *(deUint32*)(dstPtr + 2 * sizeof(deUint32)) = m_dispatchCommands[cmdNdx].m_numWorkGroups[2]; in iterate()
240 *(deUint32*)(dstPtr + RESULT_BLOCK_NUM_PASSED_OFFSET) = 0; in iterate()
/external/zstd/lib/dictBuilder/
Dzdict.c731 BYTE* dstPtr = (BYTE*)dstBuffer; in ZDICT_analyzeEntropy() local
815 { size_t const hhSize = HUF_writeCTable(dstPtr, maxDstSize, hufTable, 255, huffLog); in ZDICT_analyzeEntropy()
821 dstPtr += hhSize; in ZDICT_analyzeEntropy()
826 … { size_t const ohSize = FSE_writeNCount(dstPtr, maxDstSize, offcodeNCount, OFFCODE_MAX, Offlog); in ZDICT_analyzeEntropy()
832 dstPtr += ohSize; in ZDICT_analyzeEntropy()
837 { size_t const mhSize = FSE_writeNCount(dstPtr, maxDstSize, matchLengthNCount, MaxML, mlLog); in ZDICT_analyzeEntropy()
843 dstPtr += mhSize; in ZDICT_analyzeEntropy()
848 { size_t const lhSize = FSE_writeNCount(dstPtr, maxDstSize, litLengthNCount, MaxLL, llLog); in ZDICT_analyzeEntropy()
854 dstPtr += lhSize; in ZDICT_analyzeEntropy()
865 MEM_writeLE32(dstPtr+0, bestRepOffset[0].offset); in ZDICT_analyzeEntropy()
[all …]
/external/deqp/framework/common/
DtcuCompressedTexture.cpp917 deUint8* const dstPtr = (deUint8*)dst.getDataPtr(); in decompressETC1() local
920 decompressETC1Block(dstPtr, compressedBlock); in decompressETC1()
927 deUint8* const dstPtr = (deUint8*)dst.getDataPtr(); in decompressETC2() local
930 decompressETC2Block(dstPtr, compressedBlock, NULL, false); in decompressETC2()
937 deUint8* const dstPtr = (deUint8*)dst.getDataPtr(); in decompressETC2_EAC_RGBA8() local
957 deUint8* const dstPixel = dstPtr + y*dstRowPitch + x*dstPixelSize; in decompressETC2_EAC_RGBA8()
972 deUint8* const dstPtr = (deUint8*)dst.getDataPtr(); in decompressETC2_RGB8_PUNCHTHROUGH_ALPHA1() local
990 deUint8* const dstPixel = dstPtr + y*dstRowPitch + x*dstPixelSize; in decompressETC2_RGB8_PUNCHTHROUGH_ALPHA1()
1005 deUint8* const dstPtr = (deUint8*)dst.getDataPtr(); in decompressEAC_R11() local
1025 deInt16* const dstPixel = (deInt16*)(dstPtr + y*dstRowPitch + x*dstPixelSize); in decompressEAC_R11()
[all …]
/external/skqp/tests/
DTransferPixelsTest.cpp45 GrColor* dstPtr = dstBuffer; in does_full_buffer_contain_correct_values() local
49 if (srcPtr[i] != dstPtr[i]) { in does_full_buffer_contain_correct_values()
54 dstPtr += bufferWidth; in does_full_buffer_contain_correct_values()
DTestUtils.cpp136 GrColor* dstPtr = dstBuffer; in does_full_buffer_contain_correct_color() local
139 if (srcPtr[i] != dstPtr[i]) { in does_full_buffer_contain_correct_color()
144 dstPtr += width; in does_full_buffer_contain_correct_color()
/external/skia/samplecode/
DSampleStrokePath.cpp63 uint8_t* dstPtr = dst.fImage;
67 printf(" %02X", dstPtr[x]);
70 dstPtr += dst.fRowBytes;
/external/skqp/samplecode/
DSampleStrokePath.cpp65 uint8_t* dstPtr = dst.fImage;
69 printf(" %02X", dstPtr[x]);
72 dstPtr += dst.fRowBytes;
/external/mesa3d/src/mesa/main/
Dmipmap.c1443 GLint dstWidth, GLubyte *dstPtr) in make_1d_mipmap() argument
1451 dst = dstPtr + border * bpt; in make_1d_mipmap()
1459 assert(dstPtr); in make_1d_mipmap()
1461 memcpy(dstPtr, srcPtr, bpt); in make_1d_mipmap()
1463 memcpy(dstPtr + (dstWidth - 1) * bpt, in make_1d_mipmap()
1475 GLubyte *dstPtr, GLint dstRowStride) in make_2d_mipmap() argument
1498 dst = dstPtr + border * ((dstWidth + 1) * bpt); in make_2d_mipmap()
1512 assert(dstPtr); in make_2d_mipmap()
1514 memcpy(dstPtr, srcPtr, bpt); in make_2d_mipmap()
1516 memcpy(dstPtr + (dstWidth - 1) * bpt, in make_2d_mipmap()
[all …]
/external/skqp/src/utils/
DSkBase64.cpp111 size_t SkBase64::Encode(const void* srcPtr, size_t length, void* dstPtr, const char* encodeMap) { in Encode() argument
119 unsigned char* dst = (unsigned char*) dstPtr; in Encode()
/external/skia/src/effects/imagefilters/
DSkBlurImageFilter.cpp383 uint32_t* dstPtr = dst.getAddr32(0, y); in copy_image_with_bounds() local
385 *dstPtr++ = 0; in copy_image_with_bounds()
388 memcpy(dstPtr, src.getAddr32(x - srcBounds.left(), y - srcBounds.top()), in copy_image_with_bounds()
391 dstPtr += srcW; in copy_image_with_bounds()
395 *dstPtr++ = 0; in copy_image_with_bounds()
/external/skqp/src/effects/imagefilters/
DSkBlurImageFilter.cpp430 uint32_t* dstPtr = dst.getAddr32(0, y); in copy_image_with_bounds() local
432 *dstPtr++ = 0; in copy_image_with_bounds()
435 memcpy(dstPtr, src.getAddr32(x - srcBounds.left(), y - srcBounds.top()), in copy_image_with_bounds()
438 dstPtr += srcW; in copy_image_with_bounds()
442 *dstPtr++ = 0; in copy_image_with_bounds()
/external/skqp/src/core/
DSkColorFilter.cpp75 SkRasterPipeline_MemoryCtx dstPtr = { &dst, 0 }; in filterColor4f() local
76 pipeline.append(SkRasterPipeline::store_f32, &dstPtr); in filterColor4f()
DSkBitmapDevice.cpp455 const SkRect* dstPtr = &dst; in drawBitmapRect() local
470 dstPtr = &tmpDst; in drawBitmapRect()
522 this->drawBitmap(*bitmapPtr, matrix, dstPtr, paint); in drawBitmapRect()
547 this->drawRect(*dstPtr, paintWithShader); in drawBitmapRect()
/external/skia/src/core/
DSkBitmapDevice.cpp451 const SkRect* dstPtr = &dst; in drawImageRect() local
466 dstPtr = &tmpDst; in drawImageRect()
518 this->drawBitmap(*bitmapPtr, matrix, dstPtr, sampling, paint); in drawImageRect()
543 this->drawRect(*dstPtr, paintWithShader); in drawImageRect()
/external/angle/src/libANGLE/renderer/metal/
Dmtl_render_utils.mm246 uint32_t *dstPtr = reinterpret_cast<uint32_t *>(dstBuffer->map(contextMtl) + dstOffset);
286 memcpy(dstPtr + 3 * dstTriangle, triIndices, sizeof(triIndices));
305 memcpy(dstPtr + 3 * dstTriangle, triIndices, sizeof(triIndices));
328 uint32_t *dstPtr = reinterpret_cast<uint32_t *>(dstBuffer->map(contextMtl) + dstOffset);
360 memcpy(&dstPtr[dstIdx], primIndicies, (indicesPerPrimitive) * sizeof(uint32_t));
382 uint32_t *dstPtr = reinterpret_cast<uint32_t *>(dstBuffer->map(contextMtl) + dstOffset);
394 memcpy(&dstPtr[lineLoopFirstIdxLoc++], &kDstPrimitiveRestartIndex,
401 memcpy(&dstPtr[lineLoopFirstIdxLoc], &dstIdx, sizeof(dstIdx));
414 memcpy(&dstPtr[dstWritten++], &dstIdx, sizeof(dstIdx));
415 memcpy(&dstPtr[dstWritten++], &kDstPrimitiveRestartIndex,
[all …]

12