Home | History | Annotate | Download | only in Renderer

Lines Matching refs:pitchB

47 		byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB + z * samples * sliceB;
58 byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB;
399 void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB + z * samples * sliceB;
406 void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB;
1148 return (unsigned char*)buffer + 8 * (x / 4) + (y / 4) * pitchB + z * sliceB;
1155 return (unsigned char*)buffer + 16 * (x / 4) + (y / 4) * pitchB + z * sliceB;
1158 return (unsigned char*)buffer + 16 * (x / 5) + (y / 4) * pitchB + z * sliceB;
1161 return (unsigned char*)buffer + 16 * (x / 5) + (y / 5) * pitchB + z * sliceB;
1164 return (unsigned char*)buffer + 16 * (x / 6) + (y / 5) * pitchB + z * sliceB;
1167 return (unsigned char*)buffer + 16 * (x / 6) + (y / 6) * pitchB + z * sliceB;
1170 return (unsigned char*)buffer + 16 * (x / 8) + (y / 5) * pitchB + z * sliceB;
1173 return (unsigned char*)buffer + 16 * (x / 8) + (y / 6) * pitchB + z * sliceB;
1176 return (unsigned char*)buffer + 16 * (x / 8) + (y / 8) * pitchB + z * sliceB;
1179 return (unsigned char*)buffer + 16 * (x / 10) + (y / 5) * pitchB + z * sliceB;
1182 return (unsigned char*)buffer + 16 * (x / 10) + (y / 6) * pitchB + z * sliceB;
1185 return (unsigned char*)buffer + 16 * (x / 10) + (y / 8) * pitchB + z * sliceB;
1188 return (unsigned char*)buffer + 16 * (x / 10) + (y / 10) * pitchB + z * sliceB;
1191 return (unsigned char*)buffer + 16 * (x / 12) + (y / 10) * pitchB + z * sliceB;
1194 return (unsigned char*)buffer + 16 * (x / 12) + (y / 12) * pitchB + z * sliceB;
1198 return (unsigned char*)buffer + 16 * (x / 4) + (y / 4) * pitchB + z * sliceB;
1200 return (unsigned char*)buffer + x * bytes + y * pitchB + z * samples * sliceB;
1256 external.pitchB = pitch;
1271 internal.pitchB = pitchB(internal.width, 0, internal.format, false);
1286 stencil.pitchB = pitchB(stencil.width, 0, stencil.format, false);
1313 external.pitchB = pitchB(external.width, 0, external.format, renderTarget && !texture);
1328 internal.pitchB = !pitchPprovided ? pitchB(internal.width, border, internal.format, renderTarget) : pitchPprovided * internal.bytes;
1343 stencil.pitchB = pitchB(stencil.width, 0, stencil.format, renderTarget);
1708 int Surface::pitchB(int width, int border, Format format, bool target)
1786 return B > 0 ? pitchB(width, border, format, target) / B : 0;
1818 return pitchB(width, border, format, target) * ((height + 3) / 4); // Pitch computed per 4 rows
1827 return pitchB(width, border, format, target) * ((height + 4) / 5); // Pitch computed per 5 rows
1834 return pitchB(width, border, format, target) * ((height + 5) / 6); // Pitch computed per 6 rows
1839 return pitchB(width, border, format, target) * ((height + 7) / 8); // Pitch computed per 8 rows
1844 return pitchB(width, border, format, target) * ((height + 9) / 10); // Pitch computed per 10 rows
1847 return pitchB(width, border, format, target) * ((height + 11) / 12); // Pitch computed per 12 rows
1851 return pitchB(width, border, format, target) * height; // Pitch computed per row
1964 sourceRow += source.pitchB;
1965 destinationRow += destination.pitchB;
2007 sourceRow += source.pitchB;
2008 destinationRow += destination.pitchB;
2052 sourceRow += source.pitchB;
2053 destinationRow += destination.pitchB;
2098 sourceRow += source.pitchB;
2099 destinationRow += destination.pitchB;
2143 sourceRow += source.pitchB;
2144 destinationRow += destination.pitchB;
2189 sourceRow += source.pitchB;
2190 destinationRow += destination.pitchB;
2235 sourceRow += source.pitchB;
2236 destinationRow += destination.pitchB;
2577 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,
2599 byte *srcRow = src + y * internal.pitchB;
2618 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,
2627 byte* srcRow = src + y * internal.pitchB;
3580 row += buffer->pitchB;
3596 row += buffer->pitchB;
3762 external.pitchB == internal.pitchB &&
4038 int pitch = internal.pitchB;