Home
last modified time | relevance | path

Searched refs:MipHeight (Results 1 – 10 of 10) sorted by relevance

/dports/multimedia/gmmlib/gmmlib-intel-gmmlib-22.0.2/Source/GmmLib/Texture/
H A DGmmTextureOffset.cpp205 MipHeight, in GetTexStdLayoutOffset()
389 uint32_t MipHeight = 0; in AlignTexHeightWidth() local
401 MipHeight = *pHeight; in AlignTexHeightWidth()
408 MipHeight = GFX_MAX(MipHeight, UnitAlignHeight); in AlignTexHeightWidth()
411 MipHeight = GFX_ALIGN(MipHeight, UnitAlignHeight); in AlignTexHeightWidth()
423 MipHeight /= 2; in AlignTexHeightWidth()
426 *pHeight = MipHeight; in AlignTexHeightWidth()
751 MipHeight >>= MipLevel; in Get3DMipByteAddress()
759 MipHeight = GFX_MAX(MipHeight, UnitAlignHeight); in Get3DMipByteAddress()
760 MipHeight = GFX_ALIGN(MipHeight, UnitAlignHeight); in Get3DMipByteAddress()
[all …]
H A DGmmGen7Texture.cpp261 uint32_t AlignedMipHeight, i, MipHeight, OffsetHeight; in Get2DTexOffsetAddressPerMip() local
278 MipHeight = pTexInfo->BaseHeight; in Get2DTexOffsetAddressPerMip()
316 AlignedMipHeight = GFX_ULONG_CAST(__GMM_EXPAND_HEIGHT(this, MipHeight, VAlign, pTexInfo)); in Get2DTexOffsetAddressPerMip()
329 MipHeight >>= 1; in Get2DTexOffsetAddressPerMip()
592 uint32_t MipHeight, MipWidth; in Fill3DTexOffsetAddress() local
607 MipHeight = pTexInfo->BaseHeight; in Fill3DTexOffsetAddress()
617 AlignedMipHeight = GFX_ALIGN(MipHeight, UnitAlignHeight); in Fill3DTexOffsetAddress()
704 MipHeight >>= 1; in Fill3DTexOffsetAddress()
706 MipHeight = GFX_MAX(MipHeight, 1); in Fill3DTexOffsetAddress()
707 AlignedMipHeight = GFX_ALIGN(MipHeight, UnitAlignHeight); in Fill3DTexOffsetAddress()
H A DGmmTexture.cpp465 …uint32_t MipDepth, MipHeight, MipWidth, CompressWidth, CompressHeight, CompressDep… in FindMipTailStartLod() local
470 MipHeight = pTexInfo->BaseHeight; in FindMipTailStartLod()
479 MipHeight = GFX_CEIL_DIV(MipHeight, CompressHeight); in FindMipTailStartLod()
488 (MipHeight <= pPlatform->TileInfo[pTexInfo->TileMode].MaxMipTailStartHeight))) || in FindMipTailStartLod()
491 (MipHeight <= pPlatform->TileInfo[pTexInfo->TileMode].MaxMipTailStartHeight) && in FindMipTailStartLod()
497 MipHeight = GmmTexGetMipHeight(pTexInfo, Level); in FindMipTailStartLod()
501 MipHeight = GFX_CEIL_DIV(MipHeight, CompressHeight); in FindMipTailStartLod()
509 (MipHeight <= pPlatform->TileInfo[pTexInfo->TileMode].MaxMipTailStartHeight))) || in FindMipTailStartLod()
512 (MipHeight <= pPlatform->TileInfo[pTexInfo->TileMode].MaxMipTailStartHeight) && in FindMipTailStartLod()
H A DGmmGen9Texture.cpp252 uint32_t BlockHeight, MipHeight; in Get2DMipMapHeight() local
261 MipHeight = pTexInfo->BaseHeight; in Get2DMipMapHeight()
266 HeightLinesLevel0 = __GMM_EXPAND_HEIGHT(this, MipHeight, VAlign, pTexInfo); in Get2DMipMapHeight()
315 MipHeight = GmmTexGetMipHeight(pTexInfo, i); in Get2DMipMapHeight()
378 uint32_t BlockHeight, MipHeight; in Get2DMipMapTotalHeight() local
385 MipHeight = pTexInfo->BaseHeight; in Get2DMipMapTotalHeight()
395 HeightLinesLevel0 = __GMM_EXPAND_HEIGHT(this, MipHeight, VAlign, pTexInfo); in Get2DMipMapTotalHeight()
404 MipHeight = GmmTexGetMipHeight(pTexInfo, i); in Get2DMipMapTotalHeight()
448 uint32_t MipHeight; in Get2DTexOffsetAddressPerMip() local
459 MipHeight = pTexInfo->BaseHeight; in Get2DTexOffsetAddressPerMip()
[all …]
H A DGmmGen12Texture.cpp42 uint32_t BlockHeight, MipHeight; in Get2DMipMapHeight() local
51 MipHeight = pTexInfo->BaseHeight; in Get2DMipMapHeight()
56 HeightLinesLevel0 = __GMM_EXPAND_HEIGHT(this, MipHeight, VAlign, pTexInfo); in Get2DMipMapHeight()
97 MipHeight = GmmTexGetMipHeight(pTexInfo, i); in Get2DMipMapHeight()
99 AlignedHeightLines = __GMM_EXPAND_HEIGHT(this, MipHeight, VAlign, pTexInfo); in Get2DMipMapHeight()
/dports/graphics/devil/devil-1.7.8/src-IL/src/
H A Dil_rot.c77 ILuint MipSize, MipLevel, MipWidth, MipHeight; in iLoadRotInternal() local
173 MipHeight = GetLittleUInt(); in iLoadRotInternal()
177 if (MipWidth > Width || MipHeight > Height || MipSize > CompSize) { in iLoadRotInternal()
184 if (!ilTexImage(MipWidth, MipHeight, 1, Channels, FormatIL, IL_UNSIGNED_BYTE, NULL)) in iLoadRotInternal()
189 …Image->Mipmaps = ilNewImageFull(MipWidth, MipHeight, 1, Channels, FormatIL, IL_UNSIGNED_BYTE, NULL… in iLoadRotInternal()
202 CompSize = ((MipWidth + 3) / 4) * ((MipHeight + 3) / 4) * 8; in iLoadRotInternal()
229 CompSize = ((MipWidth + 3) / 4) * ((MipHeight + 3) / 4) * 16; in iLoadRotInternal()
256 CompSize = ((MipWidth + 3) / 4) * ((MipHeight + 3) / 4) * 16; in iLoadRotInternal()
/dports/multimedia/gmmlib/gmmlib-intel-gmmlib-22.0.2/Source/GmmLib/Resource/
H A DGmmResourceInfoCommon.cpp870 uint32_t AlignedHeight, MipHeight; in GetPaddedHeight() local
883 MipHeight = pTextureCalc->GmmTexGetMipHeight(&Surf, MipLevel); in GetPaddedHeight()
892 MipHeight, in GetPaddedHeight()
1482 pTextureCalc->AlignTexHeightWidth(pTexInfo, &MipHeight, &MipWidth); in CpuBlt()
1483 SwizzledSurface.Height = MipHeight; in CpuBlt()
1818 uint32_t MipHeight; in GetMappingSpanDesc() local
1821 MipHeight = pTextureCalc->GmmTexGetMipHeight(pTexInfo, Lod); in GetMappingSpanDesc()
1829 MipHeight, in GetMappingSpanDesc()
1902 uint32_t MipHeight, MipCols; in GetMappingSpanDesc() local
1905 MipHeight = pTextureCalc->GmmTexGetMipHeight(pTexInfo, pMapping->Scratch.Lod); in GetMappingSpanDesc()
[all …]
/dports/multimedia/gmmlib/gmmlib-intel-gmmlib-22.0.2/Source/GmmLib/ULT/
H A DGmmGen9ResourceULT.cpp772 uint32_t MipHeight = gmmParams.BaseHeight; in TEST_F() local
1434 Mip1Height = MipHeight; in TEST_F()
1439 Mip2Height = MipHeight; in TEST_F()
1443 Mip2Height += MipHeight; in TEST_F()
1606 Mip2Height = MipHeight; in TEST_F()
1610 Mip2Height += MipHeight; in TEST_F()
1814 Mip2Height = MipHeight; in TEST_F()
1818 Mip2Height += MipHeight; in TEST_F()
3726 uint32_t MipWidth, MipHeight; in TEST_F() local
3727 MipWidth = MipHeight = ResWidth; in TEST_F()
[all …]
H A DGmmGen12dGPUResourceULT.cpp480 uint32_t MipHeight = gmmParams.BaseHeight; in TEST_F() local
481 while(!(MipWidth <= MtsWidth[i] && MipHeight <= MtsHeight[i])) in TEST_F()
485 MipHeight = GMM_ULT_MAX(1, gmmParams.BaseHeight >> MipTailStartLod); in TEST_F()
2485 uint32_t MipHeight = gmmParams.BaseHeight; in TEST_F() local
2486 while(!(MipWidth <= MtsWidth[i] && MipHeight <= MtsHeight[i])) in TEST_F()
2490 MipHeight = GMM_ULT_MAX(1, gmmParams.BaseHeight >> MipTailStartLod); in TEST_F()
H A DGmmGen12ResourceULT.cpp2017 uint32_t MipHeight = gmmParams.BaseHeight; in TEST_F() local
2018 while(!(MipWidth <= MtsWidth[i] && MipHeight <= MtsHeight[i])) in TEST_F()
2022 MipHeight = GMM_ULT_MAX(1, gmmParams.BaseHeight >> MipTailStartLod); in TEST_F()