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

Side by Side Diff: webrtc/modules/video_coding/test/plotJitterEstimate.m

Issue 1417283007: modules/video_coding refactorings (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix the other copy of the mock include header Created 5 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
OLDNEW
1 function plotJitterEstimate(filename) 1 function plotJitterEstimate(filename)
2 2
3 [timestamps, framedata, slopes, randJitters, framestats, timetable, filtjitter, rtt, rttStatsVec] = jitterBufferTraceParser(filename); 3 [timestamps, framedata, slopes, randJitters, framestats, timetable, filtjitter, rtt, rttStatsVec] = jitterBufferTraceParser(filename);
4 4
5 x = 1:size(framestats, 1); 5 x = 1:size(framestats, 1);
6 %figure(2); 6 %figure(2);
7 subfigure(3, 2, 1); 7 subfigure(3, 2, 1);
8 hold on; 8 hold on;
9 plot(x, slopes(x, 1).*(framestats(x, 1) - framestats(x, 2)) + 3*sqrt(randJitters (x,2)), 'b'); title('Estimate ms'); 9 plot(x, slopes(x, 1).*(framestats(x, 1) - framestats(x, 2)) + 3*sqrt(randJitters (x,2)), 'b'); title('Estimate ms');
10 plot(x, filtjitter, 'r'); 10 plot(x, filtjitter, 'r');
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 rttMax = rttStatsVec(:, 4); 43 rttMax = rttStatsVec(:, 4);
44 plot(rttSamples, 'ko-'); 44 plot(rttSamples, 'ko-');
45 plot(rttAvgs, 'g'); 45 plot(rttAvgs, 'g');
46 plot(rttAvgs + rttNstdDevsDrift*rttStdDevs, 'b--'); 46 plot(rttAvgs + rttNstdDevsDrift*rttStdDevs, 'b--');
47 plot(rttAvgs + rttNstdDevsJump*rttStdDevs, 'b'); 47 plot(rttAvgs + rttNstdDevsJump*rttStdDevs, 'b');
48 plot(rttAvgs - rttNstdDevsJump*rttStdDevs, 'b'); 48 plot(rttAvgs - rttNstdDevsJump*rttStdDevs, 'b');
49 plot(rttMax, 'r'); 49 plot(rttMax, 'r');
50 %plot(driftRestarts*max(maxRtts), '.'); 50 %plot(driftRestarts*max(maxRtts), '.');
51 %plot(jumpRestarts*max(maxRtts), '.'); 51 %plot(jumpRestarts*max(maxRtts), '.');
52 end 52 end
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/session_info_unittest.cc ('k') | webrtc/modules/video_coding/test/plotReceiveTrace.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698