Lines Matching refs:pitchB
48 …byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB + z * samples * slice… in write()
62 byte *element = (byte*)buffer + (x + border) * bytes + (y + border) * pitchB; in write()
250 …void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB + z * sample… in read()
260 void *element = (unsigned char*)buffer + (x + border) * bytes + (y + border) * pitchB; in read()
685 return (unsigned char*)buffer + 8 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect()
692 return (unsigned char*)buffer + 16 * (x / 4) + (y / 4) * pitchB + z * sliceB; in lockRect()
695 return (unsigned char*)buffer + 16 * (x / 5) + (y / 4) * pitchB + z * sliceB; in lockRect()
698 return (unsigned char*)buffer + 16 * (x / 5) + (y / 5) * pitchB + z * sliceB; in lockRect()
701 return (unsigned char*)buffer + 16 * (x / 6) + (y / 5) * pitchB + z * sliceB; in lockRect()
704 return (unsigned char*)buffer + 16 * (x / 6) + (y / 6) * pitchB + z * sliceB; in lockRect()
707 return (unsigned char*)buffer + 16 * (x / 8) + (y / 5) * pitchB + z * sliceB; in lockRect()
710 return (unsigned char*)buffer + 16 * (x / 8) + (y / 6) * pitchB + z * sliceB; in lockRect()
713 return (unsigned char*)buffer + 16 * (x / 8) + (y / 8) * pitchB + z * sliceB; in lockRect()
716 return (unsigned char*)buffer + 16 * (x / 10) + (y / 5) * pitchB + z * sliceB; in lockRect()
719 return (unsigned char*)buffer + 16 * (x / 10) + (y / 6) * pitchB + z * sliceB; in lockRect()
722 return (unsigned char*)buffer + 16 * (x / 10) + (y / 8) * pitchB + z * sliceB; in lockRect()
725 return (unsigned char*)buffer + 16 * (x / 10) + (y / 10) * pitchB + z * sliceB; in lockRect()
728 return (unsigned char*)buffer + 16 * (x / 12) + (y / 10) * pitchB + z * sliceB; in lockRect()
731 return (unsigned char*)buffer + 16 * (x / 12) + (y / 12) * pitchB + z * sliceB; in lockRect()
733 return (unsigned char*)buffer + x * bytes + y * pitchB + z * samples * sliceB; in lockRect()
789 external.pitchB = pitch; in Surface()
804 internal.pitchB = pitchB(internal.width, 0, internal.format, false); in Surface()
819 stencil.pitchB = pitchB(stencil.width, 0, stencil.format, false); in Surface()
845 …external.pitchB = !pitchPprovided ? pitchB(external.width, 0, external.format, renderTarget && !te… in Surface()
860 …internal.pitchB = !pitchPprovided ? pitchB(internal.width, border, internal.format, renderTarget) … in Surface()
875 stencil.pitchB = pitchB(stencil.width, 0, stencil.format, renderTarget); in Surface()
1288 int Surface::pitchB(int width, int border, VkFormat format, bool target) in pitchB() function in sw::Surface
1356 return B > 0 ? pitchB(width, border, format, target) / B : 0; in pitchP()
1385 return pitchB(width, border, format, target) * ((height + 3) / 4); // Pitch computed per 4 rows in sliceB()
1394 return pitchB(width, border, format, target) * ((height + 4) / 5); // Pitch computed per 5 rows in sliceB()
1401 return pitchB(width, border, format, target) * ((height + 5) / 6); // Pitch computed per 6 rows in sliceB()
1406 return pitchB(width, border, format, target) * ((height + 7) / 8); // Pitch computed per 8 rows in sliceB()
1411 …return pitchB(width, border, format, target) * ((height + 9) / 10); // Pitch computed per 10 rows in sliceB()
1414 …return pitchB(width, border, format, target) * ((height + 11) / 12); // Pitch computed per 12 ro… in sliceB()
1416 return pitchB(width, border, format, target) * height; // Pitch computed per row in sliceB()
1517 sourceRow += source.pitchB; in genericUpdate()
1518 destinationRow += destination.pitchB; in genericUpdate()
1859 … external.width, external.height, internal.width, internal.height, internal.pitchB, internal.bytes, in decodeETC2()
1881 byte *srcRow = src + y * internal.pitchB; in decodeETC2()
1900 … external.width, external.height, internal.width, internal.height, internal.pitchB, internal.bytes, in decodeEAC()
1909 byte* srcRow = src + y * internal.pitchB; in decodeEAC()
2957 row += buffer->pitchB; in fill()
2973 row += buffer->pitchB; in fill()
3134 external.pitchB == internal.pitchB && in identicalBuffers()
3342 int pitch = internal.pitchB; in resolve()