/external/u-boot/lib/zstd/ |
D | huf_decompress.c | 169 static size_t HUF_decompress1X2_usingDTable_internal(void *dst, size_t dstSize, const void *cSrc, s… in HUF_decompress1X2_usingDTable_internal() argument 172 BYTE *const oend = op + dstSize; in HUF_decompress1X2_usingDTable_internal() 191 return dstSize; in HUF_decompress1X2_usingDTable_internal() 194 size_t HUF_decompress1X2_usingDTable(void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, … in HUF_decompress1X2_usingDTable() argument 199 return HUF_decompress1X2_usingDTable_internal(dst, dstSize, cSrc, cSrcSize, DTable); in HUF_decompress1X2_usingDTable() 202 size_t HUF_decompress1X2_DCtx_wksp(HUF_DTable *DCtx, void *dst, size_t dstSize, const void *cSrc, s… in HUF_decompress1X2_DCtx_wksp() argument 214 return HUF_decompress1X2_usingDTable_internal(dst, dstSize, ip, cSrcSize, DCtx); in HUF_decompress1X2_DCtx_wksp() 217 static size_t HUF_decompress4X2_usingDTable_internal(void *dst, size_t dstSize, const void *cSrc, s… in HUF_decompress4X2_usingDTable_internal() argument 226 BYTE *const oend = ostart + dstSize; in HUF_decompress4X2_usingDTable_internal() 243 const size_t segmentSize = (dstSize + 3) / 4; in HUF_decompress4X2_usingDTable_internal() [all …]
|
D | huf.h | 27 size_t HUF_compress4X_wksp(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned max… 74 size_t HUF_decompress4X_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, si… 75 size_t HUF_decompress4X_hufOnly_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc,… 77 size_t HUF_decompress4X2_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, s… 79 size_t HUF_decompress4X4_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, s… 101 size_t HUF_compress4X_usingCTable(void *dst, size_t dstSize, const void *src, size_t srcSize, const… 114 size_t HUF_compress4X_repeat(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned m… 148 U32 HUF_selectDecoder(size_t dstSize, size_t cSrcSize); 159 size_t HUF_compress1X_wksp(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned max… 161 size_t HUF_compress1X_usingCTable(void *dst, size_t dstSize, const void *src, size_t srcSize, const… [all …]
|
/external/skqp/tests/ |
D | PackBitsTest.cpp | 39 size_t dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8() local 41 REPORTER_ASSERT(reporter, dstSize == 0); in test_pack8() 42 dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8() 44 REPORTER_ASSERT(reporter, dstSize <= maxSize); in test_pack8() 46 int srcCount = SkPackBits::Unpack8(dst, dstSize, src, gTests[i].fCount - 1); in test_pack8() 48 srcCount = SkPackBits::Unpack8(dst, dstSize, src, sizeof(src)); in test_pack8() 61 size_t dstSize = SkPackBits::Pack8(src, size, dst, sizeof(dst)); in test_pack8() local 63 REPORTER_ASSERT(reporter, maxSize >= dstSize); in test_pack8() 65 size_t srcCount = SkPackBits::Unpack8(dst, dstSize, src2, size); in test_pack8()
|
/external/skia/tests/ |
D | PackBitsTest.cpp | 39 size_t dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8() local 41 REPORTER_ASSERT(reporter, dstSize == 0); in test_pack8() 42 dstSize = SkPackBits::Pack8(gTests[i].fSrc, in test_pack8() 44 REPORTER_ASSERT(reporter, dstSize <= maxSize); in test_pack8() 46 int srcCount = SkPackBits::Unpack8(dst, dstSize, src, gTests[i].fCount - 1); in test_pack8() 48 srcCount = SkPackBits::Unpack8(dst, dstSize, src, sizeof(src)); in test_pack8() 61 size_t dstSize = SkPackBits::Pack8(src, size, dst, sizeof(dst)); in test_pack8() local 63 REPORTER_ASSERT(reporter, maxSize >= dstSize); in test_pack8() 65 size_t srcCount = SkPackBits::Unpack8(dst, dstSize, src2, size); in test_pack8()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiFillBufferTests.cpp | 63 VkDeviceSize dstSize; member 99 …testParams.bufferAllocator->createTestBuffer(m_params.dstSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, c… in FillWholeBufferTestInstance() 109 DE_ASSERT(m_params.dstSize >= sizeof(deUint32)); in iterate() 110 DE_ASSERT(m_params.dstSize < static_cast<VkDeviceSize>(std::numeric_limits<size_t>::max())); in iterate() 111 DE_ASSERT(m_params.dstOffset < m_params.dstSize); in iterate() 115 deMemset(bytes, 0xff, static_cast<size_t>(m_params.dstSize)); in iterate() 141 const VkDeviceSize startOfExtra = (m_params.dstSize / sizeof(deUint32)) * sizeof(deUint32); in iterate() 142 for (VkDeviceSize i = 0; i < m_params.dstSize; ++i) in iterate() 229 …testParams.bufferAllocator->createTestBuffer(m_params.dstSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, c… in FillBufferTestInstance() 234 const int dstLevelWidth = (int)(m_params.dstSize / 4); in iterate() [all …]
|
/external/dng_sdk/source/ |
D | dng_render.cpp | 1271 dng_point dstSize; in Render() local 1273 dstSize.h = fNegative.DefaultFinalWidth (); in Render() 1274 dstSize.v = fNegative.DefaultFinalHeight (); in Render() 1279 if (Max_uint32 (dstSize.h, dstSize.v) > MaximumSize ()) in Render() 1286 dstSize.h = MaximumSize (); in Render() 1287 dstSize.v = Max_uint32 (1, Round_uint32 (dstSize.h / ratio)); in Render() 1292 dstSize.v = MaximumSize (); in Render() 1293 dstSize.h = Max_uint32 (1, Round_uint32 (dstSize.v * ratio)); in Render() 1302 if (srcBounds.Size () != dstSize) in Render() 1305 tempImage.Reset (fHost.Make_dng_image (dstSize, in Render()
|
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrConversionTests.cpp | 121 const UVec2& dstSize) in genTexCoords() argument 123 for (deUint32 y = 0; y < dstSize.y(); y++) in genTexCoords() 124 for (deUint32 x = 0; x < dstSize.x(); x++) in genTexCoords() 190 , dstSize (dstSize_) in TestConfig() 212 const UVec2 dstSize; member 640 const UVec2 dstSize = config.dstSize; in textureConversionTest() local 723 if (dstSize.x() > srcSize.x() && dstSize.y() > srcSize.y()) in textureConversionTest() 724 genTexCoords(sts, srcSize, dstSize); in textureConversionTest() 726 genOneToOneTexCoords(sts, dstSize); in textureConversionTest() 823 …cu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::FLOAT), dstSize.x(), dstSize.y())); in textureConversionTest() [all …]
|
/external/skia/src/effects/ |
D | SkPackBits.cpp | 42 uint8_t* SK_RESTRICT dst, size_t dstSize) { in Pack8() argument 43 if (dstSize < ComputeMaxSize8(srcSize)) { in Pack8() 86 uint8_t* SK_RESTRICT dst, size_t dstSize) { in Unpack8() argument 88 uint8_t* const endDst = dst + dstSize; in Unpack8()
|
D | SkPackBits.h | 31 size_t dstSize); 42 size_t dstSize);
|
/external/skqp/src/effects/ |
D | SkPackBits.cpp | 42 uint8_t* SK_RESTRICT dst, size_t dstSize) { in Pack8() argument 43 if (dstSize < ComputeMaxSize8(srcSize)) { in Pack8() 86 uint8_t* SK_RESTRICT dst, size_t dstSize) { in Unpack8() argument 88 uint8_t* const endDst = dst + dstSize; in Unpack8()
|
D | SkPackBits.h | 31 size_t dstSize); 42 size_t dstSize);
|
/external/skia/src/gpu/geometry/ |
D | GrRect.h | 99 static inline bool GrClipSrcRectAndDstPoint(const SkISize& dstSize, in GrClipSrcRectAndDstPoint() argument 132 if (clippedDstPoint->fX + clippedSrcRect->width() > dstSize.width()) { in GrClipSrcRectAndDstPoint() 133 clippedSrcRect->fRight = clippedSrcRect->fLeft + dstSize.width() - clippedDstPoint->fX; in GrClipSrcRectAndDstPoint() 140 if (clippedDstPoint->fY + clippedSrcRect->height() > dstSize.height()) { in GrClipSrcRectAndDstPoint() 141 clippedSrcRect->fBottom = clippedSrcRect->fTop + dstSize.height() - clippedDstPoint->fY; in GrClipSrcRectAndDstPoint()
|
/external/icu/icu4c/source/common/ |
D | unistr_cnv.cpp | 124 uint32_t dstSize) const { in extract() 125 return extract(start, length, target, dstSize, 0); in extract() 135 uint32_t dstSize, in extract() argument 139 if(/*dstSize < 0 || */(dstSize > 0 && target == 0)) { in extract() 152 if(dstSize < 0x7fffffff) { in extract() 154 capacity = (int32_t)dstSize; in extract()
|
/external/libjpeg-turbo/ |
D | tjunittest.c | 361 unsigned long *dstSize, int w, int h, int pf, in compTest() argument 375 if (*dstBuf && *dstSize > 0) memset(*dstBuf, 0, *dstSize); in compTest() 399 dstSize, jpegQual, flags)); in compTest() 403 TRY_TJ(tjCompress2(handle, srcBuf, w, 0, h, pf, dstBuf, dstSize, subsamp, in compTest() 409 writeJPEG(*dstBuf, *dstSize, tempStr); in compTest() 427 unsigned long dstSize = 0; in _decompTest() local 434 dstSize = scaledWidth * scaledHeight * tjPixelSize[pf]; in _decompTest() 435 if ((dstBuf = (unsigned char *)malloc(dstSize)) == NULL) in _decompTest() 437 memset(dstBuf, 0, dstSize); in _decompTest() 598 unsigned long dstSize = 0; in bufSizeTest() local [all …]
|
/external/OpenCL-CTS/test_conformance/images/clCopyImage/ |
D | test_copy_2D_2D_array.cpp | 301 cl_ulong dstSize = get_image_size(&dstImageInfo); in test_copy_image_set_2D_2D_array() local 314 dstSize = 4 * compute_mipmapped_image_size( dstImageInfo ); in test_copy_image_set_2D_2D_array() 318 …if( dstSize < maxAllocSize && dstSize < ( memSize / 3 ) && srcSize < maxAllocSize && srcSize < ( m… in test_copy_image_set_2D_2D_array() 357 cl_ulong srcSize, dstSize; in test_copy_image_set_2D_2D_array() local 381 dstSize = 4 * compute_mipmapped_image_size( dstImageInfo ); in test_copy_image_set_2D_2D_array() 389 … dstSize = (cl_ulong)dstImageInfo.slicePitch * (cl_ulong)dstImageInfo.arraySize * 4; in test_copy_image_set_2D_2D_array() 391 …le( srcSize > maxAllocSize || ( srcSize * 3 ) > memSize || dstSize > maxAllocSize || ( dstSize * 3… in test_copy_image_set_2D_2D_array()
|
D | test_copy_2D_3D.cpp | 301 cl_ulong dstSize = get_image_size(&dstImageInfo); in test_copy_image_set_2D_3D() local 314 dstSize = 4 * compute_mipmapped_image_size( dstImageInfo ); in test_copy_image_set_2D_3D() 318 …if( dstSize < maxAllocSize && dstSize < ( memSize / 3 ) && srcSize < maxAllocSize && srcSize < ( m… in test_copy_image_set_2D_3D() 343 cl_ulong srcSize, dstSize; in test_copy_image_set_2D_3D() local 368 dstSize = 4 * compute_mipmapped_image_size( dstImageInfo ); in test_copy_image_set_2D_3D() 376 dstSize = (cl_ulong)dstImageInfo.slicePitch * (cl_ulong)dstImageInfo.depth * 4; in test_copy_image_set_2D_3D() 378 …le( srcSize > maxAllocSize || ( srcSize * 3 ) > memSize || dstSize > maxAllocSize || ( dstSize * 3… in test_copy_image_set_2D_3D()
|
D | test_copy_3D_2D_array.cpp | 321 cl_ulong dstSize = (cl_ulong)dstImageInfo.slicePitch * (cl_ulong)dstImageInfo.arraySize; in test_copy_image_set_3D_2D_array() local 335 dstSize = 4 * compute_mipmapped_image_size( dstImageInfo ); in test_copy_image_set_3D_2D_array() 338 if ( ( dstSize < maxAllocSize && dstSize < ( memSize / 3 ) ) && in test_copy_image_set_3D_2D_array() 377 cl_ulong srcSize, dstSize; in test_copy_image_set_3D_2D_array() local 400 dstSize = 4 * compute_mipmapped_image_size( dstImageInfo ); in test_copy_image_set_3D_2D_array() 408 … dstSize = (cl_ulong)dstImageInfo.slicePitch * (cl_ulong)dstImageInfo.arraySize * 4; in test_copy_image_set_3D_2D_array() 410 …le( srcSize > maxAllocSize || ( srcSize * 3 ) > memSize || dstSize > maxAllocSize || ( dstSize * 3… in test_copy_image_set_3D_2D_array()
|
/external/angle/src/libANGLE/renderer/d3d/d3d9/ |
D | Framebuffer9.cpp | 259 gl::Extents dstSize(drawRenderTarget->getWidth(), drawRenderTarget->getHeight(), 1); in blitImpl() local 304 if (dstRect.right > dstSize.width) in blitImpl() 306 srcRect.right -= (dstRect.right - dstSize.width); in blitImpl() 307 dstRect.right = dstSize.width; in blitImpl() 314 if (dstRect.bottom > dstSize.height) in blitImpl() 316 srcRect.bottom -= (dstRect.bottom - dstSize.height); in blitImpl() 317 dstRect.bottom = dstSize.height; in blitImpl()
|
/external/skqp/src/core/ |
D | SkBlurMask.cpp | 226 size_t dstSize = dst->computeImageSize(); in BoxBlur() local 227 if (0 == dstSize) { in BoxBlur() 230 dst->fImage = SkMask::AllocImage(dstSize); in BoxBlur() 434 size_t dstSize = dst->computeImageSize(); in BlurRect() local 435 if (0 == dstSize) { in BlurRect() 439 uint8_t* dp = SkMask::AllocImage(dstSize); in BlurRect() 554 size_t dstSize = dst->computeImageSize(); in BlurGroundTruth() local 555 if (0 == dstSize) { in BlurGroundTruth() 564 uint8_t* dstPixels = SkMask::AllocImage(dstSize); in BlurGroundTruth()
|
/external/skia/src/core/ |
D | SkBlurMask.cpp | 226 size_t dstSize = dst->computeImageSize(); in BoxBlur() local 227 if (0 == dstSize) { in BoxBlur() 230 dst->fImage = SkMask::AllocImage(dstSize); in BoxBlur() 431 size_t dstSize = dst->computeImageSize(); in BlurRect() local 432 if (0 == dstSize) { in BlurRect() 436 uint8_t* dp = SkMask::AllocImage(dstSize); in BlurRect() 548 size_t dstSize = dst->computeImageSize(); in BlurGroundTruth() local 549 if (0 == dstSize) { in BlurGroundTruth() 558 uint8_t* dstPixels = SkMask::AllocImage(dstSize); in BlurGroundTruth()
|
/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.cpp | 198 float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, deInt32 srcSize, const tc… in computeNonProjectedTriLod() argument 202 float dx = (float)dstSize.x(); in computeNonProjectedTriLod() 203 float dy = (float)dstSize.y(); in computeNonProjectedTriLod() 236 float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec2& srcSize… in computeNonProjectedTriLod() argument 242 float dx = (float)dstSize.x(); in computeNonProjectedTriLod() 243 float dy = (float)dstSize.y(); in computeNonProjectedTriLod() 277 float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec3& srcSize… in computeNonProjectedTriLod() argument 285 float dx = (float)dstSize.x(); in computeNonProjectedTriLod() 286 float dy = (float)dstSize.y(); in computeNonProjectedTriLod() 400 tcu::IVec2 dstSize = tcu::IVec2(dst.getWidth(), dst.getHeight()); in sampleTextureNonProjected() local [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fBufferCopyTests.cpp | 57 int dstSize, in BasicBufferCopyCase() argument 68 , m_dstSize (dstSize) in BasicBufferCopyCase() 286 int dstSize; in init() member 311 dstTarget, cases[ndx].dstSize, hint, in init()
|
/external/lz4/examples/ |
D | frameCompress.c | 200 size_t dstSize = dstCapacity; in decompress_file_internal() local 202 … ret = LZ4F_decompress(dctx, dst, &dstSize, srcPtr, &srcSize, /* LZ4F_decompressOptions_t */ NULL); in decompress_file_internal() 208 if (dstSize != 0) safe_fwrite(dst, 1, dstSize, f_out); in decompress_file_internal()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureSwizzleTests.cpp | 169 const tcu::IVec2 dstSize = tcu::IVec2(dst.getWidth(), dst.getHeight()); in iterate() local 197 …const float triLod[2] = { de::clamp(computeNonProjectedTriLod(sampleParams.lodMode, dstSize, src… in iterate() 198 …de::clamp(computeNonProjectedTriLod(sampleParams.lodMode, dstSize, srcSize, triS[1], triT[1]) + lo… in iterate() 200 for (int y = 0; y < dstSize.y(); y++) in iterate() 201 for (int x = 0; x < dstSize.x(); x++) in iterate() 203 const float yf = ((float)y + 0.5f) / (float)dstSize.y(); in iterate() 204 const float xf = ((float)x + 0.5f) / (float)dstSize.x(); in iterate()
|
/external/skia/src/image/ |
D | SkSurface.cpp | 222 const SkISize& dstSize, RescaleGamma rescaleGamma, SkFilterQuality rescaleQuality, in onAsyncRescaleAndReadPixelsYUV420() argument 381 const SkISize& dstSize, in asyncRescaleAndReadPixelsYUV420() argument 386 if (!SkIRect::MakeWH(this->width(), this->height()).contains(srcRect) || dstSize.isZero() || in asyncRescaleAndReadPixelsYUV420() 387 (dstSize.width() & 0b1) || (dstSize.height() & 0b1)) { in asyncRescaleAndReadPixelsYUV420() 394 dstSize, in asyncRescaleAndReadPixelsYUV420()
|