/third_party/mesa3d/src/amd/addrlib/src/gfx10/ |
D | gfx10addrlib.cpp | 213 pOut->pMipInfo[i].sliceSize = mipSliceSize; in HwlComputeHtileInfo() 219 pOut->sliceSize = offset; in HwlComputeHtileInfo() 221 pOut->htileBytes = pOut->sliceSize * pIn->numSlices; in HwlComputeHtileInfo() 229 pOut->pMipInfo[i].sliceSize = 0; in HwlComputeHtileInfo() 234 pOut->pMipInfo[pIn->firstMipIdInTail].sliceSize = metaBlkSize; in HwlComputeHtileInfo() 244 pOut->sliceSize = pOut->metaBlkNumPerSlice * metaBlkSize; in HwlComputeHtileInfo() 245 pOut->htileBytes = pOut->sliceSize * pIn->numSlices; in HwlComputeHtileInfo() 251 pOut->pMipInfo[0].sliceSize = pOut->sliceSize; in HwlComputeHtileInfo() 331 pOut->pMipInfo[i].sliceSize = pitchInM * heightInM * metaBlkSize; in HwlComputeCmaskInfo() 345 pOut->pMipInfo[i].sliceSize = 0; in HwlComputeCmaskInfo() [all …]
|
/third_party/mesa3d/src/amd/addrlib/src/gfx11/ |
D | gfx11addrlib.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() 345 pOut->pMipInfo[i].sliceSize = mipSliceSize; in HwlComputeDccInfo() 361 pOut->pMipInfo[i].sliceSize = 0; in HwlComputeDccInfo() [all …]
|
/third_party/mesa3d/src/amd/addrlib/src/core/ |
D | addrlib1.cpp | 402 pOut->sliceSize = pOut->surfSize; in ComputeSurfaceInfo() 406 pOut->sliceSize = pOut->surfSize / pOut->depth; in ComputeSurfaceInfo() 414 pOut->sliceSize += pOut->sliceSize * (pOut->depth - pIn->numSlices); in ComputeSurfaceInfo() 1289 const UINT_32 sliceSize = pIn->pitch * pIn->height * 4 / (8 * 8); in ComputeHtileInfo() local 1294 const UINT_32 surfBytes = (sliceSize * pIn->numSlices); in ComputeHtileInfo() 1296 pOut->sliceSize = sliceSize; in ComputeHtileInfo() 1299 pOut->sliceInterleaved = ((sliceSize % align) != 0) ? TRUE : FALSE; in ComputeHtileInfo() 1303 pOut->sliceSize = pIn->flags.skipTcCompatSizeAlign ? in ComputeHtileInfo() 1304 sliceSize : PowTwoAlign(sliceSize, align); in ComputeHtileInfo() 1305 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 | 607 UINT_64 sliceSize; ///< Size of slice specified by input's slice member 913 UINT_64 sliceSize; ///< Slice size, in bytes. member 1132 UINT_64 sliceSize; ///< Slice size, in bytes. member 1337 UINT_64 sliceSize; ///< Size of slice in bytes member 2498 UINT_64 sliceSize; ///< Slice (total mip chain) size in bytes member 2732 UINT_32 sliceSize; ///< Metadata size within one slice, member 2780 UINT_32 sliceSize; ///< Slice size, in bytes. member 2988 UINT_32 sliceSize; ///< Slice size, in bytes. member 3218 UINT_32 sliceSize; ///< Size of slice in bytes member 3649 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/mesa3d/src/amd/common/ |
D | ac_surface.c | 696 surf_level->slice_size_dw = AddrSurfInfoOut->sliceSize / 4; in gfx6_compute_level() 786 AddrDccIn->colorSurfSize = AddrSurfInfoOut->sliceSize; in gfx6_compute_level() 833 surf->meta_slice_size = AddrHtileOut->sliceSize; in gfx6_compute_level() 1328 surf->fmask_slice_size = fout.sliceSize; in gfx6_compute_surface() 1761 surf->u.gfx9.surf_slice_size = out.sliceSize; in gfx9_compute_miptree() 1829 surf->meta_slice_size = hout.sliceSize; in gfx9_compute_miptree() 1836 surf->u.gfx9.meta_levels[i].size = meta_mip_info[i].sliceSize; in gfx9_compute_miptree() 1962 surf->u.gfx9.meta_levels[i].size = meta_mip_info[i].sliceSize; in gfx9_compute_miptree() 2050 surf->fmask_slice_size = fout.sliceSize; in gfx9_compute_miptree() 2121 surf->cmask_slice_size = cout.sliceSize; in gfx9_compute_miptree() [all …]
|
D | ac_surface_meta_address_test.c | 483 hout.pitch, hout.sliceSize, in one_htile_address_test() 651 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 | 250 pOut->sliceSize = numMetaBlkX * numMetaBlkY * metaBlkSize; in HwlComputeHtileInfo() 257 pOut->htileBytes = PowTwoAlign(pOut->sliceSize * numMetaBlkZ, align); in HwlComputeHtileInfo() 343 pOut->sliceSize = (numMetaBlkX * numMetaBlkY * numCompressBlkPerMetaBlk) >> 1; in HwlComputeCmaskInfo() 344 pOut->cmaskBytes = PowTwoAlign(pOut->sliceSize * numMetaBlkZ, sizeAlign); in HwlComputeCmaskInfo() 3186 pOut->offset = pIn->slice * pIn->sliceSize + in HwlComputeSubResourceOffsetForSwizzlePattern() 4285 pOut->sliceSize = static_cast<UINT_64>(pOut->mipChainPitch) * pOut->mipChainHeight * in HwlComputeSurfaceInfoTiled() 4287 pOut->surfSize = pOut->sliceSize * pOut->mipChainSlice; in HwlComputeSurfaceInfoTiled() 4388 pOut->sliceSize = static_cast<UINT_64>(pOut->pitch) * actualHeight * elementBytes; in HwlComputeSurfaceInfoLinear() 4389 pOut->surfSize = pOut->sliceSize * pOut->numSlices; in HwlComputeSurfaceInfoLinear() 4397 ADDR_ASSERT(pOut->sliceSize > 0); in HwlComputeSurfaceInfoLinear()
|
/third_party/mesa3d/src/amd/addrlib/src/r800/ |
D | siaddrlib.cpp | 1692 UINT_64 sliceSize; in HwlGetSizeAdjustmentLinear() local 1695 sliceSize = BITS_TO_BYTES(static_cast<UINT_64>(*pPitch) * (*pHeight) * bpp * numSamples); in HwlGetSizeAdjustmentLinear() 1725 sliceSize = BITS_TO_BYTES(pixelPerSlice * bpp); in HwlGetSizeAdjustmentLinear() 1728 return sliceSize; in HwlGetSizeAdjustmentLinear()
|
D | egbaddrlib.cpp | 3285 pOut->sliceSize = surfOut.surfSize / surfOut.depth; in DispatchComputeFmaskInfo() 3289 pOut->sliceSize = surfOut.surfSize; in DispatchComputeFmaskInfo()
|
/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_no_buildgn/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()
|
/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()
|