sbMediaFormatVideo Class Reference

#include <sbMediaInspector.h>

Inheritance diagram for sbMediaFormatVideo:
[legend]
Collaboration diagram for sbMediaFormatVideo:
[legend]

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_SBIMEDIAFORMATVIDEO
NS_DECL_SBIMEDIAFORMATVIDEOMUTABLE 
sbMediaFormatVideo ()
 
void SetVideoDimensions (PRInt32 aWidth, PRInt32 aHeight)
 
void SetVideoPAR (sbFraction const &aVideoPar)
 
void SetVideoFrameRate (sbFraction const &aVideoFrameRate)
 
nsresult SetProperty (nsAString const &aKey, nsIVariant *aVar)
 
- Public Member Functions inherited from sbIMediaFormatVideoMutable
void setVideoType (in AString aVideoType)
 
void setVideoWidth (in long aVideoWidth)
 
void setVideoHeight (in long aVideoHeight)
 
void setVideoPAR (in unsigned long aNumerator, in unsigned long aDenominator)
 
void setVideoFrameRate (in unsigned long aNumerator, in unsigned long aDenominator)
 
void setBitRate (in long aBitRate)
 
void setProperties (in nsIPropertyBag aProperties)
 
- Public Member Functions inherited from sbIMediaFormatVideo
void getVideoPAR (out unsigned long aNumerator, out unsigned long aDenominator)
 
void getVideoFrameRate (out unsigned long aNumerator, out unsigned long aDenominator)
 

Additional Inherited Members

- Public Attributes inherited from sbIMediaFormatVideo
readonly attribute AString videoType
 
readonly attribute long videoWidth
 
readonly attribute long videoHeight
 
readonly attribute long bitRate
 
readonly attribute nsIPropertyBag properties
 

Detailed Description

Definition at line 62 of file sbMediaInspector.h.

Constructor & Destructor Documentation

NS_DECL_ISUPPORTS NS_DECL_SBIMEDIAFORMATVIDEO NS_DECL_SBIMEDIAFORMATVIDEOMUTABLE sbMediaFormatVideo::sbMediaFormatVideo ( )

Member Function Documentation

nsresult sbMediaFormatVideo::SetProperty ( nsAString const &  aKey,
nsIVariant *  aVar 
)
inline

Adds a property to the list of properties. If the property exists, the existing value is replaced by the new value.

Parameters
aKeyThe key for the property
aVarThe value of the property

Definition at line 96 of file sbMediaInspector.h.

void sbMediaFormatVideo::SetVideoDimensions ( PRInt32  aWidth,
PRInt32  aHeight 
)
inline

Definition at line 71 of file sbMediaInspector.h.

NS_IMETHODIMP sbMediaFormatVideo::SetVideoFrameRate ( sbFraction const &  aVideoFrameRate)
inline

Sets the video frame rate for the

Definition at line 85 of file sbMediaInspector.h.

NS_IMETHODIMP sbMediaFormatVideo::SetVideoPAR ( sbFraction const &  aVideoPar)
inline

Definition at line 77 of file sbMediaInspector.h.


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