OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "media/cast/transport/rtp_sender/rtp_packetizer/test/rtp_header_parser.
h" | 5 #include "media/cast/transport/rtp/rtp_header_parser.h" |
6 | 6 |
7 #include <cstddef> | 7 #include <cstddef> |
8 | 8 |
9 #include "base/big_endian.h" | 9 #include "base/big_endian.h" |
10 | 10 |
11 namespace media { | 11 namespace media { |
12 namespace cast { | 12 namespace cast { |
13 namespace transport { | 13 namespace transport { |
14 | 14 |
15 static const uint8 kCastKeyFrameBitMask = 0x80; | 15 static const uint8 kCastKeyFrameBitMask = 0x80; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 if (parsed_packet->is_reference) { | 96 if (parsed_packet->is_reference) { |
97 parsed_packet->reference_frame_id = | 97 parsed_packet->reference_frame_id = |
98 reference_frame_id_wrap_helper_.MapTo32bitsFrameId(data[6]); | 98 reference_frame_id_wrap_helper_.MapTo32bitsFrameId(data[6]); |
99 } | 99 } |
100 return true; | 100 return true; |
101 } | 101 } |
102 | 102 |
103 } // namespace transport | 103 } // namespace transport |
104 } // namespace cast | 104 } // namespace cast |
105 } // namespace media | 105 } // namespace media |
OLD | NEW |