Lines Matching defs:mem
450 void my_raw_callback(const sp<IMemory>& mem) {
460 if (mem == NULL)
473 size = mem->size();
478 buff = (unsigned char *)mem->pointer();
498 void saveFile(const sp<IMemory>& mem) {
507 if (mem == NULL)
518 size = mem->size();
524 buff = (unsigned char *)mem->pointer();
564 void my_preview_callback(const sp<IMemory>& mem) {
566 printf("PREVIEW Callback 0x%x", ( unsigned int ) mem->pointer());
570 saveFile(mem);
574 uint8_t *ptr = (uint8_t*) mem->pointer();
584 void my_jpeg_callback(const sp<IMemory>& mem) {
596 if (mem == NULL)
608 size = mem->size();
614 buff = (unsigned char *)mem->pointer();