Searched refs:elementBytes (Results 1 – 4 of 4) sorted by relevance
984 UINT_32 elementBytes, ///< [in] element bytes per element in ApplyCustomizedPitchHeight() argument1014 UINT_32 customizedHeight = pIn->sliceAlign / elementBytes / (*pPitch); in ApplyCustomizedPitchHeight()1016 if (customizedHeight * elementBytes * (*pPitch) != pIn->sliceAlign) in ApplyCustomizedPitchHeight()1214 UINT_32 elementBytes = pIn->bpp >> 3; in ComputeSurfaceCoordFromAddrLinear() local1222 mipSize = localOut.pitch * elementBytes; in ComputeSurfaceCoordFromAddrLinear()1227 mipSize = currentMipHeight * localOut.pitch * elementBytes; in ComputeSurfaceCoordFromAddrLinear()1254 UINT_32 elemOffsetInMip = (offsetInSlice - mipOffsetInSlice) / elementBytes; in ComputeSurfaceCoordFromAddrLinear()
764 UINT_32 elementBytes,
186 const deUint8* elementBytes = reinterpret_cast<const deUint8*>(&(*beg)); in checkBits() local189 if (elementBytes[i] != pattern) in checkBits()
4071 UINT_32 elementBytes = pIn->bpp >> 3; in HwlComputeSurfaceInfoLinear() local4082 const UINT_32 pitchAlignInElement = alignment / elementBytes; in HwlComputeSurfaceInfoLinear()4089 returnCode = ApplyCustomizedPitchHeight(pIn, elementBytes, pitchAlignInElement, in HwlComputeSurfaceInfoLinear()4099 pOut->pMipInfo[i].offset = pitch * elementBytes * i; in HwlComputeSurfaceInfoLinear()4127 pOut->sliceSize = static_cast<UINT_64>(pOut->pitch) * actualHeight * elementBytes; in HwlComputeSurfaceInfoLinear()4130 … pOut->blockWidth = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? 1 : (256 / elementBytes); in HwlComputeSurfaceInfoLinear()4871 UINT_32 elementBytes = pIn->bpp >> 3; in ComputeSurfaceLinearPadding() local4882 pitchAlignInElement = (256 / elementBytes); in ComputeSurfaceLinearPadding()4888 returnCode = ApplyCustomizedPitchHeight(pIn, elementBytes, pitchAlignInElement, in ComputeSurfaceLinearPadding()4900 pMipInfo[i].offset = mipChainWidth * mipChainHeight * elementBytes; in ComputeSurfaceLinearPadding()