author | sandman <sandman> | 2002-08-01 19:36:14 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-08-01 19:36:14 (UTC) |
commit | c80b2060a6f051f16690db4b8f0ccbc7dde84ec5 (patch) (side-by-side diff) | |
tree | 42ac3e7339c4a2a1b8c248b0dc6e0107e2e25aed /noncore/multimedia/opieplayer2/xinevideowidget.h | |
parent | df93f330693ed3baeeb43a8e4a57cdcc011f571e (diff) | |
download | opie-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.h | 7 |
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: void setImage( QImage* image ); void setImage( uchar* image, int yoffsetXLine, int xoffsetXBytes, int width, int height, int linestep, int bytes, int bpp); int width() const; int height() const; void clear() ; protected: void paintEvent( QPaintEvent* p ); private: QRect m_lastframe; QRect m_thisframe; - int m_wid; - int m_height; - int m_yOff, m_xOff; uchar* m_buff; - int m_Width, m_Height, linestep; - int m_bytes; + int m_bytes_per_line_fb; + int m_bytes_per_line_frame; int m_bytes_per_pixel; QImage* m_image; }; |