/third_party/flutter/skia/tests/ |
D | GrUploadPixelsTests.cpp | 27 SkAutoTMalloc<GrColor> dstBuffer(kWidth*kHeight); in basic_texture_test() local 41 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, {0, 0}); in basic_texture_test() 44 dstBuffer, in basic_texture_test() 52 memset(dstBuffer, 0, kWidth*kHeight*sizeof(GrColor)); in basic_texture_test() 54 result = sContext->readPixels(dstInfo, dstBuffer, 0, {2, 10}); in basic_texture_test() 58 dstBuffer, in basic_texture_test() 73 bool result = sContext->readPixels(dstInfo, dstBuffer, 0, {0, 0}); in basic_texture_test() 76 dstBuffer, in basic_texture_test() 84 memset(dstBuffer, 0, kWidth*kHeight*sizeof(GrColor)); in basic_texture_test() 86 result = sContext->readPixels(dstInfo, dstBuffer, 0, {5, 4}); in basic_texture_test() [all …]
|
/third_party/lz4/tests/ |
D | checkFrame.c | 94 void* dstBuffer; member 104 ress->dstBuffer = malloc(ress->dstBufferSize); in createCResources() 106 if (!ress->srcBuffer || !ress->dstBuffer) { in createCResources() 108 free(ress->dstBuffer); in createCResources() 114 free(ress->dstBuffer); in createCResources() 123 free(ress.dstBuffer); in freeCResources() 163 …nextToLoad = LZ4F_decompress(ress.ctx, ress.dstBuffer, &decodedBytes, (char*)(ress.srcBuffer)+pos,… in frameCheck() 179 …nextToLoad = LZ4F_decompress(ress.ctx, ress.dstBuffer, &decodedBytes, (char*)(ress.srcBuffer)+pos,… in frameCheck()
|
/third_party/lz4/lib/ |
D | lz4frame.h | 224 LZ4FLIB_API size_t LZ4F_compressFrame(void* dstBuffer, size_t dstCapacity, 286 void* dstBuffer, size_t dstCapacity, 319 void* dstBuffer, size_t dstCapacity, 333 void* dstBuffer, size_t dstCapacity, 347 void* dstBuffer, size_t dstCapacity, 483 void* dstBuffer, size_t* dstSizePtr, 583 void* dstBuffer, size_t dstCapacity, 646 void* dstBuffer, size_t dstCapacity, 657 void* dstBuffer, size_t* dstSizePtr,
|
D | lz4frame.c | 421 void* dstBuffer, size_t dstCapacity, in LZ4F_compressFrame_usingCDict() argument 428 BYTE* const dstStart = (BYTE*) dstBuffer; in LZ4F_compressFrame_usingCDict() 449 …{ size_t const headerSize = LZ4F_compressBegin_usingCDict(cctx, dstBuffer, dstCapacity, cdict, &pr… in LZ4F_compressFrame_usingCDict() 475 size_t LZ4F_compressFrame(void* dstBuffer, size_t dstCapacity, in LZ4F_compressFrame() argument 502 result = LZ4F_compressFrame_usingCDict(cctxPtr, dstBuffer, dstCapacity, in LZ4F_compressFrame() 678 void* dstBuffer, size_t dstCapacity, in LZ4F_compressBegin_usingCDict() argument 683 BYTE* const dstStart = (BYTE*)dstBuffer; in LZ4F_compressBegin_usingCDict() 796 void* dstBuffer, size_t dstCapacity, in LZ4F_compressBegin() argument 799 return LZ4F_compressBegin_usingCDict(cctxPtr, dstBuffer, dstCapacity, in LZ4F_compressBegin() 931 void* dstBuffer, size_t dstCapacity, in LZ4F_compressUpdateImpl() argument [all …]
|
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/commonvalidity/ |
D | copy_buffer_common.adoc | 12 less than the size of pname:dstBuffer 18 than or equal to the size of pname:dstBuffer minus pname:dstOffset 29 * [[VUID-{refpage}-dstBuffer-00120]] 30 pname:dstBuffer must: have been created with 32 * [[VUID-{refpage}-dstBuffer-00121]] 33 If pname:dstBuffer is non-sparse then it must: be bound completely and
|
D | copy_buffer_common.txt | 12 less than the size of pname:dstBuffer 18 than or equal to the size of pname:dstBuffer minus pname:dstOffset 29 * [[VUID-{refpage}-dstBuffer-00120]] 30 pname:dstBuffer must: have been created with 32 * [[VUID-{refpage}-dstBuffer-00121]] 33 If pname:dstBuffer is non-sparse then it must: be bound completely and
|
D | copy_image_to_buffer_common.adoc | 8 pname:dstBuffer must: be large enough to contain all buffer locations 26 * [[VUID-{refpage}-dstBuffer-00191]] 27 pname:dstBuffer must: have been created with 29 * [[VUID-{refpage}-dstBuffer-00192]] 30 If pname:dstBuffer is non-sparse then it must: be bound completely and
|
D | copy_image_to_buffer_common.txt | 8 pname:dstBuffer must: be large enough to contain all buffer locations 26 * [[VUID-{refpage}-dstBuffer-00191]] 27 pname:dstBuffer must: have been created with 29 * [[VUID-{refpage}-dstBuffer-00192]] 30 If pname:dstBuffer is non-sparse then it must: be bound completely and
|
/third_party/ffmpeg/libswscale/tests/ |
D | colorspace.c | 41 uint8_t *dstBuffer = av_malloc(SIZE); in main() local 45 if (!srcBuffer || !dstBuffer) in main() 111 memset(dstBuffer, dstByte, SIZE); in main() 115 uint8_t *dst = dstBuffer + dstOffset; in main() 141 if (dstBuffer[i] != dstByte) { in main() 150 if (dstBuffer[i] != dstByte) { in main()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_AMD_buffer_marker/ |
D | copies.adoc | 21 * pname:dstBuffer is the buffer where the marker will be written. 75 pname:dstBuffer minus `4` 76 * [[VUID-vkCmdWriteBufferMarker2AMD-dstBuffer-03897]] 77 pname:dstBuffer must: have been created with the 79 * [[VUID-vkCmdWriteBufferMarker2AMD-dstBuffer-03898]] 80 If pname:dstBuffer is non-sparse then it must: be bound completely and 102 * pname:dstBuffer is the buffer where the marker will be written to. 145 pname:dstBuffer minus `4` 146 * [[VUID-vkCmdWriteBufferMarkerAMD-dstBuffer-01799]] 147 pname:dstBuffer must: have been created with [all …]
|
D | copies.txt | 22 * pname:dstBuffer is the buffer where the marker will be written. 76 pname:dstBuffer minus `4` 77 * [[VUID-vkCmdWriteBufferMarker2AMD-dstBuffer-03897]] 78 pname:dstBuffer must: have been created with the 80 * [[VUID-vkCmdWriteBufferMarker2AMD-dstBuffer-03898]] 81 If pname:dstBuffer is non-sparse then it must: be bound completely and 103 * pname:dstBuffer is the buffer where the marker will be written to. 146 pname:dstBuffer minus `4` 147 * [[VUID-vkCmdWriteBufferMarkerAMD-dstBuffer-01799]] 148 pname:dstBuffer must: have been created with [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkCommandBuffer.cpp | 656 CmdCopyBuffer(const vk::Buffer *srcBuffer, vk::Buffer *dstBuffer, const VkBufferCopy2KHR ®ion) in CmdCopyBuffer() argument 658 , dstBuffer(dstBuffer) in CmdCopyBuffer() 665 srcBuffer->copyTo(dstBuffer, region); in execute() 672 vk::Buffer *const dstBuffer; member in __anon050568cb0111::CmdCopyBuffer 679 …CmdCopyImageToBuffer(vk::Image *srcImage, vk::Buffer *dstBuffer, const VkBufferImageCopy2KHR ®i… in CmdCopyImageToBuffer() argument 681 , dstBuffer(dstBuffer) in CmdCopyImageToBuffer() 688 srcImage->copyTo(dstBuffer, region); in execute() 695 vk::Buffer *const dstBuffer; member in __anon050568cb0111::CmdCopyImageToBuffer 725 CmdFillBuffer(vk::Buffer *dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data) in CmdFillBuffer() argument 726 : dstBuffer(dstBuffer) in CmdFillBuffer() [all …]
|
D | VkStructConversion.hpp | 25 …CopyBufferInfo(VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy *p… in CopyBufferInfo() 30 dstBuffer, in CopyBufferInfo() 161 …CopyImageToBufferInfo(VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t… in CopyImageToBufferInfo() 167 dstBuffer, in CopyImageToBufferInfo()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_mosaic_info.cpp | 1004 dng_pixel_buffer &dstBuffer); 1030 dng_pixel_buffer &dstBuffer) in Interpolate() argument 1041 int32 dstCol = dstBuffer.fArea.l; in Interpolate() 1047 for (int32 dstRow = dstBuffer.fArea.t; in Interpolate() 1048 dstRow < dstBuffer.fArea.b; in Interpolate() 1057 dstPlane < dstBuffer.fPlanes; in Interpolate() 1065 void *dPtr = dstBuffer.DirtyPixel (dstRow, in Interpolate() 1069 if (dstBuffer.fPixelType == ttShort) in Interpolate() 1074 dstBuffer.fArea.W (), in Interpolate() 1089 dstBuffer.fArea.W (), in Interpolate() [all …]
|
D | dng_filter_task.cpp | 118 dng_pixel_buffer dstBuffer(area, fDstPlane, fDstPlanes, fDstPixelType, in Process() local 133 dstBuffer); in Process() 137 fDstImage.Put (dstBuffer); in Process()
|
D | dng_render.cpp | 758 dng_pixel_buffer &dstBuffer); 991 dng_pixel_buffer &dstBuffer) in ProcessArea() argument 995 dng_rect dstArea = dstBuffer.fArea; in ProcessArea() 1143 real32 *dPtrG = dstBuffer.DirtyPixel_real32 (dstRow, in ProcessArea() 1164 real32 *dPtrR = dstBuffer.DirtyPixel_real32 (dstRow, in ProcessArea() 1168 real32 *dPtrG = dPtrR + dstBuffer.fPlaneStep; in ProcessArea() 1169 real32 *dPtrB = dPtrG + dstBuffer.fPlaneStep; in ProcessArea()
|
D | dng_utils.cpp | 568 dng_dirty_tile_buffer dstBuffer (fDstImage, tile); in Process() local 578 int32 dStep0 = dstBuffer.fRowStep; in Process() 579 int32 dStep1 = dstBuffer.fColStep; in Process() 580 int32 dStep2 = dstBuffer.fPlaneStep; in Process() 586 void *dPtr = dstBuffer.DirtyPixel (tile.t, in Process() 593 dstBuffer.fPixelSize, in Process()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_cmd_copy.c | 31 VkBuffer dstBuffer, in vk_common_CmdCopyBuffer() argument 54 .dstBuffer = dstBuffer, in vk_common_CmdCopyBuffer() 151 VkBuffer dstBuffer, in vk_common_CmdCopyImageToBuffer() argument 178 .dstBuffer = dstBuffer, in vk_common_CmdCopyImageToBuffer()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/ |
D | mtl_default_shaders_src_autogen.inc | 3013 device uchar *dstBuffer) 3020 …dstBuffer); } break; case FormatID::R8_SNORM: { auto data = readR8_SNORM(bufferOffset, srcBuffer);… 3030 device uchar *dstBuffer [[buffer(2)]]) 3033 convertToFloatVertexFormat(index, options, srcBuffer, dstBuffer); 3040 device uchar *dstBuffer [[buffer(2)]]) 3042 convertToFloatVertexFormat(index, options, srcBuffer, dstBuffer); 3049 device uchar *dstBuffer) 3061 dstBuffer[dstOffset + byte] = srcBuffer[srcOffset + byte]; 3070 dstBuffer[dstOffset + byte] = 0; 3079 dstBuffer[dstOffset + byte] = options.srcDefaultAlphaData[byte]; [all …]
|
/third_party/lz4/programs/ |
D | lz4io.c | 549 void* dstBuffer; member 636 ress.dstBuffer = malloc(ress.dstBufferSize); in LZ4IO_createCResources() 637 if (!ress.srcBuffer || !ress.dstBuffer) END_PROCESS(31, "Allocation error : not enough memory"); in LZ4IO_createCResources() 647 free(ress.dstBuffer); in LZ4IO_freeCResources() 670 void* const dstBuffer = ress.dstBuffer; in LZ4IO_compressFilename_extRess() local 707 …size_t const cSize = LZ4F_compressFrame_usingCDict(ctx, dstBuffer, dstBufferSize, srcBuffer, readS… in LZ4IO_compressFilename_extRess() 715 if (fwrite(dstBuffer, 1, cSize, dstFile) != cSize) { in LZ4IO_compressFilename_extRess() 724 …size_t const headerSize = LZ4F_compressBegin_usingCDict(ctx, dstBuffer, dstBufferSize, ress.cdict,… in LZ4IO_compressFilename_extRess() 726 if (fwrite(dstBuffer, 1, headerSize, dstFile) != headerSize) in LZ4IO_compressFilename_extRess() 732 …size_t const outSize = LZ4F_compressUpdate(ctx, dstBuffer, dstBufferSize, srcBuffer, readSize, NUL… in LZ4IO_compressFilename_extRess() [all …]
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrTransferFromOp.h | 26 sk_sp<GrGpuBuffer> dstBuffer, 51 sk_sp<GrGpuBuffer> dstBuffer, in GrTransferFromOp() argument 54 , fDstBuffer(std::move(dstBuffer)) in GrTransferFromOp()
|
D | GrTransferFromOp.cpp | 19 sk_sp<GrGpuBuffer> dstBuffer, in Make() argument 23 srcRect, surfaceColorType, dstColorType, std::move(dstBuffer), dstOffset); in Make()
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_blit.c | 59 VkBuffer dstBuffer, in pvr_CmdUpdateBuffer() argument 68 VkBuffer dstBuffer, in pvr_CmdFillBuffer() argument 108 PVR_FROM_HANDLE(pvr_buffer, dst, pCopyBufferInfo->dstBuffer); in pvr_CmdCopyBuffer2KHR()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | BufferZeroInitTests.cpp | 530 wgpu::Buffer dstBuffer = in TEST_P() local 539 encoder.CopyBufferToBuffer(srcBuffer, 0, dstBuffer, 0, kBufferSize); in TEST_P() 556 encoder.CopyBufferToBuffer(srcBuffer, kSrcOffset, dstBuffer, 0, kCopySize); in TEST_P() 572 encoder.CopyBufferToBuffer(srcBuffer, kSrcOffset, dstBuffer, 0, kCopySize); in TEST_P() 588 encoder.CopyBufferToBuffer(srcBuffer, kSrcOffset, dstBuffer, 0, kCopySize); in TEST_P() 615 wgpu::Buffer dstBuffer = device.CreateBuffer(&bufferDescriptor); in TEST_P() local 617 encoder.CopyBufferToBuffer(srcBuffer, 0, dstBuffer, 0, kBufferSize); in TEST_P() 624 dstBuffer, 0, kBufferSize / sizeof(uint32_t))); in TEST_P() 633 wgpu::Buffer dstBuffer = device.CreateBuffer(&bufferDescriptor); in TEST_P() local 635 encoder.CopyBufferToBuffer(srcBuffer, 0, dstBuffer, kDstOffset, kCopySize); in TEST_P() [all …]
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkCommandBuffer.cpp | 704 GrVkTransferBuffer* dstBuffer, in copyImageToBuffer() argument 711 this->addResource(dstBuffer->resource()); in copyImageToBuffer() 715 dstBuffer->buffer(), in copyImageToBuffer() 742 GrVkBuffer* dstBuffer, in copyBuffer() argument 753 SkASSERT(region.dstOffset < dstBuffer->size()); in copyBuffer() 755 SkASSERT(region.dstOffset + region.size <= dstBuffer->size()); in copyBuffer() 759 this->addResource(dstBuffer->resource()); in copyBuffer() 762 dstBuffer->buffer(), in copyBuffer() 768 GrVkBuffer* dstBuffer, in updateBuffer() argument 779 this->addResource(dstBuffer->resource()); in updateBuffer() [all …]
|