Home
last modified time | relevance | path

Searched refs:pt_ (Results 1 - 12 of 12) sorted by relevance

/foundation/CastEngine/castengine_wifi_display/services/protocol/rtp/src/
H A Drtp_unpack_impl.cpp43 auto pt = header->pt_; in ParseRtp()
80 if (rtpDecoder_[rtp->GetHeader()->pt_]) { in OnRtpSorted()
81 MEDIA_LOGD("rtpUnpackImpl::OnRtpSorted seq: %{public}d, pt: %{public}d.", rtp->GetSeq(), rtp->GetHeader()->pt_); in OnRtpSorted()
89 rtpDecoder_[rtp->GetHeader()->pt_]->InputRtp(rtp); in OnRtpSorted()
110 rtpDecoder_[rpp.pt_] = std::make_shared<RtpDecoderH264>(); in CreateRtpDecoder()
113 rtpDecoder_[rpp.pt_] = std::make_shared<RtpDecoderAAC>(rpp); in CreateRtpDecoder()
117 rtpDecoder_[rpp.pt_] = std::make_shared<RtpDecoderG711>(); in CreateRtpDecoder()
120 rtpDecoder_[rpp.pt_] = std::make_shared<RtpDecoderTs>(); in CreateRtpDecoder()
126 if (rtpDecoder_[rpp.pt_]) { in CreateRtpDecoder()
127 auto &ref = rtpSort_[rpp.pt_]; in CreateRtpDecoder()
[all...]
H A Drtp_pack_impl.cpp24 : pt_(pt), ssrc_(ssrc), channels_(channels), sampleRate_(sampleRate), mtuSize_(mtuSize), ps_(ps) in RtpPackImpl()
45 rtpEncoder_ = std::make_shared<RtpEncoderH264>(ssrc_, mtuSize_, sampleRate_, pt_, seq_); in InitEncoder()
51 rtpEncoder_ = std::make_shared<RtpEncoderG711>(ssrc_, mtuSize_, sampleRate_, pt_, channels_, seq_); in InitEncoder()
54 rtpEncoder_ = std::make_shared<RtpEncoderTs>(ssrc_, mtuSize_, sampleRate_, pt_, seq_); in InitEncoder()
H A Drtp_maker.cpp24 : pt_(payloadType), seq_(seq), ssrc_(ssrc), sampleRate_(sampleRate), mtuSize_(mtuSize) in RtpMaker()
60 header->pt_ = pt_; in MakeRtp()
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtp/include/
H A Drtp_packet.h54 uint32_t pt_ : 7;
65 uint32_t pt_ : 7;
H A Drtp_pack_impl.h40 uint8_t pt_ = 0; member in OHOS::Sharing::RtpPackImpl
H A Drtp_maker.h37 uint8_t pt_ = 0; member in OHOS::Sharing::RtpMaker
H A Drtp_def.h58 uint32_t pt_ = 0; member in OHOS::Sharing::RtpPlaylodParam
/foundation/CastEngine/castengine_wifi_display/tests/unittest/protocol/rtcp/
H A Drtcp_unit_test.cpp66 head.pt_ = static_cast<uint8_t>(RtcpType::RTCP_RR); in HWTEST_F()
78 head.pt_ = static_cast<uint8_t>(RtcpType::RTCP_XR); in HWTEST_F()
90 head.pt_ = static_cast<uint8_t>(RtcpType::RTCP_XR); in HWTEST_F()
112 head.pt_ = static_cast<uint8_t>(RtcpType::RTCP_SR); in HWTEST_F()
124 head.pt_ = static_cast<uint8_t>(RtcpType::RTCP_RR); in HWTEST_F()
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtcp/src/
H A Drtcp_context.cpp57 switch ((RtcpType)rtcp->pt_) { in OnRtcp()
160 switch ((RtcpType)rtcp->pt_) { in OnRtcp()
H A Drtcp.cpp65 rtcp->pt_ = (uint8_t)type; in SetupHeader()
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtcp/include/
H A Drtcp.h46 uint8_t pt_; member
/foundation/CastEngine/castengine_wifi_display/tests/unittest/protocol/rtp/
H A Drtp_unit_test.cpp322 head->pt_ = 1; in HWTEST_F()
378 head->pt_ = 1; in HWTEST_F()
406 head->pt_ = 1; in HWTEST_F()
640 head->pt_ = 1; in HWTEST_F()

Completed in 7 milliseconds