camera-service.c | 57 CameraInfo camera_info[MAX_CAMERA]; member in struct:CameraServiceDesc 439 memset(csd->camera_info, 0, sizeof(CameraInfo) * MAX_CAMERA); 489 memcpy(csd->camera_info + csd->camera_count, found, sizeof(CameraInfo)); 491 if (csd->camera_info[csd->camera_count].direction != NULL) { 492 free(csd->camera_info[csd->camera_count].direction); 494 csd->camera_info[csd->camera_count].direction = ASTRDUP(dir); 496 csd->camera_count, csd->camera_info[csd->camera_count].display_name, 497 csd->camera_info[csd->camera_count].device_name, 498 csd->camera_info[csd->camera_count].direction, 499 (const char*)(&csd->camera_info[csd->camera_count].pixel_format)) 774 const CameraInfo* camera_info; member in struct:CameraClient [all...] |