Home
last modified time | relevance | path

Searched refs:row_info (Results 1 – 25 of 39) sorted by relevance

12

/external/pdfium/third_party/lpng_v163/
Dpngwtran.c22 png_do_write_transformations(png_structrp png_ptr, png_row_infop row_info) in png_do_write_transformations() argument
35 row_info, /* row_info: */ in png_do_write_transformations()
47 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
53 png_do_packswap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
58 png_do_pack(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
64 png_do_swap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
69 png_do_shift(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
75 png_do_write_swap_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
80 png_do_write_invert_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
85 png_do_bgr(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
[all …]
Dpngtrans.c258 png_do_invert(png_row_infop row_info, png_bytep row) in png_do_invert() argument
265 if (row_info->color_type == PNG_COLOR_TYPE_GRAY) in png_do_invert()
269 png_size_t istop = row_info->rowbytes; in png_do_invert()
278 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_invert()
279 row_info->bit_depth == 8) in png_do_invert()
283 png_size_t istop = row_info->rowbytes; in png_do_invert()
293 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_invert()
294 row_info->bit_depth == 16) in png_do_invert()
298 png_size_t istop = row_info->rowbytes; in png_do_invert()
315 png_do_swap(png_row_infop row_info, png_bytep row) in png_do_swap() argument
[all …]
Dpngrtran.c2120 png_do_read_transformations(png_structrp png_ptr, png_row_infop row_info) in png_do_read_transformations() argument
2152 if (row_info->color_type == PNG_COLOR_TYPE_PALETTE) in png_do_read_transformations()
2154 png_do_expand_palette(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
2162 png_do_expand(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
2166 png_do_expand(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
2175 (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA || in png_do_read_transformations()
2176 row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)) in png_do_read_transformations()
2177 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
2185 png_do_rgb_to_gray(png_ptr, row_info, in png_do_read_transformations()
2239 png_do_gray_to_rgb(row_info, png_ptr->row_buf + 1); in png_do_read_transformations()
[all …]
Dpngpriv.h1125 PNG_INTERNAL_FUNCTION(void,png_do_read_interlace,(png_row_infop row_info,
1133 PNG_INTERNAL_FUNCTION(void,png_do_write_interlace,(png_row_infop row_info,
1141 row_info, png_bytep row, png_const_bytep prev_row, int filter),PNG_EMPTY);
1143 PNG_INTERNAL_FUNCTION(void,png_read_filter_row_up_neon,(png_row_infop row_info,
1146 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
1148 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
1150 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
1152 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
1154 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
1156 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
[all …]
Dpngpread.c937 png_row_info row_info; in png_push_process_row() local
939 row_info.width = png_ptr->iwidth; /* NOTE: width of current interlaced row */ in png_push_process_row()
940 row_info.color_type = png_ptr->color_type; in png_push_process_row()
941 row_info.bit_depth = png_ptr->bit_depth; in png_push_process_row()
942 row_info.channels = png_ptr->channels; in png_push_process_row()
943 row_info.pixel_depth = png_ptr->pixel_depth; in png_push_process_row()
944 row_info.rowbytes = PNG_ROWBYTES(row_info.pixel_depth, row_info.width); in png_push_process_row()
949 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_push_process_row()
960 memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_push_process_row()
964 png_do_read_transformations(png_ptr, &row_info); in png_push_process_row()
[all …]
Dpngwrite.c614 png_row_info row_info; in png_write_row() local
739 row_info.color_type = png_ptr->color_type; in png_write_row()
740 row_info.width = png_ptr->usr_width; in png_write_row()
741 row_info.channels = png_ptr->usr_channels; in png_write_row()
742 row_info.bit_depth = png_ptr->usr_bit_depth; in png_write_row()
743 row_info.pixel_depth = (png_byte)(row_info.bit_depth * row_info.channels); in png_write_row()
744 row_info.rowbytes = PNG_ROWBYTES(row_info.pixel_depth, row_info.width); in png_write_row()
746 png_debug1(3, "row_info->color_type = %d", row_info.color_type); in png_write_row()
747 png_debug1(3, "row_info->width = %u", row_info.width); in png_write_row()
748 png_debug1(3, "row_info->channels = %d", row_info.channels); in png_write_row()
[all …]
Dpngrutil.c3479 png_do_read_interlace(png_row_infop row_info, png_bytep row, int pass, in png_do_read_interlace() argument
3487 if (row != NULL && row_info != NULL) in png_do_read_interlace()
3491 final_width = row_info->width * png_pass_inc[pass]; in png_do_read_interlace()
3493 switch (row_info->pixel_depth) in png_do_read_interlace()
3497 png_bytep sp = row + (png_size_t)((row_info->width - 1) >> 3); in png_do_read_interlace()
3509 sshift = (int)((row_info->width + 7) & 0x07); in png_do_read_interlace()
3519 sshift = 7 - (int)((row_info->width + 7) & 0x07); in png_do_read_interlace()
3526 for (i = 0; i < row_info->width; i++) in png_do_read_interlace()
3559 png_bytep sp = row + (png_uint_32)((row_info->width - 1) >> 2); in png_do_read_interlace()
3569 sshift = (int)(((row_info->width + 3) & 0x03) << 1); in png_do_read_interlace()
[all …]
/external/opencv3/3rdparty/libpng/
Dpngwtran.c23 png_do_write_transformations(png_structp png_ptr, png_row_infop row_info) in png_do_write_transformations() argument
36 row_info, /* row_info: */ in png_do_write_transformations()
48 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
54 png_do_packswap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
59 png_do_pack(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
65 png_do_swap(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
70 png_do_shift(row_info, png_ptr->row_buf + 1, in png_do_write_transformations()
76 png_do_write_swap_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
81 png_do_write_invert_alpha(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
86 png_do_bgr(row_info, png_ptr->row_buf + 1); in png_do_write_transformations()
[all …]
Dpngtrans.c210 png_do_invert(png_row_infop row_info, png_bytep row) in png_do_invert() argument
217 if (row_info->color_type == PNG_COLOR_TYPE_GRAY) in png_do_invert()
221 png_size_t istop = row_info->rowbytes; in png_do_invert()
230 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_invert()
231 row_info->bit_depth == 8) in png_do_invert()
235 png_size_t istop = row_info->rowbytes; in png_do_invert()
245 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA && in png_do_invert()
246 row_info->bit_depth == 16) in png_do_invert()
250 png_size_t istop = row_info->rowbytes; in png_do_invert()
267 png_do_swap(png_row_infop row_info, png_bytep row) in png_do_swap() argument
[all …]
Dpngrtran.c2080 png_do_read_transformations(png_structp png_ptr, png_row_infop row_info) in png_do_read_transformations() argument
2111 if (row_info->color_type == PNG_COLOR_TYPE_PALETTE) in png_do_read_transformations()
2113 png_do_expand_palette(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
2121 png_do_expand(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
2125 png_do_expand(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
2134 (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA || in png_do_read_transformations()
2135 row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)) in png_do_read_transformations()
2136 png_do_strip_channel(row_info, png_ptr->row_buf + 1, in png_do_read_transformations()
2144 png_do_rgb_to_gray(png_ptr, row_info, in png_do_read_transformations()
2198 png_do_gray_to_rgb(row_info, png_ptr->row_buf + 1); in png_do_read_transformations()
[all …]
Dpngpriv.h981 PNG_EXTERN void png_do_read_interlace PNGARG((png_row_infop row_info,
989 PNG_EXTERN void png_do_write_interlace PNGARG((png_row_infop row_info,
996 PNG_EXTERN void png_read_filter_row PNGARG((png_structp pp, png_row_infop row_info,
999 PNG_EXTERN void png_read_filter_row_up_neon PNGARG((png_row_infop row_info,
1001 PNG_EXTERN void png_read_filter_row_sub3_neon PNGARG((png_row_infop row_info,
1003 PNG_EXTERN void png_read_filter_row_sub4_neon PNGARG((png_row_infop row_info,
1005 PNG_EXTERN void png_read_filter_row_avg3_neon PNGARG((png_row_infop row_info,
1007 PNG_EXTERN void png_read_filter_row_avg4_neon PNGARG((png_row_infop row_info,
1009 PNG_EXTERN void png_read_filter_row_paeth3_neon PNGARG((png_row_infop row_info,
1011 PNG_EXTERN void png_read_filter_row_paeth4_neon PNGARG((png_row_infop row_info,
[all …]
Dpngwrite.c618 png_row_info row_info; in png_write_row() local
743 row_info.color_type = png_ptr->color_type; in png_write_row()
744 row_info.width = png_ptr->usr_width; in png_write_row()
745 row_info.channels = png_ptr->usr_channels; in png_write_row()
746 row_info.bit_depth = png_ptr->usr_bit_depth; in png_write_row()
747 row_info.pixel_depth = (png_byte)(row_info.bit_depth * row_info.channels); in png_write_row()
748 row_info.rowbytes = PNG_ROWBYTES(row_info.pixel_depth, row_info.width); in png_write_row()
750 png_debug1(3, "row_info->color_type = %d", row_info.color_type); in png_write_row()
751 png_debug1(3, "row_info->width = %u", row_info.width); in png_write_row()
752 png_debug1(3, "row_info->channels = %d", row_info.channels); in png_write_row()
[all …]
Dpngread.c379 png_row_info row_info; in png_read_row() local
394 row_info.width = png_ptr->iwidth; /* NOTE: width of current interlaced row */ in png_read_row()
395 row_info.color_type = png_ptr->color_type; in png_read_row()
396 row_info.bit_depth = png_ptr->bit_depth; in png_read_row()
397 row_info.channels = png_ptr->channels; in png_read_row()
398 row_info.pixel_depth = png_ptr->pixel_depth; in png_read_row()
399 row_info.rowbytes = PNG_ROWBYTES(row_info.pixel_depth, row_info.width); in png_read_row()
578 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_read_row()
589 png_memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_read_row()
596 png_do_read_intrapixel(&row_info, png_ptr->row_buf + 1); in png_read_row()
[all …]
Dpngpread.c962 png_row_info row_info; in png_push_process_row() local
964 row_info.width = png_ptr->iwidth; /* NOTE: width of current interlaced row */ in png_push_process_row()
965 row_info.color_type = png_ptr->color_type; in png_push_process_row()
966 row_info.bit_depth = png_ptr->bit_depth; in png_push_process_row()
967 row_info.channels = png_ptr->channels; in png_push_process_row()
968 row_info.pixel_depth = png_ptr->pixel_depth; in png_push_process_row()
969 row_info.rowbytes = PNG_ROWBYTES(row_info.pixel_depth, row_info.width); in png_push_process_row()
974 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_push_process_row()
985 png_memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_push_process_row()
989 png_do_read_transformations(png_ptr, &row_info); in png_push_process_row()
[all …]
Dpngrutil.c3265 png_do_read_interlace(png_row_infop row_info, png_bytep row, int pass, in png_do_read_interlace() argument
3273 if (row != NULL && row_info != NULL) in png_do_read_interlace()
3277 final_width = row_info->width * png_pass_inc[pass]; in png_do_read_interlace()
3279 switch (row_info->pixel_depth) in png_do_read_interlace()
3283 png_bytep sp = row + (png_size_t)((row_info->width - 1) >> 3); in png_do_read_interlace()
3295 sshift = (int)((row_info->width + 7) & 0x07); in png_do_read_interlace()
3305 sshift = 7 - (int)((row_info->width + 7) & 0x07); in png_do_read_interlace()
3312 for (i = 0; i < row_info->width; i++) in png_do_read_interlace()
3344 png_bytep sp = row + (png_uint_32)((row_info->width - 1) >> 2); in png_do_read_interlace()
3354 sshift = (int)(((row_info->width + 3) & 0x03) << 1); in png_do_read_interlace()
[all …]
/external/libpng/
Dpngwtran.c25 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 …]
Dpngtrans.c261 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 …]
Dpngrtran.c2138 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 …]
Dpngwrite.c623 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 …]
Dpngpriv.h1195 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 …]
Dpngpread.c731 png_row_info row_info; in png_push_process_row() local
733 row_info.width = png_ptr->iwidth; /* NOTE: width of current interlaced row */ in png_push_process_row()
734 row_info.color_type = png_ptr->color_type; in png_push_process_row()
735 row_info.bit_depth = png_ptr->bit_depth; in png_push_process_row()
736 row_info.channels = png_ptr->channels; in png_push_process_row()
737 row_info.pixel_depth = png_ptr->pixel_depth; in png_push_process_row()
738 row_info.rowbytes = PNG_ROWBYTES(row_info.pixel_depth, row_info.width); in png_push_process_row()
743 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_push_process_row()
754 memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_push_process_row()
758 png_do_read_transformations(png_ptr, &row_info); in png_push_process_row()
[all …]
Dpngtest.c221 read_user_callback(png_structp png_ptr, png_row_infop row_info, png_bytep data) in read_user_callback() argument
224 PNG_UNUSED(row_info) in read_user_callback()
237 count_zero_samples(png_structp png_ptr, png_row_infop row_info, png_bytep data) in count_zero_samples() argument
254 if (row_info->color_type == 0 || row_info->color_type == 3) in count_zero_samples()
259 for (n = 0, nstop=row_info->width; n<nstop; n++) in count_zero_samples()
261 if (row_info->bit_depth == 1) in count_zero_samples()
273 if (row_info->bit_depth == 2) in count_zero_samples()
285 if (row_info->bit_depth == 4) in count_zero_samples()
297 if (row_info->bit_depth == 8) in count_zero_samples()
301 if (row_info->bit_depth == 16) in count_zero_samples()
[all …]
Dpngrutil.c3541 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/libpng/contrib/intel/
Dfilter_sse2_intrinsics.c47 void png_read_filter_row_sub3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub3_sse2() argument
55 int rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2()
66 void png_read_filter_row_sub4_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub4_sse2() argument
74 int rb = row_info->rowbytes; in png_read_filter_row_sub4_sse2()
85 void png_read_filter_row_avg3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg3_sse2() argument
96 int rb = row_info->rowbytes; in png_read_filter_row_avg3_sse2()
116 void png_read_filter_row_avg4_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg4_sse2() argument
127 int rb = row_info->rowbytes; in png_read_filter_row_avg4_sse2()
174 void png_read_filter_row_paeth3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_paeth3_sse2() argument
193 int rb = row_info->rowbytes; in png_read_filter_row_paeth3_sse2()
[all …]
/external/libpng/arm/
Dfilter_neon_intrinsics.c43 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()
62 png_read_filter_row_sub3_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub3_neon() argument
66 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub3_neon()
107 png_read_filter_row_sub4_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub4_neon() argument
111 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub4_neon()
134 png_read_filter_row_avg3_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg3_neon() argument
139 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg3_neon()
200 png_read_filter_row_avg4_neon(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg4_neon() argument
204 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg4_neon()
[all …]

12