18 #ifndef PLUGINS_SAMPLESOURCE_REMOTEINPUT_REMOTEINPUTBUFFER_H_ 19 #define PLUGINS_SAMPLESOURCE_REMOTEINPUT_REMOTEINPUTBUFFER_H_ 25 #include "cm256cc/cm256.h" 29 #define REMOTEINPUT_UDPSIZE 512 // UDP payload size 30 #define REMOTEINPUT_NBORIGINALBLOCKS 128 // number of sample blocks per frame excluding FEC blocks 31 #define REMOTEINPUT_NBDECODERSLOTS 16 // power of two sub multiple of uint16_t size. A too large one is superfluous. 71 return minOriginalBlocks;
100 int32_t ret = val < 0 ? -val - 50 : 50 -val;
114 #pragma pack(push, 1) 126 CM256::cm256_block m_cm256DescriptorBlocks[RemoteNbOrginalBlocks];
171 if (blockIndex == 0) {
174 m_decoderSlots[slotIndex].
m_blockZero = protectedBlock;
179 m_frames[slotIndex].
m_blocks[blockIndex - 1] = protectedBlock;
180 return &m_frames[slotIndex].
m_blocks[blockIndex - 1];
186 if (blockIndex == 0) {
191 return m_frames[slotIndex].
m_blocks[blockIndex - 1];
unsigned __int64 uint64_t