std::unique_ptr<uint8_t[]> y, cb, cr;
unsigned width, height;
unsigned chroma_subsampling_x, chroma_subsampling_y;
+ unsigned pitch_y, pitch_chroma;
};
class JPEGFrameView : public QGLWidget {
update_frame();
}
+ unsigned get_stream_idx() const { return stream_idx; }
+
void setDecodedFrame(std::shared_ptr<Frame> frame);
protected: