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

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

Issue 2269903002: Add FlexFEC header formatters. (pt. 5) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@header_reader_writer-pt4-generalize_header_formatting
Patch Set: Change gmock/gtest paths. Created 4 years, 2 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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 public: 48 public:
49 UlpfecHeaderWriter(); 49 UlpfecHeaderWriter();
50 ~UlpfecHeaderWriter() override; 50 ~UlpfecHeaderWriter() override;
51 51
52 size_t MinPacketMaskSize(const uint8_t* packet_mask, 52 size_t MinPacketMaskSize(const uint8_t* packet_mask,
53 size_t packet_mask_size) const override; 53 size_t packet_mask_size) const override;
54 54
55 size_t FecHeaderSize(size_t packet_mask_row_size) const override; 55 size_t FecHeaderSize(size_t packet_mask_row_size) const override;
56 56
57 void FinalizeFecHeader( 57 void FinalizeFecHeader(
58 uint32_t media_ssrc, // Unused by ULPFEC.
58 uint16_t seq_num_base, 59 uint16_t seq_num_base,
59 const uint8_t* packet_mask, 60 const uint8_t* packet_mask,
60 size_t packet_mask_size, 61 size_t packet_mask_size,
61 ForwardErrorCorrection::Packet* fec_packet) const override; 62 ForwardErrorCorrection::Packet* fec_packet) const override;
62 }; 63 };
63 64
64 } // namespace webrtc 65 } // namespace webrtc
65 66
66 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_ULPFEC_HEADER_READER_WRITER_H_ 67 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_ULPFEC_HEADER_READER_WRITER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_fec_unittest.cc ('k') | webrtc/modules/rtp_rtcp/source/ulpfec_header_reader_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698