Gnash  0.8.11dev
Public Member Functions | Public Attributes | List of all members
gnash::media::gst::WebcamVidFormat Class Reference

#include <VideoInputGst.h>

Public Member Functions

 WebcamVidFormat ()
 Constructor for the WebcamVidFormat class. More...
 

Public Attributes

gchar * mimetype
 Contains a gchar* which describes the raw video input stream from the camera formated in a Gstreamer video format type (e.g. video/x-raw-rgb or video/x-raw-yuv). More...
 
gint width
 Contains a gint value describing the width of the selected format. More...
 
gint height
 Contains a gint value describing the height of the selected format. More...
 
gint numFramerates
 Contains a gint value representing the number of framerate values supported by the format described in the mimetype var. More...
 
FramerateFractionframerates
 Pointer to a FramerateFraction class which simply holds a temporary framerate variable while trying to determine the highest possible supported framerate for the format described in the mimetype var. More...
 
FramerateFraction highestFramerate
 Holds the highest_frame supported by the format described in the mimetype var. More...
 

Detailed Description

Class used to hold enumerated information about usable video formats.

Constructor & Destructor Documentation

§ WebcamVidFormat()

gnash::media::gst::WebcamVidFormat::WebcamVidFormat ( )

Constructor for the WebcamVidFormat class.

Constructor for the WebcamVidFormat class. This constructor prepares the data structure for data that will come in later. All gint values are initialized to -1 to show that these values have never been set.

References gnash::media::gst::VideoInputGst::height(), and gnash::media::gst::VideoInputGst::width().

Member Data Documentation

§ framerates

gnash::media::gst::WebcamVidFormat::framerates

Pointer to a FramerateFraction class which simply holds a temporary framerate variable while trying to determine the highest possible supported framerate for the format described in the mimetype var.

Referenced by gnash::media::gst::VideoInputGst::requestMode().

§ height

gnash::media::gst::WebcamVidFormat::height

§ highestFramerate

gnash::media::gst::WebcamVidFormat::highestFramerate

Holds the highest_frame supported by the format described in the mimetype var.

Referenced by gnash::media::gst::VideoInputGst::requestMode(), and gnash::media::gst::VideoInputGst::setWebcam().

§ mimetype

gnash::media::gst::WebcamVidFormat::mimetype

Contains a gchar* which describes the raw video input stream from the camera formated in a Gstreamer video format type (e.g. video/x-raw-rgb or video/x-raw-yuv).

Referenced by gnash::media::gst::VideoInputGst::makeWebcamDeviceSelection().

§ numFramerates

gnash::media::gst::WebcamVidFormat::numFramerates

Contains a gint value representing the number of framerate values supported by the format described in the mimetype var.

Referenced by gnash::media::gst::VideoInputGst::requestMode().

§ width

gnash::media::gst::WebcamVidFormat::width

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