Home
last modified time | relevance | path

Searched refs:rowPtrs (Results 1 – 3 of 3) sorted by relevance

/haiku/src/tools/
H A Dgenerate_boot_screen.cpp145 read_png(const char* filename, int& width, int& height, png_bytep*& rowPtrs, in read_png() argument
204 rowPtrs = (png_bytep*)malloc(sizeof(png_bytep) * height); in read_png()
206 rowPtrs[y] = (png_byte*)malloc(png_get_rowbytes(pngPtr, infoPtr)); in read_png()
208 png_read_image(pngPtr, rowPtrs); in read_png()
213 write_24bit_image(const char* baseName, int width, int height, png_bytep* rowPtrs) in write_24bit_image() argument
225 zlib.Compress(rowPtrs[y], width * 3); in write_24bit_image()
235 write_8bit_image(const char* baseName, int width, int height, unsigned char** rowPtrs) in write_8bit_image() argument
247 zlib.Compress(rowPtrs[y], width); in write_8bit_image()
/haiku/src/kits/shared/
H A DColorQuantizer.cpp82 BColorQuantizer::ProcessImage(const uint8* const * rowPtrs, int width, in ProcessImage() argument
87 uint8 b = rowPtrs[y][x]; in ProcessImage()
88 uint8 g = rowPtrs[y][x + 1]; in ProcessImage()
89 uint8 r = rowPtrs[y][x + 2]; in ProcessImage()
/haiku/headers/private/shared/
H A DColorQuantizer.h49 bool ProcessImage(const uint8* const * rowPtrs, int width,