Gnash
0.8.11dev
|
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. More... | |
std::unique_ptr< GnashImage > | pop () |
Pop a decoded frame from the decoder. THIS METHOD MAY BLOCK. More... | |
bool | peek () |
Check whether a decoded frame is ready to be popped. More... | |
int | width () const |
Get the width of the video. More... | |
int | height () const |
Get the height of the video. More... | |
![]() | |
virtual | ~VideoDecoder () |
Haiku media kit based VideoDecoder.
gnash::media::haiku::VideoDecoderHaiku::VideoDecoderHaiku | ( | const VideoInfo & | info | ) |
gnash::media::haiku::VideoDecoderHaiku::~VideoDecoderHaiku | ( | ) |
References QQ.
|
virtual |
Get the height of the video.
Implements gnash::media::VideoDecoder.
References QQ.
|
virtual |
Check whether a decoded frame is ready to be popped.
This method will never block.
Implements gnash::media::VideoDecoder.
References QQ.
|
virtual |
Pop a decoded frame from the decoder. THIS METHOD MAY BLOCK.
Implements gnash::media::VideoDecoder.
References gnash::key::d, and gnash::key::i.
|
virtual |
Push an encoded video frame into the decoder.
buffer | the video frame to decode |
Implements gnash::media::VideoDecoder.
References QQ.
|
virtual |
Get the width of the video.
Implements gnash::media::VideoDecoder.
References QQ.