diff options
author | Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> | 2011-11-24 14:23:45 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-24 06:41:47 +0100 |
commit | b05819f9394418d9e47b44e1c5536934dda99575 (patch) | |
tree | 9d234de2b26f0a020358b9430693fbf9cdd7e6e1 /src/imports/multimedia/qsgvideonode_i420.h | |
parent | 9bb50446e34f556e067eabcc3e7e5ad72f28707c (diff) |
Updated I420 video node to be consistent with RGB node implementation.
Don't keep the frame after it was uploaded to texture;
Upload frame data during rendering (in material shader updateState)
instead of updatePaintNode().
Change-Id: Ia6a4063bfa02d4d20f75735649fe4f777cf50494
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
Diffstat (limited to 'src/imports/multimedia/qsgvideonode_i420.h')
-rw-r--r-- | src/imports/multimedia/qsgvideonode_i420.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/imports/multimedia/qsgvideonode_i420.h b/src/imports/multimedia/qsgvideonode_i420.h index b02864a7c..0d10cf9f0 100644 --- a/src/imports/multimedia/qsgvideonode_i420.h +++ b/src/imports/multimedia/qsgvideonode_i420.h @@ -60,13 +60,8 @@ public: private: void bindTexture(int id, int unit, int w, int h, const uchar *bits); - int m_width; - int m_height; - GLuint m_id[3]; - QVideoSurfaceFormat m_format; QSGVideoMaterial_YUV420 *m_material; - QVideoFrame m_frame; }; class QSGVideoNodeFactory_I420 : public QSGVideoNodeFactory { |