HomeSort by relevance Sort by last modified time
    Searched refs:image_data (Results 1 - 25 of 36) sorted by null

1 2

  /external/libpng/contrib/gregbook/
readppm.c 69 uch *image_data = NULL; variable
157 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) {
166 if (fread(image_data, 1L, rowbytes*height, saved_infile) <
168 free (image_data);
169 image_data = NULL;
173 return image_data;
179 if (free_image_data && image_data) {
180 free(image_data);
181 image_data = NULL;
readpng.c 74 uch *image_data = NULL; variable
219 free(image_data);
220 image_data = NULL;
267 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) {
273 free(image_data);
274 image_data = NULL;
285 row_pointers[i] = image_data + i*rowbytes;
301 return image_data;
307 if (free_image_data && image_data) {
308 free(image_data);
    [all...]
rpng-win.c 153 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;
wpng.c 179 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...]
readpng2.h 91 uch *image_data; member in struct:_mainprog_info
writepng.h 99 uch *image_data; member in struct:_mainprog_info
rpng-x.c 137 static uch *image_data; variable
382 image_data = readpng_get_image(display_exponent, &image_channels,
388 * nuke image_data!) */
393 if (!image_data) {
403 free(image_data);
715 src = image_data + row*image_rowbytes;
789 src = image_data + row*image_rowbytes;
869 if (image_data) {
870 free(image_data);
871 image_data = NULL
    [all...]
rpng2-win.c 653 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height);
654 if (!rpng2_info.image_data) {
661 free(rpng2_info.image_data);
662 rpng2_info.image_data = NULL;
668 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes;
    [all...]
  /external/avb/libavb/
avb_descriptor.c 41 bool avb_descriptor_foreach(const uint8_t* image_data,
52 if (image_data == NULL) {
53 avb_error("image_data is NULL\n.");
68 if (avb_memcmp(image_data, AVB_MAGIC, AVB_MAGIC_LEN) != 0) {
74 avb_assert_aligned(image_data);
75 header = (const AvbVBMetaImageHeader*)image_data;
76 image_end = image_data + image_size;
78 desc_start = image_data + sizeof(AvbVBMetaImageHeader) +
84 if (desc_start < image_data || desc_start > image_end ||
85 desc_end < image_data || desc_end > image_end || desc_end < desc_start)
    [all...]
avb_descriptor.h 99 * Before using this function, you MUST verify |image_data| with
101 * good public key. Additionally, |image_data| must be word-aligned.
103 bool avb_descriptor_foreach(const uint8_t* image_data,
116 * |image_data| - all fields need to be byteswapped!
118 * Before using this function, you MUST verify |image_data| with
120 * good public key. Additionally, |image_data| must be word-aligned.
122 const AvbDescriptor** avb_descriptor_get_all(const uint8_t* image_data,
avb_property_descriptor.h 64 * The |image_data| parameter must be a pointer to a vbmeta image of
79 * Before using this function, you MUST verify |image_data| with
83 const char* avb_property_lookup(const uint8_t* image_data,
96 bool avb_property_lookup_uint64(const uint8_t* image_data,
avb_property_descriptor.c 107 const char* avb_property_lookup(const uint8_t* image_data,
122 image_data, image_size, property_lookup_desc_foreach, &data) == 0) {
135 bool avb_property_lookup_uint64(const uint8_t* image_data,
146 value = avb_property_lookup(image_data, image_size, key, key_size, NULL);
  /external/libjpeg-turbo/simd/
jcsample.h 11 expand_right_edge (JSAMPARRAY image_data, int num_rows,
22 ptr = image_data[row] + input_cols;
  /device/linaro/bootloader/arm-trusted-firmware/common/
bl_common.c 215 image_info_t *image_data,
227 assert(image_data != NULL);
228 assert(image_data->h.version >= VERSION_1);
289 image_data->image_base = image_base;
290 image_data->image_size = image_size;
  /external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/
mock_lorgnette.py 118 self.image_data = f.read()
120 self.bus, '/org/chromium/lorgnette/Manager', self.image_data)
documentscan_AppTestWithFakeLorgnette.py 165 self._validate_image_data(lorgnette_instance.image_data)
  /device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
X11GraphicsWindow.c 53 unsigned char *image_data; member in struct:__anon7834
138 Drv->image_data = shmat (Drv->xshm_info.shmid, NULL, 0);
139 if(!Drv->image_data) {
153 Drv->xshm_info.shmaddr = (char*)Drv->image_data;
154 Drv->image->data = (char*)Drv->image_data;
157 shmdt (Drv->image_data);
182 shmdt (Drv->image_data);
185 Drv->image_data = NULL;
206 Drv->image_data = malloc ((Drv->width * Drv->height) << Drv->pixel_shift);
209 ZPixmap, 0, (char *)Drv->image_data,
    [all...]
  /external/libjpeg-turbo/
jcprepct.c 109 expand_bottom_edge (JSAMPARRAY image_data, JDIMENSION num_cols,
115 jcopy_sample_rows(image_data, input_rows-1, image_data, row,
  /packages/services/BuiltInPrintService/jni/plugins/
wprint_image.c 614 unsigned char *image_data; local
658 image_data = decode_ifc->decode_row(image_info, image_y);
659 if (image_data == NULL) {
668 image_data + BYTES_PER_PIXEL(
692 image_data = decode_ifc->decode_row(image_info,
694 if (image_data == NULL) {
699 image_data + BYTES_PER_PIXEL(image_info->sampled_width -
    [all...]
  /hardware/intel/img/psb_video/src/
psb_output.c 896 unsigned char *image_data; local
897 ret = psb_buffer_map(obj_buffer->psb_buffer, &image_data);
906 image_data += obj_surface->psb_surface->buf.buffer_ofs;
923 dst_y = image_data;
924 dst_u = image_data + obj_image->image.offsets[1],
937 dst_y = image_data;
938 dst_u = image_data + obj_image->image.offsets[1];
949 dst_y = image_data;
958 dst_uv = image_data + obj_image->image.offsets[1];
1045 unsigned char *image_data; local
1212 unsigned char *image_data; local
    [all...]
  /external/pdfium/third_party/libjpeg/
fpdfapi_jcprepct.c 106 expand_bottom_edge (JSAMPARRAY image_data, JDIMENSION num_cols,
112 jcopy_sample_rows(image_data, input_rows-1, image_data, row,
  /device/linaro/bootloader/arm-trusted-firmware/include/common/
bl_common.h 223 image_info_t *image_data,
  /frameworks/base/media/jni/
android_media_Utils.h 100 piex::StreamInterface* stream, const String8& filename, piex::PreviewImageData& image_data);
android_mtp_MtpDatabase.cpp 880 piex::PreviewImageData image_data; local
930 piex::PreviewImageData image_data; local
    [all...]
  /external/chromium-trace/catapult/telemetry/third_party/web-page-replay/
httpclient.py 87 image_data = response.response_data[0]
88 image_data.decode(encoding='base64')
89 im = Image.open(StringIO.StringIO(image_data))

Completed in 701 milliseconds

1 2