#include <Packet.h>
◆ Packet() [1/2]
◆ ~Packet()
QtAV::Packet::~Packet |
( |
| ) |
|
◆ Packet() [2/2]
QtAV::Packet::Packet |
( |
const Packet & |
other | ) |
|
◆ asAVPacket()
const AVPacket* QtAV::Packet::asAVPacket |
( |
| ) |
const |
asAVPacket If Packet is constructed from AVPacket, then data and properties are the same as that AVPacket.
Otherwise, Packet's data and properties are used and no side data. Packet takes the owner ship. time unit is always ms even constructed from AVPacket.
◆ createEOF()
static Packet QtAV::Packet::createEOF |
( |
| ) |
|
|
static |
◆ fromAVPacket() [1/2]
static Packet QtAV::Packet::fromAVPacket |
( |
const AVPacket * |
avpkt, |
|
|
double |
time_base |
|
) |
| |
|
static |
◆ fromAVPacket() [2/2]
static bool QtAV::Packet::fromAVPacket |
( |
Packet * |
pkt, |
|
|
const AVPacket * |
avpkt, |
|
|
double |
time_base |
|
) |
| |
|
static |
◆ isEOF()
bool QtAV::Packet::isEOF |
( |
| ) |
const |
◆ isValid()
bool QtAV::Packet::isValid |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ skip()
void QtAV::Packet::skip |
( |
int |
bytes | ) |
|
skip Skip bytes of packet data.
User has to update pts, dts etc to new values. Useful for asAVPakcet(). When asAVPakcet() is called, AVPacket->pts/dts will be updated to new values.
◆ data
QByteArray QtAV::Packet::data |
◆ dts
◆ duration
qreal QtAV::Packet::duration |
◆ hasKeyFrame
bool QtAV::Packet::hasKeyFrame |
◆ isCorrupt
bool QtAV::Packet::isCorrupt |
◆ position
qint64 QtAV::Packet::position |
◆ pts
The documentation for this class was generated from the following file: