return CAMERA_ERROR_INVALID_PARAMETER;
}
+ CAMERA_CHECK_THREAD_RETURN_VAL(pc->cb_info->preview_cb_info.thread,
+ CAMERA_ERROR_INVALID_OPERATION, "should not be called within a invoked callback");
+
CAM_LOG_INFO("Enter");
_camera_msg_send(api, NULL, pc->cb_info, &ret, CAMERA_CB_TIMEOUT);
muse_camera_api_e api = MUSE_CAMERA_API_UNSET_PREVIEW_CB;
CAMERA_CHECK_HANDLE_RETURN_VAL(pc, CAMERA_ERROR_INVALID_PARAMETER);
+ CAMERA_CHECK_THREAD_RETURN_VAL(pc->cb_info->preview_cb_info.thread,
+ CAMERA_ERROR_INVALID_OPERATION, "should not be called within a invoked callback");
CAM_LOG_INFO("Enter");
return CAMERA_ERROR_INVALID_PARAMETER;
}
+ CAMERA_CHECK_THREAD_RETURN_VAL(pc->cb_info->preview_cb_info.thread,
+ CAMERA_ERROR_INVALID_OPERATION, "should not be called within a invoked callback");
+
CAM_LOG_INFO("Enter");
_camera_msg_send(api, NULL, pc->cb_info, &ret, CAMERA_CB_TIMEOUT);
return CAMERA_ERROR_NOT_SUPPORTED;
}
+ CAMERA_CHECK_THREAD_RETURN_VAL(pc->cb_info->preview_cb_info.thread,
+ CAMERA_ERROR_INVALID_OPERATION, "should not be called within a invoked callback");
+
CAM_LOG_INFO("Enter");
_camera_msg_send(api, NULL, pc->cb_info, &ret, CAMERA_CB_TIMEOUT);
return CAMERA_ERROR_INVALID_PARAMETER;
}
+ CAMERA_CHECK_THREAD_RETURN_VAL(pc->cb_info->preview_cb_info.thread,
+ CAMERA_ERROR_INVALID_OPERATION, "should not be called within a invoked callback");
+
CAM_LOG_INFO("Enter");
_camera_msg_send(api, NULL, pc->cb_info, &ret, CAMERA_CB_TIMEOUT);
return CAMERA_ERROR_NOT_SUPPORTED;
}
+ CAMERA_CHECK_THREAD_RETURN_VAL(pc->cb_info->preview_cb_info.thread,
+ CAMERA_ERROR_INVALID_OPERATION, "should not be called within a invoked callback");
+
CAM_LOG_INFO("Enter");
_camera_msg_send(api, NULL, pc->cb_info, &ret, CAMERA_CB_TIMEOUT);