AVBlocks for C++  2.1
Audio and Video Software Development Kit
VideoStreamInfoParameter Class Referenceabstract

The parameter represents a VideoStreamInfo object. More...

Inheritance diagram for VideoStreamInfoParameter:
Parameter Reference

Public Member Functions

virtual bool_t setStreamInfo (primo::codecs::VideoStreamInfo *streamInfo)=0
 Sets the video stream info. More...
 
virtual
primo::codecs::VideoStreamInfo
streamInfo () const =0
 Returns the VideoStreamInfo instance. More...
 
- Public Member Functions inherited from Parameter
virtual Parameterclone () const =0
 Creates a deep copy of the underlying StringParameter, IntParameter, FloatParameter, or MediaBufferParameter object. More...
 
virtual const char * name () const =0
 Returns the parameter name. More...
 
virtual bool_t setName (const char *name)=0
 Sets the parameter name. More...
 
virtual ParamType::Enum type () const =0
 Returns the parameter type. More...
 
- Public Member Functions inherited from Reference
virtual int32_t release () const =0
 Releases the instance. More...
 
virtual int32_t retain () const =0
 Retains the instance. More...
 
virtual int32_t retainCount () const =0
 Returns the current reference count. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Parameter
 ~Parameter ()
 This object can be destroyed only by the AVBlocks library.
 

Detailed Description

The parameter represents a VideoStreamInfo object.

Member Function Documentation

virtual bool_t setStreamInfo ( primo::codecs::VideoStreamInfo streamInfo)
pure virtual

Sets the video stream info.

Parameters
buffer[in] A pointer to VideoStreamInfo that will be stored in the parameter. It is allowed to set a NULL object. Internally the VideoStreamInfo specified by streamInfo is retained (if not NULL), so it is safe to release it after this method returns. The previous VideoStreamInfo is released (if not NULL).
virtual primo::codecs::VideoStreamInfo* streamInfo ( ) const
pure virtual

Returns the VideoStreamInfo instance.

Returns
A pointer to VideoStreamInfo object. The returned pointer can be NULL.