|
DtvKit_ATSC3.0
|
#include <atsc_core_atsc3_mmt_mpubuflist.h>
Public Member Functions | |
| eATSCResult_t | RegisterCallback (void *pFunc, void *pCtx) |
| To set the callback function for MPU to mCbDone. | |
| eATSCResult_t | FindOld (uint32_t iPacketId, uint32_t iSeq, uint32_t *pOldSeq) |
| To set the callback function for MPU to mCbDone. | |
| int32_t | GetLen (uint32_t iPacketId, uint32_t iSeq) |
| To get the length of MPU data. | |
| int32_t | GetSize (uint32_t iPacketId, uint32_t iSeq) |
| To get the size of MPU data. | |
| eATSCResult_t | SetLen (uint32_t iPacketId, uint32_t iSeq, uint32_t iLength) |
| To set the length of MPU data. | |
| eATSCResult_t | WriteData (uint32_t iPacketId, uint32_t iSeq, uint8_t *pData, int32_t pData_iLen) |
| To write the received data. | |
| eATSCResult_t | SetDefaultName (char *pInitialization, char *pMedia) |
| To set the Media name. | |
| eATSCResult_t | PutMetadata (uint32_t iPacketId, uint32_t iSeq, uint8_t *pData, uint32_t iLength, uint32_t iType) |
| To put the fragment data for the MPU buffer. | |
| eATSCResult_t | SetMpuTimeStamp (uint32_t iPacketId, uint32_t iSeq, uint32_t iSec, uint32_t iFrac, FLOAT_64 dDuration) |
| Set the MPU time stamp for the received each packets. | |
| eATSCResult_t | OpenFile (uint32_t iPacketId, uint32_t iSeq, uint32_t iLength, char *pFolder, uint32_t iType, int32_t iMediaType) |
| Open the file in write mode to hold the buffer. | |
| eATSCResult_t | CloseFile (uint32_t iPacketId, uint32_t iSeq) |
| Close the file and remove the buffer. | |
Public Attributes | |
| callback_complete_mpu | mCbDone |
| void * | mCtx |
| CMpuBuf::CloseFile | ( | uint32_t | iPacketId, |
| uint32_t | iSeq ) |
Close the file and remove the buffer.
| iPacketId,iSeq |
| eATSCResult_t |
| CMpuBuf::FindOld | ( | uint32_t | iPacketId, |
| uint32_t | iSeq, | ||
| uint32_t * | pOldSeq ) |
To set the callback function for MPU to mCbDone.
| iPacketId,iSeq,uint32_t | *pOldSeq |
| eATSCResult_t |
| CMpuBuf::GetLen | ( | uint32_t | iPacketId, |
| uint32_t | iSeq ) |
To get the length of MPU data.
| iPacketId,iSeq |
| int32_t |
| CMpuBuf::GetSize | ( | uint32_t | iPacketId, |
| uint32_t | iSeq ) |
To get the size of MPU data.
| iPacketId,iSeq |
| int32_t |
| CMpuBuf::OpenFile | ( | uint32_t | iPacketId, |
| uint32_t | iSeq, | ||
| uint32_t | iLength, | ||
| char * | pFolder, | ||
| uint32_t | iType, | ||
| int32_t | iMediaType ) |
Open the file in write mode to hold the buffer.
| iPacketId,iSeq,iLength,pFolder,iType,iMediaType |
| eATSCResult_t |
| CMpuBuf::PutMetadata | ( | uint32_t | iPacketId, |
| uint32_t | iSeq, | ||
| uint8_t * | pData, | ||
| uint32_t | iLength, | ||
| uint32_t | iType ) |
To put the fragment data for the MPU buffer.
| iPacketId,iSeq,pData,iLength,iType |
| eATSCResult_t |
| CMpuBuf::RegisterCallback | ( | void * | pFunc, |
| void * | pCtx ) |
To set the callback function for MPU to mCbDone.
| void* | func, void* ctx |
| eATSCResult_t |
| CMpuBuf::SetDefaultName | ( | char * | pInitialization, |
| char * | pMedia ) |
To set the Media name.
| pInitialization,pMedia |
| eATSCResult_t |
| CMpuBuf::SetLen | ( | uint32_t | iPacketId, |
| uint32_t | iSeq, | ||
| uint32_t | iLength ) |
To set the length of MPU data.
| iPacketId,iSeq,iLength |
| eATSCResult_t |
| CMpuBuf::SetMpuTimeStamp | ( | uint32_t | iPacketId, |
| uint32_t | iSeq, | ||
| uint32_t | iSec, | ||
| uint32_t | iFrac, | ||
| FLOAT_64 | dDuration ) |
Set the MPU time stamp for the received each packets.
| iPacketId,iSeq,iSec,iFrac,dDuration |
| eATSCResult_t |
| CMpuBuf::WriteData | ( | uint32_t | iPacketId, |
| uint32_t | iSeq, | ||
| uint8_t * | pData, | ||
| int32_t | pData_iLen ) |
To write the received data.
| iPacketId,iSeq,uint8_t* | pData ,iDataLen |
| eATSCResult_t |
| callback_complete_mpu CMpuBuf::mCbDone |
mCbDone
| void* CMpuBuf::mCtx |
mCtx