]> git.sesse.net Git - nageru/blobdiff - jpeg_frame_view.h
Rename du_dv_tex to diff_flow_tex, for consistency.
[nageru] / jpeg_frame_view.h
index 478c4a672388fbb8c0673d1cba791b7fd10a3e31..6f37bfccd4f88d72d4cafaaa95156446a13d97ff 100644 (file)
@@ -15,6 +15,7 @@ struct Frame {
        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 {
@@ -30,6 +31,8 @@ public:
                update_frame();
        }
 
+       unsigned get_stream_idx() const { return stream_idx; }
+
        void setDecodedFrame(std::shared_ptr<Frame> frame);
 
 protected: