Skip to content

Commit

Permalink
rsutil.h is refactored to be available via inclusion of rs.h header, …
Browse files Browse the repository at this point in the history
…and removed from the other references

Change-Id: I9b61c3bcdcee06187deb997182b195cb2c60598d
  • Loading branch information
ev-mp committed Jul 14, 2021
1 parent 406a86c commit 44a85bb
Show file tree
Hide file tree
Showing 17 changed files with 2 additions and 18 deletions.
1 change: 0 additions & 1 deletion common/model-views.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <opengl3.h>

#include <librealsense2/rs_advanced_mode.hpp>
#include <librealsense2/rsutil.h>
#include <librealsense2/rs.hpp>

#include "model-views.h"
Expand Down
1 change: 0 additions & 1 deletion common/post-processing-filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#pragma once

#include <librealsense2/rs.hpp>
#include <librealsense2/rsutil.h> // for projection utilities
#include <model-views.h>
#include <viewer.h>

Expand Down
1 change: 0 additions & 1 deletion common/viewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <opengl3.h>

#include <imgui_internal.h>
#include <librealsense2/rsutil.h>

#define ARCBALL_CAMERA_IMPLEMENTATION
#include <arcball_camera.h>
Expand Down
1 change: 0 additions & 1 deletion examples/ar-advanced/rs-ar-advanced.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2019 Intel Corporation. All Rights Reserved.
#include <librealsense2/rs.hpp>
#include <librealsense2/rsutil.h>
#include <array>
#include <cmath>
#include <cstring>
Expand Down
1 change: 0 additions & 1 deletion examples/ar-basic/rs-ar-basic.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2019 Intel Corporation. All Rights Reserved.
#include <librealsense2/rs.hpp>
#include <librealsense2/rsutil.h>
#include <array>
#include <cmath>
#include <iostream>
Expand Down
1 change: 0 additions & 1 deletion examples/measure/rs-measure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Copyright(c) 2017 Intel Corporation. All Rights Reserved.

#include <librealsense2/rs.hpp> // Include RealSense Cross Platform API
#include <librealsense2/rsutil.h>
#include "example.hpp" // Include short list of convenience functions for rendering

// This example will require several standard data-structures and algorithms:
Expand Down
1 change: 1 addition & 0 deletions include/librealsense2/rs.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
extern "C" {
#endif

#include "rsutil.h"
#include "h/rs_types.h"
#include "h/rs_context.h"
#include "h/rs_device.h"
Expand Down
1 change: 0 additions & 1 deletion src/gl/pointcloud-gl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Copyright(c) 2017 Intel Corporation. All Rights Reserved.

#include "../include/librealsense2/rs.hpp"
#include "../include/librealsense2/rsutil.h"

#include "synthetic-stream-gl.h"
#include "environment.h"
Expand Down
2 changes: 0 additions & 2 deletions src/image-avx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
#include <cmath>
#include "image-avx.h"

//#include "../include/librealsense2/rsutil.h" // For projection/deprojection logic

#ifndef ANDROID
#if defined(__SSSE3__) && defined(__AVX2__)
#include <tmmintrin.h> // For SSE3 intrinsic used in unpack_yuy2_sse
Expand Down
1 change: 0 additions & 1 deletion src/proc/align.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include "../include/librealsense2/hpp/rs_sensor.hpp"
#include "../include/librealsense2/hpp/rs_processing.hpp"
#include "../include/librealsense2/rsutil.h"

#include "core/video.h"
#include "proc/synthetic-stream.h"
Expand Down
3 changes: 1 addition & 2 deletions src/proc/occlusion-filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
// Copyright(c) 2018 Intel Corporation. All Rights Reserved.

#include "../include/librealsense2/rs.hpp"
#include "../include/librealsense2/rsutil.h"
#include "proc/synthetic-stream.h"
#include "proc/occlusion-filter.h"
//#include "../../common/tiny-profiler.h"

#include <vector>
#include <cmath>

Expand Down
1 change: 0 additions & 1 deletion src/proc/pointcloud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Copyright(c) 2017 Intel Corporation. All Rights Reserved.

#include "../include/librealsense2/rs.hpp"
#include "../include/librealsense2/rsutil.h"
#include "environment.h"
#include "proc/occlusion-filter.h"
#include "proc/pointcloud.h"
Expand Down
1 change: 0 additions & 1 deletion src/proc/sse/sse-align.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <tmmintrin.h> // For SSE3 intrinsic used in unpack_yuy2_sse
#include "../include/librealsense2/hpp/rs_sensor.hpp"
#include "../include/librealsense2/hpp/rs_processing.hpp"
#include "../include/librealsense2/rsutil.h"

#include "core/video.h"
#include "proc/synthetic-stream.h"
Expand Down
1 change: 0 additions & 1 deletion src/proc/sse/sse-pointcloud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Copyright(c) 2017 Intel Corporation. All Rights Reserved.

#include <librealsense2/rs.hpp>
#include <librealsense2/rsutil.h>

#include "../synthetic-stream.h"
#include "../../environment.h"
Expand Down
1 change: 0 additions & 1 deletion src/rs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include <functional> // For function

#include <librealsense2/rsutil.h>
#include "api.h"
#include "log.h"
#include "context.h"
Expand Down
1 change: 0 additions & 1 deletion tools/depth-quality/depth-metrics.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <mutex>
#include <array>
#include <imgui.h>
#include <librealsense2/rsutil.h>
#include <librealsense2/rs.hpp>
#include "rendering.h"

Expand Down
1 change: 0 additions & 1 deletion tools/enumerate-devices/rs-enumerate-devices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Copyright(c) 2015 Intel Corporation. All Rights Reserved.

#include <librealsense2/rs.hpp>
#include <librealsense2/rsutil.h>
#include <iostream>
#include <iomanip>
#include <map>
Expand Down

0 comments on commit 44a85bb

Please sign in to comment.