Home
last modified time | relevance | path

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

123

/third_party/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()
/third_party/flutter/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()
/third_party/lz4/lib/
Dlz4frame.c197 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 …]
Dlz4.c444 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/
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 …]
Ddng_read_image.cpp2395 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/
Dswscale_unscaled.c477 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/
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()
/third_party/lz4/ossfuzz/
Dround_trip_frame_uncompressed_fuzzer.c22 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/
DdePoolStringBuilder.c125 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/
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 …]
/third_party/mesa3d/src/mesa/main/
Dmipmap.c1444 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/
DvktComputeIndirectComputeDispatchTests.cpp346 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/
DvktComputeIndirectComputeDispatchTests.cpp346 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/
DSampleStrokePath.cpp65 uint8_t* dstPtr = dst.fImage;
69 printf(" %02X", dstPtr[x]);
72 dstPtr += dst.fRowBytes;
/third_party/skia/samplecode/
DSampleStrokePath.cpp63 uint8_t* dstPtr = dst.fImage;
67 printf(" %02X", dstPtr[x]);
70 dstPtr += dst.fRowBytes;
/third_party/flutter/skia/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()
/third_party/flutter/skia/src/effects/imagefilters/
DSkBlurImageFilter.cpp431 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/
DTestUtils.cpp132 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/
DSkBlurImageFilter.cpp730 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/
DSkBitmapDevice.cpp451 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/
DSkBitmapDevice.cpp442 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/
Dmtl_render_utils.mm237 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 …]

123