Home | History | Annotate | Download | only in highgui

Lines Matching refs:bpp

127     int bpp; // Bytes per pixel
146 bpp = 1;
152 bpp = 4; /* CG only has 8 and 32 bit color spaces, so we waste a byte */
158 bitmap = (uchar*)malloc( bpp * m_height * m_width );
169 bpp * m_width, /* bytes per row */
213 bitmapIndex += bpp;
282 int bpp = (_channels == 1) ? 1 : 4;
289 if( bpp == 1 )
291 else if( bpp == 4 )
296 bitmapData = (uchar*)malloc( bpp * height * width );
307 bpp * width,
309 (bpp == 1) ? kCGImageAlphaNone :
319 if (bpp == 4)
338 bitmapIndex += bpp;
342 else if (bpp == 1)