/third_party/skia/src/codec/ |
D | SkMaskSwizzler.cpp | 17 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_opaque() local 20 uint16_t p = srcPtr[0]; in swizzle_mask16_to_rgba_opaque() 25 srcPtr += sampleX; in swizzle_mask16_to_rgba_opaque() 34 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_bgra_opaque() local 37 uint16_t p = srcPtr[0]; in swizzle_mask16_to_bgra_opaque() 42 srcPtr += sampleX; in swizzle_mask16_to_bgra_opaque() 51 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_unpremul() local 54 uint16_t p = srcPtr[0]; in swizzle_mask16_to_rgba_unpremul() 60 srcPtr += sampleX; in swizzle_mask16_to_rgba_unpremul() 69 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_bgra_unpremul() local [all …]
|
/third_party/flutter/skia/src/codec/ |
D | SkMaskSwizzler.cpp | 17 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_opaque() local 20 uint16_t p = srcPtr[0]; in swizzle_mask16_to_rgba_opaque() 25 srcPtr += sampleX; in swizzle_mask16_to_rgba_opaque() 34 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_bgra_opaque() local 37 uint16_t p = srcPtr[0]; in swizzle_mask16_to_bgra_opaque() 42 srcPtr += sampleX; in swizzle_mask16_to_bgra_opaque() 51 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_unpremul() local 54 uint16_t p = srcPtr[0]; in swizzle_mask16_to_rgba_unpremul() 60 srcPtr += sampleX; in swizzle_mask16_to_rgba_unpremul() 69 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_bgra_unpremul() local [all …]
|
/third_party/lz4/lib/ |
D | lz4frame.c | 187 const BYTE* const srcPtr = (const BYTE*)src; in LZ4F_readLE32() local 188 U32 value32 = srcPtr[0]; in LZ4F_readLE32() 189 value32 += ((U32)srcPtr[1])<< 8; in LZ4F_readLE32() 190 value32 += ((U32)srcPtr[2])<<16; in LZ4F_readLE32() 191 value32 += ((U32)srcPtr[3])<<24; in LZ4F_readLE32() 206 const BYTE* const srcPtr = (const BYTE*)src; in LZ4F_readLE64() local 207 U64 value64 = srcPtr[0]; in LZ4F_readLE64() 208 value64 += ((U64)srcPtr[1]<<8); in LZ4F_readLE64() 209 value64 += ((U64)srcPtr[2]<<16); in LZ4F_readLE64() 210 value64 += ((U64)srcPtr[3]<<24); in LZ4F_readLE64() [all …]
|
D | lz4.c | 444 void LZ4_wildCopy8(void* dstPtr, const void* srcPtr, void* dstEnd) in LZ4_wildCopy8() argument 447 const BYTE* s = (const BYTE*)srcPtr; 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() 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() 484 srcPtr += inc32table[offset]; 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 | 490 const real32 *srcPtr = (const real32 *) sPtr; in Process() local 503 *dstPtr = (*srcPtr) * scale; in Process() 505 srcPtr += sStep; in Process() 540 real32 x = (*srcPtr) * scale - b1; in Process() 556 srcPtr += sStep; in Process() 581 const uint8 *srcPtr = (const uint8 *) sPtr; in Process() local 586 *dstPtr = lut [*srcPtr]; in Process() 588 srcPtr += sStep; in Process() 598 const uint16 *srcPtr = (const uint16 *) sPtr; in Process() local 603 *dstPtr = lut [*srcPtr]; in Process() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/onnx/ |
D | gstonnxclient.cpp | 299 uint8_t *srcPtr[3] = { img_data, img_data + 1, img_data + 2 }; in doRun() local 307 srcPtr[0] = img_data + 2; in doRun() 308 srcPtr[1] = img_data + 1; in doRun() 309 srcPtr[2] = img_data + 0; in doRun() 313 srcPtr[0] = img_data + 1; in doRun() 314 srcPtr[1] = img_data + 2; in doRun() 315 srcPtr[2] = img_data + 3; in doRun() 319 srcPtr[0] = img_data + 3; in doRun() 320 srcPtr[1] = img_data + 2; in doRun() 321 srcPtr[2] = img_data + 1; in doRun() [all …]
|
/third_party/lz4/ossfuzz/ |
D | round_trip_frame_uncompressed_fuzzer.c | 21 const void *srcPtr = (const char *) src; in decompress() local 23 const void *const srcEnd = (const char *) srcPtr + readSize; in decompress() 26 while (srcPtr < srcEnd && ret != 0) { in decompress() 29 size_t srcSize = (const char *) srcEnd - (const char *) srcPtr; in decompress() 30 ret = LZ4F_decompress(dctx, dstPtr, &dstSize, srcPtr, &srcSize, in decompress() 35 srcPtr = (const char *) srcPtr + srcSize; in decompress() 39 FUZZ_ASSERT(srcPtr <= srcEnd); in decompress()
|
/third_party/flutter/skia/src/core/ |
D | SkUtils.cpp | 11 static SkUnichar next(const T** srcPtr, unsigned N, SkUnichar (*fn)(const T**, const T*)) { in next() argument 12 SkASSERT(srcPtr); in next() 13 const T* ptr = *srcPtr; in next() 17 ++(*srcPtr); in next() 20 *srcPtr = ptr; in next()
|
D | SkPixmap.cpp | 97 const void* srcPtr = fast_getaddr(*this, x, y); in getAlphaf() local 108 value = static_cast<const uint8_t*>(srcPtr)[0] * (1.0f/255); in getAlphaf() 111 uint16_t u16 = static_cast<const uint16_t*>(srcPtr)[0]; in getAlphaf() 116 value = static_cast<const uint8_t*>(srcPtr)[3] * (1.0f/255); in getAlphaf() 119 uint32_t u32 = static_cast<const uint32_t*>(srcPtr)[0]; in getAlphaf() 125 memcpy(&px, srcPtr, sizeof(px)); in getAlphaf() 129 value = static_cast<const float*>(srcPtr)[3]; in getAlphaf()
|
D | SkPaint.cpp | 452 const SkPath* srcPtr = &src; in getFillPath() local 456 srcPtr = &tmpPath; in getFillPath() 459 if (!rec.applyToPath(dst, *srcPtr)) { in getFillPath() 460 if (srcPtr == &tmpPath) { in getFillPath() 467 *dst = *srcPtr; in getFillPath()
|
/third_party/flutter/skia/src/sfnt/ |
D | SkOTTable_name.cpp | 16 static SkUnichar next_unichar_UTF16BE(const uint8_t** srcPtr, size_t* length) { in next_unichar_UTF16BE() argument 17 SkASSERT(srcPtr && *srcPtr && length); in next_unichar_UTF16BE() 25 memcpy(&leading, *srcPtr, sizeof(leading)); in next_unichar_UTF16BE() 26 *srcPtr += sizeof(leading); in next_unichar_UTF16BE() 39 memcpy(&trailing, *srcPtr, sizeof(trailing)); in next_unichar_UTF16BE() 44 *srcPtr += sizeof(trailing); in next_unichar_UTF16BE()
|
/third_party/skia/src/sfnt/ |
D | SkOTTable_name.cpp | 15 static SkUnichar next_unichar_UTF16BE(const uint8_t** srcPtr, size_t* length) { in next_unichar_UTF16BE() argument 16 SkASSERT(srcPtr && *srcPtr && length); in next_unichar_UTF16BE() 24 memcpy(&leading, *srcPtr, sizeof(leading)); in next_unichar_UTF16BE() 25 *srcPtr += sizeof(leading); in next_unichar_UTF16BE() 38 memcpy(&trailing, *srcPtr, sizeof(trailing)); in next_unichar_UTF16BE() 43 *srcPtr += sizeof(trailing); in next_unichar_UTF16BE()
|
/third_party/ffmpeg/libswscale/ |
D | swscale_unscaled.c | 478 const uint16_t *srcPtr = (const uint16_t *) src[p]; in bswap_16bpc() local 480 if(!dstPtr || !srcPtr) in bswap_16bpc() 485 dstPtr[j] = av_bswap16(srcPtr[j]); in bswap_16bpc() 487 srcPtr += srcstr; in bswap_16bpc() 505 const uint32_t *srcPtr = (const uint32_t *) src[p]; in bswap_32bpc() local 507 if(!dstPtr || !srcPtr) in bswap_32bpc() 512 dstPtr[j] = av_bswap32(srcPtr[j]); in bswap_32bpc() 514 srcPtr += srcstr; in bswap_32bpc() 533 const uint8_t *srcPtr = src[0]; in palToRgbWrapper() local 560 conv(srcPtr, dstPtr, c->srcW, (uint8_t *) c->pal_rgb); in palToRgbWrapper() [all …]
|
/third_party/lz4/examples/ |
D | frameCompress.c | 218 const void* srcPtr = (const char*)src + alreadyConsumed; alreadyConsumed=0; in decompress_file_internal() local 219 const void* const srcEnd = (const char*)srcPtr + readSize; in decompress_file_internal() 229 while (srcPtr < srcEnd && ret != 0) { in decompress_file_internal() 232 size_t srcSize = (const char*)srcEnd - (const char*)srcPtr; in decompress_file_internal() 233 … ret = LZ4F_decompress(dctx, dst, &dstSize, srcPtr, &srcSize, /* LZ4F_decompressOptions_t */ NULL); in decompress_file_internal() 241 srcPtr = (const char*)srcPtr + srcSize; in decompress_file_internal() 244 assert(srcPtr <= srcEnd); in decompress_file_internal() 250 if (srcPtr < srcEnd) { in decompress_file_internal()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | renderer_utils.h | 320 uint32_t LineLoopRestartIndexCountHelper(GLsizei indexCount, const uint8_t *srcPtr) in LineLoopRestartIndexCountHelper() argument 323 const In *inIndices = reinterpret_cast<const In *>(srcPtr); in LineLoopRestartIndexCountHelper() 353 const uint8_t *srcPtr) in GetLineLoopWithRestartIndexCount() argument 358 return LineLoopRestartIndexCountHelper<uint8_t>(indexCount, srcPtr); in GetLineLoopWithRestartIndexCount() 360 return LineLoopRestartIndexCountHelper<uint16_t>(indexCount, srcPtr); in GetLineLoopWithRestartIndexCount() 362 return LineLoopRestartIndexCountHelper<uint32_t>(indexCount, srcPtr); in GetLineLoopWithRestartIndexCount() 372 void CopyLineLoopIndicesWithRestart(GLsizei indexCount, const uint8_t *srcPtr, uint8_t *outPtr) in CopyLineLoopIndicesWithRestart() argument 376 const In *inIndices = reinterpret_cast<const In *>(srcPtr); in CopyLineLoopIndicesWithRestart()
|
/third_party/flutter/skia/src/utils/ |
D | SkBase64.cpp | 36 SkBase64::Error SkBase64::decode(const void* srcPtr, size_t size, bool writeDestination) { in decode() argument 39 const unsigned char* src = (const unsigned char*) srcPtr; in decode() 111 size_t SkBase64::Encode(const void* srcPtr, size_t length, void* dstPtr, const char* encodeMap) { in Encode() argument 118 const unsigned char* src = (const unsigned char*) srcPtr; in Encode()
|
/third_party/skia/src/core/ |
D | SkPixmap.cpp | 99 const void* srcPtr = fast_getaddr(*this, x, y); in getAlphaf() local 114 value = static_cast<const uint8_t*>(srcPtr)[0] * (1.0f/255); in getAlphaf() 117 value = static_cast<const uint16_t*>(srcPtr)[0] * (1.0f/65535); in getAlphaf() 120 SkHalf half = static_cast<const SkHalf*>(srcPtr)[0]; in getAlphaf() 125 uint16_t u16 = static_cast<const uint16_t*>(srcPtr)[0]; in getAlphaf() 132 value = static_cast<const uint8_t*>(srcPtr)[3] * (1.0f/255); in getAlphaf() 136 uint32_t u32 = static_cast<const uint32_t*>(srcPtr)[0]; in getAlphaf() 141 uint64_t u64 = static_cast<const uint64_t*>(srcPtr)[0]; in getAlphaf() 148 memcpy(&px, srcPtr, sizeof(px)); in getAlphaf() 153 value = static_cast<const float*>(srcPtr)[3]; in getAlphaf()
|
D | SkPaint.cpp | 390 const SkPath* srcPtr = &src; in getFillPath() local 394 srcPtr = &tmpPath; in getFillPath() 397 if (!rec.applyToPath(dst, *srcPtr)) { in getFillPath() 398 if (srcPtr == &tmpPath) { in getFillPath() 405 *dst = *srcPtr; in getFillPath()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluDrawUtil.cpp | 301 …Layout (void* dstBasePtr, const VertexAttributeDescriptor& dstVA, const VertexArrayPointer& srcPtr) in copyToLayout() argument 303 DE_ASSERT(dstVA.componentType == srcPtr.componentType && in copyToLayout() 304 dstVA.numComponents == srcPtr.numComponents && in copyToLayout() 305 dstVA.numElements == srcPtr.numElements); in copyToLayout() 308 const bool srcHasCustomStride = srcPtr.stride != 0 && srcPtr.stride != elementSize; in copyToLayout() 314 const int srcStride = srcPtr.stride != 0 ? srcPtr.stride : elementSize; in copyToLayout() 317 …deMemcpy((deUint8*)dstBasePtr + (deUintptr)dstVA.pointer + ndx*dstStride, (const deUint8*)srcPtr.d… in copyToLayout() 320 …deMemcpy((deUint8*)dstBasePtr + (deUintptr)dstVA.pointer, srcPtr.data, elementSize*dstVA.numElemen… in copyToLayout()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | renderer_utils.h | 285 uint32_t LineLoopRestartIndexCountHelper(GLsizei indexCount, const uint8_t *srcPtr) in LineLoopRestartIndexCountHelper() argument 288 const In *inIndices = reinterpret_cast<const In *>(srcPtr); in LineLoopRestartIndexCountHelper() 318 const uint8_t *srcPtr) in GetLineLoopWithRestartIndexCount() argument 323 return LineLoopRestartIndexCountHelper<uint8_t>(indexCount, srcPtr); in GetLineLoopWithRestartIndexCount() 325 return LineLoopRestartIndexCountHelper<uint16_t>(indexCount, srcPtr); in GetLineLoopWithRestartIndexCount() 327 return LineLoopRestartIndexCountHelper<uint32_t>(indexCount, srcPtr); in GetLineLoopWithRestartIndexCount() 337 void CopyLineLoopIndicesWithRestart(GLsizei indexCount, const uint8_t *srcPtr, uint8_t *outPtr) in CopyLineLoopIndicesWithRestart() argument 341 const In *inIndices = reinterpret_cast<const In *>(srcPtr); in CopyLineLoopIndicesWithRestart()
|
/third_party/mesa3d/src/mesa/main/ |
D | mipmap.c | 1443 GLint srcWidth, const GLubyte *srcPtr, in make_1d_mipmap() argument 1451 src = srcPtr + border * bpt; in make_1d_mipmap() 1461 assert(srcPtr); in make_1d_mipmap() 1462 memcpy(dstPtr, srcPtr, bpt); in make_1d_mipmap() 1465 srcPtr + (srcWidth - 1) * bpt, in make_1d_mipmap() 1474 const GLubyte *srcPtr, GLint srcRowStride, in make_2d_mipmap() argument 1487 srcA = srcPtr + border * ((srcWidth + 1) * bpt); in make_2d_mipmap() 1514 assert(srcPtr); in make_2d_mipmap() 1515 memcpy(dstPtr, srcPtr, bpt); in make_2d_mipmap() 1518 srcPtr + (srcWidth - 1) * bpt, bpt); in make_2d_mipmap() [all …]
|
/third_party/skia/src/pdf/ |
D | SkPDFType1Font.cpp | 50 const uint8_t* srcPtr = src; in parsePFB() local 53 return parsePFBSection(&srcPtr, &remaining, 1, headerLen) && in parsePFB() 54 parsePFBSection(&srcPtr, &remaining, 2, dataLen) && in parsePFB() 55 parsePFBSection(&srcPtr, &remaining, 1, trailerLen) && in parsePFB() 56 parsePFBSection(&srcPtr, &remaining, 3, nullptr); in parsePFB()
|
/third_party/flutter/skia/src/pdf/ |
D | SkPDFType1Font.cpp | 50 const uint8_t* srcPtr = src; in parsePFB() local 53 return parsePFBSection(&srcPtr, &remaining, 1, headerLen) && in parsePFB() 54 parsePFBSection(&srcPtr, &remaining, 2, dataLen) && in parsePFB() 55 parsePFBSection(&srcPtr, &remaining, 1, trailerLen) && in parsePFB() 56 parsePFBSection(&srcPtr, &remaining, 3, nullptr); in parsePFB()
|
/third_party/lz4/programs/ |
D | bench.c | 344 const char* srcPtr; member 389 { const char* srcPtr = (const char*)srcBuffer; in BMK_benchMem() local 401 blockTable[nbBlocks].srcPtr = srcPtr; in BMK_benchMem() 406 srcPtr += thisBlockSize; in BMK_benchMem() 419 … memcpy(blockTable[blockNb].cPtr, blockTable[blockNb].srcPtr, blockTable[blockNb].srcSize); in BMK_benchMem() 464 blockTable[blockNb].srcPtr, blockTable[blockNb].cPtr, in BMK_benchMem()
|
/third_party/skia/src/utils/ |
D | SkDashPath.cpp | 310 const SkPath* srcPtr = &src; in InternalFilter() local 357 srcPtr = &cullPathStorage; in InternalFilter() 362 lineRec.init(*srcPtr, dst, rec, count >> 1, intervalLength); in InternalFilter() 364 SkPathMeasure meas(*srcPtr, false, rec->getResScale()); in InternalFilter()
|