Lines Matching refs:face

94                       uint32_t lod, RsAllocationCubemapFace face) {
96 ptr += face * alloc->mHal.drvState.faceOffset;
106 RsAllocationCubemapFace face, uint32_t w, uint32_t h) {
115 t = gFaceOrder[face];
135 for (uint32_t face = 0; face < faceCount; face ++) {
137 const uint8_t *p = GetOffsetPtr(alloc, 0, 0, 0, lod, (RsAllocationCubemapFace)face);
141 t = gFaceOrder[face];
799 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
811 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face);
841 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face);
854 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h);
910 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
920 const uint8_t *src = GetOffsetPtr(alloc, xoff, yoff, 0, lod, face);
1100 static void mip565(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
1105 uint16_t *oPtr = (uint16_t *)GetOffsetPtr(alloc, 0, y, 0, lod + 1, face);
1106 const uint16_t *i1 = (uint16_t *)GetOffsetPtr(alloc, 0, 0, y*2, lod, face);
1107 const uint16_t *i2 = (uint16_t *)GetOffsetPtr(alloc, 0, 0, y*2+1, lod, face);
1118 static void mip8888(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
1123 uint32_t *oPtr = (uint32_t *)GetOffsetPtr(alloc, 0, y, 0, lod + 1, face);
1124 const uint32_t *i1 = (uint32_t *)GetOffsetPtr(alloc, 0, y*2, 0, lod, face);
1125 const uint32_t *i2 = (uint32_t *)GetOffsetPtr(alloc, 0, y*2+1, 0, lod, face);
1136 static void mip8(const Allocation *alloc, int lod, RsAllocationCubemapFace face) {
1141 uint8_t *oPtr = GetOffsetPtr(alloc, 0, y, 0, lod + 1, face);
1142 const uint8_t *i1 = GetOffsetPtr(alloc, 0, y*2, 0, lod, face);
1143 const uint8_t *i2 = GetOffsetPtr(alloc, 0, y*2+1, 0, lod, face);
1159 for (uint32_t face = 0; face < numFaces; face ++) {
1163 mip8888(alloc, lod, (RsAllocationCubemapFace)face);
1166 mip565(alloc, lod, (RsAllocationCubemapFace)face);
1169 mip8(alloc, lod, (RsAllocationCubemapFace)face);