Lines Matching refs:stride
270 (dst.stride == src.stride) &&
273 (dst.stride > 0) &&
279 const size_t size = src.height * src.stride * pixelFormat.size;
365 // figure out the size we need as well as the stride
370 const int32_t stride = bpr / pixelFormat.size;
376 width, height, stride, formatIdx, compressedFormat, bpr);
387 width, height, stride, formatIdx, compressedFormat, bpr);
441 void *surface, int stride, int format)
487 uint8_t* p = (uint8_t*)surface + y*stride*2;
511 uint8_t* p = (uint8_t*)surface + y*stride*3;
538 uint8_t* p = (uint8_t*)surface + y*stride*4;
1125 width, height, 3, surface->stride*3) != 0) {
1150 surface->data, surface->stride, internalformat);
1191 const int32_t stride = bpr / pixelFormat.size;
1197 userSurface.stride = stride;
1264 // figure out the size we need as well as the stride
1274 const int32_t stride = bpr / pixelFormat.size;
1279 userSurface.stride = stride;
1381 txSurface.stride = -txSurface.stride;
1441 txSurface.stride = -txSurface.stride;
1511 const int32_t stride = bpr / pixelFormat.size;
1517 userSurface.stride = -stride; // bottom row is transfered first