Home | History | Annotate | Download | only in highgui

Lines Matching refs:buffer

168     uchar* buffer = 0;
191 buffer = new uchar[tile_height0*tile_width0*4];
208 ok = TIFFReadRGBAStrip( tif, y, (uint32*)buffer );
210 ok = TIFFReadRGBATile( tif, x, y, (uint32*)buffer );
217 icvCvt_BGRA2BGR_8u_C4C3R( buffer + i*tile_width*4, 0,
221 icvCvt_BGRA2Gray_8u_C4C1R( buffer + i*tile_width*4, 0,
234 delete[] buffer;
562 uchar buffer[buffer_size];
565 uchar* src = buffer;
655 if( src != buffer ) delete[] src;
707 uchar* buffer = new uchar[fileStep + 32];
730 icvCvt_BGR2RGB_8u_C3R( data, 0, buffer, 0, cvSize(width,1) );
732 icvCvt_BGRA2RGBA_8u_C4R( data, 0, buffer, 0, cvSize(width,1) );
734 m_strm.PutBytes( channels > 1 ? buffer : data, fileStep );
809 buffer[0] = (uchar)directoryOffset;
810 buffer[1] = (uchar)(directoryOffset >> 8);
811 buffer[2] = (uchar)(directoryOffset >> 16);
812 buffer[3] = (uchar)(directoryOffset >> 24);
815 fwrite( buffer, 1, 4, f );
820 delete[] buffer;