/external/chromium_org/third_party/libpng/ |
D | pngwtran.c | 36 &(png_ptr->row_info), /* row_info: */ in png_do_write_transformations() 47 png_do_strip_filler(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_write_transformations() 52 png_do_packswap(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 56 png_do_pack(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_write_transformations() 61 png_do_swap(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 65 png_do_shift(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_write_transformations() 70 png_do_write_swap_alpha(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 74 png_do_write_invert_alpha(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 78 png_do_bgr(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 82 png_do_invert(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() [all …]
|
D | pngtrans.c | 205 png_do_invert(png_row_infop row_info, png_bytep row) in png_do_invert() argument 213 if (row == NULL || row_info == NULL) in png_do_invert() 216 if (row_info->color_type == PNG_COLOR_TYPE_GRAY) in png_do_invert() 220 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 228 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_invert() 229 row_info->bit_depth == 8) in png_do_invert() 233 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 241 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_invert() 242 row_info->bit_depth == 16) in png_do_invert() 246 png_uint_32 istop = row_info->rowbytes; in png_do_invert() [all …]
|
D | pngrtran.c | 1374 if (png_ptr->row_info.color_type == PNG_COLOR_TYPE_PALETTE) in png_do_read_transformations() 1376 png_do_expand_palette(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1383 png_do_expand(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1386 png_do_expand(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1394 png_do_strip_filler(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1402 png_do_rgb_to_gray(png_ptr, &(png_ptr->row_info), in png_do_read_transformations() 1454 png_do_gray_to_rgb(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_read_transformations() 1461 png_do_background(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1481 png_do_gamma(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1488 png_do_chop(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_read_transformations() [all …]
|
D | pngwrite.c | 904 png_ptr->row_info.color_type = png_ptr->color_type; in png_write_row() 905 png_ptr->row_info.width = png_ptr->usr_width; in png_write_row() 906 png_ptr->row_info.channels = png_ptr->usr_channels; in png_write_row() 907 png_ptr->row_info.bit_depth = png_ptr->usr_bit_depth; in png_write_row() 908 png_ptr->row_info.pixel_depth = (png_byte)(png_ptr->row_info.bit_depth * in png_write_row() 909 png_ptr->row_info.channels); in png_write_row() 911 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth, in png_write_row() 912 png_ptr->row_info.width); in png_write_row() 914 png_debug1(3, "row_info->color_type = %d", png_ptr->row_info.color_type); in png_write_row() 915 png_debug1(3, "row_info->width = %lu", png_ptr->row_info.width); in png_write_row() [all …]
|
D | pngrutil.c | 2520 PNG_ROWBYTES(png_ptr->row_info.pixel_depth, png_ptr->width)); in png_combine_row() 2524 switch (png_ptr->row_info.pixel_depth) in png_combine_row() 2687 png_size_t pixel_bytes = (png_ptr->row_info.pixel_depth >> 3); in png_combine_row() 2722 png_row_infop row_info = &(png_ptr->row_info); in png_do_read_interlace() local 2731 if (row != NULL && row_info != NULL) in png_do_read_interlace() 2735 final_width = row_info->width * png_pass_inc[pass]; in png_do_read_interlace() 2737 switch (row_info->pixel_depth) in png_do_read_interlace() 2741 png_bytep sp = row + (png_size_t)((row_info->width - 1) >> 3); in png_do_read_interlace() 2753 sshift = (int)((row_info->width + 7) & 0x07); in png_do_read_interlace() 2762 sshift = 7 - (int)((row_info->width + 7) & 0x07); in png_do_read_interlace() [all …]
|
D | png.h | 1309 png_row_info row_info PNG_DEPSTRUCT; /* used for transformation routines */ 3400 PNG_EXTERN void png_do_write_interlace PNGARG((png_row_infop row_info, 3406 png_row_infop row_info, png_bytep row, png_bytep prev_row, 3411 png_row_infop row_info)) PNG_PRIVATE; 3427 PNG_EXTERN void png_do_read_filler PNGARG((png_row_infop row_info, 3432 PNG_EXTERN void png_do_read_swap_alpha PNGARG((png_row_infop row_info, 3437 PNG_EXTERN void png_do_write_swap_alpha PNGARG((png_row_infop row_info, 3442 PNG_EXTERN void png_do_read_invert_alpha PNGARG((png_row_infop row_info, 3447 PNG_EXTERN void png_do_write_invert_alpha PNGARG((png_row_infop row_info, 3453 PNG_EXTERN void png_do_strip_filler PNGARG((png_row_infop row_info, [all …]
|
D | pngread.c | 769 png_ptr->row_info.color_type = png_ptr->color_type; in png_read_row() 770 png_ptr->row_info.width = png_ptr->iwidth; in png_read_row() 771 png_ptr->row_info.channels = png_ptr->channels; in png_read_row() 772 png_ptr->row_info.bit_depth = png_ptr->bit_depth; in png_read_row() 773 png_ptr->row_info.pixel_depth = png_ptr->pixel_depth; in png_read_row() 774 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth, in png_read_row() 775 png_ptr->row_info.width); in png_read_row() 778 png_read_filter_row(png_ptr, &(png_ptr->row_info), in png_read_row() 790 png_do_read_intrapixel(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_read_row()
|
/external/libpng/ |
D | pngwtran.c | 36 &(png_ptr->row_info), /* row_info: */ in png_do_write_transformations() 47 png_do_strip_filler(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_write_transformations() 52 png_do_packswap(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 56 png_do_pack(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_write_transformations() 61 png_do_swap(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 65 png_do_shift(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_write_transformations() 70 png_do_write_swap_alpha(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 74 png_do_write_invert_alpha(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 78 png_do_bgr(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 82 png_do_invert(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() [all …]
|
D | pngtrans.c | 205 png_do_invert(png_row_infop row_info, png_bytep row) in png_do_invert() argument 213 if (row == NULL || row_info == NULL) in png_do_invert() 216 if (row_info->color_type == PNG_COLOR_TYPE_GRAY) in png_do_invert() 220 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 228 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_invert() 229 row_info->bit_depth == 8) in png_do_invert() 233 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 241 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_invert() 242 row_info->bit_depth == 16) in png_do_invert() 246 png_uint_32 istop = row_info->rowbytes; in png_do_invert() [all …]
|
D | pngrtran.c | 1374 if (png_ptr->row_info.color_type == PNG_COLOR_TYPE_PALETTE) in png_do_read_transformations() 1376 png_do_expand_palette(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1383 png_do_expand(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1386 png_do_expand(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1394 png_do_strip_filler(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1402 png_do_rgb_to_gray(png_ptr, &(png_ptr->row_info), in png_do_read_transformations() 1454 png_do_gray_to_rgb(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_read_transformations() 1461 png_do_background(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1481 png_do_gamma(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1488 png_do_chop(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_read_transformations() [all …]
|
D | pngwrite.c | 904 png_ptr->row_info.color_type = png_ptr->color_type; in png_write_row() 905 png_ptr->row_info.width = png_ptr->usr_width; in png_write_row() 906 png_ptr->row_info.channels = png_ptr->usr_channels; in png_write_row() 907 png_ptr->row_info.bit_depth = png_ptr->usr_bit_depth; in png_write_row() 908 png_ptr->row_info.pixel_depth = (png_byte)(png_ptr->row_info.bit_depth * in png_write_row() 909 png_ptr->row_info.channels); in png_write_row() 911 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth, in png_write_row() 912 png_ptr->row_info.width); in png_write_row() 914 png_debug1(3, "row_info->color_type = %d", png_ptr->row_info.color_type); in png_write_row() 915 png_debug1(3, "row_info->width = %lu", png_ptr->row_info.width); in png_write_row() [all …]
|
D | pngtest.c | 176 count_filters(png_structp png_ptr, png_row_infop row_info, png_bytep data); 181 count_filters(png_structp png_ptr, png_row_infop row_info, png_bytep data) in count_filters() argument 183 if (png_ptr != NULL && row_info != NULL) in count_filters() 199 count_zero_samples(png_structp png_ptr, png_row_infop row_info, png_bytep data); 204 count_zero_samples(png_structp png_ptr, png_row_infop row_info, png_bytep data) in count_zero_samples() argument 220 if (row_info->color_type == 0 || row_info->color_type == 3) in count_zero_samples() 224 for (n = 0, nstop=row_info->width; n<nstop; n++) in count_zero_samples() 226 if (row_info->bit_depth == 1) in count_zero_samples() 236 if (row_info->bit_depth == 2) in count_zero_samples() 246 if (row_info->bit_depth == 4) in count_zero_samples() [all …]
|
D | pngrutil.c | 2536 PNG_ROWBYTES(png_ptr->row_info.pixel_depth, png_ptr->width)); in png_combine_row() 2540 switch (png_ptr->row_info.pixel_depth) in png_combine_row() 2703 png_size_t pixel_bytes = (png_ptr->row_info.pixel_depth >> 3); in png_combine_row() 2738 png_row_infop row_info = &(png_ptr->row_info); in png_do_read_interlace() local 2747 if (row != NULL && row_info != NULL) in png_do_read_interlace() 2751 final_width = row_info->width * png_pass_inc[pass]; in png_do_read_interlace() 2753 switch (row_info->pixel_depth) in png_do_read_interlace() 2757 png_bytep sp = row + (png_size_t)((row_info->width - 1) >> 3); in png_do_read_interlace() 2769 sshift = (int)((row_info->width + 7) & 0x07); in png_do_read_interlace() 2778 sshift = 7 - (int)((row_info->width + 7) & 0x07); in png_do_read_interlace() [all …]
|
D | png.h | 1362 png_row_info row_info PNG_DEPSTRUCT; /* used for transformation routines */ 3484 PNG_EXTERN void png_do_write_interlace PNGARG((png_row_infop row_info, 3490 png_row_infop row_info, png_bytep row, png_bytep prev_row, 3495 png_row_infop row_info)) PNG_PRIVATE; 3516 PNG_EXTERN void png_do_read_filler PNGARG((png_row_infop row_info, 3521 PNG_EXTERN void png_do_read_swap_alpha PNGARG((png_row_infop row_info, 3526 PNG_EXTERN void png_do_write_swap_alpha PNGARG((png_row_infop row_info, 3531 PNG_EXTERN void png_do_read_invert_alpha PNGARG((png_row_infop row_info, 3536 PNG_EXTERN void png_do_write_invert_alpha PNGARG((png_row_infop row_info, 3542 PNG_EXTERN void png_do_strip_filler PNGARG((png_row_infop row_info, [all …]
|
/external/qemu/distrib/libpng-1.2.19/ |
D | pngwtran.c | 31 &(png_ptr->row_info), /* row_info: */ in png_do_write_transformations() 42 png_do_strip_filler(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_write_transformations() 47 png_do_packswap(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 51 png_do_pack(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_write_transformations() 56 png_do_swap(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 60 png_do_shift(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_write_transformations() 65 png_do_write_swap_alpha(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 69 png_do_write_invert_alpha(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 73 png_do_bgr(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() 77 png_do_invert(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_write_transformations() [all …]
|
D | pngtrans.c | 176 png_do_invert(png_row_infop row_info, png_bytep row) in png_do_invert() argument 183 if (row == NULL || row_info == NULL) in png_do_invert() 186 if (row_info->color_type == PNG_COLOR_TYPE_GRAY) in png_do_invert() 190 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 198 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_invert() 199 row_info->bit_depth == 8) in png_do_invert() 203 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 211 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_invert() 212 row_info->bit_depth == 16) in png_do_invert() 216 png_uint_32 istop = row_info->rowbytes; in png_do_invert() [all …]
|
D | pngrtran.c | 1290 if (png_ptr->row_info.color_type == PNG_COLOR_TYPE_PALETTE) in png_do_read_transformations() 1292 png_do_expand_palette(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1299 png_do_expand(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1302 png_do_expand(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1310 png_do_strip_filler(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1318 png_do_rgb_to_gray(png_ptr, &(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_read_transformations() 1367 png_do_gray_to_rgb(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_read_transformations() 1374 png_do_background(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1394 png_do_gamma(&(png_ptr->row_info), png_ptr->row_buf + 1, in png_do_read_transformations() 1401 png_do_chop(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_do_read_transformations() [all …]
|
D | pnggccrd.c | 992 (png_size_t)PNG_ROWBYTES(png_ptr->row_info.pixel_depth,png_ptr->width)); in png_combine_row() 996 switch (png_ptr->row_info.pixel_depth) in png_combine_row() 2052 png_row_infop row_info = &(png_ptr->row_info); in png_do_read_interlace() local 2069 if (row != NULL && row_info != NULL) in png_do_read_interlace() 2073 final_width = row_info->width * png_pass_inc[pass]; in png_do_read_interlace() 2075 switch (row_info->pixel_depth) in png_do_read_interlace() 2086 sp = row + (png_size_t)((row_info->width - 1) >> 3); in png_do_read_interlace() 2091 sshift = (int)((row_info->width + 7) & 7); in png_do_read_interlace() 2100 sshift = 7 - (int)((row_info->width + 7) & 7); in png_do_read_interlace() 2107 for (i = row_info->width; i; i--) in png_do_read_interlace() [all …]
|
D | pngrutil.c | 2334 (png_size_t)PNG_ROWBYTES(png_ptr->row_info.pixel_depth,png_ptr->width)); in png_combine_row() 2338 switch (png_ptr->row_info.pixel_depth) in png_combine_row() 2795 png_row_infop row_info = &(png_ptr->row_info); in png_do_read_interlace() local 2803 if (row != NULL && row_info != NULL) in png_do_read_interlace() 2807 final_width = row_info->width * png_pass_inc[pass]; in png_do_read_interlace() 2809 switch (row_info->pixel_depth) in png_do_read_interlace() 2820 sp = row + (png_size_t)((row_info->width - 1) >> 3); in png_do_read_interlace() 2825 sshift = (int)((row_info->width + 7) & 7); in png_do_read_interlace() 2834 sshift = 7 - (int)((row_info->width + 7) & 7); in png_do_read_interlace() 2841 for (i = row_info->width; i; i--) in png_do_read_interlace() [all …]
|
D | pngwrite.c | 866 png_ptr->row_info.color_type = png_ptr->color_type; in png_write_row() 867 png_ptr->row_info.width = png_ptr->usr_width; in png_write_row() 868 png_ptr->row_info.channels = png_ptr->usr_channels; in png_write_row() 869 png_ptr->row_info.bit_depth = png_ptr->usr_bit_depth; in png_write_row() 870 png_ptr->row_info.pixel_depth = (png_byte)(png_ptr->row_info.bit_depth * in png_write_row() 871 png_ptr->row_info.channels); in png_write_row() 873 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth, in png_write_row() 874 png_ptr->row_info.width); in png_write_row() 876 png_debug1(3, "row_info->color_type = %d\n", png_ptr->row_info.color_type); in png_write_row() 877 png_debug1(3, "row_info->width = %lu\n", png_ptr->row_info.width); in png_write_row() [all …]
|
D | pngvcrd.c | 134 (png_size_t)PNG_ROWBYTES(png_ptr->row_info.pixel_depth, in png_combine_row() 141 switch (png_ptr->row_info.pixel_depth) in png_combine_row() 260 pixel_bytes = (png_ptr->row_info.pixel_depth >> 3); in png_combine_row() 404 pixel_bytes = (png_ptr->row_info.pixel_depth >> 3); in png_combine_row() 510 pixel_bytes = (png_ptr->row_info.pixel_depth >> 3); in png_combine_row() 792 pixel_bytes = (png_ptr->row_info.pixel_depth >> 3); in png_combine_row() 956 pixel_bytes = (png_ptr->row_info.pixel_depth >> 3); in png_combine_row() 984 pixel_bytes = (png_ptr->row_info.pixel_depth >> 3); in png_combine_row() 1010 png_row_infop row_info = &(png_ptr->row_info); in png_do_read_interlace() local 1028 if (row != NULL && row_info != NULL) in png_do_read_interlace() [all …]
|
D | png.h | 1176 png_row_info row_info; /* used for transformation routines */ member 3179 PNG_EXTERN void png_do_write_interlace PNGARG((png_row_infop row_info, 3185 png_row_infop row_info, png_bytep row, png_bytep prev_row, int filter)); 3189 png_row_infop row_info)); 3205 PNG_EXTERN void png_do_read_filler PNGARG((png_row_infop row_info, 3210 PNG_EXTERN void png_do_read_swap_alpha PNGARG((png_row_infop row_info, 3215 PNG_EXTERN void png_do_write_swap_alpha PNGARG((png_row_infop row_info, 3220 PNG_EXTERN void png_do_read_invert_alpha PNGARG((png_row_infop row_info, 3225 PNG_EXTERN void png_do_write_invert_alpha PNGARG((png_row_infop row_info, 3231 PNG_EXTERN void png_do_strip_filler PNGARG((png_row_infop row_info, [all …]
|
D | pngread.c | 742 png_ptr->row_info.color_type = png_ptr->color_type; in png_read_row() 743 png_ptr->row_info.width = png_ptr->iwidth; in png_read_row() 744 png_ptr->row_info.channels = png_ptr->channels; in png_read_row() 745 png_ptr->row_info.bit_depth = png_ptr->bit_depth; in png_read_row() 746 png_ptr->row_info.pixel_depth = png_ptr->pixel_depth; in png_read_row() 747 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth, in png_read_row() 748 png_ptr->row_info.width); in png_read_row() 751 png_read_filter_row(png_ptr, &(png_ptr->row_info), in png_read_row() 763 png_do_read_intrapixel(&(png_ptr->row_info), png_ptr->row_buf + 1); in png_read_row()
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
D | pngshim.c | 53 png_row_infop row_info, in premultiply_data() argument 61 for ( i = 0; i < row_info->rowbytes; i += 4 ) in premultiply_data() 96 png_row_infop row_info, in convert_bytes_to_data() argument 104 for ( i = 0; i < row_info->rowbytes; i += 4 ) in convert_bytes_to_data()
|
/external/freetype/src/sfnt/ |
D | pngshim.c | 53 png_row_infop row_info, in premultiply_data() argument 61 for ( i = 0; i < row_info->rowbytes; i += 4 ) in premultiply_data() 96 png_row_infop row_info, in convert_bytes_to_data() argument 104 for ( i = 0; i < row_info->rowbytes; i += 4 ) in convert_bytes_to_data()
|