📄 layouts.c
字号:
#include "stitcher.h"#include "stdlib.h"/* this file defines position of video pictures within the stitcher frame *//* Coordinates are expressed in percentage of the width/height of the stitcher frame and point the center of the video input.*/static Region regions_1[]={ { 0.5 , 0.5 , 1 }};static Region regions_2[]={ { 0.25, 0.5, 0.5 }, { 0.75, 0.5, 0.5 }};static Region regions_3[]={ { 0.5, 0.25, 0.5 }, { 0.25, 0.75, 0.5 }, { 0.75, 0.75, 0.5 }};static Region regions_4[]={ { 0.25, 0.25, 0.5 }, { 0.75, 0.25, 0.5 }, { 0.25, 0.75, 0.5 }, { 0.75, 0.75, 0.5 }};#if 0static Region regions_5[]={ { 1/6, 1/6, 2/6 }, { 5/6, 1/6, 2/6 }, { 0.5, 0.5, 2/6 }, { 1/6, 5/6, 2/6 }, { 5/6, 5/6, 2/6 },};static Region regions_6[]={ { 1/6, 1/6, 2/6 }, { 5/6, 1/6, 2/6 }, { 1/6, 0.5, 2/6 }, { 5/6, 0.5, 2/6 }, { 1/6, 5/6, 2/6 }, { 5/6, 5/6, 2/6 },};static Region regions_7[]={ { 1/6, 1/6, 2/6 }, { 0.5, 1/6, 2/6 }, { 5/6, 1/6, 2/6 }, { 0.5, 0.5, 2/6 }, { 1/6, 5/6, 2/6 }, { 0.5, 5/6, 2/6 }, { 5/6, 5/6, 2/6 },};static Region regions_8[]={ { 1/6, 1/6, 2/6 }, { 0.5, 1/6, 2/6 }, { 5/6, 1/6, 2/6 }, { 1/6, 0.5, 2/6 }, { 5/6, 0.5, 2/6 }, { 1/6, 5/6, 2/6 }, { 0.5, 5/6, 2/6 }, { 5/6, 5/6, 2/6 },};#endifLayout msstitcher_default_layout[]={ { 1, regions_1 }, { 2, regions_2 }, { 3, regions_3 }, { 4, regions_4 }, { 0, NULL }};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -