sbIMediaFormatVideoMutable Interface Reference

import"sbIMediaFormatMutable.idl";

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

Public Member Functions

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

This is a mutable version of sbIMediaFormatVideo

See Also
sbIMediaFormatVideo

Definition at line 50 of file sbIMediaFormatMutable.idl.

Member Function Documentation

void sbIMediaFormatVideoMutable::setBitRate ( in long  aBitRate)

This is the bit rate of the video streams in bits per second

void sbIMediaFormatVideoMutable::setProperties ( in nsIPropertyBag  aProperties)

A list of optional properties that describe the video format

void sbIMediaFormatVideoMutable::setVideoFrameRate ( in unsigned long  aNumerator,
in unsigned long  aDenominator 
)

The video frame rate in fps. It is returned as a fraction.

Parameters
aNumeratorThe numerator portion of the framerate
aDenominatorThe denominator portion of the frame rate
void sbIMediaFormatVideoMutable::setVideoHeight ( in long  aVideoHeight)

The height of the video frame

void sbIMediaFormatVideoMutable::setVideoPAR ( in unsigned long  aNumerator,
in unsigned long  aDenominator 
)

The video pixel aspect ratio. It is returned as a fraction

Parameters
aNumeratorThe numerator portion of the aspect ratio
aDenominatorThe denominator portion of the aspect ratio
void sbIMediaFormatVideoMutable::setVideoType ( in AString  aVideoType)

The type of video format or codec. Examples: mpeg4, theora, h.264

void sbIMediaFormatVideoMutable::setVideoWidth ( in long  aVideoWidth)

The width of the video frame


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