Home
last modified time | relevance | path

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

1234

/external/libpng/contrib/gregbook/
Dreadppm.c145 ulg rowbytes; in readpng_get_image() local
154 *pRowbytes = rowbytes = channels*width; in readpng_get_image()
157 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image()
161 Trace((stderr, "readpng_get_image: rowbytes = %ld, height = %ld\n", rowbytes, height)); in readpng_get_image()
166 if (fread(image_data, 1L, rowbytes*height, saved_infile) < in readpng_get_image()
167 rowbytes*height) { in readpng_get_image()
Dreadpng.c211 png_uint_32 i, rowbytes; in readpng_get_image() local
264 *pRowbytes = rowbytes = png_get_rowbytes(png_ptr, info_ptr); in readpng_get_image()
267 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image()
279 *pChannels, rowbytes, height)); in readpng_get_image()
285 row_pointers[i] = image_data + i*rowbytes; in readpng_get_image()
Dwpng.c166 ulg rowbytes; in main() local
689 rowbytes = wpng_info.width; in main()
691 rowbytes = wpng_info.width * 3; in main()
693 rowbytes = wpng_info.width * 4; in main()
705 ulg image_bytes = rowbytes * wpng_info.height; /* overflow? */ in main()
716 wpng_info.row_pointers[i] = wpng_info.image_data + i*rowbytes; in main()
735 wpng_info.image_data = (uch *)malloc(rowbytes); in main()
744 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile); in main()
745 if (bytes != rowbytes) { in main()
747 ": expected %lu bytes, got %lu bytes (row %ld)\n", rowbytes, in main()
/external/libpng/contrib/libtests/
Dmakepng.c329 set_value(png_bytep row, size_t rowbytes, png_uint_32 x, unsigned int bit_depth, in set_value() argument
340 if (offset < rowbytes && (bit_depth < 16 || offset+1 < rowbytes)) in set_value()
390 generate_row(png_bytep row, size_t rowbytes, unsigned int y, int color_type, in generate_row() argument
410 assert(y == 0 && rowbytes == 1 && size_max == 1); in generate_row()
416 assert(y == 0 && rowbytes == 1 && size_max == 3); in generate_row()
422 assert(y == 0 && rowbytes == 8 && size_max == 15); in generate_row()
440 assert(y == 0 && rowbytes == 256 && size_max == 255); in generate_row()
479 assert(rowbytes == 512 && size_max == 255); in generate_row()
504 assert(size_max == 255 && rowbytes == 256*(pixel_depth>>3)); in generate_row()
506 while (rowbytes > 0) in generate_row()
[all …]
Dreadpng.c63 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); in read_png() local
66 row = malloc(rowbytes); in read_png()
67 display = malloc(rowbytes); in read_png()
/external/pdfium/third_party/libtiff/
Dtif_fax3.c53 tmsize_t rowbytes; /* bytes in a decoded scanline */ member
231 if (occ % sp->b.rowbytes) in Fax3Decode1D()
250 buf += sp->b.rowbytes; in Fax3Decode1D()
251 occ -= sp->b.rowbytes; in Fax3Decode1D()
275 if (occ % sp->b.rowbytes) in Fax3Decode2D()
307 buf += sp->b.rowbytes; in Fax3Decode2D()
308 occ -= sp->b.rowbytes; in Fax3Decode2D()
480 tmsize_t rowbytes; in Fax3SetupState() local
492 rowbytes = TIFFTileRowSize(tif); in Fax3SetupState()
495 rowbytes = TIFFScanlineSize(tif); in Fax3SetupState()
[all …]
/external/syslinux/com32/lib/libpng/
Dpngtrans.c220 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
233 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
246 png_uint_32 istop = row_info->rowbytes; in png_do_invert()
405 end = row + row_info->rowbytes; in png_do_packswap()
470 row_info->rowbytes = row_width * 3; in png_do_strip_filler()
516 row_info->rowbytes = row_width * 6; in png_do_strip_filler()
546 row_info->rowbytes = row_width; in png_do_strip_filler()
572 row_info->rowbytes = row_width * 2; in png_do_strip_filler()
Dpngrtran.c1318 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width); in png_read_transform_info()
1486 if (png_ptr->row_info.rowbytes == (png_uint_32)0) in png_do_read_transformations()
1567 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth, in png_do_read_transformations()
1663 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack()
1723 png_uint_32 istop = row_info->rowbytes; in png_do_unshift()
1737 png_uint_32 istop = row_info->rowbytes; in png_do_unshift()
1836 row_info->rowbytes = row_info->width * row_info->channels; in png_do_chop()
1857 png_bytep sp = row + row_info->rowbytes; in png_do_read_swap_alpha()
1874 png_bytep sp = row + row_info->rowbytes; in png_do_read_swap_alpha()
1899 png_bytep sp = row + row_info->rowbytes; in png_do_read_swap_alpha()
[all …]
/external/pdfium/third_party/libpng16/arm/
Dfilter_neon.S66 ldr r3, [r0, #4] @ rowbytes
82 ldr r3, [r0, #4] @ rowbytes
108 ldr r3, [r0, #4] @ rowbytes
121 ldr r12, [r0, #4] @ rowbytes
143 ldr r12, [r0, #4] @ rowbytes
193 ldr r12, [r0, #4] @ rowbytes
217 ldr r12, [r0, #4] @ rowbytes
Dfilter_neon_intrinsics.c47 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_up_neon()
68 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub3_neon()
115 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub4_neon()
145 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg3_neon()
212 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg4_neon()
280 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_paeth3_neon()
347 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_paeth4_neon()
/external/skia/third_party/libpng/arm/
Dfilter_neon.S66 ldr r3, [r0, #4] @ rowbytes
82 ldr r3, [r0, #4] @ rowbytes
108 ldr r3, [r0, #4] @ rowbytes
121 ldr r12, [r0, #4] @ rowbytes
143 ldr r12, [r0, #4] @ rowbytes
193 ldr r12, [r0, #4] @ rowbytes
217 ldr r12, [r0, #4] @ rowbytes
Dfilter_neon_intrinsics.c47 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_up_neon()
68 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub3_neon()
115 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub4_neon()
145 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg3_neon()
212 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg4_neon()
280 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_paeth3_neon()
347 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_paeth4_neon()
/external/libpng/arm/
Dfilter_neon.S66 ldr r3, [r0, #4] @ rowbytes
82 ldr r3, [r0, #4] @ rowbytes
108 ldr r3, [r0, #4] @ rowbytes
121 ldr r12, [r0, #4] @ rowbytes
143 ldr r12, [r0, #4] @ rowbytes
193 ldr r12, [r0, #4] @ rowbytes
217 ldr r12, [r0, #4] @ rowbytes
Dfilter_neon_intrinsics.c47 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_up_neon()
68 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub3_neon()
115 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub4_neon()
145 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg3_neon()
212 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg4_neon()
280 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_paeth3_neon()
347 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_paeth4_neon()
/external/libpng/contrib/intel/
Dfilter_sse2_intrinsics.c75 int rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2()
104 int rb = row_info->rowbytes; in png_read_filter_row_sub4_sse2()
128 int rb = row_info->rowbytes; in png_read_filter_row_avg3_sse2()
177 int rb = row_info->rowbytes; in png_read_filter_row_avg4_sse2()
246 int rb = row_info->rowbytes; in png_read_filter_row_paeth3_sse2()
340 int rb = row_info->rowbytes; in png_read_filter_row_paeth4_sse2()
/external/skia/third_party/libpng/contrib/intel/
Dfilter_sse2_intrinsics.c75 int rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2()
104 int rb = row_info->rowbytes; in png_read_filter_row_sub4_sse2()
128 int rb = row_info->rowbytes; in png_read_filter_row_avg3_sse2()
177 int rb = row_info->rowbytes; in png_read_filter_row_avg4_sse2()
246 int rb = row_info->rowbytes; in png_read_filter_row_paeth3_sse2()
340 int rb = row_info->rowbytes; in png_read_filter_row_paeth4_sse2()
/external/pdfium/third_party/libpng16/contrib/intel/
Dfilter_sse2_intrinsics.c75 int rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2()
104 int rb = row_info->rowbytes; in png_read_filter_row_sub4_sse2()
128 int rb = row_info->rowbytes; in png_read_filter_row_avg3_sse2()
177 int rb = row_info->rowbytes; in png_read_filter_row_avg4_sse2()
246 int rb = row_info->rowbytes; in png_read_filter_row_paeth3_sse2()
340 int rb = row_info->rowbytes; in png_read_filter_row_paeth4_sse2()
/external/skia/third_party/libpng/
Dpngtrans.c272 png_size_t istop = row_info->rowbytes; in png_do_invert()
286 png_size_t istop = row_info->rowbytes; in png_do_invert()
301 png_size_t istop = row_info->rowbytes; in png_do_invert()
463 end = row + row_info->rowbytes; in png_do_packswap()
498 png_bytep ep = row + row_info->rowbytes; /* One beyond end of row */ in png_do_strip_channel()
597 row_info->rowbytes = dp-row; in png_do_strip_channel()
696 png_bytep rp = png_ptr->row_buf + row_info->rowbytes; in png_do_check_palette_indexes()
Dpngrtran.c2114 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width); in png_read_transform_info()
2122 png_ptr->info_rowbytes = info_ptr->rowbytes; in png_read_transform_info()
2224 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack()
2300 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift()
2315 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift()
2333 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift()
2351 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift()
2383 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_scale_16_to_8()
2426 row_info->rowbytes = row_info->width * row_info->channels; in png_do_scale_16_to_8()
2444 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_chop()
[all …]
/external/pdfium/third_party/libpng16/
Dpngtrans.c272 png_size_t istop = row_info->rowbytes; in png_do_invert()
286 png_size_t istop = row_info->rowbytes; in png_do_invert()
301 png_size_t istop = row_info->rowbytes; in png_do_invert()
463 end = row + row_info->rowbytes; in png_do_packswap()
498 png_bytep ep = row + row_info->rowbytes; /* One beyond end of row */ in png_do_strip_channel()
597 row_info->rowbytes = dp-row; in png_do_strip_channel()
696 png_bytep rp = png_ptr->row_buf + row_info->rowbytes; in png_do_check_palette_indexes()
Dpngrtran.c2114 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width); in png_read_transform_info()
2122 png_ptr->info_rowbytes = info_ptr->rowbytes; in png_read_transform_info()
2224 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack()
2300 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift()
2315 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift()
2333 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift()
2351 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift()
2383 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_scale_16_to_8()
2426 row_info->rowbytes = row_info->width * row_info->channels; in png_do_scale_16_to_8()
2444 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_chop()
[all …]
/external/libpng/
Dpngtrans.c273 png_size_t istop = row_info->rowbytes; in png_do_invert()
287 png_size_t istop = row_info->rowbytes; in png_do_invert()
302 png_size_t istop = row_info->rowbytes; in png_do_invert()
464 end = row + row_info->rowbytes; in png_do_packswap()
499 png_bytep ep = row + row_info->rowbytes; /* One beyond end of row */ in png_do_strip_channel()
598 row_info->rowbytes = dp-row; in png_do_strip_channel()
697 png_bytep rp = png_ptr->row_buf + row_info->rowbytes; in png_do_check_palette_indexes()
Dpngrtran.c2114 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width); in png_read_transform_info()
2122 png_ptr->info_rowbytes = info_ptr->rowbytes; in png_read_transform_info()
2224 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack()
2300 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift()
2315 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift()
2333 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift()
2351 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift()
2383 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_scale_16_to_8()
2426 row_info->rowbytes = row_info->width * row_info->channels; in png_do_scale_16_to_8()
2444 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_chop()
[all …]
/external/swiftshader/third_party/LLVM/test/Transforms/IndVarSimplify/
Ddangling-use.ll6 define void @vec_inverse_5_7_vert_loop_copyseparate(i8* %x, i32 %n, i32 %rowbytes) nounwind {
9 %tmp2 = sdiv i32 %rowbytes, 5 ; <i32> [#uses=2]
/external/llvm/test/Transforms/IndVarSimplify/
Ddangling-use.ll6 define void @vec_inverse_5_7_vert_loop_copyseparate(i8* %x, i32 %n, i32 %rowbytes) nounwind {
9 %tmp2 = sdiv i32 %rowbytes, 5 ; <i32> [#uses=2]

1234