Home
last modified time | relevance | path

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

12

/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngwtran.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 …]
Dfx_pngtrans.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 …]
Dfx_pngrtran.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.h1131 PNG_INTERNAL_FUNCTION(void,png_do_read_interlace,(png_row_infop row_info,
1139 PNG_INTERNAL_FUNCTION(void,png_do_write_interlace,(png_row_infop row_info,
1147 row_info, png_bytep row, png_const_bytep prev_row, int filter),PNG_EMPTY);
1149 PNG_INTERNAL_FUNCTION(void,png_read_filter_row_up_neon,(png_row_infop row_info,
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);
1158 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
1160 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
1162 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
[all …]
Dfx_pngpread.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 …]
Dfx_pngwrite.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 …]
Dfx_pngrutil.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 …]
Dfx_pngread.c310 png_row_info row_info; in png_read_row() local
325 row_info.width = png_ptr->iwidth; /* NOTE: width of current interlaced row */ in png_read_row()
326 row_info.color_type = png_ptr->color_type; in png_read_row()
327 row_info.bit_depth = png_ptr->bit_depth; in png_read_row()
328 row_info.channels = png_ptr->channels; in png_read_row()
329 row_info.pixel_depth = png_ptr->pixel_depth; in png_read_row()
330 row_info.rowbytes = PNG_ROWBYTES(row_info.pixel_depth, row_info.width); in png_read_row()
464 png_read_IDAT_data(png_ptr, png_ptr->row_buf, row_info.rowbytes + 1); in png_read_row()
469 png_read_filter_row(png_ptr, &row_info, png_ptr->row_buf + 1, in png_read_row()
480 memcpy(png_ptr->prev_row, png_ptr->row_buf, row_info.rowbytes + 1); in png_read_row()
[all …]
Dfx_pngwutil.c2135 png_do_write_interlace(png_row_infop row_info, png_bytep row, int pass) in png_do_write_interlace() argument
2151 switch (row_info->pixel_depth) in png_do_write_interlace()
2161 png_uint_32 row_width = row_info->width; in png_do_write_interlace()
2199 png_uint_32 row_width = row_info->width; in png_do_write_interlace()
2236 png_uint_32 row_width = row_info->width; in png_do_write_interlace()
2269 png_uint_32 row_width = row_info->width; in png_do_write_interlace()
2276 pixel_bytes = (row_info->pixel_depth >> 3); in png_do_write_interlace()
2296 row_info->width = (row_info->width + in png_do_write_interlace()
2301 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, in png_do_write_interlace()
2302 row_info->width); in png_do_write_interlace()
[all …]
Dpngstruct.h480 void (*read_filter[PNG_FILTER_VALUE_LAST-1])(png_row_infop row_info,
/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.c2139 png_do_unpack(png_row_infop row_info, png_bytep row) in png_do_unpack() argument
2143 if (row_info->bit_depth < 8) in png_do_unpack()
2146 png_uint_32 row_width=row_info->width; in png_do_unpack()
2148 switch (row_info->bit_depth) in png_do_unpack()
2223 row_info->bit_depth = 8; in png_do_unpack()
2224 row_info->pixel_depth = (png_byte)(8 * row_info->channels); in png_do_unpack()
2225 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack()
2237 png_do_unshift(png_row_infop row_info, png_bytep row, in png_do_unshift() argument
2245 color_type = row_info->color_type; in png_do_unshift()
2251 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 …]
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 …]
Dpngpriv.h1159 PNG_INTERNAL_FUNCTION(void,png_do_read_interlace,(png_row_infop row_info,
1167 PNG_INTERNAL_FUNCTION(void,png_do_write_interlace,(png_row_infop row_info,
1175 row_info, png_bytep row, png_const_bytep prev_row, int filter),PNG_EMPTY);
1177 PNG_INTERNAL_FUNCTION(void,png_read_filter_row_up_neon,(png_row_infop row_info,
1180 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
1182 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
1184 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
1186 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
1188 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
1190 row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
[all …]
Dpngtest.c212 read_user_callback(png_structp png_ptr, png_row_infop row_info, png_bytep data) in read_user_callback() argument
215 PNG_UNUSED(row_info) in read_user_callback()
228 count_zero_samples(png_structp png_ptr, png_row_infop row_info, png_bytep data) in count_zero_samples() argument
245 if (row_info->color_type == 0 || row_info->color_type == 3) in count_zero_samples()
250 for (n = 0, nstop=row_info->width; n<nstop; n++) in count_zero_samples()
252 if (row_info->bit_depth == 1) in count_zero_samples()
264 if (row_info->bit_depth == 2) in count_zero_samples()
276 if (row_info->bit_depth == 4) in count_zero_samples()
288 if (row_info->bit_depth == 8) in count_zero_samples()
292 if (row_info->bit_depth == 16) in count_zero_samples()
[all …]
Dpngrutil.c3575 png_do_read_interlace(png_row_infop row_info, png_bytep row, int pass, in png_do_read_interlace() argument
3583 if (row != NULL && row_info != NULL) in png_do_read_interlace()
3587 final_width = row_info->width * png_pass_inc[pass]; in png_do_read_interlace()
3589 switch (row_info->pixel_depth) in png_do_read_interlace()
3593 png_bytep sp = row + (png_size_t)((row_info->width - 1) >> 3); in png_do_read_interlace()
3605 sshift = (int)((row_info->width + 7) & 0x07); in png_do_read_interlace()
3615 sshift = 7 - (int)((row_info->width + 7) & 0x07); in png_do_read_interlace()
3622 for (i = 0; i < row_info->width; i++) in png_do_read_interlace()
3655 png_bytep sp = row + (png_uint_32)((row_info->width - 1) >> 2); in png_do_read_interlace()
3665 sshift = (int)(((row_info->width + 3) & 0x03) << 1); in png_do_read_interlace()
[all …]
Dpngread.c323 png_do_read_intrapixel(png_row_infop row_info, png_bytep row) in png_do_read_intrapixel() argument
328 (row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) in png_do_read_intrapixel()
331 png_uint_32 row_width = row_info->width; in png_do_read_intrapixel()
333 if (row_info->bit_depth == 8) in png_do_read_intrapixel()
338 if (row_info->color_type == PNG_COLOR_TYPE_RGB) in png_do_read_intrapixel()
341 else if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA) in png_do_read_intrapixel()
353 else if (row_info->bit_depth == 16) in png_do_read_intrapixel()
358 if (row_info->color_type == PNG_COLOR_TYPE_RGB) in png_do_read_intrapixel()
361 else if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA) in png_do_read_intrapixel()
387 png_row_info row_info; in png_read_row() local
[all …]
Dpngwutil.c2152 png_do_write_interlace(png_row_infop row_info, png_bytep row, int pass) in png_do_write_interlace() argument
2168 switch (row_info->pixel_depth) in png_do_write_interlace()
2178 png_uint_32 row_width = row_info->width; in png_do_write_interlace()
2216 png_uint_32 row_width = row_info->width; in png_do_write_interlace()
2253 png_uint_32 row_width = row_info->width; in png_do_write_interlace()
2286 png_uint_32 row_width = row_info->width; in png_do_write_interlace()
2293 pixel_bytes = (row_info->pixel_depth >> 3); in png_do_write_interlace()
2313 row_info->width = (row_info->width + in png_do_write_interlace()
2318 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, in png_do_write_interlace()
2319 row_info->width); in png_do_write_interlace()
[all …]
Dpngstruct.h521 void (*read_filter[PNG_FILTER_VALUE_LAST-1])(png_row_infop row_info,
DCHANGES1406 Replaced row_info->rowbytes with row_bytes in png_write_find_filter()
1489 Added code to update the row_info->colortype in png_do_read_filler() (MSB).
3270 function prototypes in the manual. The row_info struct is png_row_infop.
3603 Moved row_info from png_struct to a local variable.
/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 …]
/external/pdfium/third_party/freetype/src/sfnt/
Dpngshim.c53 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/
Dpngshim.c54 png_row_infop row_info, in premultiply_data() argument
62 for ( i = 0; i < row_info->rowbytes; i += 4 ) in premultiply_data()
97 png_row_infop row_info, in convert_bytes_to_data() argument
105 for ( i = 0; i < row_info->rowbytes; i += 4 ) in convert_bytes_to_data()

12