Lines Matching refs:adam7
47 -C Code for PNG (file format chunks, adam7, PNG filters, color conversions, ...)
3894 /*shared values used by multiple Adam7 related functions*/
3902 Outputs various dimensions and positions in the image related to the Adam7 reduced images.
4086 this function unfilters a single image (e.g. without interlacing this is called once, with Adam7 seven times)
4114 in: Adam7 interlaced image, with no padding bits between scanlines, but between
4150 else /*bpp < 8: Adam7 with pixels < 8 bit is a bit trickier: with bit pointers*/
4179 to be removed (except at last scanline of (Adam7-reduced) image) before working with pure image buffers
4180 for the Adam7 code, the color convert code and the output to the user.
4183 also used to move bits after earlier such operations happened, e.g. in a sequence of reduced images from Adam7
4210 *) if no Adam7: 1) unfilter 2) remove padding bits (= posible extra bits per scanline if bpp < 8)
4211 *) if adam7: 1) 7x unfilter 2) 7x remove padding bits 3) Adam7_deinterlace
4227 else /*interlace_method is 1 (Adam7)*/
5475 out: the same pixels, but re-ordered according to PNG's Adam7 interlacing, with
5510 else /*bpp < 8: Adam7 with pixels < 8 bit is a bit trickier: with bit pointers*/
5541 *) if no Adam7: 1) add padding bits (= posible extra bits per scanline if bpp < 8) 2) filter
5542 *) if adam7: 1) Adam7_interlace 2) 7x add padding bits 3) 7x filter
5574 else /*interlace_method is 1 (Adam7)*/
5578 unsigned char* adam7;
5586 adam7 = (unsigned char*)lodepng_malloc(passstart[7]);
5587 if(!adam7 && passstart[7]) error = 83; /*alloc fail*/
5593 Adam7_interlace(adam7, in, w, h, bpp);
5600 addPaddingBits(padded, &adam7[passstart[i]],
5608 error = filter(&(*out)[filter_passstart[i]], &adam7[padded_passstart[i]],
5616 lodepng_free(adam7);