Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(559)

Side by Side Diff: media/cast/net/rtp/rtp_header_parser.h

Issue 388663003: Cast: Reshuffle files under media/cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing includes Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/cast/net/rtp/receiver_stats_unittest.cc ('k') | media/cast/net/rtp/rtp_header_parser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // Utility parser for rtp packetizer unittests 5 // Utility parser for rtp packetizer unittests
6 #ifndef MEDIA_CAST_TRANSPORT_RTP_SENDER_RTP_PACKETIZER_TEST_RTP_HEADER_PARSER_H_ 6 #ifndef MEDIA_CAST_NET_RTP_RTP_HEADER_PARSER_H_
7 #define MEDIA_CAST_TRANSPORT_RTP_SENDER_RTP_PACKETIZER_TEST_RTP_HEADER_PARSER_H_ 7 #define MEDIA_CAST_NET_RTP_RTP_HEADER_PARSER_H_
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "media/cast/transport/cast_transport_defines.h" 10 #include "media/cast/net/cast_transport_defines.h"
11 11
12 namespace media { 12 namespace media {
13 namespace cast { 13 namespace cast {
14 namespace transport {
15 14
16 // TODO(miu): Kill this and use RtpCastHeader instead. 15 // TODO(miu): Kill this and use RtpCastHeader instead.
17 struct RtpCastTestHeader { 16 struct RtpCastTestHeader {
18 RtpCastTestHeader(); 17 RtpCastTestHeader();
19 ~RtpCastTestHeader(); 18 ~RtpCastTestHeader();
20 // Cast specific. 19 // Cast specific.
21 bool is_key_frame; 20 bool is_key_frame;
22 uint32 frame_id; 21 uint32 frame_id;
23 uint16 packet_id; 22 uint16 packet_id;
24 uint16 max_packet_id; 23 uint16 max_packet_id;
(...skipping 19 matching lines...) Expand all
44 ~RtpHeaderParser(); 43 ~RtpHeaderParser();
45 44
46 bool Parse(RtpCastTestHeader* parsed_packet) const; 45 bool Parse(RtpCastTestHeader* parsed_packet) const;
47 46
48 private: 47 private:
49 bool ParseCommon(RtpCastTestHeader* parsed_packet) const; 48 bool ParseCommon(RtpCastTestHeader* parsed_packet) const;
50 bool ParseCast(RtpCastTestHeader* parsed_packet) const; 49 bool ParseCast(RtpCastTestHeader* parsed_packet) const;
51 const uint8* const rtp_data_begin_; 50 const uint8* const rtp_data_begin_;
52 size_t length_; 51 size_t length_;
53 52
54 mutable transport::FrameIdWrapHelper frame_id_wrap_helper_; 53 mutable FrameIdWrapHelper frame_id_wrap_helper_;
55 mutable transport::FrameIdWrapHelper reference_frame_id_wrap_helper_; 54 mutable FrameIdWrapHelper reference_frame_id_wrap_helper_;
56 55
57 DISALLOW_COPY_AND_ASSIGN(RtpHeaderParser); 56 DISALLOW_COPY_AND_ASSIGN(RtpHeaderParser);
58 }; 57 };
59 58
60 } // namespace transport
61 } // namespace cast 59 } // namespace cast
62 } // namespace media 60 } // namespace media
63 61
64 #endif // MEDIA_CAST_TRANSPORT_RTP_SENDER_RTP_PACKETIZER_TEST_RTP_HEADER_PARSER _H_ 62 #endif // MEDIA_CAST_NET_RTP_RTP_HEADER_PARSER_H_
OLDNEW
« no previous file with comments | « media/cast/net/rtp/receiver_stats_unittest.cc ('k') | media/cast/net/rtp/rtp_header_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698