|
RealSense Cross Platform API
RealSense Cross-platform API
|
#include <rs_processing.hpp>
Public Member Functions | |
| m420_decoder () | |
| Public Member Functions inherited from rs2::filter | |
| rs2::frame | process (rs2::frame frame) const override |
| filter (std::shared_ptr< rs2_processing_block > block, int queue_size=1) | |
| template<class S> | |
| filter (S processing_function, int queue_size=1) | |
| frame_queue | get_queue () |
| rs2_processing_block * | get () const |
| template<class T> | |
| bool | is () const |
| template<class T> | |
| T | as () const |
| operator bool () const | |
| Public Member Functions inherited from rs2::processing_block | |
| template<class S> | |
| void | start (S on_frame) |
| template<class S> | |
| S & | operator>> (S &on_frame) |
| void | invoke (frame f) const |
| processing_block (std::shared_ptr< rs2_processing_block > block) | |
| template<class S> | |
| processing_block (S processing_function) | |
| operator rs2_options * () const | |
| rs2_processing_block * | get () const |
| bool | supports (rs2_camera_info info) const |
| const char * | get_info (rs2_camera_info info) const |
| bool | supports (rs2_option option) const |
| Public Member Functions inherited from rs2::options | |
| bool | supports (rs2_option option) const |
| const char * | get_option_description (rs2_option option) const |
| const char * | get_option_name (rs2_option option) const |
| const char * | get_option_value_description (rs2_option option, float val) const |
| float | get_option (rs2_option option) const |
| option_value | get_option_value (rs2_option option_id) const |
| option_range | get_option_range (rs2_option option) const |
| void | set_option (rs2_option option, float value) const |
| void | set_option_value (option_value const &value) const |
| bool | is_option_read_only (rs2_option option) const |
| void | on_options_changed (std::function< void(const options_list &) > callback) const |
| std::vector< rs2_option > | get_supported_options () |
| options_list | get_supported_option_values () |
| options & | operator= (const options &other) |
| options (const options &other) | |
| virtual | ~options ()=default |
| Public Member Functions inherited from rs2::filter_interface | |
| virtual | ~filter_interface ()=default |
Protected Member Functions | |
| m420_decoder (std::shared_ptr< rs2_processing_block > block) | |
| Protected Member Functions inherited from rs2::processing_block | |
| void | register_simple_option (rs2_option option_id, option_range range) |
| Protected Member Functions inherited from rs2::options | |
| options (rs2_options *o=nullptr) | |
| template<class T> | |
| options & | operator= (const T &dev) |
Additional Inherited Members | |
| Protected Attributes inherited from rs2::filter | |
| frame_queue | _queue |
| Protected Attributes inherited from rs2::processing_block | |
| std::shared_ptr< rs2_processing_block > | _block |
|
inline |
Creates M420 decoder processing block. This block accepts raw M420 frames and outputs frames of other formats. M420 is a standard format,see: https://www.kernel.org/doc/html/v4.10/media/uapi/v4l/pixfmt-m420.html Two lines (each of length equal to width of the current resolution) of luminance are followed by One line (of length width) of chrome values. The SDK will automatically try to use SSE2 and AVX instructions and CUDA where available to get best performance. Other implementations (using GLSL, OpenCL, Neon and NCS) should follow.
| [out] | error | if non-null, receives any error that occurs during this call, otherwise, errors are ignored |
|
inlineprotected |