Lines Matching defs:raster
164 uint32_t* raster;
198 stride = (uint64_t)image_width * sizeof(*raster);
210 // 4byte/px with sizeof(*raster), to be conservative.
216 (uint64_t)tile_width * sizeof(*raster), tile_height)) {
233 raster = (uint32*)_TIFFmalloc((tsize_t)alloc_size);
234 if (raster != NULL) {
235 if (TIFFReadRGBAImageOriented(tif, image_width, image_height, raster,
241 TIFFSwabArrayOfLong(raster, image_width * image_height);
247 uint8_t* tmp = (uint8_t*)raster;
254 ? WebPPictureImportRGBA(pic, (const uint8_t*)raster, (int)stride)
255 : WebPPictureImportRGBX(pic, (const uint8_t*)raster, (int)stride);
257 _TIFFfree(raster);