#include "catch.h"
#include <cmath>
#include <iostream>
#include <chrono>
#include <ctime>
#include <algorithm>
#include <librealsense2/rs.hpp>
#include <librealsense2/hpp/rs_sensor.hpp>
#include "../../common/tiny-profiler.h"
#include "./../unit-tests-common.h"
#include "./../src/environment.h"
Go to the source code of this file.
TEST_CASE |
( |
"Generate UV-MAP" |
, |
|
|
"" |
[live] |
|
) |
| |
Initial value:= {
{ { {
RS2_STREAM_DEPTH,
RS2_FORMAT_Z16, 1280, 1024, 0 },{
RS2_STREAM_COLOR,
RS2_FORMAT_YUYV, 2000, 1500, 0 } }, 30,
true },
{ { {
RS2_STREAM_DEPTH,
RS2_FORMAT_Z16, 1280, 720, 0 },{
RS2_STREAM_COLOR,
RS2_FORMAT_YUYV, 2000, 1500, 0 } }, 30,
true },
{ { {
RS2_STREAM_DEPTH,
RS2_FORMAT_Z16, 960, 768, 0 },{
RS2_STREAM_COLOR,
RS2_FORMAT_YUYV, 2000, 1500, 0 } }, 30,
true },
{ { {
RS2_STREAM_DEPTH,
RS2_FORMAT_Z16, 1280, 1024, 0 },{
RS2_STREAM_COLOR,
RS2_FORMAT_YUYV, 1920, 1080, 0 } }, 30,
true },
{ { {
RS2_STREAM_DEPTH,
RS2_FORMAT_Z16, 1280, 720, 0 },{
RS2_STREAM_COLOR,
RS2_FORMAT_YUYV, 1920, 1080, 0 } }, 30,
true },
{ { {
RS2_STREAM_DEPTH,
RS2_FORMAT_Z16, 960, 768, 0 },{
RS2_STREAM_COLOR,
RS2_FORMAT_YUYV, 1920, 1080, 0 } }, 30,
true },
{ { {
RS2_STREAM_DEPTH,
RS2_FORMAT_Z16, 1280, 1024, 0 },{
RS2_STREAM_COLOR,
RS2_FORMAT_YUYV, 960, 720, 0 } }, 30,
true },
{ { {
RS2_STREAM_DEPTH,
RS2_FORMAT_Z16, 1280, 720, 0 },{
RS2_STREAM_COLOR,
RS2_FORMAT_YUYV, 960, 720, 0 } }, 30,
true },
{ { {
RS2_STREAM_DEPTH,
RS2_FORMAT_Z16, 960, 768, 0 },{
RS2_STREAM_COLOR,
RS2_FORMAT_YUYV, 960, 720, 0 } }, 30,
true },
}
Definition at line 19 of file internal-tests-uv-map.cpp.