/third_party/mesa3d/src/amd/addrlib/src/gfx10/ |
D | gfx10addrlib.cpp | 214 pOut->pMipInfo[i].sliceSize = mipSliceSize; in HwlComputeHtileInfo() 220 pOut->sliceSize = offset; in HwlComputeHtileInfo() 222 pOut->htileBytes = pOut->sliceSize * pIn->numSlices; in HwlComputeHtileInfo() 230 pOut->pMipInfo[i].sliceSize = 0; in HwlComputeHtileInfo() 235 pOut->pMipInfo[pIn->firstMipIdInTail].sliceSize = metaBlkSize; in HwlComputeHtileInfo() 245 pOut->sliceSize = pOut->metaBlkNumPerSlice * metaBlkSize; in HwlComputeHtileInfo() 246 pOut->htileBytes = pOut->sliceSize * pIn->numSlices; in HwlComputeHtileInfo() 252 pOut->pMipInfo[0].sliceSize = pOut->sliceSize; in HwlComputeHtileInfo() 332 pOut->pMipInfo[i].sliceSize = pitchInM * heightInM * metaBlkSize; in HwlComputeCmaskInfo() 346 pOut->pMipInfo[i].sliceSize = 0; in HwlComputeCmaskInfo() [all …]
|
/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/ |
D | DefaultSerializationContextTest.cs | 137 var sliceSize = Math.Min(maxSliceSize, payloadSize - offset); in BufferWriter_MultipleSegments() 141 origPayload.AsSpan(offset, sliceSize).CopyTo(dest); in BufferWriter_MultipleSegments() 142 bufferWriter.Advance(sliceSize); in BufferWriter_MultipleSegments()
|
/third_party/mesa3d/src/amd/addrlib/src/core/ |
D | addrlib1.cpp | 403 pOut->sliceSize = pOut->surfSize; in ComputeSurfaceInfo() 407 pOut->sliceSize = pOut->surfSize / pOut->depth; in ComputeSurfaceInfo() 415 pOut->sliceSize += pOut->sliceSize * (pOut->depth - pIn->numSlices); in ComputeSurfaceInfo() 1290 const UINT_32 sliceSize = pIn->pitch * pIn->height * 4 / (8 * 8); in ComputeHtileInfo() local 1295 const UINT_32 surfBytes = (sliceSize * pIn->numSlices); in ComputeHtileInfo() 1297 pOut->sliceSize = sliceSize; in ComputeHtileInfo() 1300 pOut->sliceInterleaved = ((sliceSize % align) != 0) ? TRUE : FALSE; in ComputeHtileInfo() 1304 pOut->sliceSize = pIn->flags.skipTcCompatSizeAlign ? in ComputeHtileInfo() 1305 sliceSize : PowTwoAlign(sliceSize, align); in ComputeHtileInfo() 1306 pOut->htileBytes = pOut->sliceSize; in ComputeHtileInfo() [all …]
|
D | addrlib2.cpp | 716 pOut->sliceSize = static_cast<UINT_32>(localOut.sliceSize); in ComputeFmaskInfo() 1201 pOut->addr = (localOut.sliceSize * pIn->slice) + in ComputeSurfaceAddrFromCoordLinear() 1286 pOut->slice = static_cast<UINT_32>(pIn->addr / localOut.sliceSize); in ComputeSurfaceCoordFromAddrLinear() 1289 UINT_32 offsetInSlice = static_cast<UINT_32>(pIn->addr % localOut.sliceSize); in ComputeSurfaceCoordFromAddrLinear() 1319 (mipOffsetInSlice >= localOut.sliceSize)) in ComputeSurfaceCoordFromAddrLinear() 1987 pOut->sliceSize <<= 1; in ComputeQbStereoInfo()
|
/third_party/mesa3d/src/amd/addrlib/inc/ |
D | addrinterface.h | 608 UINT_64 sliceSize; ///< Size of slice specified by input's slice member 914 UINT_64 sliceSize; ///< Slice size, in bytes. member 1133 UINT_64 sliceSize; ///< Slice size, in bytes. member 1338 UINT_64 sliceSize; ///< Size of slice in bytes member 2499 UINT_64 sliceSize; ///< Slice (total mip chain) size in bytes member 2733 UINT_32 sliceSize; ///< Metadata size within one slice, member 2781 UINT_32 sliceSize; ///< Slice size, in bytes. member 2989 UINT_32 sliceSize; ///< Slice size, in bytes. member 3219 UINT_32 sliceSize; ///< Size of slice in bytes member 3650 UINT_64 sliceSize; ///< Slice size of a mip chain member
|
/third_party/openh264/test/api/ |
D | BaseDecoderTest.cpp | 79 void BaseDecoderTest::DecodeFrame (const uint8_t* src, size_t sliceSize, Callback* cbk) { in DecodeFrame() argument 85 DECODING_STATE rv = decoder_->DecodeFrame2 (src, (int) sliceSize, data, &bufInfo); in DecodeFrame()
|
D | BaseThreadDecoderTest.cpp | 174 void BaseThreadDecoderTest::DecodeFrame (const uint8_t* src, size_t sliceSize, Callback* cbk) { in DecodeFrame() argument 180 DECODING_STATE rv = decoder_->DecodeFrameNoDelay (src, (int) sliceSize, pData, &bufInfo); in DecodeFrame()
|
/third_party/openh264/test/ |
D | BaseDecoderTest.h | 40 void DecodeFrame (const uint8_t* src, size_t sliceSize, Callback* cbk);
|
D | BaseThreadDecoderTest.h | 46 void DecodeFrame (const uint8_t* src, size_t sliceSize, Callback* cbk);
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fShaderApiTests.cpp | 107 const size_t sliceSize = in.length() / numSlices; in sliceSourceString() local 108 const size_t sliceSizeRemainder = in.length() - (sliceSize * numSlices); in sliceSourceString() 113 out.strings.push_back(in.substr(i * sliceSize, sliceSize) + padding); in sliceSourceString() 116 out.lengths.push_back((int)sliceSize); in sliceSourceString() 121 const std::string lastString = in.substr(numSlices * sliceSize); in sliceSourceString()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderApiTests.cpp | 124 const size_t sliceSize = in.length() / numSlices; in sliceSourceString() local 125 const size_t sliceSizeRemainder = in.length() - (sliceSize * numSlices); in sliceSourceString() 130 out.strings.push_back(in.substr(ndx * sliceSize, sliceSize) + padding); in sliceSourceString() 133 out.lengths.push_back((int)sliceSize); in sliceSourceString() 138 const std::string lastString = in.substr(numSlices * sliceSize); in sliceSourceString()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | SimpleOperationTest.cpp | 301 constexpr size_t sliceSize = bufferSize / subDataCount; in TEST_P() local 304 size_t offset = i * sliceSize; in TEST_P() 305 glBufferSubData(GL_ARRAY_BUFFER, offset, sliceSize, &data[offset]); in TEST_P()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_surface.c | 636 surf_level->slice_size_dw = AddrSurfInfoOut->sliceSize / 4; in gfx6_compute_level() 725 AddrDccIn->colorSurfSize = AddrSurfInfoOut->sliceSize; in gfx6_compute_level() 772 surf->meta_slice_size = AddrHtileOut->sliceSize; in gfx6_compute_level() 1266 surf->fmask_slice_size = fout.sliceSize; in gfx6_compute_surface() 1683 surf->u.gfx9.surf_slice_size = out.sliceSize; in gfx9_compute_miptree() 1749 surf->meta_slice_size = hout.sliceSize; in gfx9_compute_miptree() 1756 surf->u.gfx9.meta_levels[i].size = meta_mip_info[i].sliceSize; in gfx9_compute_miptree() 1872 surf->u.gfx9.meta_levels[i].size = meta_mip_info[i].sliceSize; in gfx9_compute_miptree() 1954 surf->fmask_slice_size = fout.sliceSize; in gfx9_compute_miptree() 2019 surf->cmask_slice_size = cout.sliceSize; in gfx9_compute_miptree() [all …]
|
D | ac_surface_meta_address_test.c | 465 hout.pitch, hout.sliceSize, in one_htile_address_test() 616 cout.pitch, cout.sliceSize, in one_cmask_address_test()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkImage.cpp | 499 size_t sliceSize = copyExtent.height * srcRowPitch; in copySingleAspectTo() local 505 ASSERT((srcSlice + sliceSize) < end()); in copySingleAspectTo() 506 ASSERT((dstSlice + sliceSize) < dstImage->end()); in copySingleAspectTo() 508 memcpy(dstSlice, srcSlice, sliceSize); in copySingleAspectTo()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | SimpleOperationTest.cpp | 299 constexpr size_t sliceSize = bufferSize / subDataCount; in TEST_P() local 302 size_t offset = i * sliceSize; in TEST_P() 303 glBufferSubData(GL_ARRAY_BUFFER, offset, sliceSize, &data[offset]); in TEST_P()
|
/third_party/mesa3d/src/amd/addrlib/src/gfx9/ |
D | gfx9addrlib.cpp | 251 pOut->sliceSize = numMetaBlkX * numMetaBlkY * metaBlkSize; in HwlComputeHtileInfo() 258 pOut->htileBytes = PowTwoAlign(pOut->sliceSize * numMetaBlkZ, align); in HwlComputeHtileInfo() 344 pOut->sliceSize = (numMetaBlkX * numMetaBlkY * numCompressBlkPerMetaBlk) >> 1; in HwlComputeCmaskInfo() 345 pOut->cmaskBytes = PowTwoAlign(pOut->sliceSize * numMetaBlkZ, sizeAlign); in HwlComputeCmaskInfo() 3187 pOut->offset = pIn->slice * pIn->sliceSize + in HwlComputeSubResourceOffsetForSwizzlePattern() 4286 pOut->sliceSize = static_cast<UINT_64>(pOut->mipChainPitch) * pOut->mipChainHeight * in HwlComputeSurfaceInfoTiled() 4288 pOut->surfSize = pOut->sliceSize * pOut->mipChainSlice; in HwlComputeSurfaceInfoTiled() 4389 pOut->sliceSize = static_cast<UINT_64>(pOut->pitch) * actualHeight * elementBytes; in HwlComputeSurfaceInfoLinear() 4390 pOut->surfSize = pOut->sliceSize * pOut->numSlices; in HwlComputeSurfaceInfoLinear() 4398 ADDR_ASSERT(pOut->sliceSize > 0); in HwlComputeSurfaceInfoLinear()
|
/third_party/mesa3d/src/amd/addrlib/src/r800/ |
D | siaddrlib.cpp | 1693 UINT_64 sliceSize; in HwlGetSizeAdjustmentLinear() local 1696 sliceSize = BITS_TO_BYTES(static_cast<UINT_64>(*pPitch) * (*pHeight) * bpp * numSamples); in HwlGetSizeAdjustmentLinear() 1726 sliceSize = BITS_TO_BYTES(pixelPerSlice * bpp); in HwlGetSizeAdjustmentLinear() 1729 return sliceSize; in HwlGetSizeAdjustmentLinear()
|
D | egbaddrlib.cpp | 3286 pOut->sliceSize = surfOut.surfSize / surfOut.depth; in DispatchComputeFmaskInfo() 3290 pOut->sliceSize = surfOut.surfSize; in DispatchComputeFmaskInfo()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | CommandEncoder.cpp | 211 uint32_t sliceSize = rowPitch * (copySize.height / blockHeight - 1) + in ComputeTextureCopyBufferSize() local 213 *bufferSize = (slicePitch * (copySize.depth - 1)) + sliceSize; in ComputeTextureCopyBufferSize()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | validationCL.cpp | 2734 const size_t sliceSize = imageHeight * rowPitch; in ValidateCreateImage() local 2809 if (image_desc->image_slice_pitch < sliceSize) in ValidateCreateImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingShaderAccessTests.cpp | 319 const tcu::IVec3 sliceSize (srcAccess.getWidth(), sliceHeight, sliceDepth); in writeTextureLevelPyramidData() local 329 (deUint32)sliceSize.x(), // bufferRowLength in writeTextureLevelPyramidData() 330 (deUint32)sliceSize.y(), // bufferImageHeight in writeTextureLevelPyramidData() 343 (deUint32)sliceSize.x(), in writeTextureLevelPyramidData() 344 (deUint32)sliceSize.y(), in writeTextureLevelPyramidData() 345 (deUint32)sliceSize.z(), in writeTextureLevelPyramidData()
|