HomeSort by relevance Sort by last modified time
    Searched refs:rtp_header (Results 1 - 19 of 19) sorted by null

  /external/chromium_org/media/cast/rtp_receiver/rtp_parser/
rtp_parser.cc 28 RtpCastHeader* rtp_header) {
31 if (!ParseCommon(packet, length, rtp_header)) return false;
32 if (rtp_header->webrtc.header.payloadType == parser_config_.payload_type &&
33 rtp_header->webrtc.header.ssrc == parser_config_.ssrc) {
35 length - kRtpCommonHeaderLength, rtp_header);
43 RtpCastHeader* rtp_header) {
60 rtp_header->webrtc.header.markerBit = marker;
61 rtp_header->webrtc.header.payloadType = payload_type;
62 rtp_header->webrtc.header.sequenceNumber = sequence_number;
63 rtp_header->webrtc.header.timestamp = rtp_timestamp
    [all...]
rtp_parser.h 38 RtpCastHeader* rtp_header);
42 RtpCastHeader* rtp_header);
45 RtpCastHeader* rtp_header);
rtp_parser_unittest.cc 100 RtpCastHeader rtp_header; local
102 EXPECT_TRUE(rtp_parser_->ParsePacket(packet, kPacketLength, &rtp_header));
120 RtpCastHeader rtp_header; local
121 EXPECT_TRUE(rtp_parser_->ParsePacket(packet, kPacketLength, &rtp_header));
133 RtpCastHeader rtp_header; local
134 EXPECT_FALSE(rtp_parser_->ParsePacket(packet, kPacketLength, &rtp_header));
151 RtpCastHeader rtp_header; local
152 EXPECT_TRUE(rtp_parser_->ParsePacket(packet, kPacketLength, &rtp_header));
165 RtpCastHeader rtp_header; local
166 EXPECT_FALSE(rtp_parser_->ParsePacket(packet, kPacketLength, &rtp_header));
179 RtpCastHeader rtp_header; local
192 RtpCastHeader rtp_header; local
    [all...]
  /external/chromium_org/media/cast/audio_receiver/
audio_decoder_unittest.cc 59 RtpCastHeader rtp_header; local
60 rtp_header.webrtc.header.payloadType = 127;
61 rtp_header.webrtc.header.sequenceNumber = 1234;
62 rtp_header.webrtc.header.timestamp = 0x87654321;
63 rtp_header.webrtc.header.ssrc = 0x12345678;
64 rtp_header.webrtc.header.paddingLength = 0;
65 rtp_header.webrtc.header.headerLength = 12;
66 rtp_header.webrtc.type.Audio.channel = 1;
67 rtp_header.webrtc.type.Audio.isCNG = false;
84 payload_size, rtp_header);
108 RtpCastHeader rtp_header; local
178 RtpCastHeader rtp_header; local
    [all...]
audio_decoder.cc 110 const RtpCastHeader& rtp_header) {
114 rtp_header.webrtc);
121 if (!frame_id_map_.InsertPacket(rtp_header, &complete)) return;
124 cast_message_builder_.CompleteFrameReceived(rtp_header.frame_id,
125 rtp_header.is_key_frame);
127 frame_id_rtp_timestamp_map_[rtp_header.frame_id] =
128 rtp_header.webrtc.header.timestamp;
audio_decoder.h 46 const RtpCastHeader& rtp_header);
audio_receiver.cc 41 const RtpCastHeader* rtp_header) OVERRIDE {
43 *rtp_header);
153 const RtpCastHeader& rtp_header) {
156 rtp_header.webrtc.header.timestamp, rtp_header.frame_id,
157 rtp_header.packet_id, rtp_header.max_packet_id, payload_size);
163 first_incoming_rtp_timestamp_ = rtp_header.webrtc.header.timestamp;
173 if (!decryptor_->SetCounter(GetAesNonce(rtp_header.frame_id, iv_mask_))) {
185 rtp_header); local
    [all...]
audio_receiver.h 72 const RtpCastHeader& rtp_header);
  /external/chromium_org/media/cast/net/rtp_sender/rtp_packetizer/
