Gnash
0.8.10
|
Haiku media kit based VideoDecoder. More...
#include <VideoDecoderHaiku.h>
Public Member Functions | |
VideoDecoderHaiku (const VideoInfo &info) | |
~VideoDecoderHaiku () | |
void | push (const EncodedVideoFrame &buffer) |
Push an encoded video frame into the decoder. | |
std::auto_ptr< GnashImage > | pop () |
Pop a decoded frame from the decoder. THIS METHOD MAY BLOCK. | |
bool | peek () |
Check whether a decoded frame is ready to be popped. | |
int | width () const |
Get the width of the video. | |
int | height () const |
Get the height of the video. |
Haiku media kit based VideoDecoder.
gnash::media::haiku::VideoDecoderHaiku::~VideoDecoderHaiku | ( | ) |
References QQ.
int gnash::media::haiku::VideoDecoderHaiku::height | ( | ) | const [virtual] |
Get the height of the video.
Implements gnash::media::VideoDecoder.
References QQ.
bool gnash::media::haiku::VideoDecoderHaiku::peek | ( | ) | [virtual] |
Check whether a decoded frame is ready to be popped.
This method will never block.
Implements gnash::media::VideoDecoder.
References QQ.
std::auto_ptr< GnashImage > gnash::media::haiku::VideoDecoderHaiku::pop | ( | ) | [virtual] |
Pop a decoded frame from the decoder. THIS METHOD MAY BLOCK.
Implements gnash::media::VideoDecoder.
References gnash::key::d, and gnash::key::i.
void gnash::media::haiku::VideoDecoderHaiku::push | ( | const EncodedVideoFrame & | buffer | ) | [virtual] |
Push an encoded video frame into the decoder.
buffer | the video frame to decode |
Implements gnash::media::VideoDecoder.
References QQ.
int gnash::media::haiku::VideoDecoderHaiku::width | ( | ) | const [virtual] |
Get the width of the video.
Implements gnash::media::VideoDecoder.
References QQ.