Searched defs:unit_type (Results 1 - 17 of 17) sorted by relevance

/external/honggfuzz/examples/libpng/
H A Dpersistent-png.c119 int bit_depth, color_type, interlace_method, compression_method, filter_method, unit_type, num_palette, num_text; local
127 ret = png_get_pHYs(png_ptr, info_ptr, &res_x, &res_y, &unit_type);
/external/pdfium/core/fxcodec/codec/
H A Dccodec_pngmodule.cpp58 int unit_type; local
59 png_get_pHYs(png_ptr, info_ptr, &res_x, &res_y, &unit_type);
60 switch (unit_type) {
/external/syslinux/com32/lib/libpng/
H A Dpngget.c333 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type)
351 if (unit_type != NULL)
353 *unit_type = (int)info_ptr->phys_unit_type;
355 if (*unit_type == 1)
618 png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type)
623 && offset_x != NULL && offset_y != NULL && unit_type != NULL)
627 *unit_type = (int)info_ptr->offset_unit_type;
698 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type)
719 if (unit_type != NULL)
721 *unit_type
332 png_get_pHYs_dpi(png_structp png_ptr, png_infop info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) argument
617 png_get_oFFs(png_structp png_ptr, png_infop info_ptr, png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type) argument
697 png_get_pHYs(png_structp png_ptr, png_infop info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) argument
[all...]
H A Dpngset.c274 png_int_32 offset_x, png_int_32 offset_y, int unit_type)
283 info_ptr->offset_unit_type = (png_byte)unit_type;
430 png_uint_32 res_x, png_uint_32 res_y, int unit_type)
439 info_ptr->phys_unit_type = (png_byte)unit_type;
273 png_set_oFFs(png_structp png_ptr, png_infop info_ptr, png_int_32 offset_x, png_int_32 offset_y, int unit_type) argument
429 png_set_pHYs(png_structp png_ptr, png_infop info_ptr, png_uint_32 res_x, png_uint_32 res_y, int unit_type) argument
H A Dpngrutil.c1568 int unit_type; local
1600 unit_type = buf[8];
1601 png_set_pHYs(png_ptr, info_ptr, res_x, res_y, unit_type);
1611 int unit_type; local
1643 unit_type = buf[8];
1644 png_set_oFFs(png_ptr, info_ptr, offset_x, offset_y, unit_type);
H A Dpngtest.c1016 int unit_type; local
1019 &unit_type))
1021 png_set_oFFs(write_ptr, write_info_ptr, offset_x, offset_y, unit_type);
1043 int unit_type; local
1045 if (png_get_pHYs(read_ptr, read_info_ptr, &res_x, &res_y, &unit_type))
1046 png_set_pHYs(write_ptr, write_info_ptr, res_x, res_y, unit_type);
H A Dpngwutil.c1542 int unit_type)
1551 if (unit_type >= PNG_OFFSET_LAST)
1556 buf[8] = (png_byte)unit_type;
1704 int unit_type)
1713 if (unit_type >= PNG_RESOLUTION_LAST)
1718 buf[8] = (png_byte)unit_type;
1541 png_write_oFFs(png_structp png_ptr, png_int_32 x_offset, png_int_32 y_offset, int unit_type) argument
1702 png_write_pHYs(png_structp png_ptr, png_uint_32 x_pixels_per_unit, png_uint_32 y_pixels_per_unit, int unit_type) argument
/external/libpng/
H A Dpngget.c422 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type)
443 if (unit_type != NULL)
445 *unit_type = (int)info_ptr->phys_unit_type;
448 if (*unit_type == 1)
870 png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type)
876 offset_x != NULL && offset_y != NULL && unit_type != NULL)
880 *unit_type = (int)info_ptr->offset_unit_type;
978 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type)
999 if (unit_type != NULL)
1001 *unit_type
421 png_get_pHYs_dpi(png_const_structrp png_ptr, png_const_inforp info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) argument
869 png_get_oFFs(png_const_structrp png_ptr, png_const_inforp info_ptr, png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type) argument
977 png_get_pHYs(png_const_structrp png_ptr, png_const_inforp info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) argument
[all...]
H A Dpngrutil.c2141 int unit_type; local
2176 unit_type = buf[8];
2177 png_set_pHYs(png_ptr, info_ptr, res_x, res_y, unit_type);
2187 int unit_type; local
2222 unit_type = buf[8];
2223 png_set_oFFs(png_ptr, info_ptr, offset_x, offset_y, unit_type);
H A Dpngset.c296 png_int_32 offset_x, png_int_32 offset_y, int unit_type)
305 info_ptr->offset_unit_type = (png_byte)unit_type;
557 png_uint_32 res_x, png_uint_32 res_y, int unit_type)
566 info_ptr->phys_unit_type = (png_byte)unit_type;
295 png_set_oFFs(png_const_structrp png_ptr, png_inforp info_ptr, png_int_32 offset_x, png_int_32 offset_y, int unit_type) argument
556 png_set_pHYs(png_const_structrp png_ptr, png_inforp info_ptr, png_uint_32 res_x, png_uint_32 res_y, int unit_type) argument
H A Dpngtest.c1229 int unit_type; local
1232 &unit_type) != 0)
1234 png_set_oFFs(write_ptr, write_info_ptr, offset_x, offset_y, unit_type);
1256 int unit_type; local
1259 &unit_type) != 0)
1260 png_set_pHYs(write_ptr, write_info_ptr, res_x, res_y, unit_type);
H A Dpngwutil.c1727 int unit_type)
1733 if (unit_type >= PNG_OFFSET_LAST)
1738 buf[8] = (png_byte)unit_type;
1843 int unit_type)
1849 if (unit_type >= PNG_RESOLUTION_LAST)
1854 buf[8] = (png_byte)unit_type;
1726 png_write_oFFs(png_structrp png_ptr, png_int_32 x_offset, png_int_32 y_offset, int unit_type) argument
1841 png_write_pHYs(png_structrp png_ptr, png_uint_32 x_pixels_per_unit, png_uint_32 y_pixels_per_unit, int unit_type) argument
/external/pdfium/third_party/libpng16/
H A Dpngget.c422 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type)
443 if (unit_type != NULL)
445 *unit_type = (int)info_ptr->phys_unit_type;
448 if (*unit_type == 1)
841 png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type)
847 offset_x != NULL && offset_y != NULL && unit_type != NULL)
851 *unit_type = (int)info_ptr->offset_unit_type;
949 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type)
970 if (unit_type != NULL)
972 *unit_type
421 png_get_pHYs_dpi(png_const_structrp png_ptr, png_const_inforp info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) argument
840 png_get_oFFs(png_const_structrp png_ptr, png_const_inforp info_ptr, png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type) argument
948 png_get_pHYs(png_const_structrp png_ptr, png_const_inforp info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) argument
[all...]
H A Dpngset.c249 png_int_32 offset_x, png_int_32 offset_y, int unit_type)
258 info_ptr->offset_unit_type = (png_byte)unit_type;
509 png_uint_32 res_x, png_uint_32 res_y, int unit_type)
518 info_ptr->phys_unit_type = (png_byte)unit_type;
248 png_set_oFFs(png_const_structrp png_ptr, png_inforp info_ptr, png_int_32 offset_x, png_int_32 offset_y, int unit_type) argument
508 png_set_pHYs(png_const_structrp png_ptr, png_inforp info_ptr, png_uint_32 res_x, png_uint_32 res_y, int unit_type) argument
H A Dpngrutil.c2064 int unit_type; local
2099 unit_type = buf[8];
2100 png_set_pHYs(png_ptr, info_ptr, res_x, res_y, unit_type);
2110 int unit_type; local
2145 unit_type = buf[8];
2146 png_set_oFFs(png_ptr, info_ptr, offset_x, offset_y, unit_type);
H A Dpngwutil.c1697 int unit_type)
1703 if (unit_type >= PNG_OFFSET_LAST)
1708 buf[8] = (png_byte)unit_type;
1813 int unit_type)
1819 if (unit_type >= PNG_RESOLUTION_LAST)
1824 buf[8] = (png_byte)unit_type;
1696 png_write_oFFs(png_structrp png_ptr, png_int_32 x_offset, png_int_32 y_offset, int unit_type) argument
1811 png_write_pHYs(png_structrp png_ptr, png_uint_32 x_pixels_per_unit, png_uint_32 y_pixels_per_unit, int unit_type) argument
/external/ImageMagick/coders/
H A Dpng.c1945 unit_type;
2698 unit_type=0;
2705 &unit_type);
2709 if (unit_type == PNG_RESOLUTION_METER)
2719 (double) x_resolution,(double) y_resolution,unit_type);
3898 (double) x_resolution,(double) y_resolution, unit_type);
10725 " unit_type=%lu",
1938 unit_type; local

Completed in 1930 milliseconds