Lines Matching refs:camera_info
57 CameraInfo camera_info[MAX_CAMERA];
294 memcpy(csd->camera_info + csd->camera_count, found, sizeof(CameraInfo));
298 if (csd->camera_info[csd->camera_count].direction != NULL) {
299 free(csd->camera_info[csd->camera_count].direction);
301 csd->camera_info[csd->camera_count].direction = ASTRDUP(dir);
303 csd->camera_count, csd->camera_info[csd->camera_count].display_name,
304 csd->camera_info[csd->camera_count].device_name,
305 csd->camera_info[csd->camera_count].direction,
306 (const char*)(&csd->camera_info[csd->camera_count].pixel_format));
320 memset(csd->camera_info, 0, sizeof(CameraInfo) * MAX_CAMERA);
360 return _camera_info_get_by_device_name(device_name, cs->camera_info,
500 _camera_info_to_string(csd->camera_info + n, &reply, &reply_size);
589 const CameraInfo* camera_info;
621 if (cc->camera_info != NULL) {
622 ((CameraInfo*)cc->camera_info)->in_use = 0;
707 cc->camera_info = ci;
903 if (!has_converter(cc->camera_info->pixel_format, cc->pixel_format) ||
904 !has_converter(cc->camera_info->pixel_format, V4L2_PIX_FMT_RGB32)) {
906 __FUNCTION__, (char*)&cc->camera_info->pixel_format, (char*)&cc->pixel_format);
932 if (camera_device_start_capturing(cc->camera, cc->camera_info->pixel_format,