/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 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 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 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 | 2152 png_do_unpack(png_row_infop row_info, png_bytep row) in png_do_unpack() argument 2156 if (row_info->bit_depth < 8) in png_do_unpack() 2159 png_uint_32 row_width=row_info->width; in png_do_unpack() 2161 switch (row_info->bit_depth) in png_do_unpack() 2236 row_info->bit_depth = 8; in png_do_unpack() 2237 row_info->pixel_depth = (png_byte)(8 * row_info->channels); in png_do_unpack() 2238 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack() 2250 png_do_unshift(png_row_infop row_info, png_bytep row, in png_do_unshift() argument 2258 color_type = row_info->color_type; in png_do_unshift() 2264 int bit_depth = row_info->bit_depth; in png_do_unshift() [all …]
|
D | pngpriv.h | 1283 PNG_INTERNAL_FUNCTION(void,png_do_read_interlace,(png_row_infop row_info, 1291 PNG_INTERNAL_FUNCTION(void,png_do_write_interlace,(png_row_infop row_info, 1299 row_info, png_bytep row, png_const_bytep prev_row, int filter),PNG_EMPTY); 1302 PNG_INTERNAL_FUNCTION(void,png_read_filter_row_up_neon,(png_row_infop row_info, 1305 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1307 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1309 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1311 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1313 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1315 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 | 3684 png_do_read_interlace(png_row_infop row_info, png_bytep row, int pass, in png_do_read_interlace() argument 3692 if (row != NULL && row_info != NULL) in png_do_read_interlace() 3696 final_width = row_info->width * png_pass_inc[pass]; in png_do_read_interlace() 3698 switch (row_info->pixel_depth) in png_do_read_interlace() 3702 png_bytep sp = row + (size_t)((row_info->width - 1) >> 3); in png_do_read_interlace() 3715 sshift = ((row_info->width + 7) & 0x07); in png_do_read_interlace() 3725 sshift = 7 - ((row_info->width + 7) & 0x07); in png_do_read_interlace() 3732 for (i = 0; i < row_info->width; i++) in png_do_read_interlace() 3765 png_bytep sp = row + (png_uint_32)((row_info->width - 1) >> 2); in png_do_read_interlace() 3776 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 | 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 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 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 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 | 2152 png_do_unpack(png_row_infop row_info, png_bytep row) in png_do_unpack() argument 2156 if (row_info->bit_depth < 8) in png_do_unpack() 2159 png_uint_32 row_width=row_info->width; in png_do_unpack() 2161 switch (row_info->bit_depth) in png_do_unpack() 2236 row_info->bit_depth = 8; in png_do_unpack() 2237 row_info->pixel_depth = (png_byte)(8 * row_info->channels); in png_do_unpack() 2238 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack() 2250 png_do_unshift(png_row_infop row_info, png_bytep row, in png_do_unshift() argument 2258 color_type = row_info->color_type; in png_do_unshift() 2264 int bit_depth = row_info->bit_depth; in png_do_unshift() [all …]
|
D | pngpriv.h | 1283 PNG_INTERNAL_FUNCTION(void,png_do_read_interlace,(png_row_infop row_info, 1291 PNG_INTERNAL_FUNCTION(void,png_do_write_interlace,(png_row_infop row_info, 1299 row_info, png_bytep row, png_const_bytep prev_row, int filter),PNG_EMPTY); 1302 PNG_INTERNAL_FUNCTION(void,png_read_filter_row_up_neon,(png_row_infop row_info, 1305 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1307 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1309 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1311 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1313 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY); 1315 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 | pngrutil.c | 3684 png_do_read_interlace(png_row_infop row_info, png_bytep row, int pass, in png_do_read_interlace() argument 3692 if (row != NULL && row_info != NULL) in png_do_read_interlace() 3696 final_width = row_info->width * png_pass_inc[pass]; in png_do_read_interlace() 3698 switch (row_info->pixel_depth) in png_do_read_interlace() 3702 png_bytep sp = row + (size_t)((row_info->width - 1) >> 3); in png_do_read_interlace() 3715 sshift = ((row_info->width + 7) & 0x07); in png_do_read_interlace() 3725 sshift = 7 - ((row_info->width + 7) & 0x07); in png_do_read_interlace() 3732 for (i = 0; i < row_info->width; i++) in png_do_read_interlace() 3765 png_bytep sp = row + (png_uint_32)((row_info->width - 1) >> 2); in png_do_read_interlace() 3776 sshift = (((row_info->width + 3) & 0x03) << 1); in png_do_read_interlace() [all …]
|
D | pngread.c | 321 png_do_read_intrapixel(png_row_infop row_info, png_bytep row) in png_do_read_intrapixel() argument 326 (row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_read_intrapixel() 329 png_uint_32 row_width = row_info->width; in png_do_read_intrapixel() 331 if (row_info->bit_depth == 8) in png_do_read_intrapixel() 336 if (row_info->color_type == PNG_COLOR_TYPE_RGB) in png_do_read_intrapixel() 339 else if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA) in png_do_read_intrapixel() 351 else if (row_info->bit_depth == 16) in png_do_read_intrapixel() 356 if (row_info->color_type == PNG_COLOR_TYPE_RGB) in png_do_read_intrapixel() 359 else if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA) in png_do_read_intrapixel() 385 png_row_info row_info; in png_read_row() local [all …]
|
/external/pdfium/third_party/libpng16/intel/ |
D | filter_sse2_intrinsics.c | 52 void png_read_filter_row_sub3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub3_sse2() argument 65 rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2() 85 void png_read_filter_row_sub4_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub4_sse2() argument 98 rb = row_info->rowbytes+4; in png_read_filter_row_sub4_sse2() 110 void png_read_filter_row_avg3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg3_sse2() argument 127 rb = row_info->rowbytes; in png_read_filter_row_avg3_sse2() 165 void png_read_filter_row_avg4_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg4_sse2() argument 180 rb = row_info->rowbytes+4; in png_read_filter_row_avg4_sse2() 229 void png_read_filter_row_paeth3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_paeth3_sse2() argument 252 rb = row_info->rowbytes; in png_read_filter_row_paeth3_sse2() [all …]
|
/external/libpng/intel/ |
D | filter_sse2_intrinsics.c | 52 void png_read_filter_row_sub3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub3_sse2() argument 65 rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2() 85 void png_read_filter_row_sub4_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub4_sse2() argument 98 rb = row_info->rowbytes+4; in png_read_filter_row_sub4_sse2() 110 void png_read_filter_row_avg3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg3_sse2() argument 127 rb = row_info->rowbytes; in png_read_filter_row_avg3_sse2() 165 void png_read_filter_row_avg4_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg4_sse2() argument 180 rb = row_info->rowbytes+4; in png_read_filter_row_avg4_sse2() 229 void png_read_filter_row_paeth3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_paeth3_sse2() argument 252 rb = row_info->rowbytes; in png_read_filter_row_paeth3_sse2() [all …]
|
/external/libpng/arm/ |
D | filter_neon_intrinsics.c | 51 png_read_filter_row_up_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_up_neon() argument 55 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_up_neon() 72 png_read_filter_row_sub3_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub3_neon() argument 76 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub3_neon() 119 png_read_filter_row_sub4_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub4_neon() argument 123 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub4_neon() 151 png_read_filter_row_avg3_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg3_neon() argument 156 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg3_neon() 219 png_read_filter_row_avg4_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg4_neon() argument 223 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg4_neon() [all …]
|
D | palette_neon_intrinsics.c | 62 png_do_expand_palette_rgba8_neon(png_structrp png_ptr, png_row_infop row_info, in png_do_expand_palette_rgba8_neon() argument 65 png_uint_32 row_width = row_info->width; in png_do_expand_palette_rgba8_neon() 106 png_do_expand_palette_rgb8_neon(png_structrp png_ptr, png_row_infop row_info, in png_do_expand_palette_rgb8_neon() argument 109 png_uint_32 row_width = row_info->width; in png_do_expand_palette_rgb8_neon()
|
/external/pdfium/third_party/libpng16/arm/ |
D | filter_neon_intrinsics.c | 51 png_read_filter_row_up_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_up_neon() argument 55 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_up_neon() 72 png_read_filter_row_sub3_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub3_neon() argument 76 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub3_neon() 119 png_read_filter_row_sub4_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub4_neon() argument 123 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub4_neon() 151 png_read_filter_row_avg3_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg3_neon() argument 156 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg3_neon() 219 png_read_filter_row_avg4_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg4_neon() argument 223 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg4_neon() [all …]
|
D | palette_neon_intrinsics.c | 62 png_do_expand_palette_rgba8_neon(png_structrp png_ptr, png_row_infop row_info, in png_do_expand_palette_rgba8_neon() argument 65 png_uint_32 row_width = row_info->width; in png_do_expand_palette_rgba8_neon() 106 png_do_expand_palette_rgb8_neon(png_structrp png_ptr, png_row_infop row_info, in png_do_expand_palette_rgb8_neon() argument 109 png_uint_32 row_width = row_info->width; in png_do_expand_palette_rgb8_neon()
|
/external/libpng/powerpc/ |
D | filter_vsx_intrinsics.c | 42 #define vsx_declare_common_vars(row_info,row,prev_row,offset) \ argument 50 istop = row_info->rowbytes;\ 58 void png_read_filter_row_up_vsx(png_row_infop row_info, png_bytep row, in png_read_filter_row_up_vsx() argument 63 vsx_declare_common_vars(row_info,row,prev_row,0) in png_read_filter_row_up_vsx() 174 void png_read_filter_row_sub4_vsx(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub4_vsx() argument 182 vsx_declare_common_vars(row_info,row,prev_row,bpp) in png_read_filter_row_sub4_vsx() 231 void png_read_filter_row_sub3_vsx(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub3_vsx() argument 239 vsx_declare_common_vars(row_info,row,prev_row,bpp) in png_read_filter_row_sub3_vsx() 295 void png_read_filter_row_avg4_vsx(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg4_vsx() argument 306 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 | 54 png_row_infop row_info, in premultiply_data() argument 90 if ( row_info->rowbytes > 15 ) in premultiply_data() 93 limit = row_info->rowbytes - 16 + 1; in premultiply_data() 134 limit = row_info->rowbytes; in premultiply_data() 170 png_row_infop row_info, in convert_bytes_to_data() argument 178 for ( i = 0; i < row_info->rowbytes; i += 4 ) in convert_bytes_to_data()
|
/external/libpng/mips/ |
D | filter_msa_intrinsics.c | 367 void png_read_filter_row_up_msa(png_row_infop row_info, png_bytep row, in png_read_filter_row_up_msa() argument 371 size_t istop = row_info->rowbytes; in png_read_filter_row_up_msa() 458 void png_read_filter_row_sub4_msa(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub4_msa() argument 462 size_t istop = row_info->rowbytes; in png_read_filter_row_sub4_msa() 497 void png_read_filter_row_sub3_msa(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub3_msa() argument 501 size_t istop = row_info->rowbytes; in png_read_filter_row_sub3_msa() 542 void png_read_filter_row_avg4_msa(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg4_msa() argument 549 size_t istop = row_info->rowbytes - 4; in png_read_filter_row_avg4_msa() 593 void png_read_filter_row_avg3_msa(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg3_msa() argument 600 size_t istop = row_info->rowbytes - 3; in png_read_filter_row_avg3_msa() [all …]
|