#include "unit-tests-common.h"
#include "unit-tests-post-processing.h"
#include "../include/librealsense2/rs_advanced_mode.hpp"
#include <librealsense2/hpp/rs_frame.hpp>
#include <cmath>
#include <iostream>
#include <chrono>
#include <ctime>
#include <algorithm>
Go to the source code of this file.
Classes | |
class | post_processing_filters |
Macros | |
#define | SECTION_FROM_TEST_NAME space_to_underscore(Catch::getCurrentContext().getResultCapture()->getCurrentTestName()).c_str() |
Functions | |
void | compare_frame_md (rs2::frame origin_depth, rs2::frame result_depth) |
bool | is_equal (rs2::frameset org, rs2::frameset processed) |
bool | is_subset (rs2::frameset full, rs2::frameset sub) |
TEST_CASE ("Post-Processing Filters sequence validation","[software-device][post-processing-filters]") | |
TEST_CASE ("Post-Processing Filters metadata validation","[software-device][post-processing-filters]") | |
TEST_CASE ("Post-Processing expected output","[post-processing-filters]") | |
TEST_CASE ("Post-Processing processing pipe","[post-processing-filters]") | |
TEST_CASE ("Align Processing Block","[live][pipeline][post-processing-filters][!mayfail]") | |
bool | validate_ppf_results (rs2::frame origin_depth, rs2::frame result_depth, const ppf_test_config &reference_data, size_t frame_idx) |
Variables | |
const std::vector< std::pair< std::string, std::string > > | ppf_test_cases |
#define SECTION_FROM_TEST_NAME space_to_underscore(Catch::getCurrentContext().getResultCapture()->getCurrentTestName()).c_str() |
Definition at line 18 of file unit-tests-post-processing.cpp.
void compare_frame_md | ( | rs2::frame | origin_depth, |
rs2::frame | result_depth | ||
) |
Definition at line 146 of file unit-tests-post-processing.cpp.
bool is_equal | ( | rs2::frameset | org, |
rs2::frameset | processed | ||
) |
Definition at line 361 of file unit-tests-post-processing.cpp.
bool is_subset | ( | rs2::frameset | full, |
rs2::frameset | sub | ||
) |
Definition at line 347 of file unit-tests-post-processing.cpp.
TEST_CASE | ( | "Post-Processing Filters sequence validation" | , |
"" | [software-device][post-processing-filters] | ||
) |
Definition at line 196 of file unit-tests-post-processing.cpp.
TEST_CASE | ( | "Post-Processing Filters metadata validation" | , |
"" | [software-device][post-processing-filters] | ||
) |
Definition at line 271 of file unit-tests-post-processing.cpp.
TEST_CASE | ( | "Post-Processing expected output" | , |
"" | [post-processing-filters] | ||
) |
Definition at line 383 of file unit-tests-post-processing.cpp.
TEST_CASE | ( | "Post-Processing processing pipe" | , |
"" | [post-processing-filters] | ||
) |
Definition at line 502 of file unit-tests-post-processing.cpp.
TEST_CASE | ( | "Align Processing Block" | , |
"" | [live][pipeline][post-processing-filters][!mayfail] | ||
) |
Definition at line 569 of file unit-tests-post-processing.cpp.
bool validate_ppf_results | ( | rs2::frame | origin_depth, |
rs2::frame | result_depth, | ||
const ppf_test_config & | reference_data, | ||
size_t | frame_idx | ||
) |
Definition at line 104 of file unit-tests-post-processing.cpp.
const std::vector< std::pair<std::string, std::string> > ppf_test_cases |
Definition at line 168 of file unit-tests-post-processing.cpp.