Home | History | Annotate | Download | only in Renderer

Lines Matching refs:pitchB

51 		byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB + z * samples * sliceB;
65 byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB;
410 void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB + z * samples * sliceB;
420 void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB;
1162 return (unsigned char*)buffer + 8 * (x / 4) + (y / 4) * pitchB + z * sliceB;
1169 return (unsigned char*)buffer + 16 * (x / 4) + (y / 4) * pitchB + z * sliceB;
1172 return (unsigned char*)buffer + 16 * (x / 5) + (y / 4) * pitchB + z * sliceB;
1175 return (unsigned char*)buffer + 16 * (x / 5) + (y / 5) * pitchB + z * sliceB;
1178 return (unsigned char*)buffer + 16 * (x / 6) + (y / 5) * pitchB + z * sliceB;
1181 return (unsigned char*)buffer + 16 * (x / 6) + (y / 6) * pitchB + z * sliceB;
1184 return (unsigned char*)buffer + 16 * (x / 8) + (y / 5) * pitchB + z * sliceB;
1187 return (unsigned char*)buffer + 16 * (x / 8) + (y / 6) * pitchB + z * sliceB;
1190 return (unsigned char*)buffer + 16 * (x / 8) + (y / 8) * pitchB + z * sliceB;
1193 return (unsigned char*)buffer + 16 * (x / 10) + (y / 5) * pitchB + z * sliceB;
1196 return (unsigned char*)buffer + 16 * (x / 10) + (y / 6) * pitchB + z * sliceB;
1199 return (unsigned char*)buffer + 16 * (x / 10) + (y / 8) * pitchB + z * sliceB;
1202 return (unsigned char*)buffer + 16 * (x / 10) + (y / 10) * pitchB + z * sliceB;
1205 return (unsigned char*)buffer + 16 * (x / 12) + (y / 10) * pitchB + z * sliceB;
1208 return (unsigned char*)buffer + 16 * (x / 12) + (y / 12) * pitchB + z * sliceB;
1212 return (unsigned char*)buffer + 16 * (x / 4) + (y / 4) * pitchB + z * sliceB;
1214 return (unsigned char*)buffer + x * bytes + y * pitchB + z * samples * sliceB;
1270 external.pitchB = pitch;
1285 internal.pitchB = pitchB(internal.width, 0, internal.format, false);
1300 stencil.pitchB = pitchB(stencil.width, 0, stencil.format, false);
1327 external.pitchB = !pitchPprovided ? pitchB(external.width, 0, external.format, renderTarget && !texture) : pitchPprovided * external.bytes;
1342 internal.pitchB = !pitchPprovided ? pitchB(internal.width, border, internal.format, renderTarget) : pitchPprovided * internal.bytes;
1357 stencil.pitchB = pitchB(stencil.width, 0, stencil.format, renderTarget);
1722 int Surface::pitchB(int width, int border, Format format, bool target)
1801 return B > 0 ? pitchB(width, border, format, target) / B : 0;
1834 return pitchB(width, border, format, target) * ((height + 3) / 4); // Pitch computed per 4 rows
1843 return pitchB(width, border, format, target) * ((height + 4) / 5); // Pitch computed per 5 rows
1850 return pitchB(width, border, format, target) * ((height + 5) / 6); // Pitch computed per 6 rows
1855 return pitchB(width, border, format, target) * ((height + 7) / 8); // Pitch computed per 8 rows
1860 return pitchB(width, border, format, target) * ((height + 9) / 10); // Pitch computed per 10 rows
1863 return pitchB(width, border, format, target) * ((height + 11) / 12); // Pitch computed per 12 rows
1866 return pitchB(width, border, format, target) * align<4>(height); // Pitch computed per row
1868 return pitchB(width, border, format, target) * height; // Pitch computed per row
1981 sourceRow += source.pitchB;
1982 destinationRow += destination.pitchB;
2024 sourceRow += source.pitchB;
2025 destinationRow += destination.pitchB;
2069 sourceRow += source.pitchB;
2070 destinationRow += destination.pitchB;
2115 sourceRow += source.pitchB;
2116 destinationRow += destination.pitchB;
2160 sourceRow += source.pitchB;
2161 destinationRow += destination.pitchB;
2206 sourceRow += source.pitchB;
2207 destinationRow += destination.pitchB;
2252 sourceRow += source.pitchB;
2253 destinationRow += destination.pitchB;
2594 ETC_Decoder::Decode((const byte*)external.lockRect(0, 0, 0, LOCK_READONLY), (byte*)internal.lockRect(0, 0, 0, LOCK_UPDATE), external.width, external.height, internal.width, internal.height, internal.pitchB, internal.bytes,
2616 byte *srcRow = src + y * internal.pitchB;
2635 ETC_Decoder::Decode((const byte*)external.lockRect(0, 0, 0, LOCK_READONLY), src, external.width, external.height, internal.width, internal.height, internal.pitchB, internal.bytes,
2644 byte* srcRow = src + y * internal.pitchB;
3556 row += buffer->pitchB;
3572 row += buffer->pitchB;
3738 external.pitchB == internal.pitchB &&
4014 int pitch = internal.pitchB;