Home | History | Annotate | Download | only in mandelbrot

Lines Matching refs:buffer

21     std::cout << "reallocate buffer" << std::endl;
23 if(buffer) delete[]buffer;
24 buffer = new unsigned char[4*size];
39 unsigned char *const buffer = widget->buffer;
98 buffer[4*(pix+i)] = 255*pix_iter[i]/max_iter;
99 buffer[4*(pix+i)+1] = 0;
100 buffer[4*(pix+i)+2] = 0;
106 buffer[4*pix] = buffer[4*pix+1] = buffer[4*pix+2] = 0;
161 QImage image(buffer, width()/draft, height()/draft, QImage::Format_RGB32);