AVBlocks for C++
1.13
Audio and Video Software Development Kit
|
VideoStreamInfo describes an elementary video stream. More...
Inherits StreamInfo.
Public Member Functions | |
virtual int32_t | frameWidth () const =0 |
Returns the video frame width. More... | |
virtual void | setFrameWidth (int32_t frameWidth)=0 |
Sets the video frame width. More... | |
virtual int32_t | frameHeight () const =0 |
Returns the video frame height. More... | |
virtual void | setFrameHeight (int32_t frameHeight)=0 |
Sets the video frame height. More... | |
virtual int32_t | displayRatioHeight () const =0 |
Returns the vertical dimension of the display aspect ratio. More... | |
virtual int32_t | displayRatioWidth () const =0 |
Returns the horizontal dimension of the display aspect ratio. More... | |
virtual void | setDisplayRatioHeight (int32_t displayHeight)=0 |
Sets the vertical dimension of the display aspect ratio. More... | |
virtual void | setDisplayRatioWidth (int32_t displayWidth)=0 |
Sets the horizontal dimension of the display aspect ratio. More... | |
virtual double | frameRate () const =0 |
Returns the video frame rate. More... | |
virtual void | setFrameRate (double frameRate)=0 |
Sets the video frame rate. More... | |
virtual ColorFormat::Enum | colorFormat () const =0 |
Returns the video color format. More... | |
virtual void | setColorFormat (ColorFormat::Enum colorFormat)=0 |
Sets the video color format. More... | |
virtual int32_t | stride () const =0 |
Returns the video image stride. More... | |
virtual void | setStride (int32_t stride)=0 |
Sets the video image stride. More... | |
virtual ScanType::Enum | scanType () const =0 |
Returns the scan type of the video frame. More... | |
virtual void | setScanType (ScanType::Enum scanType)=0 |
Sets the scan type of the video frame. More... | |
virtual bool_t | frameBottomUp () const =0 |
Returns whether internally the video frame is stored upside down. More... | |
virtual void | setFrameBottomUp (bool_t bottomUp)=0 |
Sets whether internally the video frame is stored upside down. More... | |
virtual bool_t | copyTo (VideoStreamInfo *destination) const =0 |
Copies the state of the current object to a destination object of the same type. More... | |
virtual VideoStreamInfo * | clone () const =0 |
Creates a copy of this object. More... | |
Public Member Functions inherited from StreamInfo | |
virtual MediaType::Enum | mediaType () const =0 |
Returns the stream media type. More... | |
virtual StreamType::Enum | streamType () const =0 |
Returns the stream type. More... | |
virtual void | setStreamType (StreamType::Enum type)=0 |
Sets the stream type. More... | |
virtual StreamSubType::Enum | streamSubType () const =0 |
Returns the stream subtype. More... | |
virtual void | setStreamSubType (StreamSubType::Enum type)=0 |
Sets the stream subtype. More... | |
virtual double | duration () const =0 |
Returns the stream duration. More... | |
virtual void | setDuration (double duration)=0 |
Sets the stream duration in seconds. More... | |
virtual int32_t | ID () const =0 |
Returns the ID of the elementary stream. More... | |
virtual void | setID (int32_t id)=0 |
Sets the ID of the elementary stream. More... | |
virtual int32_t | bitrate () const =0 |
Returns the stream bitrate. More... | |
virtual void | setBitrate (int32_t bitrate)=0 |
Sets the stream bitrate. More... | |
virtual int32_t | bitrateMode () const =0 |
Returns the stream bitrate mode. More... | |
virtual void | setBitrateMode (int32_t bitrateMode)=0 |
Sets the stream bitrate mode. More... | |
virtual bool_t | copyTo (StreamInfo *destination) const =0 |
Copies the state of the current object to a destination object of the same type. More... | |
virtual void | reset ()=0 |
Resets the stream information to its default state. More... | |
Public Member Functions inherited from Reference | |
virtual int32_t | retain () const =0 |
Retains the instance. More... | |
virtual int32_t | release () const =0 |
Releases the instance. More... | |
virtual int32_t | retainCount () const =0 |
Returns the current reference count. More... | |
Protected Member Functions | |
~VideoStreamInfo () | |
This object can be destroyed only by its implementation. More... | |
Protected Member Functions inherited from StreamInfo | |
~StreamInfo () | |
This object can be destroyed only by its implementation. More... | |
VideoStreamInfo describes an elementary video stream.
|
protected |
This object can be destroyed only by its implementation.
The caller must use Reference::release.
|
pure virtual |
Creates a copy of this object.
Implements StreamInfo.
|
pure virtual |
Returns the video color format.
|
pure virtual |
Copies the state of the current object to a destination object of the same type.
The reference count of the source and the destination is not modified.
destination | [out] A pointer to the destination object |
|
pure virtual |
Returns the vertical dimension of the display aspect ratio.
|
pure virtual |
Returns the horizontal dimension of the display aspect ratio.
|
pure virtual |
Returns whether internally the video frame is stored upside down.
|
pure virtual |
Returns the video frame height.
|
pure virtual |
Returns the video frame rate.
|
pure virtual |
Returns the video frame width.
|
pure virtual |
Returns the scan type of the video frame.
|
pure virtual |
Sets the video color format.
colorFormat | color format |
|
pure virtual |
Sets the vertical dimension of the display aspect ratio.
displayHeight | The value has no meaning on its own. It serves only to express the display aspect ratio. |
|
pure virtual |
Sets the horizontal dimension of the display aspect ratio.
displayWidth | The value has no meaning on its own. It serves only to express the display aspect ratio. |
|
pure virtual |
Sets whether internally the video frame is stored upside down.
bottomUp | TRUE the frame is stored upside down, FALSE the frame is stored normally |
|
pure virtual |
Sets the video frame height.
frameHeight | in pixels |
|
pure virtual |
Sets the video frame rate.
frameRate | in frames per second. |
|
pure virtual |
Sets the video frame width.
frameWidth | in pixels. |
|
pure virtual |
Sets the scan type of the video frame.
scanType |
|
pure virtual |
Sets the video image stride.
stride | Image stride in bytes. |
Stride is the distance in bytes from the start of one row of pixels in memory to the start of the next row of pixels. It is also called a pitch.
|
pure virtual |
Returns the video image stride.
Stride is the distance in bytes from the start of one row of pixels in memory to the start of the next row of pixels. It is also called a pitch.