23 const std::vector<stream_profile>& to,
24 std::function<std::shared_ptr<processing_block>(
void)> generate_func);
30 std::shared_ptr<processing_block>
generate();
33 template<
typename T,
typename Fn>
36 std::vector<processing_block_factory> rgb_factories;
42 rgb_factories.push_back( { { {src} }, { {
src, stream} }, [=]() {
return creator( std::make_shared<identity_processing_block>() ); } } );
46 rgb_factories.push_back( { { {src} }, { {
d, stream} }, [=]() {
return creator( std::make_shared<T>(
d )); } } );
55 []( std::shared_ptr< generic_processing_block > pb )
62 bool has_source(
const std::shared_ptr<stream_profile_interface>&
source)
const;
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
static std::vector< processing_block_factory > create_pbf_vector(rs2_format src, const std::vector< rs2_format > &dst, rs2_stream stream, Fn creator)
bool has_source(const std::shared_ptr< stream_profile_interface > &source) const
processing_block_factory()
bool operator==(const processing_block_factory &rhs) const
std::function< std::shared_ptr< processing_block >void)> generate_processing_block
std::vector< stream_profile > _source_info
GLint GLint GLsizei GLint GLenum format
static processing_block_factory create_id_pbf(rs2_format format, rs2_stream stream, int idx=0)
rs2_format
A stream's format identifies how binary data is encoded within a frame.
std::vector< stream_profile > get_target_info() const
std::vector< std::shared_ptr< stream_profile_interface >> stream_profiles
rs2_stream
Streams are different types of data provided by RealSense devices.
std::vector< stream_profile > _target_info
std::shared_ptr< librealsense::align > create_align(rs2_stream align_to)
std::vector< stream_profile > get_source_info() const
static std::vector< processing_block_factory > create_pbf_vector(rs2_format src, const std::vector< rs2_format > &dst, rs2_stream stream)
GLsizei GLsizei GLchar * source
std::shared_ptr< processing_block > generate()
stream_profiles find_satisfied_requests(const stream_profiles &sp, const stream_profiles &supported_profiles) const