Home
last modified time | relevance | path

Searched refs:app_packet (Results 1 – 3 of 3) sorted by relevance

/external/opencore/protocols/rtp/src/
Drtcp_encoder.cpp189 int32 RTCP_Encoder::GetEncodedSize(const RTCP_APP& app_packet) in GetEncodedSize() argument
193 if (oscl_memcmp(app_packet.type, PVSS_APP_RTCP_NAME, 4)) in GetEncodedSize()
209 switch (app_packet.pvss_app_data.subtype) in GetEncodedSize()
629 RTCP_Encoder::Error_t RTCP_Encoder::EncodeAPP(const RTCP_APP& app_packet, in EncodeAPP() argument
638 uint size = GetEncodedSize(app_packet) + pad_length; in EncodeAPP()
654 if ((status = output_rtcp_header(APP_PACKET_TYPE, app_packet.subtype, in EncodeAPP()
663 outStream << app_packet.ssrc; in EncodeAPP()
664 outStream.write((int8*)app_packet.type, 4); in EncodeAPP()
667 if (oscl_memcmp(app_packet.type, PSS0_APP_RTCP_NAME, 4) == 0) in EncodeAPP()
669 outStream << app_packet.pss0_app_data.sourcessrc; in EncodeAPP()
[all …]
Drtcp_decoder.cpp724 RTCP_APP& app_packet) in DecodeAPP() argument
785 inStream >> app_packet.ssrc; in DecodeAPP()
786 inStream.get((int8 *) app_packet.type, 4); in DecodeAPP()
793 app_packet.subtype = subType; in DecodeAPP()
794 if (oscl_memcmp(app_packet.type, PVSS_APP_RTCP_NAME, 4)) in DecodeAPP()
797 app_packet.app_data.ptr = ((uint8*)input_packet.ptr) + inStream.tellg(); in DecodeAPP()
798 app_packet.app_data.len = endPtr - ((uint8*)app_packet.app_data.ptr); in DecodeAPP()
804 app_packet.pvss_app_data.subtype = subType; in DecodeAPP()
817 inStream >> app_packet.pvss_app_data.common.sendTime; in DecodeAPP()
818 inStream >> app_packet.pvss_app_data.common.recvRate; in DecodeAPP()
[all …]
Drtcp_encoder.h103 const RTCP_APP* app_packet,
133 Error_t EncodeAPP(const RTCP_APP& app_packet,
148 int32 GetEncodedSize(const RTCP_APP& app_packet);