DVDIO Class Reference
* More...
#include <DVDIO.hpp>
Inheritance diagram for DVDIO:

Public Member Functions | |
| DVDIO (ESInfo *es_info, const char *file_name) | |
| Frame * | getFrame () |
| returns a frame if one complete frame is available, otherwise null is returned. | |
| bool | open () |
| opens the IO connection. | |
| void | setESInfo (ESInfo *es) |
| ESInfo * | getESInfo () |
| int | writeFrame (Frame *, ESInfo *out_es=NULL) |
| returns the number of packets sent. | |
| bool | close (bool immediate=false) |
| closes the IO class. | |
| bool | destroy () |
| delete the vob file | |
| int | getBufferFillLevel () const |
| returns a value from 0..100 indicating buffer usage | |
| const char * | getURL () const |
| returns a pointer to the local file name or an URL | |
Protected Attributes | |
| ESInfo * | esinfo |
| char * | filename |
| AVFormatContext * | av_format_context |
| AVInputFormat * | av_input_format |
| AVFormatParameters * | av_format_parameters |
| int | streamID |
| u64 | DTS |
Detailed Description
*Definition at line 59 of file DVDIO.hpp.
Member Function Documentation
|
|
closes the IO class.
Implements IO. Definition at line 87 of file DVDIO.hpp. Referenced by getFrame().
|
|
|
returns a frame if one complete frame is available, otherwise null is returned. This function is typically blocking. Don't use a NULL return value to conclude STREAMEOF, always check with getState()! Implements IO. Definition at line 79 of file DVDIO.cpp. References close(), ESInfo::getStreamId(), Frame::getType(), ESInfo::isVisualStream(), Frame::setAU(), and Frame::setMediaTimeScale().
|
|
|
opens the IO connection. State is set to OPENING. Depending on the underlying QIODevice, a network connection or a file connection is established. When the connection is ready for use, State is OPEN Implements IO. Definition at line 63 of file DVDIO.cpp.
|
|
||||||||||||
|
returns the number of packets sent. Returns 0 on error Implements IO. Definition at line 84 of file DVDIO.hpp.
|
The documentation for this class was generated from the following files: