Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/addrlib/r800/
Degbaddrlib.cpp240 &pOut->pitchAlign, in ComputeSurfaceInfoLinear()
267 &expPitch, &pOut->pitchAlign, in ComputeSurfaceInfoLinear()
283 pOut->pitchAlign, in ComputeSurfaceInfoLinear()
288 if ((pIn->pitchAlign != 0) || (pIn->heightAlign != 0)) in ComputeSurfaceInfoLinear()
290 if (pIn->pitchAlign != 0) in ComputeSurfaceInfoLinear()
292 ADDR_ASSERT((pIn->pitchAlign % pOut->pitchAlign) == 0); in ComputeSurfaceInfoLinear()
293 pOut->pitchAlign = pIn->pitchAlign; in ComputeSurfaceInfoLinear()
295 if (IsPow2(pOut->pitchAlign)) in ComputeSurfaceInfoLinear()
297 expPitch = PowTwoAlign(expPitch, pOut->pitchAlign); in ComputeSurfaceInfoLinear()
301 expPitch += pOut->pitchAlign - 1; in ComputeSurfaceInfoLinear()
[all …]
Dsiaddrlib.cpp1622 UINT_32 pitchAlign; in HwlGetPitchAlignmentLinear() local
1627 pitchAlign = Max(64u, m_pipeInterleaveBytes / BITS_TO_BYTES(bpp)); in HwlGetPitchAlignmentLinear()
1632 pitchAlign = Max(8u, 64 / BITS_TO_BYTES(bpp)); in HwlGetPitchAlignmentLinear()
1635 return pitchAlign; in HwlGetPitchAlignmentLinear()
1654 UINT_32 pitchAlign, ///< [in] pitch alignment in HwlGetSizeAdjustmentLinear() argument
1678 pitch += pitchAlign; in HwlGetSizeAdjustmentLinear()
1778 UINT_32 pitchAlign; in HwlGetPitchAlignmentMicroTiled() local
1782 pitchAlign = EgBasedLib::HwlGetPitchAlignmentMicroTiled(tileMode,bpp,flags,numSamples); in HwlGetPitchAlignmentMicroTiled()
1786 pitchAlign = 8; in HwlGetPitchAlignmentMicroTiled()
1789 return pitchAlign; in HwlGetPitchAlignmentMicroTiled()
[all …]
Degbaddrlib.h173 UINT_32 bpp, UINT_32 numSamples, UINT_32 baseAlign, UINT_32 pitchAlign,
181 UINT_32 baseAlign, UINT_32 pitchAlign,
244 UINT_32 pitchAlign, UINT_32 heightAlign,
Dsiaddrlib.h196 UINT_32 baseAlign, UINT_32 pitchAlign,
227 UINT_32 bpp, UINT_32 numSamples, UINT_32 baseAlign, UINT_32 pitchAlign,
Dciaddrlib.cpp2070 pOut->pitchAlign = PowTwoAlign(pOut->pitchAlign, 256); in HwlComputeSurfaceAlignmentsMacroTiled()
/external/mesa3d/src/amd/addrlib/core/
Daddrlib1.cpp373 ADDR_ASSERT((pOut->pitchAlign % 32) == 0); in ComputeSurfaceInfo()
3267 UINT_32 pitchAlign = *pPitchAlign; in PadDimensions() local
3297 if (IsPow2(pitchAlign)) in PadDimensions()
3299 *pPitch = PowTwoAlign((*pPitch), pitchAlign); in PadDimensions()
3303 *pPitch += pitchAlign - 1; in PadDimensions()
3304 *pPitch /= pitchAlign; in PadDimensions()
3305 *pPitch *= pitchAlign; in PadDimensions()
/external/mesa3d/src/amd/addrlib/
Daddrinterface.h574 UINT_32 pitchAlign; ///< Pitch alignment request from client member
599 UINT_32 pitchAlign; ///< Pitch alignment, in elements member
1325 UINT_32 pitchAlign; ///< Pitch alignment member