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

Side by Side Diff: webrtc/modules/video_coding/test/subfigure.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 H = subfigure(m, n, p) 1 function H = subfigure(m, n, p)
2 % 2 %
3 % H = SUBFIGURE(m, n, p) 3 % H = SUBFIGURE(m, n, p)
4 % 4 %
5 % Create a new figure window and adjust position and size such that it will 5 % Create a new figure window and adjust position and size such that it will
6 % become the p-th tile in an m-by-n matrix of windows. (The interpretation of 6 % become the p-th tile in an m-by-n matrix of windows. (The interpretation of
7 % m, n, and p is the same as for SUBPLOT. 7 % m, n, and p is the same as for SUBPLOT.
8 % 8 %
9 % Henrik Lundin, 2009-01-19 9 % Henrik Lundin, 2009-01-19
10 % 10 %
(...skipping 10 matching lines...) Expand all
21 windowBorder = 4; 21 windowBorder = 4;
22 22
23 scrsz(2) = scrsz(2) + taskbarSize; 23 scrsz(2) = scrsz(2) + taskbarSize;
24 scrsz(4) = scrsz(4) - taskbarSize; 24 scrsz(4) = scrsz(4) - taskbarSize;
25 25
26 set(h, 'position', [(j-1)/n * scrsz(3) + scrsz(1) + windowBorder,... 26 set(h, 'position', [(j-1)/n * scrsz(3) + scrsz(1) + windowBorder,...
27 (m-i)/m * scrsz(4) + scrsz(2) + windowBorder, ... 27 (m-i)/m * scrsz(4) + scrsz(2) + windowBorder, ...
28 scrsz(3)/n - (windowBorder + windowBorder),... 28 scrsz(3)/n - (windowBorder + windowBorder),...
29 scrsz(4)/m - (windowbarSize + windowBorder + windowBorder)]); 29 scrsz(4)/m - (windowbarSize + windowBorder + windowBorder)]);
30 30
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/test/stream_generator.cc ('k') | webrtc/modules/video_coding/test/test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698