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.cpp | |
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.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/frame.cpp | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/frame.cpp b/noncore/multimedia/opieplayer2/frame.cpp new file mode 100644 index 0000000..3a3e418 --- a/dev/null +++ b/noncore/multimedia/opieplayer2/frame.cpp @@ -0,0 +1,51 @@ + +#include "frame.h" + +using namespace XINE; + +Frame::Frame() { + m_height = 0; + m_width = 0; + m_ratioCode = 0; + m_format = 0; + m_u = 0; + m_y = 0; + m_v = 0; +} +Frame::Frame( int *width, int* height, + int *ratio_code, int *format, + uint8_t **y, uint8_t **u, + uint8_t **v ) { + m_width = width; + m_height = height; + m_ratioCode = ratio_code ; + m_format = format; + m_y = y; + m_u = u; + m_v = v; +} +Frame::~Frame() { + + +} +void Frame::setHeight( int* height ) { + m_height = height; +} +void Frame::setWidth( int* width ) { + m_width = width; +} +void Frame::setRatioCode( int* ratio ) { + m_ratioCode = ratio; +} +void Frame::setFormat( int* format ) { + m_format = format; +} +void Frame::setU( uint8_t** u ) { + m_u = u; +} +void Frame::setY( uint8_t** y ) { + m_y = y; +} +void Frame::setV( uint8_t** v ) { + m_v = v; +} |