Class m420_decoder

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class m420_decoder : public rs2::filter

Subclassed by rs2::gl::m420_decoder

Public Functions

inline m420_decoder()

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.

Parameters:

error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored

Protected Functions

inline m420_decoder(std::shared_ptr<rs2_processing_block> block)