/external/libpng/ |
D | pngwtran.c | 25 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) in png_do_pack() argument 29 if (row_info->bit_depth == 8 && in png_do_pack() 30 row_info->channels == 1) in png_do_pack() 39 png_uint_32 row_width = row_info->width; in png_do_pack() 77 png_uint_32 row_width = row_info->width; in png_do_pack() 117 png_uint_32 row_width = row_info->width; in png_do_pack() 155 row_info->bit_depth = (png_byte)bit_depth; in png_do_pack() 156 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); in png_do_pack() 157 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, in png_do_pack() 158 row_info->width); in png_do_pack() [all …]
|
D | pngtrans.c | 262 png_do_invert(png_row_infop row_info, png_bytep row) in png_do_invert() argument 269 if (row_info->color_type == PNG_COLOR_TYPE_GRAY) in png_do_invert() 273 png_size_t istop = row_info->rowbytes; in png_do_invert() 282 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_invert() 283 row_info->bit_depth == 8) in png_do_invert() 287 png_size_t istop = row_info->rowbytes; in png_do_invert() 297 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_invert() 298 row_info->bit_depth == 16) in png_do_invert() 302 png_size_t istop = row_info->rowbytes; in png_do_invert() 319 png_do_swap(png_row_infop row_info, png_bytep row) in png_do_swap() argument [all …]
|
D | pngrtran.c | 2141 png_do_unpack(png_row_infop row_info, png_bytep row) in png_do_unpack() argument 2145 if (row_info->bit_depth < 8) in png_do_unpack() 2148 png_uint_32 row_width=row_info->width; in png_do_unpack() 2150 switch (row_info->bit_depth) in png_do_unpack() 2225 row_info->bit_depth = 8; in png_do_unpack() 2226 row_info->pixel_depth = (png_byte)(8 * row_info->channels); in png_do_unpack() 2227 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack() 2239 png_do_unshift(png_row_infop row_info, png_bytep row, in png_do_unshift() argument 2247 color_type = row_info->color_type; in png_do_unshift() 2253 int bit_depth = row_info->bit_depth; in png_do_unshift() [all …]
|
D | pngpriv.h | 1274 PNG_INTERNAL_FUNCTION(void,png_do_read_interlace,(png_row_infop row_info, 1282 PNG_INTERNAL_FUNCTION(void,png_do_write_interlace,(png_row_infop row_info, 1290 row_info, png_bytep row, png_const_bytep prev_row, int filter),PNG_EMPTY); 1293 PNG_INTERNAL_FUNCTION(void,png_read_filter_row_up_neon,(png_row_infop row_info, 1296 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1298 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1300 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1302 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1304 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1306 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); [all …]
|
D | pngwrite.c | 634 png_do_write_intrapixel(png_row_infop row_info, png_bytep row) in png_do_write_intrapixel() argument 638 if ((row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_write_intrapixel() 641 png_uint_32 row_width = row_info->width; in png_do_write_intrapixel() 642 if (row_info->bit_depth == 8) in png_do_write_intrapixel() 647 if (row_info->color_type == PNG_COLOR_TYPE_RGB) in png_do_write_intrapixel() 650 else if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA) in png_do_write_intrapixel() 664 else if (row_info->bit_depth == 16) in png_do_write_intrapixel() 669 if (row_info->color_type == PNG_COLOR_TYPE_RGB) in png_do_write_intrapixel() 672 else if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA) in png_do_write_intrapixel() 701 png_row_info row_info; in png_write_row() local [all …]
|
D | pngpread.c | 742 png_row_info row_info; in png_push_process_row() local 744 row_info.width = png_ptr->iwidth; /* NOTE: width of current interlaced row */ in png_push_process_row() 745 row_info.color_type = png_ptr->color_type; in png_push_process_row() 746 row_info.bit_depth = png_ptr->bit_depth; in png_push_process_row() 747 row_info.channels = png_ptr->channels; in png_push_process_row() 748 row_info.pixel_depth = png_ptr->pixel_depth; in png_push_process_row() 749 row_info.rowbytes = PNG_ROWBYTES(row_info.pixel_depth, row_info.width); in png_push_process_row() 754 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_push_process_row() 765 memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_push_process_row() 769 png_do_read_transformations(png_ptr, &row_info); in png_push_process_row() [all …]
|
D | pngtest.c | 213 read_user_callback(png_structp png_ptr, png_row_infop row_info, png_bytep data) in read_user_callback() argument 216 PNG_UNUSED(row_info) in read_user_callback() 229 count_zero_samples(png_structp png_ptr, png_row_infop row_info, png_bytep data) in count_zero_samples() argument 246 if (row_info->color_type == 0 || row_info->color_type == 3) in count_zero_samples() 251 for (n = 0, nstop=row_info->width; n<nstop; n++) in count_zero_samples() 253 if (row_info->bit_depth == 1) in count_zero_samples() 265 if (row_info->bit_depth == 2) in count_zero_samples() 277 if (row_info->bit_depth == 4) in count_zero_samples() 289 if (row_info->bit_depth == 8) in count_zero_samples() 293 if (row_info->bit_depth == 16) in count_zero_samples() [all …]
|
D | pngrutil.c | 3664 png_do_read_interlace(png_row_infop row_info, png_bytep row, int pass, in png_do_read_interlace() argument 3672 if (row != NULL && row_info != NULL) in png_do_read_interlace() 3676 final_width = row_info->width * png_pass_inc[pass]; in png_do_read_interlace() 3678 switch (row_info->pixel_depth) in png_do_read_interlace() 3682 png_bytep sp = row + (png_size_t)((row_info->width - 1) >> 3); in png_do_read_interlace() 3695 sshift = ((row_info->width + 7) & 0x07); in png_do_read_interlace() 3705 sshift = 7 - ((row_info->width + 7) & 0x07); in png_do_read_interlace() 3712 for (i = 0; i < row_info->width; i++) in png_do_read_interlace() 3745 png_bytep sp = row + (png_uint_32)((row_info->width - 1) >> 2); in png_do_read_interlace() 3756 sshift = (((row_info->width + 3) & 0x03) << 1); in png_do_read_interlace() [all …]
|
/external/pdfium/third_party/libpng16/ |
D | pngwtran.c | 25 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) in png_do_pack() argument 29 if (row_info->bit_depth == 8 && in png_do_pack() 30 row_info->channels == 1) in png_do_pack() 39 png_uint_32 row_width = row_info->width; in png_do_pack() 77 png_uint_32 row_width = row_info->width; in png_do_pack() 117 png_uint_32 row_width = row_info->width; in png_do_pack() 155 row_info->bit_depth = (png_byte)bit_depth; in png_do_pack() 156 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); in png_do_pack() 157 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, in png_do_pack() 158 row_info->width); in png_do_pack() [all …]
|
D | pngtrans.c | 261 png_do_invert(png_row_infop row_info, png_bytep row) in png_do_invert() argument 268 if (row_info->color_type == PNG_COLOR_TYPE_GRAY) in png_do_invert() 272 png_size_t istop = row_info->rowbytes; in png_do_invert() 281 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_invert() 282 row_info->bit_depth == 8) in png_do_invert() 286 png_size_t istop = row_info->rowbytes; in png_do_invert() 296 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_invert() 297 row_info->bit_depth == 16) in png_do_invert() 301 png_size_t istop = row_info->rowbytes; in png_do_invert() 318 png_do_swap(png_row_infop row_info, png_bytep row) in png_do_swap() argument [all …]
|
D | pngrtran.c | 2138 png_do_unpack(png_row_infop row_info, png_bytep row) in png_do_unpack() argument 2142 if (row_info->bit_depth < 8) in png_do_unpack() 2145 png_uint_32 row_width=row_info->width; in png_do_unpack() 2147 switch (row_info->bit_depth) in png_do_unpack() 2222 row_info->bit_depth = 8; in png_do_unpack() 2223 row_info->pixel_depth = (png_byte)(8 * row_info->channels); in png_do_unpack() 2224 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack() 2236 png_do_unshift(png_row_infop row_info, png_bytep row, in png_do_unshift() argument 2244 color_type = row_info->color_type; in png_do_unshift() 2250 int bit_depth = row_info->bit_depth; in png_do_unshift() [all …]
|
D | pngwrite.c | 623 png_do_write_intrapixel(png_row_infop row_info, png_bytep row) in png_do_write_intrapixel() argument 627 if ((row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_write_intrapixel() 630 png_uint_32 row_width = row_info->width; in png_do_write_intrapixel() 631 if (row_info->bit_depth == 8) in png_do_write_intrapixel() 636 if (row_info->color_type == PNG_COLOR_TYPE_RGB) in png_do_write_intrapixel() 639 else if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA) in png_do_write_intrapixel() 653 else if (row_info->bit_depth == 16) in png_do_write_intrapixel() 658 if (row_info->color_type == PNG_COLOR_TYPE_RGB) in png_do_write_intrapixel() 661 else if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA) in png_do_write_intrapixel() 690 png_row_info row_info; in png_write_row() local [all …]
|
D | pngpriv.h | 1195 PNG_INTERNAL_FUNCTION(void,png_do_read_interlace,(png_row_infop row_info, 1203 PNG_INTERNAL_FUNCTION(void,png_do_write_interlace,(png_row_infop row_info, 1211 row_info, png_bytep row, png_const_bytep prev_row, int filter),PNG_EMPTY); 1213 PNG_INTERNAL_FUNCTION(void,png_read_filter_row_up_neon,(png_row_infop row_info, 1216 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1218 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1220 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1222 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1224 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1226 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); [all …]
|
D | pngpread.c | 733 png_row_info row_info; in png_push_process_row() local 735 row_info.width = png_ptr->iwidth; /* NOTE: width of current interlaced row */ in png_push_process_row() 736 row_info.color_type = png_ptr->color_type; in png_push_process_row() 737 row_info.bit_depth = png_ptr->bit_depth; in png_push_process_row() 738 row_info.channels = png_ptr->channels; in png_push_process_row() 739 row_info.pixel_depth = png_ptr->pixel_depth; in png_push_process_row() 740 row_info.rowbytes = PNG_ROWBYTES(row_info.pixel_depth, row_info.width); in png_push_process_row() 745 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_push_process_row() 756 memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_push_process_row() 760 png_do_read_transformations(png_ptr, &row_info); in png_push_process_row() [all …]
|
D | pngrutil.c | 3541 png_do_read_interlace(png_row_infop row_info, png_bytep row, int pass, in png_do_read_interlace() argument 3549 if (row != NULL && row_info != NULL) in png_do_read_interlace() 3553 final_width = row_info->width * png_pass_inc[pass]; in png_do_read_interlace() 3555 switch (row_info->pixel_depth) in png_do_read_interlace() 3559 png_bytep sp = row + (png_size_t)((row_info->width - 1) >> 3); in png_do_read_interlace() 3571 sshift = (int)((row_info->width + 7) & 0x07); in png_do_read_interlace() 3581 sshift = 7 - (int)((row_info->width + 7) & 0x07); in png_do_read_interlace() 3588 for (i = 0; i < row_info->width; i++) in png_do_read_interlace() 3621 png_bytep sp = row + (png_uint_32)((row_info->width - 1) >> 2); in png_do_read_interlace() 3631 sshift = (int)(((row_info->width + 3) & 0x03) << 1); in png_do_read_interlace() [all …]
|
/external/pdfium/third_party/libpng16/contrib/intel/ |
D | filter_sse2_intrinsics.c | 65 void png_read_filter_row_sub3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub3_sse2() argument 75 int rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2() 94 void png_read_filter_row_sub4_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub4_sse2() argument 104 int rb = row_info->rowbytes; in png_read_filter_row_sub4_sse2() 115 void png_read_filter_row_avg3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg3_sse2() argument 128 int rb = row_info->rowbytes; in png_read_filter_row_avg3_sse2() 164 void png_read_filter_row_avg4_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg4_sse2() argument 177 int rb = row_info->rowbytes; in png_read_filter_row_avg4_sse2() 225 void png_read_filter_row_paeth3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_paeth3_sse2() argument 246 int rb = row_info->rowbytes; in png_read_filter_row_paeth3_sse2() [all …]
|
D | intel_sse.patch | 136 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 138 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 140 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 142 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 145 + row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 147 + row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 149 + row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 151 + row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 153 + row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 155 + row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); [all …]
|
D | INSTALL | 146 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 148 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 150 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 152 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 154 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 156 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
|
/external/libpng/intel/ |
D | filter_sse2_intrinsics.c | 67 void png_read_filter_row_sub3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub3_sse2() argument 80 rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2() 100 void png_read_filter_row_sub4_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub4_sse2() argument 113 rb = row_info->rowbytes+4; in png_read_filter_row_sub4_sse2() 125 void png_read_filter_row_avg3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg3_sse2() argument 142 rb = row_info->rowbytes; in png_read_filter_row_avg3_sse2() 180 void png_read_filter_row_avg4_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg4_sse2() argument 195 rb = row_info->rowbytes+4; in png_read_filter_row_avg4_sse2() 244 void png_read_filter_row_paeth3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_paeth3_sse2() argument 267 rb = row_info->rowbytes; in png_read_filter_row_paeth3_sse2() [all …]
|
/external/libpng/contrib/intel/ |
D | filter_sse2_intrinsics.c | 65 void png_read_filter_row_sub3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub3_sse2() argument 75 int rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2() 94 void png_read_filter_row_sub4_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub4_sse2() argument 104 int rb = row_info->rowbytes; in png_read_filter_row_sub4_sse2() 115 void png_read_filter_row_avg3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg3_sse2() argument 128 int rb = row_info->rowbytes; in png_read_filter_row_avg3_sse2() 164 void png_read_filter_row_avg4_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg4_sse2() argument 177 int rb = row_info->rowbytes; in png_read_filter_row_avg4_sse2() 225 void png_read_filter_row_paeth3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_paeth3_sse2() argument 246 int rb = row_info->rowbytes; in png_read_filter_row_paeth3_sse2() [all …]
|
D | intel_sse.patch | 139 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 141 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 143 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 148 + row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 150 + row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 152 + row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 154 + row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 156 + row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 158 + row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 163 png_row_infop row_info),PNG_EMPTY);
|
/external/libpng/arm/ |
D | filter_neon_intrinsics.c | 43 png_read_filter_row_up_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_up_neon() argument 47 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_up_neon() 64 png_read_filter_row_sub3_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub3_neon() argument 68 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub3_neon() 111 png_read_filter_row_sub4_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub4_neon() argument 115 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub4_neon() 140 png_read_filter_row_avg3_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg3_neon() argument 145 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg3_neon() 208 png_read_filter_row_avg4_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg4_neon() argument 212 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg4_neon() [all …]
|
/external/pdfium/third_party/libpng16/arm/ |
D | filter_neon_intrinsics.c | 43 png_read_filter_row_up_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_up_neon() argument 47 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_up_neon() 64 png_read_filter_row_sub3_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub3_neon() argument 68 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub3_neon() 111 png_read_filter_row_sub4_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub4_neon() argument 115 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub4_neon() 140 png_read_filter_row_avg3_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg3_neon() argument 145 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg3_neon() 208 png_read_filter_row_avg4_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg4_neon() argument 212 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg4_neon() [all …]
|
/external/libpng/powerpc/ |
D | filter_vsx_intrinsics.c | 41 #define vsx_declare_common_vars(row_info,row,prev_row,offset) \ argument 49 istop = row_info->rowbytes;\ 57 void png_read_filter_row_up_vsx(png_row_infop row_info, png_bytep row, in png_read_filter_row_up_vsx() argument 62 vsx_declare_common_vars(row_info,row,prev_row,0) in png_read_filter_row_up_vsx() 173 void png_read_filter_row_sub4_vsx(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub4_vsx() argument 181 vsx_declare_common_vars(row_info,row,prev_row,bpp) in png_read_filter_row_sub4_vsx() 230 void png_read_filter_row_sub3_vsx(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub3_vsx() argument 238 vsx_declare_common_vars(row_info,row,prev_row,bpp) in png_read_filter_row_sub3_vsx() 294 void png_read_filter_row_avg4_vsx(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg4_vsx() argument 305 vsx_declare_common_vars(row_info,row,prev_row,bpp) in png_read_filter_row_avg4_vsx() [all …]
|
/external/freetype/src/sfnt/ |
D | pngshim.c | 55 png_row_infop row_info, in premultiply_data() argument 85 if ( row_info->rowbytes > 15 ) in premultiply_data() 88 limit = row_info->rowbytes - 16 + 1; in premultiply_data() 129 limit = row_info->rowbytes; in premultiply_data() 165 png_row_infop row_info, in convert_bytes_to_data() argument 173 for ( i = 0; i < row_info->rowbytes; i += 4 ) in convert_bytes_to_data()
|