/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_transform.cpp | 41 inline void Transform(int x, int y, int& x1, int& y1, int&res_x, int&res_y) in Transform() argument 45 res_x = x1 % base; in Transform() 47 if (res_x < 0 && res_x > -base) { in Transform() 48 res_x = base + res_x; in Transform() 50 if (res_y < 0 && res_x > -base) { in Transform() 260 int src_col_l, int src_col_r, int res_x, int res_y, in _bilinear_interpol() argument 263 int i_resx = 255 - res_x; in _bilinear_interpol() 272 FX_BYTE r_pos_0 = (*src_pos0 * i_resx + *src_pos1 * res_x) >> 8; in _bilinear_interpol() 273 FX_BYTE r_pos_1 = (*src_pos2 * i_resx + *src_pos3 * res_x) >> 8; in _bilinear_interpol() 276 …ic_interpol(FX_LPCBYTE buf, int pitch, int pos_pixel[], int u_w[], int v_w[], int res_x, int res_y, in _bicubic_interpol() argument [all …]
|
/external/pdfium/samples/fx_lpng/lpng_v163/ |
D | fx_pngget.c | 391 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs_dpi() argument 399 if (res_x != NULL) in png_get_pHYs_dpi() 401 *res_x = info_ptr->x_pixels_per_unit; in png_get_pHYs_dpi() 418 if (res_x != NULL) *res_x = (png_uint_32)(*res_x * .0254 + .50); in png_get_pHYs_dpi() 907 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs() argument 916 if (res_x != NULL) in png_get_pHYs() 918 *res_x = info_ptr->x_pixels_per_unit; in png_get_pHYs()
|
D | fx_pngset.c | 486 png_uint_32 res_x, png_uint_32 res_y, int unit_type) in png_set_pHYs() argument 493 info_ptr->x_pixels_per_unit = res_x; in png_set_pHYs()
|
D | png.h | 2497 png_const_inforp info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, 2503 png_inforp info_ptr, png_uint_32 res_x, png_uint_32 res_y, int unit_type)); 2844 png_const_inforp info_ptr, png_uint_32 *res_x, png_uint_32 *res_y,
|
D | fx_pngrutil.c | 2002 png_uint_32 res_x, res_y; in png_handle_pHYs() local 2036 res_x = png_get_uint_32(buf); in png_handle_pHYs() 2039 png_set_pHYs(png_ptr, info_ptr, res_x, res_y, unit_type); in png_handle_pHYs()
|
/external/libpng/ |
D | pngget.c | 392 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs_dpi() argument 400 if (res_x != NULL) in png_get_pHYs_dpi() 402 *res_x = info_ptr->x_pixels_per_unit; in png_get_pHYs_dpi() 419 if (res_x != NULL) *res_x = (png_uint_32)(*res_x * .0254 + .50); in png_get_pHYs_dpi() 908 png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type) in png_get_pHYs() argument 917 if (res_x != NULL) in png_get_pHYs() 919 *res_x = info_ptr->x_pixels_per_unit; in png_get_pHYs()
|
D | pngtest.c | 1202 png_uint_32 res_x, res_y; in test_one_file() local 1205 if (png_get_pHYs(read_ptr, read_info_ptr, &res_x, &res_y, &unit_type)) in test_one_file() 1206 png_set_pHYs(write_ptr, write_info_ptr, res_x, res_y, unit_type); in test_one_file()
|
D | png.h | 2207 png_const_inforp info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, 2213 png_inforp info_ptr, png_uint_32 res_x, png_uint_32 res_y, int unit_type)); 2558 png_const_inforp info_ptr, png_uint_32 *res_x, png_uint_32 *res_y,
|
D | pngset.c | 487 png_uint_32 res_x, png_uint_32 res_y, int unit_type) in png_set_pHYs() argument 494 info_ptr->x_pixels_per_unit = res_x; in png_set_pHYs()
|
D | pngrutil.c | 2040 png_uint_32 res_x, res_y; in png_handle_pHYs() local 2074 res_x = png_get_uint_32(buf); in png_handle_pHYs() 2077 png_set_pHYs(png_ptr, info_ptr, res_x, res_y, unit_type); in png_handle_pHYs()
|
D | libpng-manual.txt | 1519 png_get_pHYs(png_ptr, info_ptr, &res_x, &res_y, 1522 res_x - pixels/unit physical resolution in 1579 res_x = png_get_x_pixels_per_meter(png_ptr, 1588 res_x = png_get_x_pixels_per_inch(png_ptr, 1601 the data is not present or if res_x is 0; 1602 res_x_and_y is 0 if res_x != res_y 3125 png_set_pHYs(png_ptr, info_ptr, res_x, res_y, 3128 res_x - pixels/unit physical resolution
|