author | zecke <zecke> | 2002-07-01 23:00:43 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-07-01 23:00:43 (UTC) |
commit | 8863cf6b20e881e638e8a3cdb18709ecc8201d51 (patch) (side-by-side diff) | |
tree | 23012f54bd75a76ac11f8c720d1e81850c3d3689 /noncore/multimedia/opieplayer2/frame.h | |
parent | b34df43c4d141b6845a6251e8f52f7daf3d1a867 (diff) | |
download | opie-8863cf6b20e881e638e8a3cdb18709ecc8201d51.zip opie-8863cf6b20e881e638e8a3cdb18709ecc8201d51.tar.gz opie-8863cf6b20e881e638e8a3cdb18709ecc8201d51.tar.bz2 |
Hija,
first bits of a XINE C++ lib for the OpieMediaPlayer
Diffstat (limited to 'noncore/multimedia/opieplayer2/frame.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/frame.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/frame.h b/noncore/multimedia/opieplayer2/frame.h new file mode 100644 index 0000000..0ce7feb --- a/dev/null +++ b/noncore/multimedia/opieplayer2/frame.h @@ -0,0 +1,45 @@ + +#ifndef XINELIBFRAME_H +#define XINELIBFRAME_H + +#include <xine.h> + +namespace XINE { + class Frame { + public: + Frame(); + Frame( int *width, int* height, + int *ratio_code, int *format, + uint8_t **y, uint8_t **u, + uint8_t **v ); + ~Frame(); + int* width() { return m_width; }; + int* height() { return m_height; }; + + int* ratioCode() { return m_ratioCode; }; + int* format() { return m_format; }; + uint8_t ** y() { return m_y; }; + uint8_t ** u() { return m_u; }; + uint8_t ** v() { return m_v; }; + + void setHeight( int* ); + void setWidth( int* ); + void setRatioCode(int *); + void setFormat( int* ); + void setU( uint8_t** ); + void setY( uint8_t** ); + void setV( uint8_t** ); + + private: + friend class Lib; + int* m_height; + int* m_width; + int* m_ratioCode; + int* m_format; + uint8_t** m_u; + uint8_t** m_y; + uint8_t** m_v; + }; +}; + +#endif |