#include <frame.hh>
Public Methods | |
| Frame () | |
| trivial constructor | |
| void | decodeMetaData () |
| decode meta data about the stream | |
| void | decodeVideo (uint8_t *dest=0) |
| decode video data | |
| void | decodeAudio (uint8_t *dest=0) |
| decode audoi data | |
| bool | getVideoIsDecoded () const |
| return true if video was already decoded | |
| bool | getAudioIsDecoded () const |
| return true if audio was already decoded | |
| const Frame & | operator= (const Frame &o) |
| copy only pointers, no deep copy, inexpensive | |
| void | makeWriteableVBuf () |
| make copy if f is locked | |
| VideoBuffer * | makeVBuf () |
| this method will create a new or transform an existing VideoBuffer to the requested format. | |
| void | dropRefs () |
| drop references to the Buffers | |
| Time | getPos () const |
| acceess coordinates | |
| Time | getLength () const |
| acceess coordinates | |
| void | setPos (const Time pos) |
| acceess coordinates | |
| void | setLength (const Time length) |
| acceess coordinates | |
| VideoBuffer * | getVBuf () const |
| decoded data | |
| AudioBuffer * | getABuf () const |
| decoded data | |
| Buffer * | getRawVBuf () const |
| encoded data | |
| Buffer * | getRawABuf () const |
| encoded data | |
| void | setRawVBuf (Buffer *evb) |
| trivial setter | |
| void | setRawABuf (Buffer *eab) |
| trivial setter | |
| void | setVBuf (VideoBuffer *vb) |
| trivial setter | |
| void | setABuf (AudioBuffer *ab) |
| trivial setter | |
| void | setVideoIsDecoded (bool is) |
| trivial setter | |
| void | setAudioIsDecoded (bool is) |
| trivial setter | |
| void | setAVContext (InAVStreamIFace *v) |
| trivial setter | |
| void | setAudioContext (InAVStreamIFace *a) |
| trivial setter | |
| void | setProperties (PropertyNode *p) |
| trivial setter | |
Private Methods | |
| void | addAlpha () |
| add buffer for alpha channel | |
| void | flattenAlpha () |
| clip alpha | |
|
|
decode audoi data
|
|
|
decode video data
|
|
|
make copy if f is locked If o is locked, a new VideoBuffer containing a deep copy of o. If o does not have videobuffer, it will be created from the DVFrame. |
1.2.18