rtp_packetizer_unittest.cc 36 void VerifyRtpHeader(const RtpCastTestHeader& rtp_header) {
37 VerifyCommonRtpHeader(rtp_header);
38 VerifyCastRtpHeader(rtp_header);
41 void VerifyCommonRtpHeader(const RtpCastTestHeader& rtp_header) {
43 rtp_header.marker);
44 EXPECT_EQ(kPayload, rtp_header.payload_type);
45 EXPECT_EQ(sequence_number_, rtp_header.sequence_number);
46 EXPECT_EQ(kTimestampMs * 90, rtp_header.rtp_timestamp);
47 EXPECT_EQ(config_.ssrc, rtp_header.ssrc);
48 EXPECT_EQ(0, rtp_header.num_csrcs)
66 RtpCastTestHeader rtp_header; variable
68 VerifyRtpHeader(rtp_header); variable
    [all...]
  /external/chromium_org/media/cast/framer/
frame_buffer.cc 25 const RtpCastHeader& rtp_header) {
28 frame_id_ = rtp_header.frame_id;
29 max_packet_id_ = rtp_header.max_packet_id;
30 is_key_frame_ = rtp_header.is_key_frame;
31 if (rtp_header.is_reference) {
32 last_referenced_frame_id_ = rtp_header.reference_frame_id;
34 last_referenced_frame_id_ = rtp_header.frame_id - 1;
37 rtp_timestamp_ = rtp_header.webrtc.header.timestamp;
40 if (rtp_header.frame_id != frame_id_) return;
43 if (packets_.find(rtp_header.packet_id) != packets_.end())
    [all...]
framer.cc 30 const RtpCastHeader& rtp_header) {
32 if (!frame_id_map_.InsertPacket(rtp_header, &complete)) return false;
35 FrameList::iterator it = frames_.find(rtp_header.frame_id);
39 frame_buffer->InsertPacket(payload_data, payload_size, rtp_header);
40 frames_.insert(std::make_pair(rtp_header.frame_id, frame_buffer));
43 it->second->InsertPacket(payload_data, payload_size, rtp_header);
48 VLOG(1) << "Complete frame " << static_cast<int>(rtp_header.frame_id);
49 cast_msg_builder_->CompleteFrameReceived(rtp_header.frame_id,
50 rtp_header.is_key_frame);
frame_id_map.cc 65 bool FrameIdMap::InsertPacket(const RtpCastHeader& rtp_header, bool* complete) {
66 uint32 frame_id = rtp_header.frame_id;
68 if (rtp_header.is_reference) {
69 reference_frame_id = rtp_header.reference_frame_id;
74 if (rtp_header.is_key_frame && waiting_for_key_) {
80 << " packet:" << static_cast<int>(rtp_header.packet_id)
81 << " max packet:" << static_cast<int>(rtp_header.max_packet_id);
98 rtp_header.max_packet_id,
99 rtp_header.is_key_frame));
103 *complete = retval.first->second->InsertPacket(rtp_header.packet_id)
    [all...]
frame_buffer.h 25 const RtpCastHeader& rtp_header);
framer.h 39 const RtpCastHeader& rtp_header);
frame_id_map.h 57 bool InsertPacket(const RtpCastHeader& rtp_header, bool* complete);
  /external/chromium_org/media/cast/rtp_receiver/
rtp_receiver.cc 52 RtpCastHeader rtp_header; local
53 if (!parser_->ParsePacket(packet, length, &rtp_header)) return false;
55 stats_->UpdateStatistics(rtp_header);
rtp_receiver.h 22 const RtpCastHeader* rtp_header) = 0;
  /external/chromium_org/media/cast/video_receiver/
video_receiver.cc 38 const RtpCastHeader* rtp_header) OVERRIDE {
40 *rtp_header);
385 const RtpCastHeader& rtp_header) {
392 incoming_rtp_timestamp_ = rtp_header.webrtc.header.timestamp;
398 rtp_header.webrtc.header.timestamp, rtp_header.frame_id,
399 rtp_header.packet_id, rtp_header.max_packet_id, payload_size);
401 bool complete = framer_->InsertPacket(payload_data, payload_size, rtp_header);
video_receiver.h 62 const RtpCastHeader& rtp_header);

Completed in 733 milliseconds