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

Side by Side Diff: media/cast/framer/frame_buffer.h

Issue 62843002: Cast: Added support for AES-CTR crypto. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync TOT Created 7 years, 1 month 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
« no previous file with comments | « media/cast/cast_sender.gyp ('k') | media/cast/rtp_sender/rtp_packetizer/rtp_packetizer.h » ('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 #ifndef MEDIA_CAST_FRAMER_FRAME_BUFFER 5 #ifndef MEDIA_CAST_FRAMER_FRAME_BUFFER
6 #define MEDIA_CAST_FRAMER_FRAME_BUFFER 6 #define MEDIA_CAST_FRAMER_FRAME_BUFFER
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 14 matching lines...) Expand all
25 const RtpCastHeader& rtp_header); 25 const RtpCastHeader& rtp_header);
26 bool Complete() const; 26 bool Complete() const;
27 27
28 bool GetEncodedAudioFrame(EncodedAudioFrame* audio_frame, 28 bool GetEncodedAudioFrame(EncodedAudioFrame* audio_frame,
29 uint32* rtp_timestamp) const; 29 uint32* rtp_timestamp) const;
30 30
31 bool GetEncodedVideoFrame(EncodedVideoFrame* video_frame, 31 bool GetEncodedVideoFrame(EncodedVideoFrame* video_frame,
32 uint32* rtp_timestamp) const; 32 uint32* rtp_timestamp) const;
33 33
34 bool is_key_frame() const { return is_key_frame_; } 34 bool is_key_frame() const { return is_key_frame_; }
35
35 uint32 last_referenced_frame_id() const { return last_referenced_frame_id_; } 36 uint32 last_referenced_frame_id() const { return last_referenced_frame_id_; }
36 37
37 private: 38 private:
38 uint32 frame_id_; 39 uint32 frame_id_;
39 uint16 max_packet_id_; 40 uint16 max_packet_id_;
40 uint16 num_packets_received_; 41 uint16 num_packets_received_;
41 bool is_key_frame_; 42 bool is_key_frame_;
42 size_t total_data_size_; 43 size_t total_data_size_;
43 uint32 last_referenced_frame_id_; 44 uint32 last_referenced_frame_id_;
44 uint32 rtp_timestamp_; 45 uint32 rtp_timestamp_;
45 PacketMap packets_; 46 PacketMap packets_;
46 47
47 DISALLOW_COPY_AND_ASSIGN(FrameBuffer); 48 DISALLOW_COPY_AND_ASSIGN(FrameBuffer);
48 }; 49 };
49 50
50 } // namespace cast 51 } // namespace cast
51 } // namespace media 52 } // namespace media
52 53
53 #endif // MEDIA_CAST_FRAMER_FRAME_BUFFER 54 #endif // MEDIA_CAST_FRAMER_FRAME_BUFFER
OLDNEW
« no previous file with comments | « media/cast/cast_sender.gyp ('k') | media/cast/rtp_sender/rtp_packetizer/rtp_packetizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698