Library code style update + some minor backports from Pro edition
This commit is contained in:
parent
593b291e85
commit
2607113727
68 changed files with 4538 additions and 4665 deletions
|
@ -1,10 +1,10 @@
|
|||
#include "ebml.h"
|
||||
#include "socket.h"
|
||||
#include "bitfields.h"
|
||||
#include "dtsc.h"
|
||||
#include "ebml.h"
|
||||
#include "socket.h"
|
||||
|
||||
namespace EBML{
|
||||
static void sendUniInt(Socket::Connection &C, const uint64_t val);
|
||||
void sendUniInt(Socket::Connection &C, const uint64_t val);
|
||||
void sendElemHead(Socket::Connection &C, uint32_t ID, const uint64_t size);
|
||||
void sendElemUInt(Socket::Connection &C, uint32_t ID, const uint64_t val);
|
||||
void sendElemID(Socket::Connection &C, uint32_t ID, const uint64_t val);
|
||||
|
@ -17,7 +17,8 @@ namespace EBML{
|
|||
|
||||
void sendElemSeek(Socket::Connection &C, uint32_t ID, uint64_t bytePos);
|
||||
uint32_t sizeElemSeek(uint32_t ID, uint64_t bytePos);
|
||||
void sendElemCuePoint(Socket::Connection &C, uint64_t time, uint64_t track, uint64_t clusterPos, uint64_t relaPos);
|
||||
void sendElemCuePoint(Socket::Connection &C, uint64_t time, uint64_t track, uint64_t clusterPos,
|
||||
uint64_t relaPos);
|
||||
uint32_t sizeElemCuePoint(uint64_t time, uint64_t track, uint64_t clusterPos, uint64_t relaPos);
|
||||
|
||||
uint8_t sizeUInt(const uint64_t val);
|
||||
|
@ -27,7 +28,8 @@ namespace EBML{
|
|||
uint32_t sizeElemDbl(uint32_t ID, const double val);
|
||||
uint32_t sizeElemStr(uint32_t ID, const std::string &val);
|
||||
|
||||
void sendSimpleBlock(Socket::Connection &C, DTSC::Packet & pkt, uint64_t clusterTime, bool forceKeyframe = false);
|
||||
void sendSimpleBlock(Socket::Connection &C, DTSC::Packet &pkt, uint64_t clusterTime,
|
||||
bool forceKeyframe = false);
|
||||
uint32_t sizeSimpleBlock(uint64_t trackId, uint32_t dataSize);
|
||||
}
|
||||
}// namespace EBML
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue