This is a class that represents a Media buffer and contains pointers to the next and previous Media Buffers.
Public Fields
-
int bufferCount
-
CMediaBuffer* ObjNextBuffer
- pointer to next Media Buffer
-
CMediaBuffer* ObjPrevBuffer
- pointer to previous Media Buffer
Public Methods
-
CMediaBuffer(int x)
- constructor of Media Buffer, it takes as input an integer which is the count of the buffer
-
~CMediaBuffer()
- destructor
-
char* getBuffer(int* size, int* timestampInc)
- returns the pointer to the media buffer data and sets the size and time stamp incremenet associated with the media buffer
-
void freeBuffer()
- free the media bufffer data
-
int setBuffer(int size, char* buf, int i_frame, int ts_msec)
- allocates the media buffer data and copies the data to media buffer data and the time stamp increment; returns 0 on SUCCESS, -1 on FAILURE
-
void setNextBuffer(CMediaBuffer* nxtbuf)
- sets the next Media Buffer
-
void setPrevBuffer(CMediaBuffer* prevbuf)
- sets the previous Media Buffer
Documentation
This is a class that represents a Media buffer and contains pointers to the next and previous Media Buffers.
int bufferCount
CMediaBuffer* ObjNextBuffer
- pointer to next Media Buffer
CMediaBuffer* ObjPrevBuffer
- pointer to previous Media Buffer
CMediaBuffer(int x)
- constructor of Media Buffer, it takes as input an integer which is the count of the buffer
~CMediaBuffer()
- destructor
char* getBuffer(int* size, int* timestampInc)
- returns the pointer to the media buffer data and sets the size and time stamp incremenet associated with the media buffer
void freeBuffer()
- free the media bufffer data
int setBuffer(int size, char* buf, int i_frame, int ts_msec)
- allocates the media buffer data and copies the data to media buffer data and the time stamp increment; returns 0 on SUCCESS, -1 on FAILURE
void setNextBuffer(CMediaBuffer* nxtbuf)
- sets the next Media Buffer
void setPrevBuffer(CMediaBuffer* prevbuf)
- sets the previous Media Buffer
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.