/third_party/skia/src/codec/ |
D | SkMaskSwizzler.cpp | 18 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 …]
|
D | SkBmpStandardCodec.cpp | 308 SkPMColor* dstPtr = (SkPMColor*) dst; in decodeIcoMask() local 328 void* dstRow = SkTAddOffset<SkPMColor>(dstPtr, row * dstRowBytes); in decodeIcoMask()
|
/third_party/flutter/skia/src/codec/ |
D | SkMaskSwizzler.cpp | 18 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 …]
|
D | SkBmpStandardCodec.cpp | 308 SkPMColor* dstPtr = (SkPMColor*) dst; in decodeIcoMask() local 328 void* dstRow = SkTAddOffset<SkPMColor>(dstPtr, row * dstRowBytes); in decodeIcoMask()
|
/third_party/lz4/lib/ |
D | lz4frame.c | 197 BYTE* const dstPtr = (BYTE*)dst; in LZ4F_writeLE32() local 198 dstPtr[0] = (BYTE)value32; in LZ4F_writeLE32() 199 dstPtr[1] = (BYTE)(value32 >> 8); in LZ4F_writeLE32() 200 dstPtr[2] = (BYTE)(value32 >> 16); in LZ4F_writeLE32() 201 dstPtr[3] = (BYTE)(value32 >> 24); in LZ4F_writeLE32() 220 BYTE* const dstPtr = (BYTE*)dst; in LZ4F_writeLE64() local 221 dstPtr[0] = (BYTE)value64; in LZ4F_writeLE64() 222 dstPtr[1] = (BYTE)(value64 >> 8); in LZ4F_writeLE64() 223 dstPtr[2] = (BYTE)(value64 >> 16); in LZ4F_writeLE64() 224 dstPtr[3] = (BYTE)(value64 >> 24); in LZ4F_writeLE64() [all …]
|
D | lz4.c | 444 void LZ4_wildCopy8(void* dstPtr, const void* srcPtr, void* dstEnd) in LZ4_wildCopy8() argument 446 BYTE* d = (BYTE*)dstPtr; in LZ4_wildCopy8() 475 LZ4_memcpy_using_offset_base(BYTE* dstPtr, const BYTE* srcPtr, BYTE* dstEnd, const size_t offset) in LZ4_memcpy_using_offset_base() argument 477 assert(srcPtr + offset == dstPtr); in LZ4_memcpy_using_offset_base() 479 LZ4_write32(dstPtr, 0); /* silence an msan warning when offset==0 */ in LZ4_memcpy_using_offset_base() 480 dstPtr[0] = srcPtr[0]; in LZ4_memcpy_using_offset_base() 481 dstPtr[1] = srcPtr[1]; in LZ4_memcpy_using_offset_base() 482 dstPtr[2] = srcPtr[2]; in LZ4_memcpy_using_offset_base() 483 dstPtr[3] = srcPtr[3]; in LZ4_memcpy_using_offset_base() 485 LZ4_memcpy(dstPtr+4, srcPtr, 4); in LZ4_memcpy_using_offset_base() [all …]
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_linearization_info.cpp | 492 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 …]
|
D | dng_read_image.cpp | 2395 uint8 *dstPtr = srcPtr - in ReadTile() local 2399 dstPtr, in ReadTile() 2438 uint32 *dstPtr = (uint32 *) buffer.fData; in ReadTile() local 2443 dstPtr [index] = DNG_HalfToFloat (srcPtr [index]); in ReadTile() 2455 uint32 *dstPtr = ((uint32 *) buffer.fData) + (sampleCount - 1); in ReadTile() local 2465 *(dstPtr--) = DNG_FP24ToFloat (srcPtr); in ReadTile() 2485 *(dstPtr--) = DNG_FP24ToFloat (input); in ReadTile()
|
/third_party/ffmpeg/libswscale/ |
D | swscale_unscaled.c | 477 uint16_t *dstPtr = (uint16_t *) dst[p]; in bswap_16bpc() local 480 if(!dstPtr || !srcPtr) in bswap_16bpc() 482 dstPtr += (srcSliceY >> c->chrDstVSubSample) * dststr; in bswap_16bpc() 485 dstPtr[j] = av_bswap16(srcPtr[j]); in bswap_16bpc() 488 dstPtr += dststr; in bswap_16bpc() 504 uint32_t *dstPtr = (uint32_t *) dst[p]; in bswap_32bpc() local 507 if(!dstPtr || !srcPtr) in bswap_32bpc() 509 dstPtr += (srcSliceY >> c->chrDstVSubSample) * dststr; in bswap_32bpc() 512 dstPtr[j] = av_bswap32(srcPtr[j]); in bswap_32bpc() 515 dstPtr += dststr; in bswap_32bpc() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fIndirectComputeDispatchTests.cpp | 194 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()
|
/third_party/lz4/ossfuzz/ |
D | round_trip_frame_uncompressed_fuzzer.c | 22 void *dstPtr = (char *) dst; in decompress() local 30 ret = LZ4F_decompress(dctx, dstPtr, &dstSize, srcPtr, &srcSize, in decompress() 36 dstPtr = (char *) dstPtr + dstSize; in decompress()
|
/third_party/vk-gl-cts/framework/delibs/depool/ |
D | dePoolStringBuilder.c | 125 char* dstPtr = resultStr; in dePoolStringBuilder_dupToPool() local 131 *dstPtr++ = *p++; in dePoolStringBuilder_dupToPool() 135 *dstPtr++ = 0; in dePoolStringBuilder_dupToPool()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuCompressedTexture.cpp | 917 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 …]
|
/third_party/mesa3d/src/mesa/main/ |
D | mipmap.c | 1444 GLint dstWidth, GLubyte *dstPtr) in make_1d_mipmap() argument 1452 dst = dstPtr + border * bpt; in make_1d_mipmap() 1460 assert(dstPtr); in make_1d_mipmap() 1462 memcpy(dstPtr, srcPtr, bpt); in make_1d_mipmap() 1464 memcpy(dstPtr + (dstWidth - 1) * bpt, in make_1d_mipmap() 1476 GLubyte *dstPtr, GLint dstRowStride) in make_2d_mipmap() argument 1499 dst = dstPtr + border * ((dstWidth + 1) * bpt); in make_2d_mipmap() 1513 assert(dstPtr); in make_2d_mipmap() 1515 memcpy(dstPtr, srcPtr, bpt); in make_2d_mipmap() 1517 memcpy(dstPtr + (dstWidth - 1) * bpt, in make_2d_mipmap() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/ |
D | vktComputeIndirectComputeDispatchTests.cpp | 346 deUint32* const dstPtr = (deUint32*)&indirectDataPtr[cmdIter->m_offset]; in fillIndirectBufferData() local 348 dstPtr[0] = cmdIter->m_numWorkGroups[0]; in fillIndirectBufferData() 349 dstPtr[1] = cmdIter->m_numWorkGroups[1]; in fillIndirectBufferData() 350 dstPtr[2] = cmdIter->m_numWorkGroups[2]; in fillIndirectBufferData() 420 deUint8* const dstPtr = &resultDataPtr[resultBlockSize*cmdNdx]; in iterate() local 422 *(deUint32*)(dstPtr + 0 * sizeof(deUint32)) = m_dispatchCommands[cmdNdx].m_numWorkGroups[0]; in iterate() 423 *(deUint32*)(dstPtr + 1 * sizeof(deUint32)) = m_dispatchCommands[cmdNdx].m_numWorkGroups[1]; in iterate() 424 *(deUint32*)(dstPtr + 2 * sizeof(deUint32)) = m_dispatchCommands[cmdNdx].m_numWorkGroups[2]; in iterate() 425 *(deUint32*)(dstPtr + RESULT_BLOCK_NUM_PASSED_OFFSET) = 0; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeIndirectComputeDispatchTests.cpp | 346 deUint32* const dstPtr = (deUint32*)&indirectDataPtr[cmdIter->m_offset]; in fillIndirectBufferData() local 348 dstPtr[0] = cmdIter->m_numWorkGroups[0]; in fillIndirectBufferData() 349 dstPtr[1] = cmdIter->m_numWorkGroups[1]; in fillIndirectBufferData() 350 dstPtr[2] = cmdIter->m_numWorkGroups[2]; in fillIndirectBufferData() 420 deUint8* const dstPtr = &resultDataPtr[resultBlockSize*cmdNdx]; in iterate() local 422 *(deUint32*)(dstPtr + 0 * sizeof(deUint32)) = m_dispatchCommands[cmdNdx].m_numWorkGroups[0]; in iterate() 423 *(deUint32*)(dstPtr + 1 * sizeof(deUint32)) = m_dispatchCommands[cmdNdx].m_numWorkGroups[1]; in iterate() 424 *(deUint32*)(dstPtr + 2 * sizeof(deUint32)) = m_dispatchCommands[cmdNdx].m_numWorkGroups[2]; in iterate() 425 *(deUint32*)(dstPtr + RESULT_BLOCK_NUM_PASSED_OFFSET) = 0; in iterate()
|
/third_party/flutter/skia/samplecode/ |
D | SampleStrokePath.cpp | 65 uint8_t* dstPtr = dst.fImage; 69 printf(" %02X", dstPtr[x]); 72 dstPtr += dst.fRowBytes;
|
/third_party/skia/samplecode/ |
D | SampleStrokePath.cpp | 63 uint8_t* dstPtr = dst.fImage; 67 printf(" %02X", dstPtr[x]); 70 dstPtr += dst.fRowBytes;
|
/third_party/flutter/skia/src/utils/ |
D | SkBase64.cpp | 111 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()
|
/third_party/flutter/skia/src/effects/imagefilters/ |
D | SkBlurImageFilter.cpp | 431 uint32_t* dstPtr = dst.getAddr32(0, y); in copy_image_with_bounds() local 433 *dstPtr++ = 0; in copy_image_with_bounds() 436 memcpy(dstPtr, src.getAddr32(x - srcBounds.left(), y - srcBounds.top()), in copy_image_with_bounds() 439 dstPtr += srcW; in copy_image_with_bounds() 443 *dstPtr++ = 0; in copy_image_with_bounds()
|
/third_party/flutter/skia/tests/ |
D | TestUtils.cpp | 132 const GrColor* dstPtr = dstBuffer; in does_full_buffer_contain_correct_color() local 135 if (srcPtr[i] != dstPtr[i]) { in does_full_buffer_contain_correct_color() 140 dstPtr += width; in does_full_buffer_contain_correct_color()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkBlurImageFilter.cpp | 730 uint32_t* dstPtr = dst.getAddr32(0, y); in copy_image_with_bounds() local 732 *dstPtr++ = 0; in copy_image_with_bounds() 735 memcpy(dstPtr, src.getAddr32(x - srcBounds.left(), y - srcBounds.top()), in copy_image_with_bounds() 738 dstPtr += srcW; in copy_image_with_bounds() 742 *dstPtr++ = 0; in copy_image_with_bounds()
|
/third_party/skia/src/core/ |
D | SkBitmapDevice.cpp | 451 const SkRect* dstPtr = &dst; in drawImageRect() local 466 dstPtr = &tmpDst; in drawImageRect() 518 this->drawBitmap(*bitmapPtr, matrix, dstPtr, sampling, paint); in drawImageRect() 538 this->drawRect(*dstPtr, paintWithShader); in drawImageRect()
|
/third_party/flutter/skia/src/core/ |
D | SkBitmapDevice.cpp | 442 const SkRect* dstPtr = &dst; in drawBitmapRect() local 457 dstPtr = &tmpDst; in drawBitmapRect() 509 this->drawBitmap(*bitmapPtr, matrix, dstPtr, paint); in drawBitmapRect() 534 this->drawRect(*dstPtr, paintWithShader); in drawBitmapRect()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | mtl_render_utils.mm | 237 uint32_t *dstPtr = reinterpret_cast<uint32_t *>(dstBuffer->map(contextMtl) + dstOffset); 277 memcpy(dstPtr + 3 * dstTriangle, triIndices, sizeof(triIndices)); 296 memcpy(dstPtr + 3 * dstTriangle, triIndices, sizeof(triIndices)); 319 uint32_t *dstPtr = reinterpret_cast<uint32_t *>(dstBuffer->map(contextMtl) + dstOffset); 351 memcpy(&dstPtr[dstIdx], primIndicies, (indicesPerPrimitive) * sizeof(uint32_t)); 373 uint32_t *dstPtr = reinterpret_cast<uint32_t *>(dstBuffer->map(contextMtl) + dstOffset); 385 memcpy(&dstPtr[lineLoopFirstIdxLoc++], &kDstPrimitiveRestartIndex, 392 memcpy(&dstPtr[lineLoopFirstIdxLoc], &dstIdx, sizeof(dstIdx)); 405 memcpy(&dstPtr[dstWritten++], &dstIdx, sizeof(dstIdx)); 406 memcpy(&dstPtr[dstWritten++], &kDstPrimitiveRestartIndex, [all …]
|