summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/xinevideowidget.h
authorsandman <sandman>2002-08-01 19:36:14 (UTC)
committer sandman <sandman>2002-08-01 19:36:14 (UTC)
commitc80b2060a6f051f16690db4b8f0ccbc7dde84ec5 (patch) (unidiff)
tree42ac3e7339c4a2a1b8c248b0dc6e0107e2e25aed /noncore/multimedia/opieplayer2/xinevideowidget.h
parentdf93f330693ed3baeeb43a8e4a57cdcc011f571e (diff)
downloadopie-c80b2060a6f051f16690db4b8f0ccbc7dde84ec5.zip
opie-c80b2060a6f051f16690db4b8f0ccbc7dde84ec5.tar.gz
opie-c80b2060a6f051f16690db4b8f0ccbc7dde84ec5.tar.bz2
Optimized video repaint for 0 and 180 deg rotation - 90 and 270 are there
but untested
Diffstat (limited to 'noncore/multimedia/opieplayer2/xinevideowidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/xinevideowidget.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/noncore/multimedia/opieplayer2/xinevideowidget.h b/noncore/multimedia/opieplayer2/xinevideowidget.h
index 5656194..7d9a6d2 100644
--- a/noncore/multimedia/opieplayer2/xinevideowidget.h
+++ b/noncore/multimedia/opieplayer2/xinevideowidget.h
@@ -45,23 +45,20 @@ public:
45 void setImage( QImage* image ); 45 void setImage( QImage* image );
46 void setImage( uchar* image, int yoffsetXLine, int xoffsetXBytes, 46 void setImage( uchar* image, int yoffsetXLine, int xoffsetXBytes,
47 int width, int height, int linestep, int bytes, int bpp); 47 int width, int height, int linestep, int bytes, int bpp);
48 int width() const; 48 int width() const;
49 int height() const; 49 int height() const;
50 void clear() ; 50 void clear() ;
51protected: 51protected:
52 void paintEvent( QPaintEvent* p ); 52 void paintEvent( QPaintEvent* p );
53private: 53private:
54 QRect m_lastframe; 54 QRect m_lastframe;
55 QRect m_thisframe; 55 QRect m_thisframe;
56 56
57 int m_wid;
58 int m_height;
59 int m_yOff, m_xOff;
60 uchar* m_buff; 57 uchar* m_buff;
61 int m_Width, m_Height, linestep; 58 int m_bytes_per_line_fb;
62 int m_bytes; 59 int m_bytes_per_line_frame;
63 int m_bytes_per_pixel; 60 int m_bytes_per_pixel;
64 QImage* m_image; 61 QImage* m_image;
65 62
66}; 63};
67 64