Home
last modified time | relevance | path

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

123

/external/qemu/distrib/libpng-1.2.19/
Dpngtrans.c176 png_do_invert(png_row_infop row_info, png_bytep row) in png_do_invert()
188 png_bytep rp = row; in png_do_invert()
201 png_bytep rp = row; in png_do_invert()
214 png_bytep rp = row; in png_do_invert()
231 png_do_swap(png_row_infop row_info, png_bytep row) in png_do_swap()
240 png_bytep rp = row; in png_do_swap()
362 png_do_packswap(png_row_infop row_info, png_bytep row) in png_do_packswap()
371 png_bytep rp, end, table; in png_do_packswap()
376 table = (png_bytep)onebppswaptable; in png_do_packswap()
378 table = (png_bytep)twobppswaptable; in png_do_packswap()
[all …]
Dpng.h449 #define png_bytep_NULL (png_bytep)NULL
781 png_bytep trans; /* transparent values for paletted image */
1061 typedef void (PNGAPI *png_rw_ptr) PNGARG((png_structp, png_bytep, png_size_t));
1071 typedef void (PNGAPI *png_progressive_row_ptr) PNGARG((png_structp, png_bytep,
1079 png_row_infop, png_bytep));
1154 png_bytep zbuf; /* buffer for zlib */
1170 png_bytep prev_row; /* buffer to save previous (unfiltered) row */
1171 png_bytep row_buf; /* buffer to save current (unfiltered) row */
1172 png_bytep sub_row; /* buffer to save "sub" row when filtering */
1173 png_bytep up_row; /* buffer to save "up" row when filtering */
[all …]
Dpngwtran.c87 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) in png_do_pack()
100 png_bytep sp, dp; in png_do_pack()
131 png_bytep sp, dp; in png_do_pack()
163 png_bytep sp, dp; in png_do_pack()
213 png_do_shift(png_row_infop row_info, png_bytep row, png_color_8p bit_depth) in png_do_shift()
254 png_bytep bp = row; in png_do_shift()
284 png_bytep bp = row; in png_do_shift()
308 png_bytep bp; in png_do_shift()
337 png_do_write_swap_alpha(png_row_infop row_info, png_bytep row) in png_do_write_swap_alpha()
349 png_bytep sp, dp; in png_do_write_swap_alpha()
[all …]
Dpngwutil.c20 png_save_uint_32(png_bytep buf, png_uint_32 i) in png_save_uint_32()
33 png_save_int_32(png_bytep buf, png_int_32 i) in png_save_int_32()
46 png_save_uint_16(png_bytep buf, unsigned int i) in png_save_uint_16()
62 png_write_chunk(png_structp png_ptr, png_bytep chunk_name, in png_write_chunk()
63 png_bytep data, png_size_t length) in png_write_chunk()
76 png_write_chunk_start(png_structp png_ptr, png_bytep chunk_name, in png_write_chunk_start()
100 png_write_chunk_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_write_chunk_data()
344 png_write_chunk_data(png_ptr, (png_bytep)comp->input, in png_write_compressed_data_out()
352 png_write_chunk_data(png_ptr,(png_bytep)comp->output_ptr[i], in png_write_compressed_data_out()
497 png_write_chunk(png_ptr, (png_bytep)png_IHDR, buf, (png_size_t)13); in png_write_IHDR()
[all …]
Dpngrutil.c50 png_get_uint_31(png_structp png_ptr, png_bytep buf) in png_get_uint_31()
60 png_get_uint_32(png_bytep buf) in png_get_uint_32()
74 png_get_int_32(png_bytep buf) in png_get_int_32()
86 png_get_uint_16(png_bytep buf) in png_get_uint_16()
97 png_crc_read(png_structp png_ptr, png_bytep buf, png_size_t length) in png_crc_read()
195 png_ptr->zstream.next_in = (png_bytep)(chunkdata + prefix_size); in png_decompress_chunk()
992 png_bytep pC; in png_handle_iCCP()
1030 png_crc_read(png_ptr, (png_bytep)chunkdata, slength); in png_handle_iCCP()
1077 pC = (png_bytep)(chunkdata+prefix_length); in png_handle_iCCP()
1104 png_bytep chunkdata; in png_handle_sPLT()
[all …]
Dpnggccrd.c970 png_combine_row(png_structp png_ptr, png_bytep row, int mask) in png_combine_row()
975 png_bytep dummy_value_S; in png_combine_row()
976 png_bytep dummy_value_D; in png_combine_row()
1000 png_bytep srcptr; in png_combine_row()
1001 png_bytep dstptr; in png_combine_row()
1166 png_bytep srcptr; in png_combine_row()
1167 png_bytep dstptr; in png_combine_row()
1337 png_bytep srcptr; in png_combine_row()
1338 png_bytep dstptr; in png_combine_row()
1472 png_bytep sp; in png_combine_row()
[all …]
Dpngrtran.c153 png_ptr->dither_index = (png_bytep)png_malloc(png_ptr, in png_set_dither()
169 png_ptr->dither_sort = (png_bytep)png_malloc(png_ptr, in png_set_dither()
298 png_ptr->index_to_palette = (png_bytep)png_malloc(png_ptr, in png_set_dither()
300 png_ptr->palette_to_index = (png_bytep)png_malloc(png_ptr, in png_set_dither()
453 png_bytep distance; in png_set_dither()
461 png_ptr->palette_lookup = (png_bytep )png_malloc(png_ptr, in png_set_dither()
467 distance = (png_bytep)png_malloc(png_ptr, (png_uint_32)(num_entries * in png_set_dither()
1505 png_do_unpack(png_row_infop row_info, png_bytep row) in png_do_unpack()
1521 png_bytep sp = row + (png_size_t)((row_width - 1) >> 3); in png_do_unpack()
1522 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack()
[all …]
Dpngrio.c29 png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_read_data()
45 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_read_data()
74 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_read_data()
84 if ((png_bytep)n_data == data) in png_default_read_data()
Dpngwio.c29 png_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_write_data()
44 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_write_data()
68 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_write_data()
78 if ((png_bytep)near_data == data) in png_default_write_data()
Dpngpread.c29 png_bytep buffer, png_size_t buffer_size) in png_process_data()
219 if (!png_memcmp(png_ptr->chunk_name, (png_bytep)png_IDAT, 4)) in png_push_read_chunk()
276 else if (!png_memcmp(png_ptr->chunk_name, (png_bytep)png_IDAT, 4)) in png_push_read_chunk()
562 png_push_fill_buffer(png_structp png_ptr, png_bytep buffer, png_size_t length) in png_push_fill_buffer()
564 png_bytep ptr; in png_push_fill_buffer()
608 png_bytep sp; in png_push_save_buffer()
609 png_bytep dp; in png_push_save_buffer()
623 png_bytep old_buffer; in png_push_save_buffer()
632 png_ptr->save_buffer = (png_bytep)png_malloc(png_ptr, in png_push_save_buffer()
650 png_push_restore_buffer(png_structp png_ptr, png_bytep buffer, in png_push_restore_buffer()
[all …]
Dpngvcrd.c115 png_combine_row(png_structp png_ptr, png_bytep row, int mask) in png_combine_row()
145 png_bytep srcptr; in png_combine_row()
146 png_bytep dstptr; in png_combine_row()
280 png_bytep srcptr; in png_combine_row()
281 png_bytep dstptr; in png_combine_row()
424 png_bytep srcptr; in png_combine_row()
425 png_bytep dstptr; in png_combine_row()
530 png_bytep sp; in png_combine_row()
531 png_bytep dp; in png_combine_row()
587 png_bytep sp; in png_combine_row()
[all …]
/external/libpng/
Dpngtrans.c205 png_do_invert(png_row_infop row_info, png_bytep row) in png_do_invert()
218 png_bytep rp = row; in png_do_invert()
231 png_bytep rp = row; in png_do_invert()
244 png_bytep rp = row; in png_do_invert()
261 png_do_swap(png_row_infop row_info, png_bytep row) in png_do_swap()
271 png_bytep rp = row; in png_do_swap()
393 png_do_packswap(png_row_infop row_info, png_bytep row) in png_do_packswap()
403 png_bytep rp, end, table; in png_do_packswap()
408 table = (png_bytep)onebppswaptable; in png_do_packswap()
410 table = (png_bytep)twobppswaptable; in png_do_packswap()
[all …]
Dpngwutil.c24 png_save_uint_32(png_bytep buf, png_uint_32 i) in png_save_uint_32()
37 png_save_int_32(png_bytep buf, png_int_32 i) in png_save_int_32()
50 png_save_uint_16(png_bytep buf, unsigned int i) in png_save_uint_16()
84 png_write_chunk(png_structp png_ptr, png_bytep chunk_name, in png_write_chunk()
85 png_bytep data, png_size_t length) in png_write_chunk()
99 png_write_chunk_start(png_structp png_ptr, png_bytep chunk_name, in png_write_chunk_start()
128 png_write_chunk_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_write_chunk_data()
360 png_write_chunk_data(png_ptr, (png_bytep)comp->input, in png_write_compressed_data_out()
368 png_write_chunk_data(png_ptr, (png_bytep)comp->output_ptr[i], in png_write_compressed_data_out()
517 png_write_chunk(png_ptr, (png_bytep)png_IHDR, buf, (png_size_t)13); in png_write_IHDR()
[all …]
Dpng.h568 #define png_bytep_NULL (png_bytep)NULL
794 png_bytep prev_row;
944 png_bytep trans PNG_DEPSTRUCT; /* transparent values for paletted image */
1225 typedef void (PNGAPI *png_rw_ptr) PNGARG((png_structp, png_bytep, png_size_t));
1238 typedef void (PNGAPI *png_progressive_row_ptr) PNGARG((png_structp, png_bytep,
1246 png_row_infop, png_bytep));
1329 png_bytep zbuf PNG_DEPSTRUCT; /* buffer for zlib */
1354 png_bytep prev_row PNG_DEPSTRUCT; /* buffer to save previous (unfiltered) row */
1355 png_bytep row_buf PNG_DEPSTRUCT; /* buffer to save current (unfiltered) row */
1357 png_bytep sub_row PNG_DEPSTRUCT; /* buffer to save "sub" row when filtering */
[all …]
Dpngwtran.c92 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) in png_do_pack()
106 png_bytep sp, dp; in png_do_pack()
137 png_bytep sp, dp; in png_do_pack()
169 png_bytep sp, dp; in png_do_pack()
219 png_do_shift(png_row_infop row_info, png_bytep row, png_color_8p bit_depth) in png_do_shift()
261 png_bytep bp = row; in png_do_shift()
291 png_bytep bp = row; in png_do_shift()
315 png_bytep bp; in png_do_shift()
344 png_do_write_swap_alpha(png_row_infop row_info, png_bytep row) in png_do_write_swap_alpha()
357 png_bytep sp, dp; in png_do_write_swap_alpha()
[all …]
Dpngrtran.c178 png_ptr->dither_index = (png_bytep)png_malloc(png_ptr, in png_set_dither()
195 png_ptr->dither_sort = (png_bytep)png_malloc(png_ptr, in png_set_dither()
327 png_ptr->index_to_palette = (png_bytep)png_malloc(png_ptr, in png_set_dither()
329 png_ptr->palette_to_index = (png_bytep)png_malloc(png_ptr, in png_set_dither()
481 png_bytep distance; in png_set_dither()
489 png_ptr->palette_lookup = (png_bytep )png_calloc(png_ptr, in png_set_dither()
492 distance = (png_bytep)png_malloc(png_ptr, (png_uint_32)(num_entries * in png_set_dither()
1592 png_do_unpack(png_row_infop row_info, png_bytep row) in png_do_unpack()
1609 png_bytep sp = row + (png_size_t)((row_width - 1) >> 3); in png_do_unpack()
1610 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack()
[all …]
Dpngrutil.c54 png_get_uint_31(png_structp png_ptr, png_bytep buf) in png_get_uint_31()
72 png_get_uint_32(png_bytep buf) in png_get_uint_32()
87 png_get_int_32(png_bytep buf) in png_get_int_32()
99 png_get_uint_16(png_bytep buf) in png_get_uint_16()
139 png_crc_read(png_structp png_ptr, png_bytep buf, png_size_t length) in png_crc_read()
240 png_bytep output, png_size_t output_size) in png_inflate()
244 png_ptr->zstream.next_in = (png_bytep)data; /* const_cast: VALID */ in png_inflate()
352 (png_bytep)(png_ptr->chunkdata + prefix_size), in png_decompress_chunk()
396 (png_bytep)(png_ptr->chunkdata + prefix_size), in png_decompress_chunk()
398 (png_bytep)(text + prefix_size), expanded_size); in png_decompress_chunk()
[all …]
Dpngrio.c33 png_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_read_data()
66 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_read_data()
96 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_read_data()
107 if ((png_bytep)n_data == data) in png_default_read_data()
Dpngwio.c34 png_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_write_data()
50 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_write_data()
75 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in png_default_write_data()
86 if ((png_bytep)near_data == data) in png_default_write_data()
Dexample.c346 png_bytep row_pointers[height];
458 png_bytep buffer, png_uint_32 length)
492 row_callback(png_structp png_ptr, png_bytep new_row,
515 png_bytep old_row = ((png_bytep *)our_data)[row_num];
760 png_bytep row_pointers[height];
762 if (height > PNG_UINT_32_MAX/png_sizeof(png_bytep))
Dpngpread.c32 png_bytep buffer, png_size_t buffer_size) in png_process_data()
631 png_push_fill_buffer(png_structp png_ptr, png_bytep buffer, png_size_t length) in png_push_fill_buffer()
633 png_bytep ptr; in png_push_fill_buffer()
680 png_bytep sp; in png_push_save_buffer()
681 png_bytep dp; in png_push_save_buffer()
695 png_bytep old_buffer; in png_push_save_buffer()
705 png_ptr->save_buffer = (png_bytep)png_malloc_warn(png_ptr, in png_push_save_buffer()
728 png_push_restore_buffer(png_structp png_ptr, png_bytep buffer, in png_push_restore_buffer()
832 png_process_IDAT_data(png_structp png_ptr, png_bytep buffer, in png_process_IDAT_data()
1248 png_crc_read(png_ptr, (png_bytep)png_ptr->current_text_ptr, text_size); in png_push_read_tEXt()
[all …]
Dpngtest.c176 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()
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()
206 png_bytep dp = data; in count_zero_samples()
313 pngtest_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in pngtest_read_data()
342 pngtest_read_data(png_structp png_ptr, png_bytep data, png_size_t length) in pngtest_read_data()
351 if ((png_bytep)n_data == data) in pngtest_read_data()
396 pngtest_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in pngtest_write_data()
416 pngtest_write_data(png_structp png_ptr, png_bytep data, png_size_t length) in pngtest_write_data()
[all …]
Dpngread.c158 png_ptr->zbuf = (png_bytep)png_malloc(png_ptr, in png_create_read_struct_2()
327 png_ptr->zbuf = (png_bytep)png_malloc(png_ptr, in png_read_init_3()
446 PNG_CONST png_bytep chunk_name = png_ptr->chunk_name; in png_read_info()
608 png_read_row(png_structp png_ptr, png_bytep row, png_bytep dsp_row) in png_read_row()
898 png_bytep rptr = *rp++; in png_read_rows()
899 png_bytep dptr = *dp++; in png_read_rows()
906 png_bytep rptr = *rp; in png_read_rows()
913 png_bytep dptr = *dp; in png_read_rows()
984 png_bytep rp; in png_build_index()
1182 PNG_CONST png_bytep chunk_name = png_ptr->chunk_name; in png_read_end()
[all …]
/external/webkit/Source/WebCore/platform/image-decoders/png/
DPNGImageDecoder.cpp85 static void PNGAPI rowAvailable(png_structp png, png_bytep rowBuffer, png_uint_32 rowIndex, int int… in rowAvailable()
141 …png_process_data(m_png, m_info, reinterpret_cast<png_bytep>(const_cast<char*>(segment)), segmentLe… in decode()
154 png_bytep interlaceBuffer() const { return m_interlaceBuffer; } in interlaceBuffer()
167 png_bytep m_interlaceBuffer;
285 png_bytep trns = 0; in headerAvailable()
389 png_bytep row; in rowAvailable()
390 png_bytep interlaceBuffer = m_reader->interlaceBuffer(); in rowAvailable()
406 png_bytep pixel = row + (m_scaled ? m_scaledColumns[x] : x) * colorChannels; in rowAvailable()
/external/libpng/contrib/visupng/
DPngFile.h26 static void png_read_data(png_structp png_ptr, png_bytep data, png_size_t length);
27 static void png_write_data(png_structp png_ptr, png_bytep data, png_size_t length);

123