/external/OpenCL-CTS/test_conformance/images/clCopyImage/ |
D | test_copy_generic.cpp | 295 size_t srcBytes = 0; in test_copy_image_generic() local 298 srcBytes = (size_t)compute_mipmapped_image_size( *srcImageInfo ); in test_copy_image_generic() 305 srcBytes = srcImageInfo->rowPitch; in test_copy_image_generic() 308 srcBytes = srcImageInfo->height * srcImageInfo->rowPitch; in test_copy_image_generic() 311 srcBytes = srcImageInfo->depth * srcImageInfo->slicePitch; in test_copy_image_generic() 314 srcBytes = srcImageInfo->arraySize * srcImageInfo->slicePitch; in test_copy_image_generic() 317 srcBytes = srcImageInfo->arraySize * srcImageInfo->slicePitch; in test_copy_image_generic() 322 if (srcBytes > srcData.getSize()) in test_copy_image_generic() 330 srcHost.reset(malloc(srcBytes),NULL,0,srcBytes); in test_copy_image_generic() 332 log_error( "ERROR: Unable to malloc %lu bytes for srcHost\n", srcBytes ); in test_copy_image_generic() [all …]
|
/external/skia/src/images/ |
D | SkJpegEncoder.cpp | 218 const size_t srcBytes = SkColorTypeBytesPerPixel(fSrc.colorType()) * fSrc.width(); in onEncodeRows() local 225 sk_msan_assert_initialized(srcRow, SkTAddOffset<const void>(srcRow, srcBytes)); in onEncodeRows()
|
/external/angle/src/tests/gl_tests/ |
D | BufferDataTest.cpp | 367 uint8_t srcBytes[numBytes]; in TEST_P() local 370 srcBytes[i] = static_cast<uint8_t>(i); in TEST_P() 378 memcpy(dest, srcBytes, numBytes); in TEST_P() 405 EXPECT_EQ(srcBytes[i], data[i]); in TEST_P()
|
/external/angle/src/libANGLE/renderer/metal/ |
D | VertexArrayMtl.mm | 646 const uint8_t *srcBytes = srcBuffer->getClientShadowCopyData(glContext); 647 ANGLE_CHECK_GL_ALLOC(contextMtl, srcBytes); 649 srcBytes += binding.getOffset(); 651 ANGLE_TRY(StreamVertexData(contextMtl, &conversion->data, srcBytes, numVertices * stride, 0,
|
/external/swiftshader/src/Renderer/ |
D | Blitter.cpp | 1211 int srcBytes = Surface::bytes(state.sourceFormat); in generate() local 1284 Pointer<Byte> s = source + ComputeOffset(X, Y, sPitchB, srcBytes, srcQuadLayout); in generate() 1312 Pointer<Byte> s = source + ComputeOffset(X, Y, sPitchB, srcBytes, srcQuadLayout); in generate() 1341 Pointer<Byte> s00 = source + ComputeOffset(X0, Y0, sPitchB, srcBytes, srcQuadLayout); in generate() 1342 Pointer<Byte> s01 = source + ComputeOffset(X1, Y0, sPitchB, srcBytes, srcQuadLayout); in generate() 1343 Pointer<Byte> s10 = source + ComputeOffset(X0, Y1, sPitchB, srcBytes, srcQuadLayout); in generate() 1344 Pointer<Byte> s11 = source + ComputeOffset(X1, Y1, sPitchB, srcBytes, srcQuadLayout); in generate()
|
D | Surface.cpp | 3644 int srcBytes = src->bytes(src->Surface::getInternalFormat()); in copyCubeEdge() local 3654 ASSERT(srcW == srcH && dstW == dstH && srcW == dstW && srcBytes == dstBytes); in copyCubeEdge() 3657 int srcDelta = ((srcEdge == TOP) || (srcEdge == BOTTOM)) ? srcBytes : srcPitch; in copyCubeEdge() 3658 …int srcStart = ((srcEdge == BOTTOM) ? srcPitch * (srcH - 1) : ((srcEdge == RIGHT) ? srcBytes * (sr… in copyCubeEdge() 3669 memcpy(dstBuf, srcBuf, srcBytes); in copyCubeEdge()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | VertexArrayVk.cpp | 421 const uint8_t *srcBytes = reinterpret_cast<const uint8_t *>(src); in convertVertexBufferCPU() local 422 srcBytes += binding.getOffset() + relativeOffset; in convertVertexBufferCPU() 424 ANGLE_TRY(StreamVertexData(contextVk, &conversion->data, srcBytes, numVertices * dstFormatSize, in convertVertexBufferCPU()
|
/external/swiftshader/src/Device/ |
D | Blitter.cpp | 1408 int srcBytes = state.sourceFormat.bytes(); in generate() local 1470 Pointer<Byte> s = source + ComputeOffset(X, Y, sPitchB, srcBytes); in generate() 1497 Pointer<Byte> s = source + ComputeOffset(X, Y, sPitchB, srcBytes); in generate() 1546 Pointer<Byte> s00 = source + ComputeOffset(X0, Y0, sPitchB, srcBytes); in generate() 1547 Pointer<Byte> s01 = source + ComputeOffset(X1, Y0, sPitchB, srcBytes); in generate() 1548 Pointer<Byte> s10 = source + ComputeOffset(X0, Y1, sPitchB, srcBytes); in generate() 1549 Pointer<Byte> s11 = source + ComputeOffset(X1, Y1, sPitchB, srcBytes); in generate()
|
/external/pdfium/core/fxge/dib/ |
D | cfx_dibitmap.cpp | 358 int srcBytes = pSrcClone->GetBPP() / 8; in LoadChannelFromAlpha() local 366 src_pos += srcBytes; in LoadChannelFromAlpha()
|