Public Member Functions

gnash::media::gst::gnashGstBuffer Class Reference

#include <VideoDecoderGst.h>

Inheritance diagram for gnash::media::gst::gnashGstBuffer:
Inheritance graph
[legend]
Collaboration diagram for gnash::media::gst::gnashGstBuffer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 gnashGstBuffer (GstBuffer *buf, int width, int height)
 ~gnashGstBuffer ()
virtual size_t stride () const
 Get the pitch of the image buffer.
virtual iterator begin ()
 Access the raw data.
virtual const_iterator begin () const
 Access the raw data.

Constructor & Destructor Documentation

gnash::media::gst::gnashGstBuffer::gnashGstBuffer ( GstBuffer *  buf,
int  width,
int  height 
) [inline]
gnash::media::gst::gnashGstBuffer::~gnashGstBuffer (  )  [inline]

Member Function Documentation

virtual iterator gnash::media::gst::gnashGstBuffer::begin (  )  [inline, virtual]

Access the raw data.

Reimplemented from gnash::image::GnashImage.

virtual const_iterator gnash::media::gst::gnashGstBuffer::begin (  )  const [inline, virtual]

Access the raw data.

Reimplemented from gnash::image::GnashImage.

virtual size_t gnash::media::gst::gnashGstBuffer::stride (  )  const [inline, virtual]

Get the pitch of the image buffer.

Returns:
The rowstride of the buffer in bytes

Reimplemented from gnash::image::GnashImage.

References gnash::image::GnashImage::channels(), and gnash::image::GnashImage::width().


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