Class yuy_decoder

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class yuy_decoder : public rs2::filter

Subclassed by rs2::gl::yuy_decoder

Public Functions

inline yuy_decoder()

Creates YUY decoder processing block. This block accepts raw YUY frames and outputs frames of other formats. YUY is a common video format used by a variety of web-cams. It benefits from packing pixels into 2 bytes per pixel without signficant quality drop. YUY representation can be converted back to more usable RGB form, but this requires somewhat costly conversion. 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.

Protected Functions

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