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

Unified Diff: webrtc/modules/video_coding/main/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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/video_coding/main/test/subfigure.m
diff --git a/webrtc/modules/video_coding/main/test/subfigure.m b/webrtc/modules/video_coding/main/test/subfigure.m
deleted file mode 100644
index eadfcb69bd6ec9c659daa9ce1318a42a73cce68f..0000000000000000000000000000000000000000
--- a/webrtc/modules/video_coding/main/test/subfigure.m
+++ /dev/null
@@ -1,30 +0,0 @@
-function H = subfigure(m, n, p)
-%
-% H = SUBFIGURE(m, n, p)
-%
-% Create a new figure window and adjust position and size such that it will
-% become the p-th tile in an m-by-n matrix of windows. (The interpretation of
-% m, n, and p is the same as for SUBPLOT.
-%
-% Henrik Lundin, 2009-01-19
-%
-
-
-h = figure;
-
-[j, i] = ind2sub([n m], p);
-scrsz = get(0,'ScreenSize'); % get screen size
-%scrsz = [1, 1, 1600, 1200];
-
-taskbarSize = 58;
-windowbarSize = 68;
-windowBorder = 4;
-
-scrsz(2) = scrsz(2) + taskbarSize;
-scrsz(4) = scrsz(4) - taskbarSize;
-
-set(h, 'position', [(j-1)/n * scrsz(3) + scrsz(1) + windowBorder,...
- (m-i)/m * scrsz(4) + scrsz(2) + windowBorder, ...
- scrsz(3)/n - (windowBorder + windowBorder),...
- scrsz(4)/m - (windowbarSize + windowBorder + windowBorder)]);
-
« no previous file with comments | « webrtc/modules/video_coding/main/test/rtp_player.cc ('k') | webrtc/modules/video_coding/main/test/test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698