Home
last modified time | relevance | path

Searched refs:imagedata (Results 1 – 4 of 4) sorted by relevance

/external/libmtp/examples/
Dthumb.c50 uint8_t *imagedata = NULL; local
85 imagedata = malloc(filesize * sizeof(uint16_t));
96 read(fd, imagedata, filesize);
112 thumb->data[i] = imagedata[i];
125 free(imagedata);
Dalbumart.c51 char *imagedata = NULL; local
105 imagedata = malloc(filesize * sizeof(uint8_t));
116 read(fd, imagedata, filesize);
128 albumart->data = imagedata;
/external/opencv3/modules/videoio/src/
Dcap_qtkit.mm77 char* imagedata; field
162 char* imagedata;
514 imagedata = NULL;
525 if (imagedata != NULL) free(imagedata);
585 if (imagedata != NULL) free(imagedata);
587 imagedata = (char*)malloc(currSize);
591 memcpy(imagedata, baseaddress, currSize);
601 image->imageData = imagedata;
644 imagedata = NULL;
696 if (imagedata != NULL) free(imagedata);
[all …]
Dcap_avfoundation.mm59 char* imagedata; field
142 char* imagedata;
634 imagedata = NULL;
645 if (imagedata != NULL) free(imagedata);
705 if (imagedata != NULL) free(imagedata);
707 imagedata = (char*)malloc(currSize);
711 memcpy(imagedata, baseaddress, currSize);
721 image->imageData = imagedata;
773 imagedata = NULL;
869 if (imagedata != NULL) free(imagedata);
[all …]