Lines Matching defs:up
108 png_unknown_chunk *up;
112 for (up = info_ptr->unknown_chunks;
113 up < info_ptr->unknown_chunks + info_ptr->unknown_chunks_num;
114 up++)
116 int keep = png_handle_as_unknown(png_ptr, up->name);
118 up->location && !(up->location & PNG_HAVE_PLTE) &&
119 !(up->location & PNG_HAVE_IDAT) &&
120 ((up->name[3] & 0x20) || keep == PNG_HANDLE_CHUNK_ALWAYS ||
123 if (up->size == 0)
125 png_write_chunk(png_ptr, up->name, up->data, up->size);
286 png_unknown_chunk *up;
290 for (up = info_ptr->unknown_chunks;
291 up < info_ptr->unknown_chunks + info_ptr->unknown_chunks_num;
292 up++)
294 int keep = png_handle_as_unknown(png_ptr, up->name);
296 up->location && (up->location & PNG_HAVE_PLTE) &&
297 !(up->location & PNG_HAVE_IDAT) &&
298 !(up->location & PNG_AFTER_IDAT) &&
299 ((up->name[3] & 0x20) || keep == PNG_HANDLE_CHUNK_ALWAYS ||
302 png_write_chunk(png_ptr, up->name, up->data, up->size);
390 png_unknown_chunk *up;
394 for (up = info_ptr->unknown_chunks;
395 up < info_ptr->unknown_chunks + info_ptr->unknown_chunks_num;
396 up++)
398 int keep = png_handle_as_unknown(png_ptr, up->name);
400 up->location && (up->location & PNG_AFTER_IDAT) &&
401 ((up->name[3] & 0x20) || keep == PNG_HANDLE_CHUNK_ALWAYS ||
404 png_write_chunk(png_ptr, up->name, up->data, up->size);
585 /* Applications that neglect to set up their own setjmp() and then
903 /* Set up row info for transformations */
1240 png_warning(png_ptr, "Can't add Up filter after starting");
1528 /* Shift the pixels up to a legal bit depth and fill in