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

Unified Diff: webrtc/modules/rtp_rtcp/source/forward_error_correction.h

Issue 2267393002: Generalize FEC unit tests and rename GenerateFec. (pt. 3) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@header_reader_writer-pt2-producer_fec_mini_fixes
Patch Set: Rebase after gyp deprecation. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/rtp_rtcp/source/forward_error_correction.h
diff --git a/webrtc/modules/rtp_rtcp/source/forward_error_correction.h b/webrtc/modules/rtp_rtcp/source/forward_error_correction.h
index 7d2e5aa51a9854143e5541026bfd9bf7332b187d..21f2afb2c00ec35e6129ee216737939a40630889 100644
--- a/webrtc/modules/rtp_rtcp/source/forward_error_correction.h
+++ b/webrtc/modules/rtp_rtcp/source/forward_error_correction.h
@@ -147,14 +147,16 @@ class ForwardErrorCorrection {
// of type Packet. Must be empty on entry.
// The memory available through the list will
// be valid until the next call to
- // GenerateFec().
+ // EncodeFec().
//
// Returns 0 on success, -1 on failure.
//
- int GenerateFec(const PacketList& media_packets,
- uint8_t protection_factor, int num_important_packets,
- bool use_unequal_protection, FecMaskType fec_mask_type,
- std::list<Packet*>* fec_packets);
+ int EncodeFec(const PacketList& media_packets,
+ uint8_t protection_factor,
+ int num_important_packets,
+ bool use_unequal_protection,
+ FecMaskType fec_mask_type,
+ std::list<Packet*>* fec_packets);
//
// Decodes a list of received media and FEC packets. It will parse the
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/fec_test_helper.cc ('k') | webrtc/modules/rtp_rtcp/source/forward_error_correction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698