Home
last modified time | relevance | path

Searched refs:PVRT_MAX (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTTextureAPI.cpp294 int nBlocksDstW = PVRT_MAX((unsigned int)1, (nSize >> nLevel) / nElW); in PVRTTextureTile()
295 int nBlocksDstH = PVRT_MAX((unsigned int)1, (nSize >> nLevel) / nElH); in PVRTTextureTile()
296 int nBlocksSrcW = PVRT_MAX((unsigned int)1, (pIn->u32Width >> nLevel) / nElW); in PVRTTextureTile()
297 int nBlocksSrcH = PVRT_MAX((unsigned int)1, (pIn->u32Height >> nLevel) / nElH); in PVRTTextureTile()
528 uiMIPWidth=PVRT_MAX(1,uiMIPWidth>>1); in PVRTTextureLoadFromPointer()
529 uiMIPHeight=PVRT_MAX(1,uiMIPHeight>>1); in PVRTTextureLoadFromPointer()
557 uiMIPWidth=PVRT_MAX(1,uiMIPWidth>>1); in PVRTTextureLoadFromPointer()
558 uiMIPHeight=PVRT_MAX(1,uiMIPHeight>>1); in PVRTTextureLoadFromPointer()
648 uiMIPWidth=PVRT_MAX(1,uiMIPWidth>>1); in PVRTTextureLoadFromPointer()
649 uiMIPHeight=PVRT_MAX(1,uiMIPHeight>>1); in PVRTTextureLoadFromPointer()
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/
DPVRTTextureAPI.cpp697 int nBlocksDstW = PVRT_MAX((unsigned int)1, (nSize >> nLevel) / nElW); in PVRTTextureTile()
698 int nBlocksDstH = PVRT_MAX((unsigned int)1, (nSize >> nLevel) / nElH); in PVRTTextureTile()
699 int nBlocksSrcW = PVRT_MAX((unsigned int)1, (pIn->u32Width >> nLevel) / nElW); in PVRTTextureTile()
700 int nBlocksSrcH = PVRT_MAX((unsigned int)1, (pIn->u32Height >> nLevel) / nElH); in PVRTTextureTile()
923 uiMIPWidth=PVRT_MAX(1,uiMIPWidth>>1); in PVRTTextureLoadFromPointer()
924 uiMIPHeight=PVRT_MAX(1,uiMIPHeight>>1); in PVRTTextureLoadFromPointer()
952 uiMIPWidth=PVRT_MAX(1,uiMIPWidth>>1); in PVRTTextureLoadFromPointer()
953 uiMIPHeight=PVRT_MAX(1,uiMIPHeight>>1); in PVRTTextureLoadFromPointer()
1030 uiMIPWidth=PVRT_MAX(1,uiMIPWidth>>1); in PVRTTextureLoadFromPointer()
1031 uiMIPHeight=PVRT_MAX(1,uiMIPHeight>>1); in PVRTTextureLoadFromPointer()
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTTexture.cpp128 len += PVRT_MAX(wTmp, wMin) * PVRT_MAX(hTmp, hMin); in PVRTTextureCreate()
359 PVRTuint32 uiWidth = PVRT_MAX(1,sTextureHeader.u32Width>>uiCurrentMIP); in PVRTGetTextureDataSize()
360 PVRTuint32 uiHeight = PVRT_MAX(1,sTextureHeader.u32Height>>uiCurrentMIP); in PVRTGetTextureDataSize()
361 PVRTuint32 uiDepth = PVRT_MAX(1,sTextureHeader.u32Depth>>uiCurrentMIP); in PVRTGetTextureDataSize()
378 PVRTuint32 uiWidth = PVRT_MAX(1,sTextureHeader.u32Width>>iMipLevel); in PVRTGetTextureDataSize()
379 PVRTuint32 uiHeight = PVRT_MAX(1,sTextureHeader.u32Height>>iMipLevel); in PVRTGetTextureDataSize()
380 PVRTuint32 uiDepth = PVRT_MAX(1,sTextureHeader.u32Depth>>iMipLevel); in PVRTGetTextureDataSize()
DPVRTDecompress.cpp717 int XTrueDim = PVRT_MAX(XDim,((Do2bitMode==1)?16:8)); in PVRTDecompressPVRTC()
718 int YTrueDim = PVRT_MAX(YDim,8); in PVRTDecompressPVRTC()
925 char* pTempBuffer = (char*)malloc(PVRT_MAX(x,ETC_MIN_TEXWIDTH)*PVRT_MAX(y,ETC_MIN_TEXHEIGHT)*4); in PVRTDecompressETC()
926 …i32read = ETCTextureDecompress(pSrcData,PVRT_MAX(x,ETC_MIN_TEXWIDTH),PVRT_MAX(y,ETC_MIN_TEXHEIGHT)… in PVRTDecompressETC()
930 memcpy((char*)(pDestData)+i*x*4,pTempBuffer+PVRT_MAX(x,ETC_MIN_TEXWIDTH)*4*i,x*4); in PVRTDecompressETC()
DPVRTGlobal.h15 #define PVRT_MAX(a,b) (((a) > (b)) ? (a) : (b)) macro
16 #define PVRT_CLAMP(x, l, h) (PVRT_MIN((h), PVRT_MAX((x), (l))))
DPVRTMap.h43 return PVRT_MAX(m_Keys.SetCapacity(uiSize),m_Data.SetCapacity(uiSize)); in Reserve()
DPVRTModelPOD.cpp2915 nWeight[i] = PVRT_MAX(nWeight[i], 0);