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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_format_vp9.h

Issue 2999063002: Add flag enabling more packets to be retransmittable. (Closed)
Patch Set: Addressed comments Created 3 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 21 matching lines...) Expand all
32 namespace webrtc { 32 namespace webrtc {
33 33
34 class RtpPacketizerVp9 : public RtpPacketizer { 34 class RtpPacketizerVp9 : public RtpPacketizer {
35 public: 35 public:
36 RtpPacketizerVp9(const RTPVideoHeaderVP9& hdr, 36 RtpPacketizerVp9(const RTPVideoHeaderVP9& hdr,
37 size_t max_payload_length, 37 size_t max_payload_length,
38 size_t last_packet_reduction_len); 38 size_t last_packet_reduction_len);
39 39
40 virtual ~RtpPacketizerVp9(); 40 virtual ~RtpPacketizerVp9();
41 41
42 ProtectionType GetProtectionType() override;
43
44 StorageType GetStorageType(uint32_t retransmission_settings) override;
45
46 std::string ToString() override; 42 std::string ToString() override;
47 43
48 // The payload data must be one encoded VP9 layer frame. 44 // The payload data must be one encoded VP9 layer frame.
49 size_t SetPayloadData(const uint8_t* payload, 45 size_t SetPayloadData(const uint8_t* payload,
50 size_t payload_size, 46 size_t payload_size,
51 const RTPFragmentationHeader* fragmentation) override; 47 const RTPFragmentationHeader* fragmentation) override;
52 48
53 // Gets the next payload with VP9 payload header. 49 // Gets the next payload with VP9 payload header.
54 // Write payload and set marker bit of the |packet|. 50 // Write payload and set marker bit of the |packet|.
55 // Returns true on success, false otherwise. 51 // Returns true on success, false otherwise.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 public: 92 public:
97 virtual ~RtpDepacketizerVp9() {} 93 virtual ~RtpDepacketizerVp9() {}
98 94
99 bool Parse(ParsedPayload* parsed_payload, 95 bool Parse(ParsedPayload* parsed_payload,
100 const uint8_t* payload, 96 const uint8_t* payload,
101 size_t payload_length) override; 97 size_t payload_length) override;
102 }; 98 };
103 99
104 } // namespace webrtc 100 } // namespace webrtc
105 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_FORMAT_VP9_H_ 101 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_FORMAT_VP9_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698