Home
last modified time | relevance | path

Searched refs:png_bytep (Results 1 – 25 of 89) sorted by relevance

1234

/external/libpng/
Dpngstruct.h41 # define PNGZ_INPUT_CAST(b) png_constcast(png_bytep,b)
221 png_bytep prev_row; /* buffer to save previous (unfiltered) row.
226 png_bytep row_buf; /* buffer to save current (unfiltered) row.
232 png_bytep try_row; /* buffer to save trial row when filtering */
233 png_bytep tst_row; /* buffer to save best trial row when filtering */
293 png_bytep gamma_table; /* gamma table for 8-bit depth files */
298 png_bytep gamma_from_1; /* converts from 1.0 to screen */
299 png_bytep gamma_to_1; /* converts from file to 1.0 */
315 png_bytep trans_alpha; /* alpha values for paletted files */
325 png_bytep save_buffer_ptr; /* current location in save_buffer */
[all …]
Dpngwtran.c25 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) in png_do_pack()
36 png_bytep sp, dp; in png_do_pack()
73 png_bytep sp, dp; in png_do_pack()
113 png_bytep sp, dp; in png_do_pack()
172 png_do_shift(png_row_infop row_info, png_bytep row, in png_do_shift()
214 png_bytep bp = row; in png_do_shift()
251 png_bytep bp = row; in png_do_shift()
280 png_bytep bp; in png_do_shift()
311 png_do_write_swap_alpha(png_row_infop row_info, png_bytep row) in png_do_write_swap_alpha()
321 png_bytep sp, dp; in png_do_write_swap_alpha()
[all …]
Dpngpriv.h1049 png_bytep data, png_size_t length),PNG_EMPTY);
1053 png_bytep buffer, png_size_t length),PNG_EMPTY);
1057 png_bytep data, png_size_t length),PNG_EMPTY);
1082 PNG_INTERNAL_FUNCTION(void,png_read_data,(png_structrp png_ptr, png_bytep data,
1086 PNG_INTERNAL_FUNCTION(void,png_crc_read,(png_structrp png_ptr, png_bytep buf,
1148 png_bytep exif, int num_exif),PNG_EMPTY);
1265 png_bytep row, int display),PNG_EMPTY);
1275 png_bytep row, int pass, png_uint_32 transformations),PNG_EMPTY);
1283 png_bytep row, int pass),PNG_EMPTY);
1290 row_info, png_bytep row, png_const_bytep prev_row, int filter),PNG_EMPTY);
[all …]
Dpngtrans.c262 png_do_invert(png_row_infop row_info, png_bytep row) in png_do_invert()
271 png_bytep rp = row; in png_do_invert()
285 png_bytep rp = row; in png_do_invert()
300 png_bytep rp = row; in png_do_invert()
319 png_do_swap(png_row_infop row_info, png_bytep row) in png_do_swap()
325 png_bytep rp = row; in png_do_swap()
455 png_do_packswap(png_row_infop row_info, png_bytep row) in png_do_packswap()
461 png_bytep rp; in png_do_packswap()
495 png_do_strip_channel(png_row_infop row_info, png_bytep row, int at_start) in png_do_strip_channel()
497 png_bytep sp = row; /* source pointer */ in png_do_strip_channel()
[all …]
Dpngrtran.c432 png_ptr->quantize_index = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
449 png_ptr->quantize_sort = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
583 png_ptr->index_to_palette = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
586 png_ptr->palette_to_index = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
744 png_bytep distance; in png_set_quantize()
752 png_ptr->palette_lookup = (png_bytep)png_calloc(png_ptr, in png_set_quantize()
755 distance = (png_bytep)png_malloc(png_ptr, (png_alloc_size_t)(num_entries * in png_set_quantize()
2141 png_do_unpack(png_row_infop row_info, png_bytep row) in png_do_unpack()
2154 png_bytep sp = row + (png_size_t)((row_width - 1) >> 3); in png_do_unpack()
2155 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack()
[all …]
Dpngrutil.c196 png_crc_read(png_structrp png_ptr, png_bytep buf, png_uint_32 length) in png_crc_read()
297 static png_bytep
300 png_bytep buffer = png_ptr->read_buffer; in png_read_buffer()
313 buffer = png_voidcast(png_bytep, png_malloc_base(png_ptr, new_size)); in png_read_buffer()
487 /* OUTPUT: */ png_bytep output, png_alloc_size_t *output_size_ptr) in png_inflate()
672 png_bytep text = png_voidcast(png_bytep, png_malloc_base(png_ptr, in png_decompress_chunk()
694 png_bytep old_ptr = png_ptr->read_buffer; in png_decompress_chunk()
774 png_inflate_read(png_structrp png_ptr, png_bytep read_buffer, uInt read_size, in png_inflate_read()
775 png_uint_32p chunk_bytes, png_bytep next_out, png_alloc_size_t *out_size, in png_inflate_read()
1419 png_crc_read(png_ptr, (png_bytep)keyword, read_length); in png_handle_iCCP()
[all …]
Dpnginfo.h107 png_bytep iccp_profile; /* International Color Consortium profile data */
153 png_bytep trans_alpha; /* alpha values for paletted image */
190 png_bytep exif;
192 png_bytep eXIf_buf; /* Added at libpng-1.6.32 */
Dpngread.c321 png_do_read_intrapixel(png_row_infop row_info, png_bytep row) in png_do_read_intrapixel()
333 png_bytep rp; in png_do_read_intrapixel()
353 png_bytep rp; in png_do_read_intrapixel()
383 png_read_row(png_structrp png_ptr, png_bytep row, png_bytep dsp_row) in png_read_row()
662 png_bytep rptr = *rp++; in png_read_rows()
663 png_bytep dptr = *dp++; in png_read_rows()
671 png_bytep rptr = *rp; in png_read_rows()
679 png_bytep dptr = *dp; in png_read_rows()
1053 if (info_ptr->height > PNG_UINT_32_MAX/(sizeof (png_bytep))) in png_read_png()
1223 info_ptr->height * (sizeof (png_bytep)))); in png_read_png()
[all …]
Dpngwutil.c24 png_save_uint_32(png_bytep buf, png_uint_32 i) in png_save_uint_32()
37 png_save_uint_16(png_bytep buf, unsigned int i) in png_save_uint_16()
251 optimize_cmf(png_bytep data, png_alloc_size_t data_size) in optimize_cmf()
994 png_bytep data = png_ptr->zbuffer_list->output; in png_compress_IDAT()
1044 png_bytep data = png_ptr->zbuffer_list->output; in png_compress_IDAT()
1203 png_write_chunk_data(png_ptr, (png_bytep)new_name, in png_write_sPLT()
1479 png_write_eXIf(png_structrp png_ptr, png_bytep exif, int num_exif) in png_write_eXIf()
1927 png_ptr->row_buf = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row()
1950 png_ptr->try_row = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row()
1965 png_ptr->tst_row = png_voidcast(png_bytep, png_malloc(png_ptr, in png_write_start_row()
[all …]
Dexample.c57 png_bytep buffer;
547 png_bytep row_pointers[height];
659 png_bytep buffer, png_uint_32 length)
693 row_callback(png_structp png_ptr, png_bytep new_row,
716 png_bytep old_row = ((png_bytep *)our_data)[row_num];
993 png_bytep row_pointers[height];
995 if (height > PNG_UINT_32_MAX/(sizeof (png_bytep)))
/external/pdfium/third_party/libpng16/
Dpngstruct.h41 # define PNGZ_INPUT_CAST(b) png_constcast(png_bytep,b)
221 png_bytep prev_row; /* buffer to save previous (unfiltered) row.
226 png_bytep row_buf; /* buffer to save current (unfiltered) row.
232 png_bytep try_row; /* buffer to save trial row when filtering */
233 png_bytep tst_row; /* buffer to save best trial row when filtering */
293 png_bytep gamma_table; /* gamma table for 8-bit depth files */
298 png_bytep gamma_from_1; /* converts from 1.0 to screen */
299 png_bytep gamma_to_1; /* converts from file to 1.0 */
315 png_bytep trans_alpha; /* alpha values for paletted files */
325 png_bytep save_buffer_ptr; /* current location in save_buffer */
[all …]
Dpngwtran.c25 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) in png_do_pack()
36 png_bytep sp, dp; in png_do_pack()
73 png_bytep sp, dp; in png_do_pack()
113 png_bytep sp, dp; in png_do_pack()
172 png_do_shift(png_row_infop row_info, png_bytep row, in png_do_shift()
214 png_bytep bp = row; in png_do_shift()
251 png_bytep bp = row; in png_do_shift()
280 png_bytep bp; in png_do_shift()
311 png_do_write_swap_alpha(png_row_infop row_info, png_bytep row) in png_do_write_swap_alpha()
321 png_bytep sp, dp; in png_do_write_swap_alpha()
[all …]
Dpngtrans.c261 png_do_invert(png_row_infop row_info, png_bytep row) in png_do_invert()
270 png_bytep rp = row; in png_do_invert()
284 png_bytep rp = row; in png_do_invert()
299 png_bytep rp = row; in png_do_invert()
318 png_do_swap(png_row_infop row_info, png_bytep row) in png_do_swap()
324 png_bytep rp = row; in png_do_swap()
454 png_do_packswap(png_row_infop row_info, png_bytep row) in png_do_packswap()
460 png_bytep rp; in png_do_packswap()
494 png_do_strip_channel(png_row_infop row_info, png_bytep row, int at_start) in png_do_strip_channel()
496 png_bytep sp = row; /* source pointer */ in png_do_strip_channel()
[all …]
Dpngrtran.c431 png_ptr->quantize_index = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
448 png_ptr->quantize_sort = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
582 png_ptr->index_to_palette = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
584 png_ptr->palette_to_index = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
741 png_bytep distance; in png_set_quantize()
749 png_ptr->palette_lookup = (png_bytep)png_calloc(png_ptr, in png_set_quantize()
752 distance = (png_bytep)png_malloc(png_ptr, (png_uint_32)(num_entries * in png_set_quantize()
2138 png_do_unpack(png_row_infop row_info, png_bytep row) in png_do_unpack()
2151 png_bytep sp = row + (png_size_t)((row_width - 1) >> 3); in png_do_unpack()
2152 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack()
[all …]
Dpngpriv.h975 png_bytep data, png_size_t length),PNG_EMPTY);
979 png_bytep buffer, png_size_t length),PNG_EMPTY);
983 png_bytep data, png_size_t length),PNG_EMPTY);
1008 PNG_INTERNAL_FUNCTION(void,png_read_data,(png_structrp png_ptr, png_bytep data,
1012 PNG_INTERNAL_FUNCTION(void,png_crc_read,(png_structrp png_ptr, png_bytep buf,
1186 png_bytep row, int display),PNG_EMPTY);
1196 png_bytep row, int pass, png_uint_32 transformations),PNG_EMPTY);
1204 png_bytep row, int pass),PNG_EMPTY);
1211 row_info, png_bytep row, png_const_bytep prev_row, int filter),PNG_EMPTY);
1214 png_bytep row, png_const_bytep prev_row),PNG_EMPTY);
[all …]
Dpngrutil.c193 png_crc_read(png_structrp png_ptr, png_bytep buf, png_uint_32 length) in png_crc_read()
294 static png_bytep
297 png_bytep buffer = png_ptr->read_buffer; in png_read_buffer()
310 buffer = png_voidcast(png_bytep, png_malloc_base(png_ptr, new_size)); in png_read_buffer()
478 /* OUTPUT: */ png_bytep output, png_alloc_size_t *output_size_ptr) in png_inflate()
663 png_bytep text = png_voidcast(png_bytep, png_malloc_base(png_ptr, in png_decompress_chunk()
683 png_bytep old_ptr = png_ptr->read_buffer; in png_decompress_chunk()
764 png_inflate_read(png_structrp png_ptr, png_bytep read_buffer, uInt read_size, in png_inflate_read()
765 png_uint_32p chunk_bytes, png_bytep next_out, png_alloc_size_t *out_size, in png_inflate_read()
1407 png_crc_read(png_ptr, (png_bytep)keyword, read_length); in png_handle_iCCP()
[all …]
Dpngread.c316 png_do_read_intrapixel(png_row_infop row_info, png_bytep row) in png_do_read_intrapixel()
328 png_bytep rp; in png_do_read_intrapixel()
348 png_bytep rp; in png_do_read_intrapixel()
378 png_read_row(png_structrp png_ptr, png_bytep row, png_bytep dsp_row) in png_read_row()
656 png_bytep rptr = *rp++; in png_read_rows()
657 png_bytep dptr = *dp++; in png_read_rows()
665 png_bytep rptr = *rp; in png_read_rows()
673 png_bytep dptr = *dp; in png_read_rows()
1043 if (info_ptr->height > PNG_UINT_32_MAX/(sizeof (png_bytep))) in png_read_png()
1213 info_ptr->height * (sizeof (png_bytep)))); in png_read_png()
[all …]
Dpngwutil.c24 png_save_uint_32(png_bytep buf, png_uint_32 i) in png_save_uint_32()
37 png_save_uint_16(png_bytep buf, unsigned int i) in png_save_uint_16()
251 optimize_cmf(png_bytep data, png_alloc_size_t data_size) in optimize_cmf()
989 png_bytep data = png_ptr->zbuffer_list->output; in png_compress_IDAT()
1038 png_bytep data = png_ptr->zbuffer_list->output; in png_compress_IDAT()
1196 png_write_chunk_data(png_ptr, (png_bytep)new_name, in png_write_sPLT()
1897 png_ptr->row_buf = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row()
1920 png_ptr->try_row = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row()
1935 png_ptr->tst_row = png_voidcast(png_bytep, png_malloc(png_ptr, in png_write_start_row()
1943 png_ptr->prev_row = png_voidcast(png_bytep, in png_write_start_row()
[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()
46 png_bytep rp = row; in png_read_filter_row_up_neon()
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()
67 png_bytep rp = row; in png_read_filter_row_sub3_neon()
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()
114 png_bytep rp = row; in png_read_filter_row_sub4_neon()
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()
[all …]
/external/pdfium/third_party/libpng16/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()
46 png_bytep rp = row; in png_read_filter_row_up_neon()
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()
67 png_bytep rp = row; in png_read_filter_row_sub3_neon()
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()
114 png_bytep rp = row; in png_read_filter_row_sub4_neon()
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()
[all …]
/external/libpng/contrib/intel/
Dintel_sse.patch139 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);
167 png_bytep output, png_alloc_size_t avail_out),PNG_EMPTY);
[all …]
/external/pdfium/third_party/libpng16/contrib/intel/
Dintel_sse.patch136 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 …]
Dfilter_sse2_intrinsics.c65 void png_read_filter_row_sub3_sse2(png_row_infop row_info, png_bytep row, 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()
115 void png_read_filter_row_avg3_sse2(png_row_infop row_info, png_bytep row, 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()
225 void png_read_filter_row_paeth3_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_paeth3_sse2()
319 void png_read_filter_row_paeth4_sse2(png_row_infop row_info, png_bytep row, in png_read_filter_row_paeth4_sse2()
/external/libpng/contrib/examples/
Diccfrompng.c36 static png_bytep
41 png_bytep result = NULL; in extract()
69 png_bytep profile; in extract()
99 png_bytep profile = extract(fp, &proflen); in extract_one_file()
/external/libpng/mips/
Dfilter_msa_intrinsics.c366 void png_read_filter_row_up_msa(png_row_infop row_info, png_bytep row, in png_read_filter_row_up_msa()
371 png_bytep rp = row; in png_read_filter_row_up_msa()
457 void png_read_filter_row_sub4_msa(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub4_msa()
462 png_bytep src = row; in png_read_filter_row_sub4_msa()
463 png_bytep nxt = row + 4; in png_read_filter_row_sub4_msa()
496 void png_read_filter_row_sub3_msa(png_row_infop row_info, png_bytep row, in png_read_filter_row_sub3_msa()
501 png_bytep src = row; in png_read_filter_row_sub3_msa()
502 png_bytep nxt = row + 3; in png_read_filter_row_sub3_msa()
541 void png_read_filter_row_avg4_msa(png_row_infop row_info, png_bytep row, in png_read_filter_row_avg4_msa()
545 png_bytep src = row; in png_read_filter_row_avg4_msa()
[all …]

1234