/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/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 | 159 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 …]
|
D | lz4.c | 408 void LZ4_wildCopy8(void* dstPtr, const void* srcPtr, void* dstEnd) in LZ4_wildCopy8() argument 410 BYTE* d = (BYTE*)dstPtr; in LZ4_wildCopy8() 437 LZ4_memcpy_using_offset_base(BYTE* dstPtr, const BYTE* srcPtr, BYTE* dstEnd, const size_t offset) in LZ4_memcpy_using_offset_base() argument 439 assert(srcPtr + offset == dstPtr); in LZ4_memcpy_using_offset_base() 441 LZ4_write32(dstPtr, 0); /* silence an msan warning when offset==0 */ in LZ4_memcpy_using_offset_base() 442 dstPtr[0] = srcPtr[0]; in LZ4_memcpy_using_offset_base() 443 dstPtr[1] = srcPtr[1]; in LZ4_memcpy_using_offset_base() 444 dstPtr[2] = srcPtr[2]; in LZ4_memcpy_using_offset_base() 445 dstPtr[3] = srcPtr[3]; in LZ4_memcpy_using_offset_base() 447 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/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/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeIndirectComputeDispatchTests.cpp | 193 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()
|
/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 | 1443 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 …]
|
/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 …]
|
/third_party/libjpeg-turbo/java/ |
D | TJBench.java | 127 int pixels = w[0] * h[0], dstPtr = 0, rgbPtr = 0; in loadImage() local 130 dstBuf[dstPtr + rindex] = (byte)((rgb[rgbPtr] >> 16) & 0xff); in loadImage() 131 dstBuf[dstPtr + gindex] = (byte)((rgb[rgbPtr] >> 8) & 0xff); in loadImage() 132 dstBuf[dstPtr + bindex] = (byte)(rgb[rgbPtr] & 0xff); in loadImage() 133 dstPtr += ps; in loadImage()
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/ |
D | TJBench.java | 125 int pixels = w[0] * h[0], dstPtr = 0, rgbPtr = 0; in loadImage() local 128 dstBuf[dstPtr + rindex] = (byte)((rgb[rgbPtr] >> 16) & 0xff); in loadImage() 129 dstBuf[dstPtr + gindex] = (byte)((rgb[rgbPtr] >> 8) & 0xff); in loadImage() 130 dstBuf[dstPtr + bindex] = (byte)(rgb[rgbPtr] & 0xff); in loadImage() 131 dstPtr += ps; in loadImage()
|