Home
last modified time | relevance | path

Searched refs:image_data (Results 1 – 22 of 22) sorted by relevance

/external/libpng/contrib/gregbook/
Dreadppm.c69 uch *image_data = NULL; variable
157 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image()
166 if (fread(image_data, 1L, rowbytes*height, saved_infile) < in readpng_get_image()
168 free (image_data); in readpng_get_image()
169 image_data = NULL; in readpng_get_image()
173 return image_data; in readpng_get_image()
179 if (free_image_data && image_data) { in readpng_cleanup()
180 free(image_data); in readpng_cleanup()
181 image_data = NULL; in readpng_cleanup()
Dreadpng.c74 uch *image_data = NULL; variable
219 free(image_data); in readpng_get_image()
220 image_data = NULL; in readpng_get_image()
267 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image()
273 free(image_data); in readpng_get_image()
274 image_data = NULL; in readpng_get_image()
285 row_pointers[i] = image_data + i*rowbytes; in readpng_get_image()
301 return image_data; in readpng_get_image()
307 if (free_image_data && image_data) { in readpng_cleanup()
308 free(image_data); in readpng_cleanup()
[all …]
Dwpng.c179 wpng_info.image_data = NULL; in main()
707 wpng_info.image_data = (uch *)malloc(image_bytes); in main()
709 if (wpng_info.image_data == NULL || wpng_info.row_pointers == NULL) { in main()
716 wpng_info.row_pointers[i] = wpng_info.image_data + i*rowbytes; in main()
717 bytes = fread(wpng_info.image_data, 1, image_bytes, wpng_info.infile); in main()
735 wpng_info.image_data = (uch *)malloc(rowbytes); in main()
736 if (wpng_info.image_data == NULL) { in main()
744 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile); in main()
819 if (wpng_info.image_data) { in wpng_cleanup()
820 free(wpng_info.image_data); in wpng_cleanup()
[all …]
Drpng-win.c153 static uch *image_data; variable
429 image_data = readpng_get_image(display_exponent, &image_channels, in WinMain()
440 if (!image_data) { in WinMain()
450 free(image_data); in WinMain()
600 src = image_data + row*image_rowbytes; in rpng_win_display_image()
673 if (image_data) { in rpng_win_cleanup()
674 free(image_data); in rpng_win_cleanup()
675 image_data = NULL; in rpng_win_cleanup()
Drpng-x.c137 static uch *image_data; variable
382 image_data = readpng_get_image(display_exponent, &image_channels, in main()
393 if (!image_data) { in main()
403 free(image_data); in main()
715 src = image_data + row*image_rowbytes; in rpng_x_display_image()
789 src = image_data + row*image_rowbytes; in rpng_x_display_image()
869 if (image_data) { in rpng_x_cleanup()
870 free(image_data); in rpng_x_cleanup()
871 image_data = NULL; in rpng_x_cleanup()
Drpng2-win.c653 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_win_init()
654 if (!rpng2_info.image_data) { in rpng2_win_init()
661 free(rpng2_info.image_data); in rpng2_win_init()
662 rpng2_info.image_data = NULL; in rpng2_win_init()
668 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes; in rpng2_win_init()
1100 src = rpng2_info.image_data + row*rpng2_info.rowbytes; in rpng2_win_display_row()
1198 if (rpng2_info.image_data) { in rpng2_win_cleanup()
1199 free(rpng2_info.image_data); in rpng2_win_cleanup()
1200 rpng2_info.image_data = NULL; in rpng2_win_cleanup()
Dreadpng2.h91 uch *image_data; member
Dwritepng.h99 uch *image_data; member
Drpng2-x.c783 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_x_init()
784 if (!rpng2_info.image_data) { in rpng2_x_init()
791 free(rpng2_info.image_data); in rpng2_x_init()
792 rpng2_info.image_data = NULL; in rpng2_x_init()
798 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes; in rpng2_x_init()
1426 src = rpng2_info.image_data + row*rpng2_info.rowbytes; in rpng2_x_display_row()
1647 src = rpng2_info.image_data + row*rpng2_info.rowbytes; in rpng2_x_redisplay_image()
2088 if (rpng2_info.image_data) { in rpng2_x_cleanup()
2089 free(rpng2_info.image_data); in rpng2_x_cleanup()
2090 rpng2_info.image_data = NULL; in rpng2_x_cleanup()
Dwritepng.c316 png_write_row(png_ptr, mainprog_ptr->image_data); in writepng_encode_row()
/external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/
Dmock_lorgnette.py118 self.image_data = f.read()
120 self.bus, '/org/chromium/lorgnette/Manager', self.image_data)
Ddocumentscan_AppTestWithFakeLorgnette.py165 self._validate_image_data(lorgnette_instance.image_data)
/external/libjpeg-turbo/
Djcprepct.c108 expand_bottom_edge (JSAMPARRAY image_data, JDIMENSION num_cols, in expand_bottom_edge() argument
114 jcopy_sample_rows(image_data, input_rows-1, image_data, row, in expand_bottom_edge()
Djcsample.c92 expand_right_edge (JSAMPARRAY image_data, int num_rows, in expand_right_edge() argument
103 ptr = image_data[row] + input_cols; in expand_right_edge()
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jcprepct.c106 expand_bottom_edge (JSAMPARRAY image_data, JDIMENSION num_cols, in expand_bottom_edge() argument
112 jcopy_sample_rows(image_data, input_rows-1, image_data, row, in expand_bottom_edge()
Dfpdfapi_jcsample.c87 expand_right_edge (JSAMPARRAY image_data, int num_rows, in expand_right_edge() argument
98 ptr = image_data[row] + input_cols; in expand_right_edge()
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/
Dhttpclient.py85 image_data = response.response_data[0]
86 image_data.decode(encoding='base64')
87 im = Image.open(StringIO.StringIO(image_data))
/external/autotest/client/virt/
Dvirt_step_editor.py530 (self.image_width, self.image_height, self.image_data) = (w, h, data)
553 self.image_data = ""
557 if not self.image_data:
562 self.image_data)
585 if self.image_data:
632 if data_dir and self.image_data:
645 self.image_data)
742 self.image_data, self.barrier_corner[0],
855 self.image_width, self.image_height, self.image_data,
/external/autotest/frontend/tko/
Dgraphing_utils.py451 image_data = StringIO.StringIO()
452 image.save(image_data, format='PNG')
454 return image_data.getvalue(), bounding_box
/external/autotest/client/tests/kvm/tests/
Dstepmaker.py253 self.image_data_backup = self.image_data
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp8549 auto image_data = dev_data->imageMap.find(mem_barrier->image); in ValidateBarriers() local
8550 if (image_data != dev_data->imageMap.end()) { in ValidateBarriers()
8553 if (image_data->second.createInfo.sharingMode == VK_SHARING_MODE_CONCURRENT) { in ValidateBarriers()
8603 auto image_data = dev_data->imageMap.find(mem_barrier->image); in ValidateBarriers() local
8607 if (image_data != dev_data->imageMap.end()) { in ValidateBarriers()
8608 format = image_data->second.createInfo.format; in ValidateBarriers()
8609 arrayLayers = image_data->second.createInfo.arrayLayers; in ValidateBarriers()
8610 mipLevels = image_data->second.createInfo.mipLevels; in ValidateBarriers()
9475 auto image_data = dev_data->imageViewMap.find(image_view); in VerifyFramebufferAndRenderPassLayouts() local
9476 assert(image_data != dev_data->imageViewMap.end()); in VerifyFramebufferAndRenderPassLayouts()
[all …]
/external/libgdx/gdx/jni/gdx2d/
Dstb_image.h4186 static int stbi__create_png_image(stbi__png *a, stbi_uc *image_data, stbi__uint32 image_data_len, i… in stbi__create_png_image() argument
4191 …return stbi__create_png_image_raw(a, image_data, image_data_len, out_n, a->s->img_x, a->s->img_y, … in stbi__create_png_image()
4211 … if (!stbi__create_png_image_raw(a, image_data, image_data_len, out_n, x, y, depth, color)) { in stbi__create_png_image()
4224 image_data += img_len; in stbi__create_png_image()