BASE_frameSize static method
Implementation
static int BASE_frameSize(int width, int height, PixelFormat format) {
if (width == 0 || height == 0) return 0;
return width * height * BASE_bytesPerPixel(format);
}
static int BASE_frameSize(int width, int height, PixelFormat format) {
if (width == 0 || height == 0) return 0;
return width * height * BASE_bytesPerPixel(format);
}