Home | History | Annotate | Download | only in libpng

Lines Matching refs:png

2 /* pngrutil.c - utilities to read a PNG file
11 * and license in png.h
27 png_error(png_ptr, "PNG unsigned integer out of range");
50 png_warning(png_ptr, "PNG fixed point integer out of range");
80 * data is stored in the PNG file in two's complement format and there
94 /* The following has to be safe; this function only gets called on PNG data
96 * if not then an attacker would surely just generate a PNG with 0 instead.
119 /* Read and check the PNG file signature */
144 png_error(png_ptr, "Not a PNG file");
146 png_error(png_ptr, "PNG file corrupted by ASCII conversion");
244 /* Compare the CRC stored in the PNG file with that calculated by libpng from
362 * of the PNG may have selected a lower window size, and we really must
939 png_chunk_benign_error(png_ptr, "ignored in grayscale PNG");
1055 * palette PNG. 1.6.0 attempts to rigorously follow the standard and
2151 /* Read the pCAL chunk (described in the PNG Extensions document) */
3070 * least one row has been read from the PNG data and transformed.
3181 * within each byte, to match the PNG format. This is done by XOR of
3208 * combination. The 's' parameter says whether the format is PNG
3226 /* Normal (big-endian byte) masks - PNG format */
3237 /* Normal (big-endian byte) masks - PNG format */
3241 # define MASK(pass,depth,display,png)\
3242 ((display)?display_mask[png][DEPTH_INDEX(depth)][pass>>1]:\
3243 row_mask[png][DEPTH_INDEX(depth)][pass])
3249 # define MASK(pass,depth,display,png)\
3250 ((display)?B_MASK(pass,depth,png):S_MASK(pass,depth,png))
3943 /* This function is called once for every PNG image (except for PNG images
3945 * implementations required to reverse the filtering of PNG rows. Reversing
4034 /* A PNG with a gradually increasing IDAT size will defeat this attempt