FecTest: Reduce loop over numMediaPackets in test_fec.
Speed up the test by factor of ~2. TBR=pbos@webrtc.org BUG= Review URL: https://webrtc-codereview.appspot.com/40289004 Cr-Commit-Position: refs/heads/master@{#8676} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8676 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
f4e2060f09
commit
ece4b2869c
@ -161,8 +161,8 @@ TEST(FecTest, FecTest) {
|
||||
numFecPackets++) {
|
||||
|
||||
// Loop over numImpPackets: usually <= (0.3*numMediaPackets).
|
||||
// For this test we check up to ~ (0.5*numMediaPackets).
|
||||
uint32_t maxNumImpPackets = numMediaPackets / 2 + 1;
|
||||
// For this test we check up to ~ (numMediaPackets / 4).
|
||||
uint32_t maxNumImpPackets = numMediaPackets / 4 + 1;
|
||||
for (uint32_t numImpPackets = 0; numImpPackets <= maxNumImpPackets &&
|
||||
numImpPackets <= packetMaskMax;
|
||||
numImpPackets++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user