Home
last modified time | relevance | path

Searched refs:localIn (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/amd/addrlib/core/
Daddrlib2.cpp157 ADDR2_COMPUTE_SURFACE_INFO_INPUT localIn = *pIn; in ComputeSurfaceInfo() local
158 localIn.width = Max(pIn->width, 1u); in ComputeSurfaceInfo()
159 localIn.height = Max(pIn->height, 1u); in ComputeSurfaceInfo()
160 localIn.numMipLevels = Max(pIn->numMipLevels, 1u); in ComputeSurfaceInfo()
161 localIn.numSlices = Max(pIn->numSlices, 1u); in ComputeSurfaceInfo()
162 localIn.numSamples = Max(pIn->numSamples, 1u); in ComputeSurfaceInfo()
163 localIn.numFrags = (localIn.numFrags == 0) ? localIn.numSamples : pIn->numFrags; in ComputeSurfaceInfo()
172 if (localIn.format != ADDR_FMT_INVALID) in ComputeSurfaceInfo()
175 localIn.bpp = GetElemLib()->GetBitsPerPixel(localIn.format, in ComputeSurfaceInfo()
189 ADDR_ASSERT(IsLinear(localIn.swizzleMode)); in ComputeSurfaceInfo()
[all …]
Daddrlib1.cpp203 ADDR_COMPUTE_SURFACE_INFO_INPUT localIn = *pIn; in ComputeSurfaceInfo() local
214 localIn.pTileInfo = &tileInfoNull; in ComputeSurfaceInfo()
217 localIn.numSamples = (pIn->numSamples == 0) ? 1 : pIn->numSamples; in ComputeSurfaceInfo()
221 ComputeMipLevel(&localIn); in ComputeSurfaceInfo()
234 pOut->pixelBits = localIn.bpp; in ComputeSurfaceInfo()
235 pOut->numSamples = localIn.numSamples; in ComputeSurfaceInfo()
240 if (localIn.numSamples > 1) in ComputeSurfaceInfo()
242 ADDR_ASSERT(localIn.mipLevel == 0); in ComputeSurfaceInfo()
246 if (localIn.format != ADDR_FMT_INVALID) // Set format to INVALID will skip this conversion in ComputeSurfaceInfo()
250 localIn.bpp = GetElemLib()->GetBitsPerPixel(localIn.format, in ComputeSurfaceInfo()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DRecyclableBufferedInputStream.java89 InputStream localIn = in; in available() local
90 if (buf == null || localIn == null) { in available()
93 return count - pos + localIn.available(); in available()
121 InputStream localIn = in; in close() local
123 if (localIn != null) { in close()
124 localIn.close(); in close()
128 private int fillbuf(InputStream localIn, byte[] localBuf) in fillbuf() argument
132 int result = localIn.read(localBuf); in fillbuf()
166 int bytesread = localIn.read(localBuf, pos, localBuf.length - pos); in fillbuf()
223 InputStream localIn = in; in read() local
[all …]
/external/mesa3d/src/amd/addrlib/r800/
Dciaddrlib.cpp732 ADDR_COMPUTE_SURFACE_INFO_INPUT localIn = *pIn; in HwlComputeSurfaceInfo() local
733 localIn.tileIndex = TileIndexInvalid; in HwlComputeSurfaceInfo()
734 localIn.pTileInfo = NULL; in HwlComputeSurfaceInfo()
735 localIn.flags.tcCompatible = FALSE; in HwlComputeSurfaceInfo()
737 SiLib::HwlComputeSurfaceInfo(&localIn, pOut); in HwlComputeSurfaceInfo()
749 ADDR_COMPUTE_SURFACE_INFO_INPUT localIn = *pIn; in HwlComputeSurfaceInfo() local
750 localIn.tileMode = ADDR_TM_1D_TILED_THIN1; in HwlComputeSurfaceInfo()
751 localIn.tileIndex = TileIndexInvalid; in HwlComputeSurfaceInfo()
752 localIn.pTileInfo = NULL; in HwlComputeSurfaceInfo()
754 retCode = SiLib::HwlComputeSurfaceInfo(&localIn, pOut); in HwlComputeSurfaceInfo()
/external/mesa3d/src/amd/addrlib/gfx9/
Dgfx9addrlib.cpp3725 ADDR2_COMPUTE_SURFACE_INFO_INPUT localIn = {0}; in HwlGetPreferredSurfaceSetting() local
3726 localIn.flags = pIn->flags; in HwlGetPreferredSurfaceSetting()
3727 localIn.swizzleMode = pOut->swizzleMode; in HwlGetPreferredSurfaceSetting()
3728 localIn.resourceType = pOut->resourceType; in HwlGetPreferredSurfaceSetting()
3729 localIn.format = pIn->format; in HwlGetPreferredSurfaceSetting()
3730 localIn.bpp = bpp; in HwlGetPreferredSurfaceSetting()
3731 localIn.width = width; in HwlGetPreferredSurfaceSetting()
3732 localIn.height = height; in HwlGetPreferredSurfaceSetting()
3733 localIn.numSlices = slice; in HwlGetPreferredSurfaceSetting()
3734 localIn.numMipLevels = numMipLevels; in HwlGetPreferredSurfaceSetting()
[all …]