Searched refs:bytesPerRow (Results 1 - 25 of 47) sorted by relevance

12

/macosx-10.10/WebCore-7600.1.25/platform/graphics/win/
H A DDIBPixelData.h61 unsigned bytesPerRow() const { return m_bytesPerRow; } function in class:WebCore::DIBPixelData
H A DGraphicsContextCairoWin.cpp110 pixelData.bytesPerRow());
150 setRGBABitmapAlpha(bytes, pixelData.size().height() * pixelData.bytesPerRow(), 255);
H A DGraphicsContextCGWin.cpp58 pixelData.bytesPerRow(), deviceRGBColorSpaceRef(), bitmapInfo);
110 pixelData.bytesPerRow(), deviceRGBColorSpaceRef(), kCGBitmapByteOrder32Little |
128 RetainPtr<CGImageRef> cgImage = adoptCF(CGImageCreate(image->size().width(), image->size().height(), 8, 32, image->bytesPerRow(), deviceRGBColorSpaceRef(),
/macosx-10.10/WebCore-7600.1.25/platform/image-encoders/
H A DPNGImageEncoder.cpp116 unsigned bytesPerRow = size.width() * 4; local
119 rgbaBigEndianData += bytesPerRow;
/macosx-10.10/WebKit-7600.1.25/mac/Carbon/
H A DCarbonUtils.m34 extern CGImageRef _NSCreateImageRef( unsigned char *const bitmapData[5], int pixelsWide, int pixelsHigh, int bitsPerSample, int samplesPerPixel, int bitsPerPixel, int bytesPerRow, BOOL isPlanar, BOOL hasAlpha, NSString *colorSpaceName, CGColorSpaceRef customColorSpace, id sourceObj);
125 [rep bytesPerRow], [rep isPlanar], [rep hasAlpha], [rep colorSpaceName],
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Quartz/Examples/Programming with Quartz/BasicDrawing/
H A DImages.py88 bytesPerRow = (width * bitsPerPixel + 7)/8
109 bitsPerPixel, bytesPerRow, colorspace,
131 bytesPerRow = width * 3
141 bitsPerPixel, bytesPerRow, colorspace, kCGImageAlphaNone,
162 bytesPerRow = ((width * bitsPerPixel) + 7)/8
179 bitsPerPixel, bytesPerRow, colorspace,
197 bytesPerRow = width
207 bytesPerRow, colorspace, kCGImageAlphaNone, dataProvider,
658 bytesPerRow = width*bytesPerSample
661 imageDataSize = bytesPerRow*heigh
[all...]
H A DBitmapContext.py29 # pixel alignment, the bytesPerRow is rounded up to the nearest multiple
33 bytesPerRow = width*4;
35 bytesPerRow = COMPUTE_BEST_BYTES_PER_ROW(bytesPerRow);
37 # Allocate the data for the raster. The total amount of data is bytesPerRow
41 rasterData = objc.allocateBuffer(int(bytesPerRow * height))
59 context = CGBitmapContextCreate(rasterData, width, height, 8, bytesPerRow,
347 bytesPerRow = width;
349 bytesPerRow = COMPUTE_BEST_BYTES_PER_ROW(bytesPerRow);
[all...]
H A DImageMasking.py14 bytesPerRow = ((imagewidth * imageBitsPerPixel) + 7)/8
23 imageBitsPerPixel, bytesPerRow, colorspace,
239 bytesPerRow = 12
241 imageDataSize = bytesPerRow*height
269 bitsPerPixel, bytesPerRow, dataProvider,
274 bitsPerComponent, bitsPerPixel, bytesPerRow,
295 bitsPerPixel, bytesPerRow, dataProvider,
300 bitsPerComponent, bitsPerPixel, bytesPerRow,
381 bytesPerRow = ((imagewidth * imageBitsPerPixel) + 7)/8
390 imageBitsPerPixel, bytesPerRow, colorspac
[all...]
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Quartz/Examples/Programming with Quartz/BasicDrawing/
H A DImages.py88 bytesPerRow = (width * bitsPerPixel + 7)/8
109 bitsPerPixel, bytesPerRow, colorspace,
131 bytesPerRow = width * 3
141 bitsPerPixel, bytesPerRow, colorspace, kCGImageAlphaNone,
162 bytesPerRow = ((width * bitsPerPixel) + 7)/8
179 bitsPerPixel, bytesPerRow, colorspace,
197 bytesPerRow = width
207 bytesPerRow, colorspace, kCGImageAlphaNone, dataProvider,
658 bytesPerRow = width*bytesPerSample
661 imageDataSize = bytesPerRow*heigh
[all...]
H A DBitmapContext.py29 # pixel alignment, the bytesPerRow is rounded up to the nearest multiple
33 bytesPerRow = width*4;
35 bytesPerRow = COMPUTE_BEST_BYTES_PER_ROW(bytesPerRow);
37 # Allocate the data for the raster. The total amount of data is bytesPerRow
41 rasterData = objc.allocateBuffer(int(bytesPerRow * height))
59 context = CGBitmapContextCreate(rasterData, width, height, 8, bytesPerRow,
347 bytesPerRow = width;
349 bytesPerRow = COMPUTE_BEST_BYTES_PER_ROW(bytesPerRow);
[all...]
H A DImageMasking.py14 bytesPerRow = ((imagewidth * imageBitsPerPixel) + 7)/8
23 imageBitsPerPixel, bytesPerRow, colorspace,
239 bytesPerRow = 12
241 imageDataSize = bytesPerRow*height
269 bitsPerPixel, bytesPerRow, dataProvider,
274 bitsPerComponent, bitsPerPixel, bytesPerRow,
295 bitsPerPixel, bytesPerRow, dataProvider,
300 bitsPerComponent, bitsPerPixel, bytesPerRow,
381 bytesPerRow = ((imagewidth * imageBitsPerPixel) + 7)/8
390 imageBitsPerPixel, bytesPerRow, colorspac
[all...]
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Quartz-2.5.1/Examples/Programming with Quartz/BasicDrawing/
H A DImages.py88 bytesPerRow = (width * bitsPerPixel + 7)/8
109 bitsPerPixel, bytesPerRow, colorspace,
131 bytesPerRow = width * 3
141 bitsPerPixel, bytesPerRow, colorspace, kCGImageAlphaNone,
162 bytesPerRow = ((width * bitsPerPixel) + 7)/8
179 bitsPerPixel, bytesPerRow, colorspace,
197 bytesPerRow = width
207 bytesPerRow, colorspace, kCGImageAlphaNone, dataProvider,
658 bytesPerRow = width*bytesPerSample
661 imageDataSize = bytesPerRow*heigh
[all...]
H A DBitmapContext.py29 # pixel alignment, the bytesPerRow is rounded up to the nearest multiple
33 bytesPerRow = width*4;
35 bytesPerRow = COMPUTE_BEST_BYTES_PER_ROW(bytesPerRow);
37 # Allocate the data for the raster. The total amount of data is bytesPerRow
41 rasterData = objc.allocateBuffer(int(bytesPerRow * height))
59 context = CGBitmapContextCreate(rasterData, width, height, 8, bytesPerRow,
347 bytesPerRow = width;
349 bytesPerRow = COMPUTE_BEST_BYTES_PER_ROW(bytesPerRow);
[all...]
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Quartz/Modules/
H A D_CVPixelBuffer.m45 size_t bytesPerRow;
80 if (PyObjC_PythonToObjC(@encode(size_t), py_bytesPerRow, &bytesPerRow) < 0) {
111 bytesPerRow,
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Quartz/Modules/
H A D_CVPixelBuffer.m46 size_t bytesPerRow;
81 if (PyObjC_PythonToObjC(@encode(size_t), py_bytesPerRow, &bytesPerRow) < 0) {
112 bytesPerRow,
H A D_coregraphics.m271 size_t bytesPerRow;
288 if (PyObjC_PythonToObjC(@encode(size_t), py_bytesPerRow, &bytesPerRow) == -1) {
316 ctx = CGBitmapContextCreate(data, width, height, bitsPerComponent, bytesPerRow, colorSpace, bitmapInfo);
380 size_t bytesPerRow;
401 if (PyObjC_PythonToObjC(@encode(size_t), py_bytesPerRow, &bytesPerRow) == -1) {
440 ctx = CGBitmapContextCreateWithData(data, width, height, bitsPerComponent, bytesPerRow, colorSpace, bitmapInfo, m_releasecallback, releaseInfo);
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Quartz-2.5.1/Modules/
H A D_CVPixelBuffer.m46 size_t bytesPerRow;
81 if (PyObjC_PythonToObjC(@encode(size_t), py_bytesPerRow, &bytesPerRow) < 0) {
112 bytesPerRow,
H A D_coregraphics.m22 void *data, size_t width, size_t height, size_t bitsPerComponent, size_t bytesPerRow,
294 size_t bytesPerRow;
311 if (PyObjC_PythonToObjC(@encode(size_t), py_bytesPerRow, &bytesPerRow) == -1) {
339 ctx = CGBitmapContextCreate(data, width, height, bitsPerComponent, bytesPerRow, colorSpace, bitmapInfo);
403 size_t bytesPerRow;
424 if (PyObjC_PythonToObjC(@encode(size_t), py_bytesPerRow, &bytesPerRow) == -1) {
463 ctx = ptr_CGBitmapContextCreateWithData(data, width, height, bitsPerComponent, bytesPerRow, colorSpace, bitmapInfo, m_releasecallback, releaseInfo);
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Quartz/Examples/Core Graphics/Quartz2DBasics/
H A DAppDrawing.py7 # For best performance make bytesPerRow a multiple of 16 bytes.
231 bytesPerRow = width* bitsPerComponent/8 * numComps
239 bytesPerRow = COMPUTE_BEST_BYTES_PER_ROW(bytesPerRow)
242 data = array.array('c', '\0' * bytesPerRow * height)
247 data, width, height, bitsPerComponent, bytesPerRow,
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Quartz/Examples/Core Graphics/Quartz2DBasics/
H A DAppDrawing.py7 # For best performance make bytesPerRow a multiple of 16 bytes.
231 bytesPerRow = width* bitsPerComponent/8 * numComps
239 bytesPerRow = COMPUTE_BEST_BYTES_PER_ROW(bytesPerRow)
242 data = array.array('c', '\0' * bytesPerRow * height)
247 data, width, height, bitsPerComponent, bytesPerRow,
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Quartz-2.5.1/Examples/Core Graphics/Quartz2DBasics/
H A DAppDrawing.py7 # For best performance make bytesPerRow a multiple of 16 bytes.
231 bytesPerRow = width* bitsPerComponent/8 * numComps
239 bytesPerRow = COMPUTE_BEST_BYTES_PER_ROW(bytesPerRow)
242 data = array.array('c', '\0' * bytesPerRow * height)
247 data, width, height, bitsPerComponent, bytesPerRow,
/macosx-10.10/WebCore-7600.1.25/platform/graphics/cocoa/
H A DIOSurface.mm98 size_t bytesPerRow = IOSurfaceAlignProperty(kIOSurfaceBytesPerRow, width * bytesPerElement);
99 ASSERT(bytesPerRow);
101 m_totalBytes = IOSurfaceAlignProperty(kIOSurfaceAllocSize, height * bytesPerRow);
109 (id)kIOSurfaceBytesPerRow: @(bytesPerRow),
/macosx-10.10/IOGraphics-485/IOGraphicsFamily/
H A DIOBootFramebuffer.cpp144 info->bytesPerRow = bootDisplay.v_rowBytes & 0x7fff;
210 bytes = (info.bytesPerRow * info.activeHeight) + 128;
/macosx-10.10/WebCore-7600.1.25/platform/graphics/cairo/
H A DGraphicsContext3DCairo.cpp231 size_t bytesPerRow = cairo_image_surface_get_stride(m_imageSurface.get()); local
233 unsigned padding = bytesPerRow - bitsPerPixel / 8 * m_imageWidth;
236 while (bytesPerRow % srcUnpackAlignment)
/macosx-10.10/WebCore-7600.1.25/platform/graphics/efl/
H A DGraphicsContext3DEfl.cpp291 size_t bytesPerRow = cairo_image_surface_get_stride(m_imageSurface.get()); local
293 unsigned padding = bytesPerRow - bitsPerPixel / 8 * m_imageWidth;
297 while (bytesPerRow % srcUnpackAlignment)

Completed in 173 milliseconds

12