Lines Matching refs:bytesPerRow
64 unsigned long bytesPerRow = IOSurfaceAlignProperty(kIOSurfaceBytesPerRow, size.width() * bytesPerElement);
65 if (!bytesPerRow)
68 unsigned long allocSize = IOSurfaceAlignProperty(kIOSurfaceAllocSize, size.height() * bytesPerRow);
83 values[4] = CFNumberCreate(0, kCFNumberLongType, &bytesPerRow);
115 unsigned bytesPerRow = size.width();
116 if (bytesPerRow > 0x3FFFFFFF) // Protect against overflow
118 bytesPerRow *= 4;
119 m_data.m_bytesPerRow = bytesPerRow;
120 size_t dataSize = size.height() * bytesPerRow;
136 if (!tryFastCalloc(size.height(), bytesPerRow).getValue(m_data.m_data))
141 cgContext.adoptCF(CGBitmapContextCreate(m_data.m_data, size.width(), size.height(), 8, bytesPerRow, m_data.m_colorSpace, m_data.m_bitmapInfo));