Public Member Functions

gnash::media::haiku::VideoDecoderHaiku Class Reference

Haiku media kit based VideoDecoder. More...

#include <VideoDecoderHaiku.h>

Inheritance diagram for gnash::media::haiku::VideoDecoderHaiku:
Inheritance graph
[legend]
Collaboration diagram for gnash::media::haiku::VideoDecoderHaiku:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Haiku media kit based VideoDecoder.


Constructor & Destructor Documentation

gnash::media::haiku::VideoDecoderHaiku::VideoDecoderHaiku ( const VideoInfo info  ) 

References QQ.

gnash::media::haiku::VideoDecoderHaiku::~VideoDecoderHaiku (  ) 

References QQ.


Member Function Documentation

int gnash::media::haiku::VideoDecoderHaiku::height (  )  const [virtual]

Get the height of the video.

Returns:
The height of the video in pixels or 0 if unknown.

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.

Returns:
true if there is a frame ready to be popped.

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.

Returns:
The decoded video frame, or a NULL-containing auto_ptr if an error occurred.

Implements gnash::media::VideoDecoder.

References s2x::d, and gnash::key::i.

void gnash::media::haiku::VideoDecoderHaiku::push ( const EncodedVideoFrame buffer  )  [virtual]

Push an encoded video frame into the decoder.

Parameters:
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.

Returns:
The width of the video in pixels or 0 if unknown.

Implements gnash::media::VideoDecoder.

References QQ.


The documentation for this class was generated from the following files: