Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions retinify/src/imgproc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

namespace retinify
{
namespace detail
{
auto ResizeImage8U(const Mat &src, Mat &dst, Stream &stream) noexcept -> Status
{
if (src.Empty() || dst.Empty())
Expand Down Expand Up @@ -516,4 +518,5 @@ auto DisparityToDepth32FC1(const Mat &disparity, Mat &depth, const Mat4x4d &repr
return Status{StatusCategory::RETINIFY, StatusCode::FAIL};
#endif
}
} // namespace detail
} // namespace retinify
3 changes: 3 additions & 0 deletions retinify/src/imgproc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

namespace retinify
{
namespace detail
{
/// @brief
/// Resize an 8-bit, 1- or 3-channel image using bilinear interpolation
/// @param src
Expand Down Expand Up @@ -123,4 +125,5 @@ namespace retinify
/// @return
/// Status code
[[nodiscard]] auto DisparityToDepth32FC1(const Mat &disparity, Mat &depth, const Mat4x4d &reprojectionMatrix, Stream &stream) noexcept -> Status;
} // namespace detail
} // namespace retinify
3 changes: 3 additions & 0 deletions retinify/src/mat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

namespace retinify
{
namespace detail
{
Mat::~Mat() noexcept
{
(void)this->Free();
Expand Down Expand Up @@ -355,4 +357,5 @@ auto Mat::Location() const noexcept -> MatLocation
{
return location_;
}
} // namespace detail
} // namespace retinify
3 changes: 3 additions & 0 deletions retinify/src/mat.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

namespace retinify
{
namespace detail
{
enum class MatLocation
{
UNKNOWN,
Expand Down Expand Up @@ -55,4 +57,5 @@ class RETINIFY_API Mat : public NoCopyMove
void *deviceData_{nullptr};
MatLocation location_{MatLocation::UNKNOWN};
};
} // namespace detail
} // namespace retinify
Loading