Searched refs:image_data (Results 1 - 14 of 14) sorted by relevance

/external/libpng/contrib/gregbook/
H A Dreadppm.c69 uch *image_data = NULL; variable
157 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) {
166 fread(image_data, 1L, rowbytes*height, saved_infile);
169 return image_data;
175 if (free_image_data && image_data) {
176 free(image_data);
177 image_data = NULL;
H A Dreadpng.c74 uch *image_data = NULL; variable
218 free(image_data);
219 image_data = NULL;
266 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) {
272 free(image_data);
273 image_data = NULL;
284 row_pointers[i] = image_data + i*rowbytes;
300 return image_data;
306 if (free_image_data && image_data) {
307 free(image_data);
[all...]
H A Drpng-win.c153 static uch *image_data; variable
429 image_data = readpng_get_image(display_exponent, &image_channels,
435 * nuke image_data!) */
440 if (!image_data) {
450 free(image_data);
600 src = image_data + row*image_rowbytes;
673 if (image_data) {
674 free(image_data);
675 image_data = NULL;
H A Dwpng.c179 wpng_info.image_data = NULL;
707 wpng_info.image_data = (uch *)malloc(image_bytes);
709 if (wpng_info.image_data == NULL || wpng_info.row_pointers == NULL) {
716 wpng_info.row_pointers[i] = wpng_info.image_data + i*rowbytes;
717 bytes = fread(wpng_info.image_data, 1, image_bytes, wpng_info.infile);
735 wpng_info.image_data = (uch *)malloc(rowbytes);
736 if (wpng_info.image_data == NULL) {
744 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile);
819 if (wpng_info.image_data) {
820 free(wpng_info.image_data);
[all...]
H A Dreadpng2.h91 uch *image_data; member in struct:_mainprog_info
H A Dwritepng.h99 uch *image_data; member in struct:_mainprog_info
H A Drpng-x.c135 static uch *image_data; variable
378 image_data = readpng_get_image(display_exponent, &image_channels,
384 * nuke image_data!) */
389 if (!image_data) {
399 free(image_data);
709 src = image_data + row*image_rowbytes;
783 src = image_data + row*image_rowbytes;
863 if (image_data) {
864 free(image_data);
865 image_data
[all...]
H A Drpng2-win.c651 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height);
652 if (!rpng2_info.image_data) {
659 free(rpng2_info.image_data);
660 rpng2_info.image_data = NULL;
666 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes;
1098 src = rpng2_info.image_data + row*rpng2_info.rowbytes;
1196 if (rpng2_info.image_data) {
1197 free(rpng2_info.image_data);
1198 rpng2_info.image_data = NULL;
H A Drpng2-x.c759 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height);
760 if (!rpng2_info.image_data) {
767 free(rpng2_info.image_data);
768 rpng2_info.image_data = NULL;
774 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes;
1402 src = rpng2_info.image_data + row*rpng2_info.rowbytes;
1623 src = rpng2_info.image_data + row*rpng2_info.rowbytes;
2061 if (rpng2_info.image_data) {
2062 free(rpng2_info.image_data);
2063 rpng2_info.image_data
[all...]
H A Dwritepng.c314 /* image_data points at our one row of image data */
316 png_write_row(png_ptr, mainprog_ptr->image_data);
/external/jpeg/
H A Djcprepct.c106 expand_bottom_edge (JSAMPARRAY image_data, JDIMENSION num_cols, argument
112 jcopy_sample_rows(image_data, input_rows-1, image_data, row,
H A Djcsample.c87 expand_right_edge (JSAMPARRAY image_data, int num_rows, argument
98 ptr = image_data[row] + input_cols;
/external/pdfium/core/src/fxcodec/libjpeg/
H A Dfpdfapi_jcprepct.c107 expand_bottom_edge (JSAMPARRAY image_data, JDIMENSION num_cols, argument
113 jcopy_sample_rows(image_data, input_rows-1, image_data, row,
H A Dfpdfapi_jcsample.c88 expand_right_edge (JSAMPARRAY image_data, int num_rows, argument
99 ptr = image_data[row] + input_cols;

Completed in 893 milliseconds