Lines Matching refs:face
89 uint32_t lod, RsAllocationCubemapFace face) { in GetOffsetPtr() argument
91 ptr += face * alloc->mHal.drvState.faceOffset; in GetOffsetPtr()
101 RsAllocationCubemapFace face, uint32_t w, uint32_t h) { in Update2DTexture() argument
110 t = gFaceOrder[face]; in Update2DTexture()
130 for (uint32_t face = 0; face < faceCount; face ++) { in Upload2DTexture() local
132 const uint8_t *p = GetOffsetPtr(alloc, 0, 0, 0, lod, (RsAllocationCubemapFace)face); in Upload2DTexture()
136 t = gFaceOrder[face]; in Upload2DTexture()
849 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationData2D() argument
861 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); in rsdAllocationData2D()
891 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); in rsdAllocationData2D()
906 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h); in rsdAllocationData2D()
962 … uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationRead2D() argument
972 const uint8_t *src = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face); in rsdAllocationRead2D()
1144 static void mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) { in mip565() argument
1149 uint16_t *oPtr = (uint16_t *)GetOffsetPtr(alloc, 0, y, 0, lod + 1, face); in mip565()
1150 const uint16_t *i1 = (uint16_t *)GetOffsetPtr(alloc, 0, 0, y*2, lod, face); in mip565()
1151 const uint16_t *i2 = (uint16_t *)GetOffsetPtr(alloc, 0, 0, y*2+1, lod, face); in mip565()
1162 static void mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) { in mip8888() argument
1167 uint32_t *oPtr = (uint32_t *)GetOffsetPtr(alloc, 0, y, 0, lod + 1, face); in mip8888()
1168 const uint32_t *i1 = (uint32_t *)GetOffsetPtr(alloc, 0, y*2, 0, lod, face); in mip8888()
1169 const uint32_t *i2 = (uint32_t *)GetOffsetPtr(alloc, 0, y*2+1, 0, lod, face); in mip8888()
1180 static void mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) { in mip8() argument
1185 uint8_t *oPtr = GetOffsetPtr(alloc, 0, y, 0, lod + 1, face); in mip8()
1186 const uint8_t *i1 = GetOffsetPtr(alloc, 0, y*2, 0, lod, face); in mip8()
1187 const uint8_t *i2 = GetOffsetPtr(alloc, 0, y*2+1, 0, lod, face); in mip8()
1203 for (uint32_t face = 0; face < numFaces; face ++) { in rsdAllocationGenerateMipmaps() local
1207 mip8888(alloc, lod, (RsAllocationCubemapFace)face); in rsdAllocationGenerateMipmaps()
1210 mip565(alloc, lod, (RsAllocationCubemapFace)face); in rsdAllocationGenerateMipmaps()
1213 mip8(alloc, lod, (RsAllocationCubemapFace)face); in rsdAllocationGenerateMipmaps()