Lines Matching refs:bytesPerRow
393 function readPixels(source, srcX, srcY, imageInfo, destMallocObj, bytesPerRow) { argument
394 if (!bytesPerRow) {
395 bytesPerRow = 4 * imageInfo['width'];
397 bytesPerRow *= 2;
400 bytesPerRow *= 4;
403 var pBytes = bytesPerRow * imageInfo.height;
411 if (!source._readPixels(imageInfo, pPtr, bytesPerRow, srcX, srcY)) {
446 bytesPerRow) { argument
447 return readPixels(this, srcX, srcY, imageInfo, destMallocObj, bytesPerRow);
803 bytesPerRow) { argument
805 return readPixels(this, srcX, srcY, imageInfo, destMallocObj, bytesPerRow);
1216 CanvasKit.MakeImage = function(info, pixels, bytesPerRow) { argument
1220 return CanvasKit._MakeImage(info, pptr, pixels.length, bytesPerRow);